aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-bad/APKBUILD
blob: 769d70a71c12a0b536296661cb732de010c4e06f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-bad
pkgver=1.12.1
pkgrel=2
pkgdesc="GStreamer bad plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL GPL"
depends=""
replaces="gst-plugins-bad1"
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-base-dev
	gstreamer-dev
	jasper-dev
	libdc1394-dev
	libexif-dev
	libmms-dev
	libmodplug-dev
	liboil-dev
	libressl-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-.0"
builddir="$srcdir"/gst-plugins-bad-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-experimental \
		--disable-fatal-warnings \
		--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
}

doc() {
	default_doc
	replaces="${pkgname}1-doc"
}
sha512sums="20358b1ff3eb79c085d096776e6311ac07e070de44a213b79975efef63f0485fe978a659f4127c2973430759f4a5044c482dc0a98ef3263cb927e94f5de97f0a  gst-plugins-bad-1.12.1.tar.xz"