aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-base/APKBUILD
blob: 4dd873e68ceca49c36eee67779f81381df8b42ef (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base
pkgver=0.10.30
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Base Plugins"
url="http://gstreamer.freedesktop.org/"
arch="x86 x86_64"
license="GPL LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig gstreamer-dev alsa-lib-dev libvorbis-dev liboil-dev
	perl libogg-dev gtk+-dev libtheora-dev libice-dev libsm-dev libxv-dev
	util-linux-ng-dev expat-dev"
# cdparanoia>=10.2 libvisual libtheora"
source="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.bz2"

depends_dev="gstreamer-dev"
	
_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# fix building with gnu make 3.82
	find -name Makefile.in | xargs sed -i -e "s/^        /\t/" || return 1
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--disable-experimental \
		--with-default-audiosink=osssink \
		--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
}

md5sums="3ad90152b58563e1314af26c263f3c4c  gst-plugins-base-0.10.30.tar.bz2"