wok-next view libtheora/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | d5aab818505e |
children | 61bbbfd8f34d |
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="devel@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 libpng-dev"
15 SPLIT="$PACKAGE-enc $PACKAGE-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 }