wok-next view xine-lib/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d457c4e37c1b |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xine-project.org/home"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/xine/$TARBALL"
14 BUILD_DEPENDS="libxvmc-dev libxv-dev xorgproto \
15 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
16 util-linux-uuid-dev libxcb-dev libcaca-dev ffmpeg-dev file \
17 libmodplug-dev libxinerama-dev speex-dev gettext"
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 libx11 libxv libxvmc alsa-lib \
54 libogg libvorbis libtheora \
55 libxcb ffmpeg libmodplug"
56 SUGGESTED="xine-fonts faad2"
57 ;;
58 *-dev)
59 copy @dev
60 ;;
61 esac
62 }