wok annotate gxine/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 00e3b45c063b |
children | ec9531d04de1 |
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" |
pascal@25094 | 11 WGET_URL="https://sourceforge.net/projects/xine/files/$PACKAGE/$VERSION/$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 |
pascal@25094 | 18 # What is the latest version available today? |
pascal@24082 | 19 current_version() |
pascal@24082 | 20 { |
pascal@24082 | 21 wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE 2>/dev/null | \ |
pascal@24082 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24082 | 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24082 | 24 } |
pascal@24082 | 25 |
jozee@3121 | 26 # Rules to configure and make the package. |
jozee@3121 | 27 compile_rules() |
jozee@3121 | 28 { |
pankso@14249 | 29 # Fix for glib2 (-lm) |
pankso@14249 | 30 sed -i "/<glib\//d" src/* |
pascal@17670 | 31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pankso@14249 | 32 |
pankso@14249 | 33 # Fix for lirc |
pankso@14249 | 34 #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1 |
pankso@14249 | 35 |
pankso@14249 | 36 #--with-logo-format=image |
pankso@14249 | 37 ./configure \ |
pankso@14249 | 38 --prefix=/usr \ |
jozee@3121 | 39 --mandir=/usr/share/man \ |
jozee@3121 | 40 --sysconfdir=/etc \ |
pankso@14249 | 41 --with-dbus \ |
jozee@3121 | 42 --with-spidermonkey=/usr/include/js \ |
jozee@3121 | 43 --without-browser-plugin \ |
pankso@14249 | 44 --without-hal \ |
jozee@3121 | 45 --disable-lirc \ |
pankso@14249 | 46 --disable-deprecated \ |
jozee@3121 | 47 --disable-integration-wizard \ |
pankso@14249 | 48 --disable-own-playlist-parsers \ |
pankso@14249 | 49 VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \ |
jozee@3121 | 50 $CONFIGURE_ARGS && |
mojo@14521 | 51 make && make DESTDIR=$DESTDIR install |
mojo@14521 | 52 sed -i '/^x/d' $install/usr/share/applications/gxine.desktop |
jozee@3121 | 53 } |
mojo@14521 | 54 |
jozee@3121 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3121 | 56 genpkg_rules() |
jozee@3121 | 57 { |
jozee@3121 | 58 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib |
pankso@14249 | 59 cp -a $install/usr/bin $fs/usr |
pankso@14249 | 60 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pankso@14249 | 61 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@14249 | 62 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@14249 | 63 cp -a $install/etc $fs |
jozee@3121 | 64 } |
jozee@3121 | 65 |