blob: d179e6b66494c616bebdffa3daedb34d0c67ee86 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good1
pkgver=1.2.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
orc-dev
taglib-dev
udev-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
uclibc-o_cloexec.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://alpinelinux.org/" \
|| return 1
make
}
package() {
cd "$_builddir"
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="df96825d4154940fd934aa0a95b40836 gst-plugins-good-1.2.0.tar.xz
991c3409e953321ae46420f462d1d005 uclibc-o_cloexec.patch"
sha256sums="2256a6b2744ea18d8810642cf9061a2f12f4b7eba87d3fbc98004262b4f0fdfa gst-plugins-good-1.2.0.tar.xz
029d41e47d260b9d10797a7b0369519f8343100878e59a92e5f19c1b04457ee1 uclibc-o_cloexec.patch"
sha512sums="153f0b249b42162af758de87329ad57a735e29bdac8f3821a1d0929fa2c9d939ce3fa5a4fb586184fc8e59e57c7207b0ad0e2f7b4106c826dd47eb0f40d36e3b gst-plugins-good-1.2.0.tar.xz
c2731f079655fd40d781e7d28b6d4a8e9260d3fd7b7a69914aab72f8c850023e398fd228a6b9f2695f4190effc22a3a5d8b18ea7521412d712ecda15f6659808 uclibc-o_cloexec.patch"
|