summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-bad/APKBUILD
blob: 0a0359e2622281b2f652afe4670730805a5967c6 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-bad
pkgver=0.10.23
pkgrel=3
pkgdesc="GStreamer bad plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL GPL"
depends=""
subpackages="$pkgname-lang"
makedepends="gst-plugins-base-dev gstreamer-dev xvidcore-dev bzip2-dev
	neon-dev faac-dev libexif-dev faad2-dev glib-dev liboil-dev
	alsa-lib-dev libx11-dev sdl-dev libvpx-dev libdc1394-dev
	libmms-dev libmodplug-dev gsm-dev flite-dev orc-dev jasper-dev
	librsvg-dev"

#'libdca>=0.0.5' 'exempi>=2.1.0' 'jack-audio-connection-kit>=0.116.2' 'musicbrainz>=2.1.5' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'liblrdf>=0.4.0' 'libofa>=0.9.3')
source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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://www.alpinelinux.org/" \
		|| return 1
	make || return 1
}

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

md5sums="fcb09798114461955260e4d940db5987  gst-plugins-bad-0.10.23.tar.bz2"