blob: 34a4fd21e0bbdc4f91e53836d67ab980f29660a9 (
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.0
pkgrel=0
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/$pkgname-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-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="d65d8ee78e5c245ed710fe7907e35d18bfe8729518552f86ea6f16bbcfef7b1c418e0fbe94fc79cb2626510fdf486d457fb040290e84d383964c8ab140455652 gstreamer-1.16.0.tar.xz"
|