aboutsummaryrefslogtreecommitdiffstats
path: root/main/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'main/gstreamer')
-rw-r--r--main/gstreamer/APKBUILD36
1 files changed, 17 insertions, 19 deletions
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD
index cf2e906115..34a4fd21e0 100644
--- a/main/gstreamer/APKBUILD
+++ b/main/gstreamer/APKBUILD
@@ -2,41 +2,39 @@
pkgname=gstreamer
pkgver=1.16.0
pkgrel=0
-pkgdesc="GStreamer Multimedia Framework"
+pkgdesc="GStreamer streaming media framework"
url="https://gstreamer.freedesktop.org"
arch="all"
license="LGPL-2.0-or-later"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
replaces="gstreamer1"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
depends_dev="libxml2-dev"
-makedepends="$depends_dev bison flex perl gobject-introspection-dev glib-dev"
-source="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz
- "
-builddir="$srcdir"/gstreamer-$pkgver
+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() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
--sysconfdir=/etc \
+ --mandir=/usr/share/man \
--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
+ --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() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
}
tools() {
- pkgdesc="common tools and files for GStreamer streaming media framework"
+ pkgdesc="Tools for GStreamer streaming media framework"
# gst-feedback needs this
depends="pkgconfig"
mkdir -p "$subpkgdir"/usr/