diff options
Diffstat (limited to 'user')
-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" |