blob: f0ba969e2bb54e9ba8a8c77635e4f312d85c5991 (
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
53
54
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base0.10
pkgver=0.10.36
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Base Plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="GPL LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
replaces="gst-plugins-base"
depends_dev="gstreamer0.10-dev"
makedepends="$depends_dev alsa-lib-dev libvorbis-dev liboil-dev
perl libogg-dev gtk+-dev libtheora-dev libice-dev libsm-dev libxv-dev
util-linux-dev expat-dev"
source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.bz2"
_builddir="$srcdir"/gst-plugins-base-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
# fix building with gnu make 3.82
find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-experimental \
--with-default-audiosink=alsasink \
--with-package-name="GStreamer Base Plugins (Alpine Linux)" \
--with-package-origin="http://www.alpinelinux.org/" \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/*.a \
"$pkgdir"/usr/lib/gstreamer*/*.la \
"$pkgdir"/usr/lib/gstreamer*/*.a
}
md5sums="776c73883e567f67b9c4a2847d8d041a gst-plugins-base-0.10.36.tar.bz2"
|