wok-current view xfmedia/receipt @ rev 10623

qemu: back to a working version (0.12.5)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 21:20:55 2011 +0200 (2011-05-26)
parents 2b9fa6d380f7
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xfmedia"
4 VERSION="0.9.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xfce Media Player"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
10 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
12 DEPENDS="libxfcegui4 libexo xine-lib xorg-libXss xorg-libXtst taglib libexo startup-notification"
13 BUILD_DEPENDS="libexo-dev util-linux-ng-uuid-dev xine-lib-dev intltool libxfcegui4-dev \
14 startup-notification-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/xfmedia-dbus-0.6-support.patch
21 patch -Np1 -i $stuff/xfmedia-empty-prev-next-fix.patch
22 patch -Np1 -i $stuff/xfmedia-exo-0.6.patch
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
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 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/etc $fs/
40 cp -a $_pkg/usr/share/icons $fs/usr/share
41 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
43 # Clean up
44 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
45 rm -f $fs/usr/bin/*-remote
47 # Strip evrythings
48 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
49 }