Commit a43c39d8 authored by prspkt's avatar prspkt Committed by Natanael Copa

main/gstreamer: upgrade to 1.16.0

parent 7ffab4e1
......@@ -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/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment