From bc45d10e997686869bfd2c5693c4a41d9713f73b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 6 Jul 2018 17:57:22 -0500 Subject: user/gstreamer: pull in, bump, take, fix --- user/gstreamer/APKBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 user/gstreamer/APKBUILD diff --git a/user/gstreamer/APKBUILD b/user/gstreamer/APKBUILD new file mode 100644 index 000000000..7b8ff566a --- /dev/null +++ b/user/gstreamer/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: A. Wilcox +pkgname=gstreamer +pkgver=1.14.1 +pkgrel=0 +pkgdesc="GStreamer multimedia framework" +url="https://gstreamer.freedesktop.org/" +arch="all" +options="!check" +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 + " + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-introspection \ + --with-package-name="GStreamer (${DISTRO_NAME:-Adélie Linux})" \ + --with-package-origin="${DISTRO_URL:-https://www.adelielinux.org/}" \ + --disable-fatal-warnings \ + --with-ptp-helper-permissions=none + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + pkgdesc="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="9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b gstreamer-1.14.1.tar.xz" -- cgit v1.2.3-70-g09d2