blob: bb58d7c7258943cc4d8fee2c0a7cb5099a6e6136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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
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
}
|