summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/xmms/.mtn2git_empty0
-rw-r--r--packages/xmms/files/.mtn2git_empty0
-rw-r--r--packages/xmms/files/gcc4.patch20
-rw-r--r--packages/xmms/xmms_1.2.10.bb23
4 files changed, 43 insertions, 0 deletions
diff --git a/packages/xmms/.mtn2git_empty b/packages/xmms/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xmms/.mtn2git_empty
diff --git a/packages/xmms/files/.mtn2git_empty b/packages/xmms/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xmms/files/.mtn2git_empty
diff --git a/packages/xmms/files/gcc4.patch b/packages/xmms/files/gcc4.patch
new file mode 100644
index 0000000000..0619803820
--- /dev/null
+++ b/packages/xmms/files/gcc4.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- xmms-1.2.10/General/ir/ir.c~gcc4
++++ xmms-1.2.10/General/ir/ir.c
+@@ -16,10 +16,10 @@
+ #include "ir.h"
+
+ /* Important stuff to know */
+-static gboolean keepGoing = FALSE;
++extern gboolean keepGoing = FALSE;
+
+ /* The thread handle */
+-static pthread_t irapp_thread;
++extern pthread_t irapp_thread;
+
+ /* Declarations for calls that we need to mention in the plugin struct */
+ static void init(void);
diff --git a/packages/xmms/xmms_1.2.10.bb b/packages/xmms/xmms_1.2.10.bb
new file mode 100644
index 0000000000..05bfb1dc3e
--- /dev/null
+++ b/packages/xmms/xmms_1.2.10.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "The X MultiMedia System"
+HOMEPAGE = "http://www.xmms.org/"
+LICENSE = "GPL"
+SECTION = "x11/multimedia"
+# TODO add esd mikmod vorbis
+DEPENDS = "gtk+-1.2"
+
+SRC_URI = "http://www.xmms.org/files/1.2.x/xmms-${PV}.tar.bz2 \
+ file://gcc4.patch;patch=1"
+
+inherit autotools
+
+# TODO enable esd mikmod vorbis
+EXTRA_OECONF = "--disable-opengl --disable-esd --disable-mikmod --disable-vorbis"
+
+do_configure() {
+ oe_runconf
+}
+
+do_compile() {
+ oe_runmake LIBTOOL=${STAGING_BINDIR}/${TARGET_PREFIX}libtool
+}
+