wok-current view gxine/receipt @ rev 24557

updated fltk packages (1.3.5 -> 1.3.8)
author Hans-G?nter Theisgen
date Fri Feb 25 15:09:26 2022 +0100 (2022-02-25)
parents 17e313b5b9c1
children 00e3b45c063b
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 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
30 # Fix for glib2 (-lm)
31 sed -i "/<glib\//d" src/*
32 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
34 # Fix for lirc
35 #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1
37 #--with-logo-format=image
38 ./configure \
39 --prefix=/usr \
40 --mandir=/usr/share/man \
41 --sysconfdir=/etc \
42 --with-dbus \
43 --with-spidermonkey=/usr/include/js \
44 --without-browser-plugin \
45 --without-hal \
46 --disable-lirc \
47 --disable-deprecated \
48 --disable-integration-wizard \
49 --disable-own-playlist-parsers \
50 VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \
51 $CONFIGURE_ARGS &&
52 make && make DESTDIR=$DESTDIR install
53 sed -i '/^x/d' $install/usr/share/applications/gxine.desktop
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
62 cp -a $install/usr/share/$PACKAGE $fs/usr/share
63 cp -a $install/usr/share/pixmaps $fs/usr/share
64 cp -a $install/etc $fs
65 }