wok-next annotate libtheora/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | a3c581bf52b8 |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@19804 | 1 # SliTaz package receipt v2. |
pankso@1106 | 2 |
pankso@1106 | 3 PACKAGE="libtheora" |
devl547@5659 | 4 VERSION="1.1.1" |
pankso@1106 | 5 CATEGORY="multimedia" |
al@19804 | 6 SHORT_DESC="Theora video compression format" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
al@20906 | 9 WEB_SITE="https://www.theora.org/" |
pankso@1106 | 10 |
al@19804 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19804 | 12 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL" |
al@19804 | 13 |
al@19804 | 14 BUILD_DEPENDS="libogg-dev libvorbis-dev libpng16-dev" |
al@21020 | 15 SPLIT="$PACKAGE-enc $PACKAGE-dev" |
pascal@15482 | 16 |
al@20595 | 17 compile_rules() { |
al@19804 | 18 sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c && |
al@19804 | 19 |
al@20595 | 20 ./configure $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
al@20595 | 22 make && |
al@20595 | 23 make install |
pankso@1106 | 24 } |
pankso@1106 | 25 |
al@20595 | 26 genpkg_rules() { |
al@19804 | 27 case $PACKAGE in |
al@19804 | 28 libtheora) |
al@19804 | 29 copy libtheora.so* |
al@19804 | 30 DEPENDS="libogg" |
al@19804 | 31 ;; |
al@19804 | 32 *-enc) |
al@19804 | 33 copy libtheoradec.so* libtheoraenc.so* |
al@19804 | 34 CAT="multimedia|encoding/decoding library" |
al@19804 | 35 DEPENDS="libogg" |
al@19804 | 36 ;; |
al@19804 | 37 *-dev) |
al@19804 | 38 copy @dev |
al@19804 | 39 DEPENDS="libtheora libtheora-enc libogg-dev" |
al@19804 | 40 ;; |
al@19804 | 41 esac |
pankso@1106 | 42 } |