wok annotate xfmedia/receipt @ rev 11577

gtk+: Fix GtkIconView segfault (thank mojo)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:19 2012 +0100 (2012-01-02)
parents 2b9fa6d380f7
children 73641efed1cc
rev   line source
erjo@4887 1 # SliTaz package receipt.
erjo@4887 2
erjo@4887 3 PACKAGE="xfmedia"
erjo@4887 4 VERSION="0.9.2"
erjo@4887 5 CATEGORY="multimedia"
erjo@4887 6 SHORT_DESC="Xfce Media Player"
erjo@4887 7 MAINTAINER="erjo@slitaz.org"
erjo@4887 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4887 9 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
erjo@4887 10 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
erjo@4887 11
erjo@9879 12 DEPENDS="libxfcegui4 libexo xine-lib xorg-libXss xorg-libXtst taglib libexo startup-notification"
erjo@9879 13 BUILD_DEPENDS="libexo-dev util-linux-ng-uuid-dev xine-lib-dev intltool libxfcegui4-dev \
erjo@9879 14 startup-notification-dev"
erjo@9879 15
erjo@4887 16 # Rules to configure and make the package.
erjo@4887 17 compile_rules()
erjo@4887 18 {
erjo@4887 19 cd $src
gokhlayeh@8884 20 patch -Np1 -i $stuff/xfmedia-dbus-0.6-support.patch
gokhlayeh@8884 21 patch -Np1 -i $stuff/xfmedia-empty-prev-next-fix.patch
gokhlayeh@8884 22 patch -Np1 -i $stuff/xfmedia-exo-0.6.patch
erjo@4887 23 ./configure \
erjo@4887 24 --prefix=/usr \
erjo@4887 25 --sysconfdir=/etc \
erjo@4887 26 --enable-exo \
erjo@4887 27 --disable-startup-notification \
pascal@5856 28 $CONFIGURE_ARGS || return 1
pascal@5856 29 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h
gokhlayeh@8884 30 make && make install
erjo@4887 31 }
erjo@4887 32
erjo@4887 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4887 34 genpkg_rules()
erjo@4887 35 {
erjo@4887 36 mkdir -p $fs/usr/share
erjo@4887 37
erjo@4887 38 cp -a $_pkg/usr/bin $fs/usr
erjo@4887 39 cp -a $_pkg/etc $fs/
erjo@4887 40 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@4887 41 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4887 42
erjo@4887 43 # Clean up
erjo@4887 44 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
erjo@4887 45 rm -f $fs/usr/bin/*-remote
erjo@4887 46
erjo@4887 47 # Strip evrythings
erjo@4887 48 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4887 49 }
erjo@4887 50