blob: aa60c8c1696457610bfc4b8e001bc192161c6d1c (
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
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-libav1
pkgver=1.8.0
pkgrel=0
pkgdesc="Gstreamer libav Plugin"
url="http://www.gstreamer.net"
arch="x86 x86_64"
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
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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
find "$pkgdir"/usr/lib/ -name '*.a' -delete
}
md5sums="361638fa45466c5050bcde6bfe10fa46 gst-libav-1.8.0.tar.xz"
sha256sums="5a1ce28876aee93cb4f3d090f0e807915a5d9bc1325e3480dd302b85aeb4291c gst-libav-1.8.0.tar.xz"
sha512sums="5f480c4e6dba0ec4bdf790e8fdf4044cef069ab5b468d8fcff9ce688fd2f0460767120e017cd475df99661b609091ef65089fa54ad32926097181ce715b89697 gst-libav-1.8.0.tar.xz"
|