diff options
Diffstat (limited to 'extra/xmms/Pkgfile')
-rwxr-xr-x | extra/xmms/Pkgfile | 16 |
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/ |