wok-current view gxine/receipt @ rev 14733

Up firmware (20130610)
author Richard Dunbar <mojo@slitaz.org>
date Thu Jun 13 17:09:29 2013 +0000 (2013-06-13)
parents 8b711bcd4b29
children 7896f0694ef6
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 sed -i '/^x/d' $install/usr/share/applications/gxine.desktop
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
55 cp -a $install/usr/share/$PACKAGE $fs/usr/share
56 cp -a $install/usr/share/pixmaps $fs/usr/share
57 cp -a $install/etc $fs
58 }