SOURCES: xmms-crossfade-only-libs.patch (NEW) - allow building whe...

wolf wolf at pld-linux.org
Fri Nov 23 21:07:38 CET 2007


Author: wolf                         Date: Fri Nov 23 20:07:38 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow building when only libs are available

---- Files affected:
SOURCES:
   xmms-crossfade-only-libs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xmms-crossfade-only-libs.patch
diff -u /dev/null SOURCES/xmms-crossfade-only-libs.patch:1.1
--- /dev/null	Fri Nov 23 21:07:38 2007
+++ SOURCES/xmms-crossfade-only-libs.patch	Fri Nov 23 21:07:33 2007
@@ -0,0 +1,64 @@
+diff -ruN xmms-crossfade-0.3.11./configure.in xmms-crossfade-0.3.11/configure.in
+--- xmms-crossfade-0.3.11./configure.in	2006-07-14 11:59:11.000000000 +0200
++++ xmms-crossfade-0.3.11/configure.in	2007-11-23 20:14:23.010883001 +0100
+@@ -65,9 +65,7 @@
+ 
+ AC_PATH_PROG(BMP,           beep-media-player, no)
+ AC_PATH_PROG(BMP_CONFIG,    beep-config,       no)
+-AC_PATH_PROG(XMMS,          xmms,              no)
+ AC_PATH_PROG(XMMS_CONFIG,   xmms-config,       no)
+-AC_PATH_PROG(AUDACIOUS,     audacious,         no)
+ AC_PATH_PROG(PKG_CONFIG,    pkg-config,        no)
+ AC_PATH_PROG(NOXMMS,        noxmms,            no)
+ AC_PATH_PROG(NOXMMS_CONFIG, noxmms-config,     no)
+@@ -117,10 +115,6 @@
+ 
+ if test "$PLAYER" = xmms
+ then
+-	if test "$XMMS" = no
+-	then
+-		AC_MSG_ERROR([*** xmms not found - please install first ***])
+-	fi
+ 	if test "$XMMS_CONFIG" = no
+ 	then
+ 		AC_MSG_ERROR([*** xmms-config not found - please install first (comes with XMMS > 1.0.0) ***
+@@ -154,11 +148,6 @@
+ 
+ if test "$PLAYER" = audacious
+ then
+-	if test "$AUDACIOUS" = no
+-	then
+-		AC_MSG_ERROR([*** audacious not found - please install first ***])
+-	fi
+-
+ 	PLAYER_GTK2=yes
+ 	PLAYER_BIN="$AUDACIOUS"
+ 	PLAYER_BASENAME="audacious"
+@@ -479,27 +468,6 @@
+ AC_FUNC_VPRINTF
+ AC_CHECK_FUNCS(select)
+ 
+-dnl ###########################################################################
+-dnl
+-dnl Check for output plugin dir
+-dnl
+-dnl ###########################################################################
+-
+-if test ! -d "$libdir"
+-then
+-	AC_MSG_CHECKING(for output plugin dir)
+-	libdir=`$PLAYER_CONFIG_OUTPUT_PLUGIN_DIR`
+-	AC_MSG_RESULT($libdir)
+-fi
+-if test ! -d "$libdir"
+-then
+-	AC_CHECK_FILES("${prefix}/lib/$PLAYER/Output" "${prefix}/lib/$PLAYER/Plugins", [libdir="$ac_dir"])
+-fi
+-if test ! -d "$libdir"
+-then
+-	AC_MSG_ERROR([*** No plugin directory found. Use --libdir to specify. ***])
+-fi
+-
+ dnl Output files
+ AC_OUTPUT(Makefile xmms-crossfade.spec)
+ 
================================================================


More information about the pld-cvs-commit mailing list