summaryrefslogtreecommitdiffstats
path: root/main/gstreamer/APKBUILD
blob: 2cbc80a4b9dd02d7057b12fb4739a62109afa01e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer
pkgver=0.10.29
pkgrel=1
pkgdesc="GStreamer Multimedia Framework"
url="http://gstreamer.freedesktop.org/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libxml2-dev glib-dev bison flex gettext-dev libiconv-dev"
source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2"

depends_dev="glib-dev libxml2-dev"

build() {
	cd "$srcdir"/gstreamer-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-docs-build || return 1
	make || return 1
}

package() {
	cd "$srcdir"/gstreamer-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	cd "$pkgdir"/usr/bin
}
md5sums="c92d6bce4fc65fa9d5a3ad35cdd1a466  gstreamer-0.10.29.tar.bz2"