diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-06 17:57:22 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-06 17:57:22 -0500 |
commit | bc45d10e997686869bfd2c5693c4a41d9713f73b (patch) | |
tree | 11764ecad4f64a15a162611c4796bb31124c37fd /user/gstreamer/APKBUILD | |
parent | cca7dcdbfb73e8d43796abcb6954e4b4038d04d1 (diff) | |
download | packages-bc45d10e997686869bfd2c5693c4a41d9713f73b.tar.gz packages-bc45d10e997686869bfd2c5693c4a41d9713f73b.tar.bz2 packages-bc45d10e997686869bfd2c5693c4a41d9713f73b.tar.xz packages-bc45d10e997686869bfd2c5693c4a41d9713f73b.zip |
user/gstreamer: pull in, bump, take, fix
Diffstat (limited to 'user/gstreamer/APKBUILD')
-rw-r--r-- | user/gstreamer/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
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 <awilfox@adelielinux.org> +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" |