wok-next view xfmedia/receipt @ rev 20555
Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 17:43:57 2018 +0300 (2018-04-06) |
parents | 757d032c55c7 |
children | d6378d455338 |
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
21 patch -Np1 -i $stuff/xfmedia-dbus-0.6-support.patch
22 patch -Np1 -i $stuff/xfmedia-empty-prev-next-fix.patch
23 patch -Np1 -i $stuff/xfmedia-exo-0.6.patch
25 ./configure \
26 --enable-exo \
27 --disable-startup-notification \
28 $CONFIGURE_ARGS || return 1
29 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 copy @std
37 rm -r $fs/usr/share/xfmedia/doc/
38 DEPENDS="exo gdk-pixbuf glib gtk+ libxfce4util libxfcegui4 pango xine-lib \
39 xorg-libX11 xorg-libXext xorg-libXtst"
40 TAGS="Xfce"
41 }