wok-next view xine-lib/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 1ff0133b1f8c
children 10df65db91ad
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xine-lib"
4 VERSION="1.2.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine video library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xine-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
15 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
16 util-linux-uuid-dev xorg-libxcb-dev libcaca-dev ffmpeg-dev file \
17 libmodplug-dev xorg-libXinerama-dev speex-dev gettext-tools"
18 SPLIT="xine-fonts xine-lib xine-lib-dev"
20 compile_rules() {
21 case "$ARCH" in
22 arm*)
23 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
24 export LIBTOOL=${HOST_SYSTEM}-libtool
25 ARCH_ARGS="--disable-xinerama" ;;
26 esac
28 sed -i 's/grep -x/grep/' configure
29 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --with-freetype \
35 --with-xcb \
36 --without-jack \
37 --without-imagemagick \
38 --without-sdl \
39 --disable-gnomevfs \
40 --disable-samba \
41 --disable-glu \
42 --disable-opengl \
43 --disable-fb \
44 --without-esound \
45 --disable-vcd \
46 --disable-musepack \
47 $CONFIGURE_ARGS $ARCH_ARGS &&
48 make && make install
49 }
51 genpkg_rules() {
52 case "$PACKAGE" in
53 xine-fonts)
54 copy *.xinefont.gz
55 CAT="x-window|extra fonts for Xine video player"
56 DEPENDS="xine-ui"
57 ;;
58 xine-lib)
59 copy @std @rm
60 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \
61 libogg libvorbis libtheora xorg-libXvMC xorg-libXv \
62 xorg-libxcb ffmpeg libmodplug"
63 SUGGESTED="xine-fonts faad2"
64 ;;
65 xine-lib-dev)
66 copy @dev
67 ;;
68 esac
69 }