wok-next view xfmedia/receipt @ rev 20661

Unification of the patch system
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 21:12:00 2018 +0300 (2018-05-10)
parents fb9d8c16e8db
children f48456621a9d
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="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://spuriousinterrupt.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 gtk+ libxfce4util libxfcegui4 pango xine-lib \
36 xorg-libX11 xorg-libXext xorg-libXtst"
37 TAGS="Xfce"
38 }