aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-base1/APKBUILD
blob: d95534bcd737c036432ca7e473fd97d88b64b24f (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
60
61
62
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base1
pkgver=1.0.7
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="gstreamer1-dev glib-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
	"
source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-1.0"

	
_builddir="$srcdir"/gst-plugins-base-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --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://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="b5b43cfbf82b413ce2e07a190d87e68f  gst-plugins-base-1.0.7.tar.xz"
sha256sums="014805e50b696bc06c3862ea656df079fc0b5fef0c10f16e9f085f290545677a  gst-plugins-base-1.0.7.tar.xz"
sha512sums="c5346b00d4c71aa71fca30e4feb6e5859d62a756de8b3e1f96953b9287712610b72aa25bffa145aea27e064874469c8f54e9dfb938e692e9b26460ba4698e313  gst-plugins-base-1.0.7.tar.xz"