aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good1/APKBUILD
blob: 7e0814c8808c60a98aae997137bdd02764c116b5 (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
72
73
74
75
76
77
78
79
80
81
82
83
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good1
pkgver=1.8.0
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-lang"
depends=
depends_dev="gstreamer1-dev gst-plugins-base1-dev"
makedepends="$depends_dev
	flac-dev
	gdk-pixbuf-dev
	glib-dev
	jack-dev
	libavc1394-dev
	libdv-dev
	libice-dev
	libiec61883-dev
	libjpeg-turbo-dev
	libogg-dev
	liboil-dev
	libpng-dev
	libshout-dev
	libsm-dev
	libsoup-dev
	libvpx-dev
	libxdamage-dev
	libxext-dev
	libxv-dev
	linux-headers
	orc-dev
	taglib-dev
	eudev-dev
	v4l-utils-dev
	wavpack-dev
	zlib-dev
	"
replaces=
ldpath="/usr/lib/gstreamer-1.0"

source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
	"

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

prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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 Good Plugins (Alpine Linux)" \
		--with-package-origin="http://alpinelinux.org/" \
		|| return 1
	make
}

package() {
	cd "$_builddir"

	export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="91ed4649c7c2e43a61f731d144f6f6d0  gst-plugins-good-1.8.0.tar.xz"
sha256sums="c20c134d47dbc238d921707a3b66da709c2b4dd89f9d267cec13d1ddf16e9f4d  gst-plugins-good-1.8.0.tar.xz"
sha512sums="0d9db3d2b043d576e8b584cd3608e3482bfc1ca258b073e9a47ca323991d70dda03bf1d75954fc515f72be6eec81693c1faa796322011eacb2c6d84acca11472  gst-plugins-good-1.8.0.tar.xz"