wok-next annotate xfmedia/receipt @ rev 20983
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 28 13:48:52 2018 +0300 (2018-09-28) |
parents | fb9d8c16e8db |
children | f48456621a9d |
rev | line source |
---|---|
al@20496 | 1 # SliTaz package receipt v2. |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20496 | 9 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia" |
al@20496 | 10 |
erjo@4887 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17869 | 12 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/$TARBALL" |
erjo@4887 | 13 |
al@20496 | 14 BUILD_DEPENDS="shared-mime-info exo-dev util-linux-uuid-dev xine-lib-dev \ |
al@20496 | 15 intltool libxfcegui4-dev startup-notification-dev xorg-libxcb-dev \ |
al@20496 | 16 xorg-libX11-dev xorg-libXt-dev xorg-libXtst-dev xorg-xcb-util-dev" |
erjo@9879 | 17 |
al@20496 | 18 compile_rules() { |
al@20555 | 19 export LDFLAGS="$LDFLAGS -lXext -lm -lgmodule-2.0" |
pascal@12988 | 20 sed -i 's/return xine_trick_mode.*/return 0;/' src/xfmedia-xine.c |
al@20496 | 21 |
erjo@4887 | 22 ./configure \ |
erjo@4887 | 23 --enable-exo \ |
erjo@4887 | 24 --disable-startup-notification \ |
pascal@5856 | 25 $CONFIGURE_ARGS || return 1 |
pascal@5856 | 26 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h |
al@20496 | 27 fix libtool && |
al@20534 | 28 make && |
al@20534 | 29 make install |
erjo@4887 | 30 } |
erjo@4887 | 31 |
al@20496 | 32 genpkg_rules() { |
al@20496 | 33 copy @std |
al@20496 | 34 rm -r $fs/usr/share/xfmedia/doc/ |
al@20496 | 35 DEPENDS="exo gdk-pixbuf glib gtk+ libxfce4util libxfcegui4 pango xine-lib \ |
al@20496 | 36 xorg-libX11 xorg-libXext xorg-libXtst" |
al@20496 | 37 TAGS="Xfce" |
erjo@4887 | 38 } |