wok-next view libplayer/receipt @ rev 21022

Combine rox-filer
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 04:01:01 2018 +0200 (2018-11-03)
parents ac33744dc2c2
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libplayer"
4 VERSION="2.0.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A multimedia A/V abstraction layer API"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://libplayer.geexbox.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
14 BUILD_DEPENDS="shared-mime-info xine-lib-dev xorg-libxcb-dev"
15 # xorg-libX11-dev libvdpau-dev with --enable-xlib-hack
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
20 ./configure \
21 --prefix=/usr\
22 --enable-mplayer \
23 --disable-gstreamer \
24 --disable-vlc \
25 &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libplayer)
33 copy @std
34 DEPENDS="xine-lib xorg-libxcb"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libplayer xine-lib-dev xorg-libxcb-dev"
39 ;;
40 esac
41 }