From 203ae72c553b0a4c37693226378ccd84e186e512 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 21 Aug 2009 21:33:11 +0200 Subject: xmms, maj pour la 64 --- extra/xmms/Pkgfile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'extra/xmms/Pkgfile') 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/ -- cgit v1.2.3-70-g09d2