From 351f895700a314b0f4186884f33b00e92bd89ed1 Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Mon, 31 May 2010 11:21:07 -0400 Subject: system/conky: re-added audacious support. Signed-off-by: Chess Griffin --- system/conky/audacious-2.3-fix.txt | 12 ++++++++++++ system/conky/conky.SlackBuild | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 system/conky/audacious-2.3-fix.txt diff --git a/system/conky/audacious-2.3-fix.txt b/system/conky/audacious-2.3-fix.txt new file mode 100644 index 0000000000000..ebd152601731e --- /dev/null +++ b/system/conky/audacious-2.3-fix.txt @@ -0,0 +1,12 @@ +diff -up conky-1.8.0/configure.ac.00 conky-1.8.0/configure.ac +--- conky-1.8.0/configure.ac.00 2010-05-25 23:41:05.529674814 -0700 ++++ conky-1.8.0/configure.ac 2010-05-25 23:41:34.475430675 -0700 +@@ -149,7 +149,7 @@ AC_ARG_ENABLE([audacious], + + AM_CONDITIONAL(BUILD_AUDACIOUS, test x$want_audacious = xyes -o x$want_audacious = xlegacy) + if test x$want_audacious = xyes; then +- PKG_CHECK_MODULES([Audacious], [audacious >= 1.4.0 dbus-glib-1 glib-2.0 gobject-2.0]) ++ PKG_CHECK_MODULES([Audacious], [audacious >= 1.4.0 audclient dbus-glib-1 glib-2.0 gobject-2.0]) + conky_CFLAGS="$conky_CFLAGS $Audacious_CFLAGS" + conky_LIBS="$conky_LIBS $Audacious_LIBS" + save_CPPFLAGS="$CPPFLAGS" diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild index 687df1e2af72a..094c94a82fc78 100644 --- a/system/conky/conky.SlackBuild +++ b/system/conky/conky.SlackBuild @@ -52,6 +52,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION +patch -p1 < $CWD/audacious-2.3-fix.txt chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -69,6 +70,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --enable-static=no \ --enable-weather-xoap \ + --enable-audacious \ --enable-mpd=yes \ --enable-rss=yes \ --enable-wlan=yes \ -- cgit v1.2.3