aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-base/APKBUILD
blob: a11958110ec576d39b9a01587a78a234b9e671a1 (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
55
56
57
58
59
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base
pkgver=1.12.0
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=
depends_dev=""
makedepends="$depends_dev
	alsa-lib-dev
	cdparanoia-dev
	expat-dev
	gtk+3.0-dev
	libice-dev
	libogg-dev
	liboil-dev
	libsm-dev
	libtheora-dev
	libvorbis-dev
	libxv-dev
	orc-dev
	perl
	gobject-introspection-dev
	gstreamer-dev
	glib-dev
	opus-dev
	"
source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-.0"
builddir="$srcdir"/gst-plugins-base-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--disable-experimental \
		--disable-fatal-warnings \
		--with-default-audiosink=alsasink \
		--enable-introspection \
		--with-package-name="GStreamer Base Plugins (Alpine Linux)" \
		--with-package-origin="http://alpinelinux.org/" \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
}

sha512sums="c7fde1744952ae3b25a2f6fc4f7807ab0137e94a021b8a101dbcd2b612890132b69772b53bf9ae6265d3be14698b3818f2b67cf7e2cc1cc55c33b1891870965a  gst-plugins-base-1.12.0.tar.xz"