aboutsummaryrefslogtreecommitdiffstats
path: root/community/gst-plugins-good0.10/APKBUILD
blob: c713182a9c2320d5aee4c7d2874f8021e1305bfa (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good0.10
pkgver=0.10.31
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="https://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-lang"
depends=
replaces="gst-plugins-good"
depends_dev="gstreamer0.10-dev gst-plugins-base0.10-dev"
makedepends="linux-headers $depends_dev glib-dev orc-dev
	libsoup-dev flac-dev libogg-dev taglib-dev libjpeg-turbo-dev zlib-dev
	wavpack-dev libavc1394-dev libiec61883-dev libshout-dev libdv-dev
	orc-dev libxext libsm-dev libice-dev libxv-dev"

source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.bz2
	0001-sys-v4l2-Some-blind-compilation-fixes.patch
	"


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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	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 \
		--with-package-name="GStreamer Good Plugins (Alpine Linux)" \
		--with-package-origin="http://www.alpinelinux.org/" \
		|| return 1
	make
}

package() {
	cd "$_builddir"

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

md5sums="24f98a294a2b521e1b29412bdadae2e6  gst-plugins-good-0.10.31.tar.bz2
50a54d7ad0ce0903e25d7059ccd157e4  0001-sys-v4l2-Some-blind-compilation-fixes.patch"
sha256sums="7e27840e40a7932ef2dc032d7201f9f41afcaf0b437daf5d1d44dc96d9e35ac6  gst-plugins-good-0.10.31.tar.bz2
24f615180a99c2034d81d783c3f8ac5493205966e272daaff5cb1d06e08e0a2f  0001-sys-v4l2-Some-blind-compilation-fixes.patch"
sha512sums="dc81eb37cdd9f656419d967347a9b85ce51ae5733680317ac2c84d82816b6dbd1117ae3ef1a5c7d01e90cdc791d3d27ee9e8355a2793ea381a873809c9566bbe  gst-plugins-good-0.10.31.tar.bz2
de2f1257f2341b01cdf2832a40ed6979c04b86ee89a70f9649ff46bf4255cae5f969a4f8f864d39fed7352edb0184c6b5954ac0f27a20cefce61dde25ad36190  0001-sys-v4l2-Some-blind-compilation-fixes.patch"