aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good/APKBUILD
blob: 04424898d11ce96657f99b3ff9f703d4554b9477 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good
pkgver=1.12.1
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-lang $pkgname-doc"
depends=
replaces="gst-plugins-good1"
depends_dev="gstreamer-dev gst-plugins-base-dev"
makedepends="$depends_dev
	flac-dev
	gdk-pixbuf-dev
	glib-dev
	jack-dev
	libavc1394-dev
	libdv-dev
	libgudev-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
	v4l-utils-dev
	wavpack-dev
	zlib-dev
	"
replaces=
ldpath="/usr/lib/gstreamer-.0"
source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
	"
builddir="$srcdir"/gst-plugins-good-$pkgver

# secfixes:
#   1.10.4-r0:
#   - CVE-2017-5840
#   - CVE-2017-5841
#   - CVE-2017-5845
#   - CVE-2016-9634
#   - CVE-2016-9635
#   - CVE-2016-9636
#   - CVE-2016-9808
#   - CVE-2016-10198
#   - CVE-2016-10199

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
}

sha512sums="2ee61ce918ae6cdf520e33b156d731152509ce27f0b4112e00abedd0a0e933f243237bd30f254a5f387391f08bcf79efa78436eb50664ccbea5c5d4ddce875dc  gst-plugins-good-1.12.1.tar.xz"