wok-next annotate xine-lib/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | d457c4e37c1b |
rev | line source |
---|---|
pascal@19943 | 1 # SliTaz package receipt v2. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
pascal@19943 | 4 VERSION="1.2.8" |
pankso@206 | 5 CATEGORY="multimedia" |
al@20475 | 6 SHORT_DESC="Xine video library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@20475 | 9 WEB_SITE="http://www.xine-project.org/" |
al@20475 | 10 |
pankso@12525 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@21017 | 12 WGET_URL="$SF_MIRROR/xine/$TARBALL" |
pankso@33 | 13 |
al@20935 | 14 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xorgproto \ |
pankso@12525 | 15 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ |
al@20513 | 16 util-linux-uuid-dev xorg-libxcb-dev libcaca-dev ffmpeg-dev file \ |
al@21020 | 17 libmodplug-dev xorg-libXinerama-dev speex-dev gettext" |
al@21017 | 18 SPLIT="xine-fonts $PACKAGE $PACKAGE-dev" |
pankso@16084 | 19 |
al@20475 | 20 compile_rules() { |
al@21017 | 21 sed -i 's/grep -x/grep/' configure |
pankso@10396 | 22 |
pascal@17670 | 23 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \ |
pankso@499 | 24 ./configure \ |
pankso@4461 | 25 --with-freetype \ |
pankso@12525 | 26 --with-xcb \ |
jozee@5020 | 27 --without-jack \ |
jozee@5020 | 28 --without-imagemagick \ |
jozee@5020 | 29 --without-sdl \ |
jozee@5020 | 30 --disable-gnomevfs \ |
jozee@5020 | 31 --disable-samba \ |
jozee@5020 | 32 --disable-glu \ |
jozee@5020 | 33 --disable-opengl \ |
jozee@5020 | 34 --disable-fb \ |
pankso@10397 | 35 --without-esound \ |
pankso@10397 | 36 --disable-vcd \ |
pankso@12525 | 37 --disable-musepack \ |
al@21017 | 38 $CONFIGURE_ARGS && |
al@20604 | 39 fix libtool && |
al@21017 | 40 make && |
al@21017 | 41 make install |
pankso@33 | 42 } |
pankso@33 | 43 |
al@20475 | 44 genpkg_rules() { |
pascal@19943 | 45 case "$PACKAGE" in |
al@20475 | 46 xine-fonts) |
al@20475 | 47 copy *.xinefont.gz |
al@20475 | 48 CAT="x-window|extra fonts for Xine video player" |
al@20475 | 49 DEPENDS="xine-ui" |
al@20475 | 50 ;; |
al@20475 | 51 xine-lib) |
al@20475 | 52 copy @std @rm |
al@20475 | 53 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \ |
pascal@19943 | 54 libogg libvorbis libtheora xorg-libXvMC xorg-libXv \ |
al@20447 | 55 xorg-libxcb ffmpeg libmodplug" |
al@20475 | 56 SUGGESTED="xine-fonts faad2" |
al@20475 | 57 ;; |
al@21017 | 58 *-dev) |
al@20475 | 59 copy @dev |
al@20475 | 60 ;; |
pascal@19943 | 61 esac |
pankso@33 | 62 } |