void-packages/srcpkgs/grilo-plugins/template

30 lines
1.1 KiB
Bash

# Template file for 'grilo-plugins'
pkgname=grilo-plugins
version=0.3.16
revision=2
build_style=meson
configure_args="-Dgoa=enabled"
hostmakedepends="pkg-config gettext itstool glib-devel gperf tracker"
# XXX missing plugins: fakemetadata.
makedepends="grilo-devel gom-devel json-glib-devel
libquvi-devel sqlite-devel libgcrypt-devel
tracker-devel totem-pl-parser-devel libgdata-devel libmediaart-devel
gstreamer1-devel libdmapsharing-devel lua53-devel
avahi-glib-libs-devel"
checkdepends="python3-gobject gst-plugins-bad1 dbus"
short_desc="Plugins for Grilo"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Grilo"
distfiles="${GNOME_SITE}/grilo-plugins/${version%.*}/grilo-plugins-${version}.tar.xz"
checksum=fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb
make_check=no # feel free to fix
post_patch() {
if [ "$CROSS_BUILD" ]; then
# tests try to use tracker-sandbox from the wrong path:
# "Program /usr/lib32/tracker-3.0/trackertestutils/tracker-sandbox found: NO"
vsed -e "/subdir('tests')/d" -i meson.build
fi
}