summaryrefslogtreecommitdiff
path: root/user/gst-plugins-bad/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-07-03 01:59:23 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commitc5efd4e7b85cfd035ad859e2408cefd3e170ccfc (patch)
treea5c0331198bbc8c0eece8d1f96355d87648e0bda /user/gst-plugins-bad/APKBUILD
parent521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4 (diff)
downloadpackages-c5efd4e7b85cfd035ad859e2408cefd3e170ccfc.tar.gz
packages-c5efd4e7b85cfd035ad859e2408cefd3e170ccfc.tar.bz2
packages-c5efd4e7b85cfd035ad859e2408cefd3e170ccfc.tar.xz
packages-c5efd4e7b85cfd035ad859e2408cefd3e170ccfc.zip
user/gst-plugins-bad: New package
Diffstat (limited to 'user/gst-plugins-bad/APKBUILD')
-rw-r--r--user/gst-plugins-bad/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/gst-plugins-bad/APKBUILD b/user/gst-plugins-bad/APKBUILD
new file mode 100644
index 000000000..3e5d2ad6f
--- /dev/null
+++ b/user/gst-plugins-bad/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gst-plugins-bad
+pkgver=1.20.2
+pkgrel=0
+pkgdesc="GStreamer multimedia framework - Lower-quality plugins"
+url="https://gstreamer.freedesktop.org/modules/gst-plugins-good.html"
+arch="all"
+license="LGPL-2.1+"
+# rtpmanagerbad depends on rtpmanager
+# symptom: tests 'rtpsrc' and 'rtpsink' will fail
+depends="gst-plugins-good"
+makedepends="gst-plugins-base-dev gstreamer-dev gobject-introspection-dev meson
+ libva-dev libxkbcommon-dev orc-compiler orc-dev bluez-dev cairo-dev
+ curl-dev fluidsynth-dev gtk+3.0-dev ladspa-dev libdrm-dev libgudev-dev
+ libsndfile-dev libqrencode-dev librsvg-dev libsoup-dev libusb-dev
+ mesa-dev neon-dev nettle-dev openal-soft-dev opus-dev pango-dev sbc-dev
+ wayland-dev wayland-protocols gsm-dev"
+subpackages="$pkgname-lang"
+ldpath="/usr/lib/gstreamer-1.0"
+source="https://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz
+ camerabin.patch
+ mpegts.patch
+ "
+
+build() {
+ meson \
+ -Dprefix=/usr \
+ -Dnls=enabled \
+ -Dpackage-name="GStreamer Bad Plugins (${DISTRO_NAME:-Adélie Linux})" \
+ -Dpackage-origin="${DISTRO_URL:-https://www.adelielinux.org/}" \
+ build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="3f98973dc07ead745418e0a30f9f6b5c8d328e3d126f54d92c10ab5da04271768a5c5dffc36ea24ccf8fb516b1e3733be9fb18dc0db419dea4d37d17018f8a70 gst-plugins-bad-1.20.2.tar.xz
+7f6023e766895ac8213f9dabd4d8acbeb03f18c2d98fa27865e7656c439e0ea97d02f9e9f0ea98205238ddb8f6473062af524b799d1da0cbe41a3055a11df250 camerabin.patch
+d70f409f86b072d689d51b87db6e9fb161c0914a381eccbf66f1ffcd61b9a793f9e4087cdd071e615aaa63687c6ee476f023239920dd1ebd0d3cde346031dc86 mpegts.patch"