blob: 5624c079c76947dda43e5f25404042ce97506f5f (
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good
pkgver=1.14.1
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="https://gstreamer.freedesktop.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
subpackages="$pkgname-lang $pkgname-doc $pkgname-qt $pkgname-gtk"
replaces="gst-plugins-good1"
makedepends="
gstreamer-dev
gst-plugins-base-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
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
mpg123-dev
lame-dev
gtk+3.0-dev
qt5-qtdeclarative-dev
qt5-qtx11extras-dev
libcaca-dev
cairo-dev
orc-compiler
"
ldpath="/usr/lib/gstreamer-1.0"
source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz"
options="!check" # elements/souphttpsrc fails
# 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/"
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR="$pkgdir" install
}
_mv() {
mkdir -p "$subpkgdir"/"$ldpath"
mv "$1" "$subpkgdir"/"$ldpath"
}
qt() {
pkgdesc="Gstreamer Qt plugin."
for i in $(find "$pkgdir" -type f ); do
if ldd $i 2>/dev/null | grep -q "libQt"; then
_mv "$i" || return 1
fi
done
}
gtk() {
pkgdesc="Gstreamer gtk-3 plugin."
for i in $(find "$pkgdir" -type f ); do
if ldd $i 2>/dev/null | grep -q "libgtk-3"; then
_mv "$i" || return 1
fi
done
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="b52d3214f2d32f263637cb9f0838284483e15b8d20bf36d64c349e99b481095734a4dd2c2421176540dfe5129ecc1acc101b89cc898b4773f0f736e8e962b070 gst-plugins-good-1.14.1.tar.xz"
|