void-packages/srcpkgs/grilo/template
2021-12-17 00:25:56 +01:00

35 lines
1.1 KiB
Bash

# Template file for 'grilo'
pkgname=grilo
version=0.3.13
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir enable-introspection) $(vopt_bool gir enable-vala)
-Denable-gtk-doc=false"
hostmakedepends="gettext pkg-config glib-devel $(vopt_if gir vala)"
makedepends="gtk+3-devel libxml2-devel libsoup-devel liboauth-devel
totem-pl-parser-devel"
short_desc="Framework focused on making media discovery and browsing easy"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/Grilo"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d14837f22341943ed8a189d9f0827a17016b802d18d0ed080e1413de0fdc927b
# Package build options
build_options="gir"
build_options_default="gir"
grilo-devel_package() {
depends="${makedepends} grilo>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}