blob: 1f4f1117bccb1fbf156217f958959033b1ad0886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtheora
pkgver=1.1.1
pkgrel=0
pkgdesc="An open video codec developed by the Xiph.org"
url="http://www.xiph.org"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libvorbis-dev libogg-dev autoconf automake libtool"
source="http://downloads.xiph.org/releases/theora/$pkgname-$pkgver.tar.bz2
libtheora-flags.patch"
depends_dev="libogg-dev"
build() {
cd "$srcdir"/libtheora-$pkgver
patch -p1 -i ../libtheora-flags.patch || return 1
aclocal -I m4 && autoconf && automake || return 1
./configure --prefix=/usr \
--enable-shared \
--disable-static || return 1
make || return 1
}
package() {
cd "$srcdir"/libtheora-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -m755 -d ""$pkgdir"/usr/share/licenses/$pkgname"
install -m644 LICENSE COPYING "$pkgdir"/usr/share/licenses/$pkgname/
}
md5sums="292ab65cedd5021d6b7ddd117e07cd8e libtheora-1.1.1.tar.bz2
7cbab1ce1f52adb98e1c241515a27aca libtheora-flags.patch"
|