wok-6.x view gxine/receipt @ rev 14356

python-couchdbkit, python-restclient: fix TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 17 12:59:13 2013 +0200 (2013-04-17)
parents abacfae9ed7f
children 6151f4233595
line source
1 # SliTaz package receipt.
3 PACKAGE="gxine"
4 VERSION="0.5.905"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK+ Xine media player user interface."
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xine-project.org"
10 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
12 DEPENDS="xine-lib libvorbis gtk+ spidermonkey dbus"
13 BUILD_DEPENDS="spidermonkey-dev xine-lib-dev xorg-dev dbus-dev \
14 gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \
15 xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto"
17 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 # Fix for glib2 (-lm)
24 sed -i "/<glib\//d" src/*
25 export LDFLAGS="-Wl,--copy-dt-needed-entries"
27 # Fix for lirc
28 #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1
30 #--with-logo-format=image
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --sysconfdir=/etc \
35 --with-dbus \
36 --with-spidermonkey=/usr/include/js \
37 --without-browser-plugin \
38 --without-hal \
39 --disable-lirc \
40 --disable-deprecated \
41 --disable-integration-wizard \
42 --disable-own-playlist-parsers \
43 VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \
44 $CONFIGURE_ARGS &&
45 make && make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
54 cp -a $install/usr/share/$PACKAGE $fs/usr/share
55 cp -a $install/usr/share/pixmaps $fs/usr/share
56 cp -a $install/etc $fs
57 }