diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audacious-crossfade/Makefile | 5 | ||||
-rw-r--r-- | audio/xmms-crossfade/Makefile | 4 | ||||
-rw-r--r-- | audio/xmms-crossfade/files/patch-configure | 43 |
3 files changed, 50 insertions, 2 deletions
diff --git a/audio/audacious-crossfade/Makefile b/audio/audacious-crossfade/Makefile index 9f19b005a12e..e43984fe21a7 100644 --- a/audio/audacious-crossfade/Makefile +++ b/audio/audacious-crossfade/Makefile @@ -9,7 +9,10 @@ PORTREVISION= 1 APP= audacious LIB_DEPENDS= audacious.4:${PORTSDIR}/multimedia/audacious - +BUILD_DEPENDS= ${LOCALBASE}/lib/audacious/General/libalarm.so:${PORTSDIR}/multimedia/audacious-plugins +CPPFLAGS+= -I${LOCALBASE}/include/glib-2.0 -I${LOCALBASE}/include/gtk-2.0 \ + -I${LOCALBASE}/include/cairo -I${LOCALBASE}/include/pango-1.0 \ + -I${LOCALBASE}/include/atk-1.0 MASTERDIR= ${.CURDIR}/../xmms-crossfade .include "${MASTERDIR}/Makefile" diff --git a/audio/xmms-crossfade/Makefile b/audio/xmms-crossfade/Makefile index 0e26ad32e962..8814d48e8ce5 100644 --- a/audio/xmms-crossfade/Makefile +++ b/audio/xmms-crossfade/Makefile @@ -18,9 +18,11 @@ COMMENT= A Crossfading/Gapless Plugin LIB_DEPENDS?= xmms.4:${PORTSDIR}/multimedia/xmms USE_GCC= 3.4+ -USE_X_PREFIX= yes HAS_CONFIGURE= yes APP?= xmms +.if ${APP} != audacious +USE_X_PREFIX= yes +.endif PLUGDIR?= lib/${APP}/Output PORTDOCS= README PLIST_FILES= ${PLUGDIR}/libcrossfade.so diff --git a/audio/xmms-crossfade/files/patch-configure b/audio/xmms-crossfade/files/patch-configure new file mode 100644 index 000000000000..3f33e0a02a48 --- /dev/null +++ b/audio/xmms-crossfade/files/patch-configure @@ -0,0 +1,43 @@ +--- configure.orig Mon Dec 4 17:11:22 2006 ++++ configure Mon Dec 4 17:12:03 2006 +@@ -20659,11 +20659,11 @@ + _ACEOF + + exit_patch=found +-elif test "$PLAYER" == audacious ++elif test "$PLAYER" = audacious + then + # not required for audacious, which has a cleanup callback + exit_patch="not required for audacious" +-elif test "$pthreads" == linuxthreads ++elif test "$pthreads" = linuxthreads + then + exit_patch="not required for linuxthreads" + else +@@ -20672,7 +20672,7 @@ + echo "$as_me:$LINENO: result: $exit_patch" >&5 + echo "${ECHO_T}$exit_patch" >&6 + +-if test "$exit_patch" == "not found" ++if test "$exit_patch" = "not found" + then + { echo "$as_me:$LINENO: WARNING: *** $PLAYER_BIN is not patched! *** + +@@ -20704,7 +20704,7 @@ + _ACEOF + + songchange_patch=found +-elif test "$PLAYER" == audacious ++elif test "$PLAYER" = audacious + then + # not required for audacious, which calls flush(0) + songchange_patch="not required for audacious" +@@ -20714,7 +20714,7 @@ + echo "$as_me:$LINENO: result: $result" >&5 + echo "${ECHO_T}$result" >&6 + +-if test "$songchange_patch" == "not found" ++if test "$songchange_patch" = "not found" + then + { echo "$as_me:$LINENO: WARNING: *** $PLAYER_BIN is not patched! *** + |