aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-bad1/APKBUILD
blob: f82685fb19646d691231b0568c492a5a429e460a (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
63
64
65
66
67
68
69
70
71
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-bad1
pkgver=1.4.4
pkgrel=1
pkgdesc="GStreamer bad plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL GPL"
depends=""
subpackages="$pkgname-lang $pkgname-dev $pkgname-doc"
makedepends="
	alsa-lib-dev
	bzip2-dev
	curl-dev
	faac-dev
	faad2-dev
	flite-dev
	glib-dev
	gsm-dev
	gst-plugins-base1-dev
	gstreamer1-dev
	jasper-dev
	libdc1394-dev
	libexif-dev
	libmms-dev
	libmodplug-dev
	liboil-dev
	librsvg-dev
	libvdpau-dev
	libx11-dev
	neon-dev
	orc-dev
	sdl-dev
	spandsp-dev
	xvidcore-dev
	"

source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-1.0"

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

prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}

md5sums="972c6e22dd2e44fcf0b04b9d810a56be  gst-plugins-bad-1.4.4.tar.xz"
sha256sums="e41b36105c0a13a2cb1ff9f559714e839b82dc3841484cd664790fb7947e55c7  gst-plugins-bad-1.4.4.tar.xz"
sha512sums="9c60af8e7b992794110ceacb50fe2383a2fc55898c63bfb435c4f70363e645252ed4d54cbff136f2d82cc6c20b9893991e0ac2aa9a93f847fc435484f6e4ad3c  gst-plugins-bad-1.4.4.tar.xz"