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