aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms2
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-07 08:20:24 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-07 08:20:24 +0000
commit0613ab6cf0127a3c3e290ef2116db5382042fbeb (patch)
tree59701b23b27173194ac541a05877c8c7fa652942 /audio/xmms2
parentb1f16017e7dfcc431435369777ac1449c7fe7b61 (diff)
downloadports-0613ab6cf0127a3c3e290ef2116db5382042fbeb.tar.gz
ports-0613ab6cf0127a3c3e290ef2116db5382042fbeb.zip
Notes
Diffstat (limited to 'audio/xmms2')
-rw-r--r--audio/xmms2/Makefile137
-rw-r--r--audio/xmms2/distinfo6
-rw-r--r--audio/xmms2/files/patch-src_clients_lib_java_callbacks.c77
-rw-r--r--audio/xmms2/files/patch-src_clients_lib_java_include_callbacks.h25
-rw-r--r--audio/xmms2/files/patch-src_clients_lib_java_include_misc.h24
-rw-r--r--audio/xmms2/files/patch-src_clients_lib_java_misc.c32
-rw-r--r--audio/xmms2/files/patch-src_clients_lib_python_xmmsclient.pyx12
-rw-r--r--audio/xmms2/files/patch-src_clients_sdl-vis_sdl-vis.c13
-rw-r--r--audio/xmms2/files/patch-src_plugins_faad_Plugin16
-rw-r--r--audio/xmms2/files/patch-src_plugins_faad_mp4ff_mp4ff_int_types.h11
-rw-r--r--audio/xmms2/files/patch-src_plugins_sid_Plugin9
-rw-r--r--audio/xmms2/files/patch-src_xmms_Program6
-rw-r--r--audio/xmms2/files/patch-src_xmms_ipc.c12
-rw-r--r--audio/xmms2/pkg-plist37
14 files changed, 117 insertions, 300 deletions
diff --git a/audio/xmms2/Makefile b/audio/xmms2/Makefile
index 59d22fdb57a9..a731f437bec8 100644
--- a/audio/xmms2/Makefile
+++ b/audio/xmms2/Makefile
@@ -5,20 +5,16 @@
# $FreeBSD$
#
-PORTNAME= xmms2
-PORTVERSION= 0.2.d.4
-PORTREVISION= 5
-CATEGORIES= audio
+PORTNAME?= xmms2
+PORTVERSION= 0.2.d.5
+CATEGORIES?= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-0.2DrDolittle
+DISTNAME= ${PORTNAME}-0.2DrEvil
MAINTAINER= alex@foxybanana.com
-.if !defined(XMMS2_SLAVE)
-COMMENT= Rewrite of xmms as a client/server system (developer release)
-.endif
+COMMENT?= Rewrite of xmms as a client/server system (developer release)
-BUILD_DEPENDS+= scons:${PORTSDIR}/devel/scons
.if !defined(XMMS2_SLAVE)
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
vorbis.3:${PORTSDIR}/audio/libvorbis
@@ -28,23 +24,55 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
USE_PYTHON_BUILD= yes
USE_BZIP2= yes
+USE_SCONS= yes
+SCONS_ARGS= EXCLUDE="${EXCLUDE}"
.if !defined(XMMS2_SLAVE)
USE_GNOME= glib20
USE_SQLITE= 3
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
.endif
.if !defined(XMMS2_SLAVE)
-MAN1= xmms2.1
+MAN1= xmms2.1 xmms2-et.1
MAN8= xmms2d.8
MANCOMPRESSED= yes
+
+OPTIONS= FAAD "Support to playback AAC files" on \
+ FLAC "Support to playback FLAC files" on \
+ MODPLUG "Support to playback MOD files" off \
+ MUSEPACK "Support to playback MPC files" off \
+ SID "Support to playback SID files" off \
+ WMA "Support to playback WMA files" off \
+ CURL "Support to playback files via HTTP" on \
+ GNOMEVFS "Support to playback files via GnomeVFS" off \
+ MMS "Support to playback streams via MMS" off \
+ SAMBA "Support to playback files via SMB" off \
+ FAM "Support to update Media Library on file change" off \
+ MDNS "Support to announce XMMS2d via mDNS" off #\
+# SDL "Support for visualization" on \
+# JACK "Support to output via the Jack output server" off
.endif
-SCONS_TARGET?=
+.include <bsd.port.pre.mk>
+
+.if defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "python"
+EXCLUDE+= ruby java xmmsclient-ecore xmmsclient++ xmmsclient++-glib
+.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby"
+EXCLUDE+= python java xmmsclient-ecore xmmsclient++ xmmsclient++-glib
+.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby-ecore"
+EXCLUDE+= python java xmmsclient++ xmmsclient++-glib
+.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "java"
+EXCLUDE+= ruby python xmmsclient-ecore xmmsclient++ xmmsclient++-glib
+.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "cpp"
+EXCLUDE+= ruby python java xmmsclient-ecore
+.elif !defined(XMMS2_SLAVE)
+EXCLUDE+= python ruby java xmmsclient-ecore xmmsclient++ xmmsclient++-glib
+.endif
-.if defined(WITH_CURL)
+.if !defined(XMMS2_SLAVE)
+.if !defined(WITHOUT_CURL)
LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
PLIST_SUB+= CURL=""
.else
@@ -53,36 +81,14 @@ PLIST_SUB+= CURL="@comment "
.endif
.if defined(WITH_SID)
-LIB_DEPENDS+= resid.[0-9]:${PORTSDIR}/audio/resid \
- sidplay2.[0-9]:${PORTSDIR}/audio/libsidplay2
+LIB_DEPENDS+= sidplay2.[0-9]:${PORTSDIR}/audio/libsidplay2
PLIST_SUB+= SID=""
.else
EXCLUDE+= sid
PLIST_SUB+= SID="@comment "
.endif
-.if defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "python"
-EXCLUDE+= ruby java
-.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby"
-EXCLUDE+= python java
-.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby-ecore"
-EXCLUDE+= python java
-WITH_ECORE= yes
-.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "java"
-EXCLUDE+= ruby python
-.elif !defined(XMMS2_SLAVE)
-EXCLUDE+= python ruby java
-.endif
-
-.if defined(WITH_ECORE)
-LIB_DEPENDS+= ecore.1:${PORTSDIR}/x11/ecore
-PLIST_SUB+= ECORE=""
-.else
-EXCLUDE+= xmmsclient-ecore
-PLIST_SUB+= ECORE="@comment "
-.endif
-
-.if defined(WITH_FLAC)
+.if !defined(WITHOUT_FLAC)
LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac
PLIST_SUB+= FLAC=""
.else
@@ -90,16 +96,24 @@ EXCLUDE+= flac
PLIST_SUB+= FLAC="@comment "
.endif
-.if defined(WITH_FAAD)
+.if !defined(WITHOUT_FAAD)
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
PLIST_SUB+= FAAD=""
-#EXTRA_PATCHES+= ${FILESDIR}/extraPatch-src::clients::faad::Plugin
.else
EXCLUDE+= faad
PLIST_SUB+= FAAD="@comment "
.endif
-.if defined(WITH_SDL)
+.if defined(WITH_WMA)
+LIB_DEPENDS+= avutil.1:${PORTSDIR}/multimedia/ffmpeg-devel
+PLIST_SUB+= WMA=""
+.else
+EXCLUDE+= wma
+PLIST_SUB+= WMA="@comment "
+.endif
+
+.if !defined(WITHOUT_SDL) && defined(UNDEFINED)
+IGNORE= visualization has not been updated to the Transforms API
USE_SDL= sdl ttf
PLIST_SUB+= SDL=""
#EXTRA_PATCHES+= ${FILESDIR}/extraPatch-src::clients::sdl-vis::Program
@@ -117,6 +131,7 @@ PLIST_SUB+= MUSEPACK="@comment "
.endif
.if defined(WITH_JACK)
+IGNORE= the Jack plugin has not been updated to the Transforms API
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
PLIST_SUB+= JACK=""
.else
@@ -148,6 +163,14 @@ EXCLUDE+= gnomevfs
PLIST_SUB+= GNOMEVFS="@comment "
.endif
+.if defined(WITH_MMS)
+LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms
+PLIST_SUB+= MMS=""
+.else
+EXCLUDE+= mms
+PLIST_SUB+= MMS="@comment "
+.endif
+
.if defined(WITH_FAM)
USE_FAM= yes
WANT_FAM_SYSTEM=gamin
@@ -164,42 +187,12 @@ PLIST_SUB+= MDNS=""
EXCLUDE+= mdns
PLIST_SUB+= MDNS="@comment "
.endif
-
-.include <bsd.port.pre.mk>
+.endif
.if defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} != "java"
.if ${OSVERSION} < 500000
-BROKEN= Broken on FreeBSD 4.x
+IGNORE= broken on FreeBSD 4.x
.endif
.endif
-pre-everything::
-.if defined(WITH_SAMBA)
- @${ECHO_MSG} "WARNING: Samba plugin is experimental and not fully working"
- @${ECHO_MSG} ""
-.endif
-.if defined(WITH_GNOMEVFS)
- @${ECHO_MSG} "WARNING: Gnome VFS plugin is experimental and not fully working"
- @${ECHO_MSG} ""
-.endif
-.if defined(WITH_FAM)
- @${ECHO_MSG} "WARNING: Fam plugin is experimental and not fully working"
- @${ECHO_MSG} ""
-.endif
-
-# Nasty fulhack here to deal with java port. We're dealing with this issue
-# in xmms2 upstream land, so it hopefully won't be a problem next release.
-
-do-build:
- cd ${WRKSRC} && \
- ${SETENV} JAVA_HOME=${JAVA_HOME} scons CC=${CC} LINKFLAGS="${LDFLAGS}" CCFLAGS="${CFLAGS}" \
- LIBPATH=${LOCALBASE}/lib CPPPATH=${LOCALBASE}/include \
- PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig EXCLUDE="${EXCLUDE}" \
- PREFIX="${PREFIX}" ${SCONS_TARGET}
-
-.if !defined(XMMS2_SLAVE)
-do-install:
- @cd ${WRKSRC} && scons install
-.endif
-
.include <bsd.port.post.mk>
diff --git a/audio/xmms2/distinfo b/audio/xmms2/distinfo
index 92c24c291e26..39846016f07a 100644
--- a/audio/xmms2/distinfo
+++ b/audio/xmms2/distinfo
@@ -1,3 +1,3 @@
-SHA256 (xmms2-0.2DrDolittle.tar.bz2) = 896b3a63a2c0141c278a8ab0203f11ce8594e64e3bea9129db52388c00672535
-MD5 (xmms2-0.2DrDolittle.tar.bz2) = 93daf53d21d198d8e05bf4de37976d7a
-SIZE (xmms2-0.2DrDolittle.tar.bz2) = 965031
+MD5 (xmms2-0.2DrEvil.tar.bz2) = 110e1b5d3d5d89e64c2099cec4d0402b
+SHA256 (xmms2-0.2DrEvil.tar.bz2) = 1059fe1b6a03a40f8b680055c64e6475d769298983804f88ff6d38d88d514f28
+SIZE (xmms2-0.2DrEvil.tar.bz2) = 1012538
diff --git a/audio/xmms2/files/patch-src_clients_lib_java_callbacks.c b/audio/xmms2/files/patch-src_clients_lib_java_callbacks.c
deleted file mode 100644
index a527d91e2b56..000000000000
--- a/audio/xmms2/files/patch-src_clients_lib_java_callbacks.c
+++ /dev/null
@@ -1,77 +0,0 @@
---- src/clients/lib/java/callbacks.c.orig Mon Mar 27 11:34:45 2006
-+++ src/clients/lib/java/callbacks.c Sat Apr 8 00:27:56 2006
-@@ -38,11 +38,12 @@
- }
-
- void io_want_out_callback(int val, void *error){
-+ jobject callbackObject;
- JNIEnv *environment = checkEnv();
- if (environment == NULL)
- return;
-
-- jobject callbackObject = (*environment)->NewLocalRef(environment, globalMainloopObj);
-+ callbackObject = (*environment)->NewLocalRef(environment, globalMainloopObj);
- if (io_want_out_mid == 0)
- return;
-
-@@ -117,6 +118,7 @@
- void callback_dict_foreach_function(const void *key, xmmsc_result_value_type_t type, const void *value, void *user_data){
- jint jres_val = 0;
- jstring jkey, jvalue;
-+ jobject callbackObject;
- JNIEnv *environment = checkEnv();
-
- if (key == NULL || value == NULL) return;
-@@ -124,7 +126,7 @@
- if (environment == NULL)
- return;
-
-- jobject callbackObject = (*environment)->NewLocalRef(environment, globalObj);
-+ callbackObject = (*environment)->NewLocalRef(environment, globalObj);
- if (dict_foreach_mid == 0)
- return;
-
-@@ -138,13 +140,14 @@
- void callback_propdict_foreach_function(const void *key, xmmsc_result_value_type_t type, const void *value, const char *source, void *user_data){
- jint jres_val = 0;
- jstring jkey, jvalue, jsource;
-+ jobject callbackObject;
- JNIEnv *environment = checkEnv();
- if (environment == NULL)
- return;
-
- if (key == NULL || value == NULL) return;
-
-- jobject callbackObject = (*environment)->NewLocalRef(environment, globalObj);
-+ callbackObject = (*environment)->NewLocalRef(environment, globalObj);
- if (propdict_foreach_mid == 0)
- return;
-
-@@ -173,12 +176,13 @@
-
- void run_java_callback_result_void(xmmsc_result_t *res, jmethodID mid, void *user_data){
- jlong jresult = 0;
-+ jobject callbackObject;
- JNIEnv *environment = checkEnv();
-
- if (environment == NULL)
- return;
-
-- jobject callbackObject = (*environment)->NewLocalRef(environment, globalObj);
-+ callbackObject = (*environment)->NewLocalRef(environment, globalObj);
- if (mid == 0)
- return;
-
-@@ -188,10 +192,11 @@
-
- void run_java_callback_void(void *v, jmethodID mid){
- JNIEnv *environment = checkEnv();
-+ jobject callbackObject;
- if (environment == NULL)
- return;
-
-- jobject callbackObject = (*environment)->NewLocalRef(environment, globalObj);
-+ callbackObject = (*environment)->NewLocalRef(environment, globalObj);
- if (mid == 0)
- return;
-
diff --git a/audio/xmms2/files/patch-src_clients_lib_java_include_callbacks.h b/audio/xmms2/files/patch-src_clients_lib_java_include_callbacks.h
deleted file mode 100644
index 6e99a0969211..000000000000
--- a/audio/xmms2/files/patch-src_clients_lib_java_include_callbacks.h
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/clients/lib/java/include/callbacks.h.orig Mon Mar 27 11:34:45 2006
-+++ src/clients/lib/java/include/callbacks.h Sat Apr 8 00:27:56 2006
-@@ -14,6 +14,13 @@
- * Lesser General Public License for more details.
- */
-
-+#ifndef __CALLBACKS_H__
-+#define __CALLBACKS_H__
-+
-+#ifdef __cplusplus
-+{
-+#endif
-+
- #include <xmmsclient/xmmsclient.h>
- #include <jni.h>
-
-@@ -67,3 +74,8 @@
- extern void callback_dict_foreach_function(const void *key, xmmsc_result_value_type_t type, const void *value, void *user_data);
- extern void callback_propdict_foreach_function(const void *key, xmmsc_result_value_type_t type, const void *value, const char *source, void *user_data);
-
-+#ifdef __cplusplus
-+}
-+#endif
-+
-+#endif
diff --git a/audio/xmms2/files/patch-src_clients_lib_java_include_misc.h b/audio/xmms2/files/patch-src_clients_lib_java_include_misc.h
deleted file mode 100644
index 8996a7f9474d..000000000000
--- a/audio/xmms2/files/patch-src_clients_lib_java_include_misc.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/clients/lib/java/include/misc.h.orig Mon Mar 27 11:34:45 2006
-+++ src/clients/lib/java/include/misc.h Sat Apr 8 00:27:56 2006
-@@ -14,8 +14,21 @@
- * Lesser General Public License for more details.
- */
-
-+#ifndef __MISC_H__
-+#define __MISC_H__
-+
-+#ifdef __cplusplus
-+{
-+#endif
-+
- #include <xmmsclient/xmmsclient.h>
- #include <jni.h>
-
- extern xmmsc_result_t* getResultFromPointer(jlong val);
- extern jlong getPointerToConnection(xmmsc_connection_t *c);
-+
-+#ifdef __cplusplus
-+}
-+#endif
-+
-+#endif
diff --git a/audio/xmms2/files/patch-src_clients_lib_java_misc.c b/audio/xmms2/files/patch-src_clients_lib_java_misc.c
deleted file mode 100644
index aab30d4ebe64..000000000000
--- a/audio/xmms2/files/patch-src_clients_lib_java_misc.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- src/clients/lib/java/misc.c.orig Mon Mar 27 11:34:45 2006
-+++ src/clients/lib/java/misc.c Sat Apr 8 00:27:56 2006
-@@ -37,11 +37,12 @@
- }
-
- JNIEXPORT void JNICALL Java_org_xmms2_SpecialJNI_setENV(JNIEnv *jenv, jclass cls, jobject myobject){
-+ jclass clazz;
- globalObj = (*jenv)->NewGlobalRef(jenv, myobject);
- if (jvm == NULL)
- (*jenv)->GetJavaVM(jenv,&jvm);
-
-- jclass clazz = (*jenv)->GetObjectClass(jenv, myobject);
-+ clazz = (*jenv)->GetObjectClass(jenv, myobject);
- disconnect_mid = get_method_id("callbackDisconnect", "(I)V", jenv, clazz);
- lock_mid = get_method_id("lockFunction", "(I)V", jenv, clazz);
- unlock_mid = get_method_id("unlockFunction", "(I)V", jenv, clazz);
-@@ -71,13 +72,14 @@
-
- JNIEXPORT void JNICALL Java_org_xmms2_SpecialJNI_setupMainloop(JNIEnv *jenv, jclass cls, jobject myobject, jlong jarg1){
- xmmsc_connection_t *conn_ptr = (xmmsc_connection_t *) 0;
-+ jclass clazz;
- conn_ptr = *(xmmsc_connection_t **)(void *)&jarg1;
- globalMainloopObj = (*jenv)->NewGlobalRef(jenv, myobject);
-
- if (jvm == NULL)
- (*jenv)->GetJavaVM(jenv,&jvm);
-
-- jclass clazz = (*jenv)->GetObjectClass(jenv, myobject);
-+ clazz = (*jenv)->GetObjectClass(jenv, myobject);
- io_want_out_mid = get_method_id("callbackIOWantOut", "(II)V", jenv, clazz);
-
- //xmmsc_io_need_out_callback_set(conn_ptr, io_want_out_callback, 0);
diff --git a/audio/xmms2/files/patch-src_clients_lib_python_xmmsclient.pyx b/audio/xmms2/files/patch-src_clients_lib_python_xmmsclient.pyx
deleted file mode 100644
index 30fc647a8ad7..000000000000
--- a/audio/xmms2/files/patch-src_clients_lib_python_xmmsclient.pyx
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/clients/lib/python/xmmsclient.pyx.orig Tue May 23 01:02:46 2006
-+++ src/clients/lib/python/xmmsclient.pyx Tue May 23 01:03:14 2006
-@@ -273,7 +273,8 @@
- if k[1] == item:
- return v
- try:
-- return dict.__getitem__(self, (src, item))
-+ x = dict.__getitem__(self, (src, item))
-+ return x
- except KeyError:
- pass
- raise KeyError, item
diff --git a/audio/xmms2/files/patch-src_clients_sdl-vis_sdl-vis.c b/audio/xmms2/files/patch-src_clients_sdl-vis_sdl-vis.c
deleted file mode 100644
index dacc6daa4095..000000000000
--- a/audio/xmms2/files/patch-src_clients_sdl-vis_sdl-vis.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/clients/sdl-vis/sdl-vis.c Mon Mar 27 11:34:45 2006
-+++ src/clients/sdl-vis/sdl-vis.c.orig Sat Apr 1 18:21:01 2006
-@@ -27,8 +27,8 @@
- #define FFT_BITS 10
- #define FFT_LEN (1<<FFT_BITS)
-
--#include <SDL/SDL.h>
--#include <SDL/SDL_ttf.h>
-+#include <SDL.h>
-+#include <SDL_ttf.h>
- #include <glib.h>
- #include <math.h>
- #include <stdlib.h>
diff --git a/audio/xmms2/files/patch-src_plugins_faad_Plugin b/audio/xmms2/files/patch-src_plugins_faad_Plugin
deleted file mode 100644
index 661d70f817af..000000000000
--- a/audio/xmms2/files/patch-src_plugins_faad_Plugin
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/plugins/faad/Plugin.orig Tue Dec 20 01:09:13 2005
-+++ src/plugins/faad/Plugin Tue Dec 20 01:09:48 2005
-@@ -12,12 +12,7 @@
- This function should return True if this module
- is to be built otherwise False
- """
-- try:
-- env.checklib("faad", "faacDecInit2")
-- except ConfigError:
-- env.checklib("faad", "NeAACDecInit2")
-- except ConfigError:
-- raise ConfigError("Could not find libfaad")
-+ env.Append (LIBS=["faad"])
-
- env.Append (CCFLAGS = '-DUSE_TAGGING')
-
diff --git a/audio/xmms2/files/patch-src_plugins_faad_mp4ff_mp4ff_int_types.h b/audio/xmms2/files/patch-src_plugins_faad_mp4ff_mp4ff_int_types.h
new file mode 100644
index 000000000000..309a124bfd6b
--- /dev/null
+++ b/audio/xmms2/files/patch-src_plugins_faad_mp4ff_mp4ff_int_types.h
@@ -0,0 +1,11 @@
+--- src/plugins/faad/mp4ff/mp4ff_int_types.h.orig Fri Jul 7 03:00:50 2006
++++ src/plugins/faad/mp4ff/mp4ff_int_types.h Fri Jul 7 03:01:16 2006
+@@ -15,7 +15,7 @@
+
+ #else
+
+-#include <stdint.h>
++#include <inttypes.h>
+
+ #endif
+
diff --git a/audio/xmms2/files/patch-src_plugins_sid_Plugin b/audio/xmms2/files/patch-src_plugins_sid_Plugin
new file mode 100644
index 000000000000..db9c4004e45a
--- /dev/null
+++ b/audio/xmms2/files/patch-src_plugins_sid_Plugin
@@ -0,0 +1,9 @@
+--- src/plugins/sid/Plugin.orig Thu Jul 6 22:25:16 2006
++++ src/plugins/sid/Plugin Thu Jul 6 22:27:29 2006
+@@ -6,4 +6,5 @@
+ builder_path = env.run("pkg-config libsidplay2 --variable=builders").strip()
+ if builder_path:
+ env.Append(LIBPATH=["-L%s" % builder_path])
+- env.checklib("resid-builder", "resid_version_string")
++ env.Append(LINKFLAGS=['-rpath=%s' % builder_path])
++ env.Append(LIBS=["resid-builder"])
diff --git a/audio/xmms2/files/patch-src_xmms_Program b/audio/xmms2/files/patch-src_xmms_Program
index dc34a318ab6d..1479b160b6a2 100644
--- a/audio/xmms2/files/patch-src_xmms_Program
+++ b/audio/xmms2/files/patch-src_xmms_Program
@@ -1,5 +1,5 @@
---- src/xmms/Program.orig Sat Apr 1 17:55:42 2006
-+++ src/xmms/Program Sat Apr 1 17:55:56 2006
+--- src/xmms/Program.orig Thu Jul 6 15:35:55 2006
++++ src/xmms/Program Thu Jul 6 17:36:50 2006
@@ -29,10 +29,10 @@
env.Append(LIBS=['xmmsipc'])
env.Append(LIBS=["xmmssocket"])
@@ -12,6 +12,6 @@
+ env.pkgconfig("gmodule-2.0")
+ env.pkgconfig("gthread-2.0")
+ env.pkgconfig("sqlite3")
-
+
if env.platform != 'win32':
env.checklib("m", "sin", fail=True)
diff --git a/audio/xmms2/files/patch-src_xmms_ipc.c b/audio/xmms2/files/patch-src_xmms_ipc.c
deleted file mode 100644
index e3a405bc5c83..000000000000
--- a/audio/xmms2/files/patch-src_xmms_ipc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/xmms/ipc.c.orig Sat Apr 1 23:59:54 2006
-+++ src/xmms/ipc.c Sun Apr 2 00:00:09 2006
-@@ -795,8 +795,8 @@
- xmms_ipc_shutdown_server(xmms_ipc_t *ipc)
- {
- GList *c;
-- if(!ipc) return;
- xmms_ipc_client_t *co;
-+ if(!ipc) return;
-
- g_mutex_lock (ipc->mutex_lock);
- g_source_remove_poll (ipc->source, ipc->pollfd);
diff --git a/audio/xmms2/pkg-plist b/audio/xmms2/pkg-plist
index 10fd508edd21..d46daf9c34d5 100644
--- a/audio/xmms2/pkg-plist
+++ b/audio/xmms2/pkg-plist
@@ -5,8 +5,6 @@ bin/xmms2-launcher
%%MDNS%%bin/xmms2-mdns-avahi
bin/xmms2d
include/xmms2/xmms/xmms_config.h
-include/xmms2/xmms/xmms_decoder.h
-include/xmms2/xmms/xmms_decoderplugin.h
include/xmms2/xmms/xmms_defs.h
include/xmms2/xmms/xmms_effect.h
include/xmms2/xmms/xmms_effectplugin.h
@@ -15,13 +13,12 @@ include/xmms2/xmms/xmms_ipc.h
include/xmms2/xmms/xmms_log.h
include/xmms2/xmms/xmms_medialib.h
include/xmms2/xmms/xmms_object.h
-include/xmms2/xmms/xmms_output.h
include/xmms2/xmms/xmms_outputplugin.h
include/xmms2/xmms/xmms_plsplugins.h
include/xmms2/xmms/xmms_plugin.h
include/xmms2/xmms/xmms_sample.h
-include/xmms2/xmms/xmms_transport.h
-include/xmms2/xmms/xmms_transportplugin.h
+include/xmms2/xmms/xmms_streamtype.h
+include/xmms2/xmms/xmms_xformplugin.h
include/xmms2/xmmsc/xmmsc_asyncns.h
include/xmms2/xmmsc/xmmsc_errorcodes.h
include/xmms2/xmmsc/xmmsc_idnumbers.h
@@ -34,39 +31,56 @@ include/xmms2/xmmsc/xmmsc_stdint.h
include/xmms2/xmmsc/xmmsc_stringport.h
include/xmms2/xmmsc/xmmsc_unistd.h
include/xmms2/xmmsc/xmmsc_util.h
+include/xmms2/xmmsclient/xmmsclient++/client.h
+include/xmms2/xmmsclient/xmmsclient++/config.h
+include/xmms2/xmmsclient/xmmsclient++/dict.h
+include/xmms2/xmmsclient/xmmsclient++/exceptions.h
+include/xmms2/xmmsclient/xmmsclient++/helpers.h
+include/xmms2/xmmsclient/xmmsclient++/list.h
+include/xmms2/xmmsclient/xmmsclient++/listener.h
+include/xmms2/xmmsclient/xmmsclient++/mainloop.h
+include/xmms2/xmmsclient/xmmsclient++/medialib.h
+include/xmms2/xmmsclient/xmmsclient++/playback.h
+include/xmms2/xmmsclient/xmmsclient++/playlist.h
+include/xmms2/xmmsclient/xmmsclient++/signal.h
+include/xmms2/xmmsclient/xmmsclient++/stats.h
+include/xmms2/xmmsclient/xmmsclient++/typedefs.h
+include/xmms2/xmmsclient/xmmsclient++-glib.h
+include/xmms2/xmmsclient/xmmsclient++.h
include/xmms2/xmmsclient/xmmsclient-cf.h
include/xmms2/xmmsclient/xmmsclient-ecore.h
include/xmms2/xmmsclient/xmmsclient-glib.h
include/xmms2/xmmsclient/xmmsclient-qt.h
include/xmms2/xmmsclient/xmmsclient.h
-%%ECORE%%lib/libxmmsclient-ecore.a
-%%ECORE%%lib/libxmmsclient-ecore.so
lib/libxmmsclient-glib.a
lib/libxmmsclient-glib.so
lib/libxmmsclient.a
lib/libxmmsclient.so
%%CURL%%lib/xmms2/libxmms_curl_http.so
lib/xmms2/libxmms_diskwrite.so
-lib/xmms2/libxmms_eq.so
+lib/xmms2/libxmms_equalizer.so
%%FAAD%%lib/xmms2/libxmms_faad.so
%%FLAC%%lib/xmms2/libxmms_flac.so
lib/xmms2/libxmms_file.so
%%GNOMEVFS%%lib/xmms2/libxmms_gnomevfs.so
-lib/xmms2/libxmms_html.so
+lib/xmms2/libxmms_icymetaint.so
+lib/xmms2/libxmms_id3v2.so
%%JACK%%lib/xmms2/libxmms_jack.so
-lib/xmms2/libxmms_m3u.so
lib/xmms2/libxmms_mad.so
+%%MMS%%lib/xmms2/libxmms_mms.so
%%MODPLUG%%lib/xmms2/libxmms_modplug.so
%%MUSEPACK%%lib/xmms2/libxmms_musepack.so
lib/xmms2/libxmms_null.so
+lib/xmms2/libxmms_nulstripper.so
lib/xmms2/libxmms_oss.so
-lib/xmms2/libxmms_pls.so
lib/xmms2/libxmms_replaygain.so
%%SAMBA%%lib/xmms2/libxmms_samba.so
%%SID%%lib/xmms2/libxmms_sid.so
lib/xmms2/libxmms_vorbisfile.so
lib/xmms2/libxmms_wave.so
+%%WMA%%lib/xmms2/libxmms_wma.so
libdata/pkgconfig/xmms2-client-cpp.pc
+libdata/pkgconfig/xmms2-client-cpp-glib.pc
libdata/pkgconfig/xmms2-client-ecore.pc
libdata/pkgconfig/xmms2-client-glib.pc
libdata/pkgconfig/xmms2-client.pc
@@ -78,6 +92,7 @@ libdata/pkgconfig/xmms2-plugin.pc
@dirrm %%DATADIR%%/scripts
@dirrm %%DATADIR%%
@dirrm lib/xmms2
+@dirrm include/xmms2/xmmsclient/xmmsclient++
@dirrm include/xmms2/xmmsclient
@dirrm include/xmms2/xmmsc
@dirrm include/xmms2/xmms