wok-current annotate gxine/receipt @ rev 22653

updated docbook-xsl-ns again (1.76.1 -> 1.79.1)
author Hans-G?nter Theisgen
date Tue Jan 14 14:58:06 2020 +0100 (2020-01-14)
parents 7896f0694ef6
children 4bae0fb81a17
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"
pascal@15002 8 LICENSE="GPL2"
jozee@3121 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@3121 10 WEB_SITE="http://www.xine-project.org"
jozee@3121 11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
jozee@3121 12
pankso@14249 13 DEPENDS="xine-lib libvorbis gtk+ spidermonkey dbus"
pankso@14249 14 BUILD_DEPENDS="spidermonkey-dev xine-lib-dev xorg-dev dbus-dev \
pankso@14249 15 gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \
pankso@14249 16 xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto"
pankso@14249 17
jozee@3121 18 # Rules to configure and make the package.
jozee@3121 19
jozee@3121 20 compile_rules()
jozee@3121 21 {
jozee@3121 22 cd $src
pankso@14249 23
pankso@14249 24 # Fix for glib2 (-lm)
pankso@14249 25 sed -i "/<glib\//d" src/*
pascal@17670 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pankso@14249 27
pankso@14249 28 # Fix for lirc
pankso@14249 29 #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1
pankso@14249 30
pankso@14249 31 #--with-logo-format=image
pankso@14249 32 ./configure \
pankso@14249 33 --prefix=/usr \
jozee@3121 34 --mandir=/usr/share/man \
jozee@3121 35 --sysconfdir=/etc \
pankso@14249 36 --with-dbus \
jozee@3121 37 --with-spidermonkey=/usr/include/js \
jozee@3121 38 --without-browser-plugin \
pankso@14249 39 --without-hal \
jozee@3121 40 --disable-lirc \
pankso@14249 41 --disable-deprecated \
jozee@3121 42 --disable-integration-wizard \
pankso@14249 43 --disable-own-playlist-parsers \
pankso@14249 44 VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \
jozee@3121 45 $CONFIGURE_ARGS &&
mojo@14521 46 make && make DESTDIR=$DESTDIR install
mojo@14521 47 sed -i '/^x/d' $install/usr/share/applications/gxine.desktop
jozee@3121 48 }
mojo@14521 49
jozee@3121 50 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3121 51 genpkg_rules()
jozee@3121 52 {
jozee@3121 53 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
pankso@14249 54 cp -a $install/usr/bin $fs/usr
pankso@14249 55 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pankso@14249 56 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@14249 57 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@14249 58 cp -a $install/etc $fs
jozee@3121 59 }
jozee@3121 60