aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-base1/APKBUILD
blob: 20e82d3a6be8f58f6d063b82af8e49be9c0a3d11 (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.8.1
pkgrel=2
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--disable-experimental \
		--disable-fatal-warnings \
		--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/*.a "$pkgdir"/usr/lib/gstreamer*/*.a
}

md5sums="5421edfeb7479d5f5776e917ba30e24e  gst-plugins-base-1.8.1.tar.xz"
sha256sums="15a9de985cd265c344e359f5b19347df4021b7611ed2c2d91917cb900f2fad6f  gst-plugins-base-1.8.1.tar.xz"
sha512sums="b7b0a827a8b07976d926996837fe900a8271ac21b8f5b052643f771e0dd38136a9f199006e6866a5884bdcaa5344e2e2fdb5c6b98e4a9cec5fede498024414fd  gst-plugins-base-1.8.1.tar.xz"