void-packages/srcpkgs/grilo-plugins/template

29 lines
1.1 KiB
Bash

# Template file for 'grilo-plugins'
pkgname=grilo-plugins
version=0.3.14
revision=2
build_style=meson
hostmakedepends="pkg-config gettext itstool glib-devel gperf tracker3"
# XXX missing plugins: fakemetadata.
makedepends="grilo-devel gom-devel json-glib-devel
libquvi-devel rest0-devel sqlite-devel libgcrypt-devel
tracker3-devel totem-pl-parser-devel libgdata-devel libmediaart-devel
gstreamer1-devel libdmapsharing-devel lua53-devel gnome-online-accounts-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
}