41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Template file for 'gst-plugins-good1'
|
|
pkgname=gst-plugins-good1
|
|
version=1.20.3
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Ddv=disabled -Ddv1394=disabled -Dshout2=disabled -Dqt5=enabled
|
|
-Dgtk3=$(vopt_if gtk3 enabled disabled)"
|
|
# XXX: libdv, dv1394 and shout2 modules.
|
|
hostmakedepends="pkg-config intltool glib-devel orc qt5-qmake qt5-host-tools"
|
|
makedepends="
|
|
libpng-devel libxml2-devel libgudev-devel libflac-devel
|
|
libXdamage-devel aalib-devel libcaca-devel
|
|
taglib-devel libsoup-gnome-devel gst-plugins-base1-devel
|
|
pulseaudio-devel orc-devel libXv-devel wavpack-devel
|
|
v4l-utils-devel jack-devel speex-devel libvpx-devel lame-devel
|
|
mpg123-devel twolame-devel qt5-devel qt5-declarative-devel
|
|
qt5-x11extras-devel $(vopt_if wayland qt5-wayland-devel)
|
|
$(vopt_if gtk3 gtk+3-devel)"
|
|
depends="gst-plugins-base1>=${version}"
|
|
short_desc="GStreamer set of well-maintained good plug-ins (1.x)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://gstreamer.freedesktop.org"
|
|
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
|
|
checksum=f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7
|
|
|
|
build_options="gtk3 wayland"
|
|
build_options_default="gtk3 wayland"
|
|
|
|
do_check() {
|
|
ninja -C build test || : #Fails on i686
|
|
}
|
|
|
|
gst-plugins-good1-qt5_package() {
|
|
short_desc+=" - Qt5 plugins"
|
|
depends="gst-plugins-good1-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/gstreamer-1.0/libgstqml*.so
|
|
}
|
|
}
|