aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-bad1/APKBUILD
blob: 91760a8201146a66c9bd7fc5e710c785ec2d5e5a (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-bad1
pkgver=1.0.7
pkgrel=0
pkgdesc="GStreamer bad plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL GPL"
depends=""
subpackages="$pkgname-lang"
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
build() { 
	cd "$_builddir"
	./configure --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="d1493d1219b836a8cbf54f4fba962420  gst-plugins-bad-1.0.7.tar.xz"
sha256sums="5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab  gst-plugins-bad-1.0.7.tar.xz"
sha512sums="b2f0f6f2bf1bb4878bbff2bee2ebbd5c07b0f071be34cb795a37c641985721da9c4152fabadbdbb3833c67795a729a0c3088f7ac53162db4944b113e24ff5f79  gst-plugins-bad-1.0.7.tar.xz"