void-packages/srcpkgs/grilo-plugins/template

30 lines
1.1 KiB
Bash

# Template file for 'grilo-plugins'
pkgname=grilo-plugins
version=0.3.14
revision=3
build_style=meson
configure_args="-Dgoa=disabled"
hostmakedepends="pkg-config gettext itstool glib-devel gperf tracker"
# XXX missing plugins: fakemetadata.
makedepends="grilo-devel gom-devel json-glib-devel
libquvi-devel rest0-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=686844b34ec73b24931ff6cc4f6033f0072947a6db60acdc7fb3eaf157a581c8
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
}