wok view gxine/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 6151f4233595
children 17e313b5b9c1
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xine-project.org"
11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
13 DEPENDS="xine-lib libvorbis gtk+ spidermonkey dbus"
14 BUILD_DEPENDS="spidermonkey-dev xine-lib-dev xorg-dev dbus-dev \
15 gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \
16 xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto"
18 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # Fix for glib2 (-lm)
25 sed -i "/<glib\//d" src/*
26 export LDFLAGS="-Wl,--copy-dt-needed-entries"
28 # Fix for lirc
29 #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1
31 #--with-logo-format=image
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --sysconfdir=/etc \
36 --with-dbus \
37 --with-spidermonkey=/usr/include/js \
38 --without-browser-plugin \
39 --without-hal \
40 --disable-lirc \
41 --disable-deprecated \
42 --disable-integration-wizard \
43 --disable-own-playlist-parsers \
44 VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \
45 $CONFIGURE_ARGS &&
46 make && make DESTDIR=$DESTDIR install
47 sed -i '/^x/d' $install/usr/share/applications/gxine.desktop
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
56 cp -a $install/usr/share/$PACKAGE $fs/usr/share
57 cp -a $install/usr/share/pixmaps $fs/usr/share
58 cp -a $install/etc $fs
59 }