blob: f376e83c0a989b70d539e8e5cc58dfabef47fa6a (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-ffmpeg
pkgver=0.10.10
pkgrel=2
pkgdesc="Gstreamer FFMpeg Plugin"
url="http://www.gstreamer.net"
license="GPL"
makedepends="gstreamer-dev gst-plugins-base-dev liboil-dev coreutils"
source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.bz2"
build() {
cd "$srcdir"/gst-ffmpeg-$pkgver
export CFLAGS="$CFLAGS -fno-strict-aliasing -fno-PIC"
export LDFLAGS="$LDFLAGS -nopie"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/gst-ffmpeg-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/gstreamer-0.10/*.{l,}a
}
md5sums="447292deff5f3748444e6a5fba41da29 gst-ffmpeg-0.10.10.tar.bz2"
|