wok-next view libplayer/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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 libxcb-dev"
15 # 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 libxcb"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libplayer xine-lib-dev libxcb-dev"
39 ;;
40 esac
41 }