summaryrefslogtreecommitdiffstats
path: root/extra/xmms/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 21:33:11 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 21:33:11 +0200
commit203ae72c553b0a4c37693226378ccd84e186e512 (patch)
tree358e040a97f075c4301f4654c288a832db806019 /extra/xmms/Pkgfile
parent72690a2040e081181fc57388152be24e25cec171 (diff)
downloadnutyx-pakxe-203ae72c553b0a4c37693226378ccd84e186e512.tar.gz
nutyx-pakxe-203ae72c553b0a4c37693226378ccd84e186e512.tar.bz2
nutyx-pakxe-203ae72c553b0a4c37693226378ccd84e186e512.tar.xz
nutyx-pakxe-203ae72c553b0a4c37693226378ccd84e186e512.zip
xmms, maj pour la 64
Diffstat (limited to 'extra/xmms/Pkgfile')
-rwxr-xr-xextra/xmms/Pkgfile16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/xmms/Pkgfile b/extra/xmms/Pkgfile
index ac43e5dec..b9d117893 100755
--- a/extra/xmms/Pkgfile
+++ b/extra/xmms/Pkgfile
@@ -8,14 +8,18 @@ name=xmms
version=1.2.11
release=3
source=( http://www.xmms.org/files/1.2.x/$name-$version.tar.bz2\
- xmms.desktop xmms.desktop.ede xmms.png)
+ xmms-menu.patch xmms-1.2.10-crossfade-0.3.9.patch xmms.desktop xmms.desktop.ede xmms.png aclocal-fixes.patch)
build() {
- cd $name-$version
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
+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/