summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gst-plugins-base/APKBUILD69
1 files changed, 69 insertions, 0 deletions
diff --git a/user/gst-plugins-base/APKBUILD b/user/gst-plugins-base/APKBUILD
new file mode 100644
index 000000000..ef995b168
--- /dev/null
+++ b/user/gst-plugins-base/APKBUILD
@@ -0,0 +1,69 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gst-plugins-base
+pkgver=1.14.1
+pkgrel=0
+pkgdesc="GStreamer multimedia framework - Base plugins"
+url="https://gstreamer.freedesktop.org/"
+arch="all"
+license="GPL LGPL"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+depends=
+replaces="gst-plugins-base1"
+makedepends="
+ alsa-lib-dev
+ cdparanoia-dev
+ expat-dev
+ glib-dev
+ gobject-introspection-dev
+ gstreamer-dev
+ libice-dev
+ libogg-dev
+ libsm-dev
+ libtheora-dev
+ libvorbis-dev
+ libx11-dev
+ libxt-dev
+ libxv-dev
+ opus-dev
+ orc-dev
+ pango-dev
+ perl
+ "
+checkdepends="orc-compiler"
+source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
+ldpath="/usr/lib/gstreamer-1.0"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-experimental \
+ --disable-fatal-warnings \
+ --with-default-audiosink=alsasink \
+ --enable-introspection \
+ --with-package-name="GStreamer Base Plugins (${DISTRO_NAME:-Adélie Linux})" \
+ --with-package-origin="${DISTRO_URL:-https://www.adelielinux.org/}"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+doc() {
+ default_doc
+ replaces="${pkgname}1-doc"
+}
+
+sha512sums="bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e gst-plugins-base-1.14.1.tar.xz"