summaryrefslogtreecommitdiffstats
path: root/xmms/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 15:32:04 +0100
committertnut <tnut at nutyx dot com>2012-01-08 15:32:04 +0100
commitbdc28de36983392ee850cf4fb00d5961799e97c3 (patch)
tree9770198a62fd7da084b7e9e57e901980e52735a9 /xmms/Pkgfile
parent625ca3a03b670fa07ff40d442705b3c4f06bdda2 (diff)
downloadnutyx-extra-bdc28de36983392ee850cf4fb00d5961799e97c3.tar.gz
nutyx-extra-bdc28de36983392ee850cf4fb00d5961799e97c3.tar.bz2
nutyx-extra-bdc28de36983392ee850cf4fb00d5961799e97c3.tar.xz
nutyx-extra-bdc28de36983392ee850cf4fb00d5961799e97c3.zip
ajout de xmms 1.2.11-3
Diffstat (limited to 'xmms/Pkgfile')
-rwxr-xr-xxmms/Pkgfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/xmms/Pkgfile b/xmms/Pkgfile
new file mode 100755
index 000000000..b90971e2c
--- /dev/null
+++ b/xmms/Pkgfile
@@ -0,0 +1,37 @@
+# Description: Lecteur audio pour X
+# URL: http://www.xmms.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libvorbis, libmikmod, gtk1, esound, alsa-lib
+# Run on: libvorbis,libmikmod,gtk1,esound,alsa-lib
+
+name=xmms
+version=1.2.11
+release=3
+source=( http://www.xmms.org/files/1.2.x/$name-$version.tar.bz2\
+ http://nutyx.meticul.eu/files/patchs/$name/xmms-menu.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/xmms-1.2.10-crossfade-0.3.9.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/xmms.desktop \
+ http://nutyx.meticul.eu/files/patchs/$name/xmms.desktop.ede \
+ http://nutyx.meticul.eu/files/patchs/$name/xmms.png \
+ http://nutyx.meticul.eu/files/patchs/$name/aclocal-fixes.patch)
+
+build() {
+cd $name-$version
+patch -p0 < ../xmms-menu.patch
+patch -p1 < ../xmms-1.2.10-crossfade-0.3.9.patch
+if [ "`uname -m`" == "x86_64" ]; then
+ ./configure --prefix=/usr --mandir=/usr/share/man --disable-mikmod --disable-simd || return 1 # for x86_64
+else
+ ./configure --prefix=/usr --mandir=/usr/share/man --disable-mikmod --enable-simd || return 1 # for i686
+fi
+make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/usr/share/{applications,pixmaps}
+ install -m 644 ../xmms.desktop $PKG/usr/share/applications/
+ install -m 644 ../xmms.png $PKG/usr/share/pixmaps/xmms.png
+ install -D -m644 ../xmms.desktop.ede \
+ $PKG/usr/share/ede/programs/Multimedia/xmms.desktop
+
+}
+