wok-next view xfmedia/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d457c4e37c1b |
children | 0efaf035ff76 |
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 libxcb-dev \
16 libx11-dev libxt-dev libxtst-dev 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 libx11 libxext libxtst"
37 TAGS="Xfce"
38 }