aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good/APKBUILD
blob: 034ef35eb31a98cee16f2de33059cf7519da96ff (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-good
pkgver=0.10.25
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev"
depends=
makedepends="gstreamer-dev glib-dev liboil-dev gst-plugins-base-dev
	libsoup-dev flac-dev libogg-dev taglib-dev jpeg-dev zlib-dev"
replaces="gst-plugins-bad"

# might consider those:
#libavc1394
#hal
#libiec61883
#libshout
#libdv
#wavpack
#libv4l
#libcaca

source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.bz2"

depends_dev="gstreamer-dev gst-plugins-base-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 \
		--enable-experimental \
		--with-package-name="GStreamer Good Plugins (Alpine Linux)" \
		--with-package-origin="http://www.alpinelinux.org/" \
		|| return 1
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="d734bc866788d1d6fc74c4ff1318926c  gst-plugins-good-0.10.25.tar.bz2"