37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'grilo'
|
|
pkgname=grilo
|
|
version=0.3.12
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Denable-introspection=$(vopt_if gir true false)
|
|
-Denable-vala=$(vopt_if gir true false) -Denable-gtk-doc=false"
|
|
hostmakedepends="gettext pkg-config glib-devel $(vopt_if vala 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=dbfbd6082103288592af97568180b9cc81a336a274ed5160412f87675ec11a71
|
|
|
|
# Package build options
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
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
|
|
fi
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|