wok-next view xfmedia/receipt @ rev 21041

Follow HTTP redirections for homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 09 13:21:03 2018 +0200 (2018-11-09)
parents d5aab818505e
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfmedia"
4 VERSION="0.9.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xfce Media Player"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.spurint.org/projects/xfmedia/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/$TARBALL"
14 BUILD_DEPENDS="shared-mime-info exo-dev util-linux-uuid-dev xine-lib-dev \
15 intltool libxfcegui4-dev startup-notification-dev xorg-libxcb-dev \
16 xorg-libX11-dev xorg-libXt-dev xorg-libXtst-dev xorg-xcb-util-dev"
18 compile_rules() {
19 export LDFLAGS="$LDFLAGS -lXext -lm -lgmodule-2.0"
20 sed -i 's/return xine_trick_mode.*/return 0;/' src/xfmedia-xine.c
22 ./configure \
23 --enable-exo \
24 --disable-startup-notification \
25 $CONFIGURE_ARGS || return 1
26 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 copy @std
34 rm -r $fs/usr/share/xfmedia/doc/
35 DEPENDS="exo gdk-pixbuf glib gtk2 libxfce4util libxfcegui4 pango xine-lib \
36 xorg-libX11 xorg-libXext xorg-libXtst"
37 TAGS="Xfce"
38 }