blob: 32ea14f00d99e08d330bb6427205e70c983a91b4 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer
pkgver=1.14.0
pkgrel=0
pkgdesc="GStreamer Multimedia Framework"
url="https://gstreamer.freedesktop.org/"
arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
replaces="gstreamer1"
depends_dev="libxml2-dev"
makedepends="$depends_dev bison flex gobject-introspection-dev glib-dev"
source="https://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 (${DISTRO_NAME:-Alpine Linux})" \
--with-package-origin="${DISTRO_URL:-http://alpinelinux.org/}" \
--disable-fatal-warnings \
--with-ptp-helper-permissions=none
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
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="03a76bd5404a381172a30630dab1a5b3cd39c58a0960af2216f2df8f82465facb2a5561b16841291ce50a0e530bafd182dda0efed79ce4b4006cfee07e481ea1 gstreamer-1.14.0.tar.xz"
|