wok diff gxine/receipt @ rev 14266
syslinux/iso2exe: add partition table
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 01 17:47:04 2013 +0200 (2013-04-01) |
parents | abacfae9ed7f |
children | 6151f4233595 |
line diff
1.1 --- a/gxine/receipt Fri Sep 17 16:05:12 2010 +0000 1.2 +++ b/gxine/receipt Mon Apr 01 17:47:04 2013 +0200 1.3 @@ -5,38 +5,54 @@ 1.4 CATEGORY="multimedia" 1.5 SHORT_DESC="GTK+ Xine media player user interface." 1.6 MAINTAINER="jozee@slitaz.org" 1.7 -DEPENDS="xine-lib libvorbis gtk+ spidermonkey hal" 1.8 -BUILD_DEPENDS="spidermonkey-dev spidermonkey xine-lib xine-lib-dev xorg-dev \ 1.9 -gtk+-dev hal dbus xorg-libXinerama xorg-libXext xorg-libX11 xorg-xextproto perl" 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 WEB_SITE="http://www.xine-project.org" 1.12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" 1.13 1.14 +DEPENDS="xine-lib libvorbis gtk+ spidermonkey dbus" 1.15 +BUILD_DEPENDS="spidermonkey-dev xine-lib-dev xorg-dev dbus-dev \ 1.16 +gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \ 1.17 +xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto" 1.18 + 1.19 # Rules to configure and make the package. 1.20 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 - ./configure --prefix=/usr \ 1.25 + 1.26 + # Fix for glib2 (-lm) 1.27 + sed -i "/<glib\//d" src/* 1.28 + export LDFLAGS="-Wl,--copy-dt-needed-entries" 1.29 + 1.30 + # Fix for lirc 1.31 + #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1 1.32 + 1.33 + #--with-logo-format=image 1.34 + ./configure \ 1.35 + --prefix=/usr \ 1.36 --mandir=/usr/share/man \ 1.37 --sysconfdir=/etc \ 1.38 + --with-dbus \ 1.39 --with-spidermonkey=/usr/include/js \ 1.40 --without-browser-plugin \ 1.41 + --without-hal \ 1.42 --disable-lirc \ 1.43 + --disable-deprecated \ 1.44 --disable-integration-wizard \ 1.45 + --disable-own-playlist-parsers \ 1.46 + VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \ 1.47 $CONFIGURE_ARGS && 1.48 - make && 1.49 - make DESTDIR=$PWD/_pkg install 1.50 + make && make DESTDIR=$DESTDIR install 1.51 } 1.52 1.53 # Rules to gen a SliTaz package suitable for Tazpkg. 1.54 genpkg_rules() 1.55 { 1.56 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib 1.57 - cp -a $_pkg/usr/bin $fs/usr 1.58 - cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.59 - cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.60 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.61 - cp -a $_pkg/etc $fs 1.62 + cp -a $install/usr/bin $fs/usr 1.63 + cp -a $install/usr/lib/$PACKAGE $fs/usr/lib 1.64 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.65 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.66 + cp -a $install/etc $fs 1.67 } 1.68