void-packages/srcpkgs/gom/template
Jürgen Buchmüller d8767849b3
gom: revbump for gir
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-07 14:28:52 +02:00

35 lines
1 KiB
Bash

# Template file for 'gom'
pkgname=gom
version=0.3.3
revision=3
build_style=meson
build_helper="gir"
configure_args="-Denable-introspection=$(vopt_if gir true false)
-Denable-gtk-doc=false"
pycompile_module="gi"
hostmakedepends="pkg-config"
makedepends="sqlite-devel gettext-devel libglib-devel gdk-pixbuf-devel
$(vopt_if gir 'gobject-introspection python3-gobject-devel')"
short_desc="GObject Data Mapper"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Gom"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ac57e34b5fe273ed306efaeabb346712c264e341502913044a782cdf8c1036d8
# Package build options
build_options="gir"
build_options_default="gir"
gom-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}