blob: b6f8b1790086fe8fdcd0c0f0f258f27de5a5a380 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good
pkgver=0.10.27
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-gnome"
depends=
makedepends="gstreamer-dev glib-dev liboil-dev gst-plugins-base-dev
libsoup-dev flac-dev libogg-dev taglib-dev jpeg-dev zlib-dev gconf-dev wavpack-dev"
replaces="gst-plugins-bad"
# might consider those:
#libavc1394
#hal
#libiec61883
#libshout
#libdv
#libv4l
#libcaca
source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.bz2"
depends_dev="gstreamer-dev gst-plugins-base-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# fix building with gnu make 3.82
find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1
}
build() {
cd "$_builddir"
./configure --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
}
gnome() {
depends="gst-plugins-base-gnome"
install="$subpkgname.post-install $subpkgname.pre-deinstall $subpkgname.post-upgrade"
mkdir -p "$subpkgdir"/usr/lib/gstreamer-0.10
mv "$pkgdir"/etc "$subpkgdir"/etc
mv "$pkgdir"/usr/lib/gstreamer-0.10/libgstgconfelements.so "$subpkgdir"/usr/lib/gstreamer-0.10/libgstgconfelements.so
}
md5sums="c25d6c51916424009dfde4ee42ae1feb gst-plugins-good-0.10.27.tar.bz2"
|