blob: 51c4921e12963b5279711bffc5fb3de00d6a1dd6 (
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
35
36
37
38
39
40
41
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-libav1
pkgver=1.12.0
pkgrel=0
pkgdesc="Gstreamer libav Plugin"
url="http://www.gstreamer.net"
arch="all !armhf"
license="GPL"
makedepends="
coreutils
ffmpeg-dev>=2.7.1-r1
gstreamer1-dev
gst-plugins-base1-dev
liboil-dev
orc-dev"
source="http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz"
builddir="$srcdir"/gst-libav-$pkgver
build() {
cd "$builddir"
export CFLAGS="$CFLAGS -fno-strict-aliasing -D_XOPEN_SOURCE"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-orc \
--disable-fatal-warnings \
--with-system-libav \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
sha512sums="16c8862e5b2305215f01ac0c1514aa48d11359a1a06e6edbf7b9da60ab90bd8a154ddbb84b70fb05fde1eae503a91a18226f4d70c713f428334a7a8eb580a4c7 gst-libav-1.12.0.tar.xz"
|