blob: ae2c176b85c5988e052759a4b89e2358132b40d7 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer
pkgver=1.12.1
pkgrel=2
pkgdesc="GStreamer Multimedia Framework"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
depends=
replaces="gstreamer1"
depends_dev="libxml2-dev"
makedepends="$depends_dev bison flex gobject-introspection-dev glib-dev"
source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz
"
builddir="$srcdir"/gstreamer-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-introspection \
--with-package-name="GStreamer (Alpine Linux)" \
--with-package-origin="http://alpinelinux.org/" \
--disable-fatal-warnings \
--with-ptp-helper-permissions=none \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
tools() {
pkgdesc="common tools and files for GStreamer streaming media framework"
# gst-feedback needs this
depends="pkgconfig"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="f4fed3260d9a6fb7a9b7363758f996efecda8565d6975d73f633a876e35256115df3477e62568a421fe09540e4aa6ac204db6d84d89f3a21110efd7ac5a42c03 gstreamer-1.12.1.tar.xz"
|