summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-08-14 09:20:29 +0000
committerGraeme Gregory <dp@xora.org.uk>2006-08-14 09:20:29 +0000
commit6932da52694d0795d22166b1182b7208fa0a67b3 (patch)
tree5c9d00d7b298a40251b745fc194886e2600633ba /packages
parent29067741a826654398e69fdae4239ac21694871e (diff)
xmms_1.2.10.bb : add an icon and .desktop file for xmms
Call via a wrapper scipt so we can insert XLIB_SKIP_ARGB_VISUALS=1 before xmms so that double size mode works correctly (a tip gleaned from gentoo FAQ)
Diffstat (limited to 'packages')
-rw-r--r--packages/xmms/files/xmms.sh4
-rw-r--r--packages/xmms/xmms_1.2.10.bb16
2 files changed, 17 insertions, 3 deletions
diff --git a/packages/xmms/files/xmms.sh b/packages/xmms/files/xmms.sh
new file mode 100644
index 0000000000..7d1a96e129
--- /dev/null
+++ b/packages/xmms/files/xmms.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+XLIB_SKIP_ARGB_VISUALS=1 xmms
+
diff --git a/packages/xmms/xmms_1.2.10.bb b/packages/xmms/xmms_1.2.10.bb
index e4fa21e4f3..9ee59cef29 100644
--- a/packages/xmms/xmms_1.2.10.bb
+++ b/packages/xmms/xmms_1.2.10.bb
@@ -3,13 +3,14 @@ HOMEPAGE = "http://www.xmms.org/"
LICENSE = "GPL"
SECTION = "x11/multimedia"
# TODO add esd
-DEPENDS = "gtk+-1.2 libvorbis mikmod"
+DEPENDS = "gtk+-1.2 libvorbis mikmod alsa-lib"
SRC_URI = "http://www.xmms.org/files/1.2.x/xmms-${PV}.tar.bz2 \
file://gcc4.patch;patch=1 \
file://xmms-config-dequote.patch;patch=1 \
- file://acinclude.m4"
-PR = "r1"
+ file://acinclude.m4 \
+ file://xmms.sh"
+PR = "r2"
inherit autotools binconfig
@@ -25,6 +26,15 @@ do_configure_prepend() {
rm ${S}/libxmms/acinclude.m4 || true
}
+do_install_append() {
+ install -m 0755 ${WORKDIR}/xmms.sh ${D}${bindir}
+ install -d ${D}${datadir}/applications
+ install xmms/xmms.desktop ${D}${datadir}/applications
+ sed -i "s/Exec=xmms/Exec=xmms.sh/" ${D}${datadir}/applications/xmms.desktop
+ install -d ${D}${datadir}/pixmaps
+ install xmms/xmms_mini.xpm ${D}${datadir}/pixmaps
+}
+
do_stage() {
autotools_stage_all
}