wok-next view libtheora/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents c4e53a39395a
children a3c581bf52b8
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/"
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 }