summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-22 10:58:28 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-22 10:58:28 +0000
commit6eb6bc96c12ad92135f05d422e98f52f058b4aab (patch)
treef4453a71289d9a6c16a28791e187129bfc07388f
parent4e9f93fa760886052521bc9fcd2f436f5c267bb2 (diff)
add xmms, the x multimedia system. yes, it needs gtk+1 *cough*
-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
+}
+