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