wok-next view libtheora/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents 53082fab5f1e
children c4e53a39395a
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="http://www.theora.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL"
15 BUILD_DEPENDS="libogg-dev libvorbis-dev libpng16-dev"
16 SPLIT="libtheora-enc libtheora-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libtheora)
31 copy libtheora.so*
32 DEPENDS="libogg"
33 ;;
34 *-enc)
35 copy libtheoradec.so* libtheoraenc.so*
36 CAT="multimedia|encoding/decoding library"
37 DEPENDS="libogg"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libtheora libtheora-enc libogg-dev"
42 ;;
43 esac
44 }