blob: e6c62293237de5bf884a9c29b9746f3656774948 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer
pkgver=1.16.2
pkgrel=2
pkgdesc="GStreamer streaming media framework"
url="https://gstreamer.freedesktop.org"
arch="all"
license="LGPL-2.0-or-later"
replaces="gstreamer1"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
depends_dev="libxml2-dev"
makedepends="$depends_dev bison flex glib-dev gobject-introspection-dev
libcap-dev meson perl"
source="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
-Dintrospection=enabled \
-Dbash-completion=disabled \
-Dptp-helper-permissions=capabilities \
-Dpackage-name="GStreamer (Alpine Linux)" \
-Dpackage-origin="https://alpinelinux.org" \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
tools() {
pkgdesc="Tools 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="a8dcdb452a88f411676e54016fcf83149068b2f0b60422bebdbc81220078c61c415512006010ba0299df81ffb59853695c3ce00580f8fc46a079f6aaaa42609f gstreamer-1.16.2.tar.xz"
|