wok-next view xine-lib/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | f99935f1778a |
children | d5aab818505e |
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="$SF_MIRROR/xine/$TARBALL"
14 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xorgproto \
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 $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 sed -i 's/grep -x/grep/' configure
23 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \
24 ./configure \
25 --with-freetype \
26 --with-xcb \
27 --without-jack \
28 --without-imagemagick \
29 --without-sdl \
30 --disable-gnomevfs \
31 --disable-samba \
32 --disable-glu \
33 --disable-opengl \
34 --disable-fb \
35 --without-esound \
36 --disable-vcd \
37 --disable-musepack \
38 $CONFIGURE_ARGS &&
39 fix libtool &&
40 make &&
41 make install
42 }
44 genpkg_rules() {
45 case "$PACKAGE" in
46 xine-fonts)
47 copy *.xinefont.gz
48 CAT="x-window|extra fonts for Xine video player"
49 DEPENDS="xine-ui"
50 ;;
51 xine-lib)
52 copy @std @rm
53 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \
54 libogg libvorbis libtheora xorg-libXvMC xorg-libXv \
55 xorg-libxcb ffmpeg libmodplug"
56 SUGGESTED="xine-fonts faad2"
57 ;;
58 *-dev)
59 copy @dev
60 ;;
61 esac
62 }