gom: update to 0.3.3.

This commit is contained in:
maxice8 2018-12-11 09:29:11 -02:00 committed by maxice8
parent 9f64b26364
commit 1ed9df0f9a
1 changed files with 14 additions and 19 deletions

View File

@ -1,17 +1,20 @@
# Template file for 'gom'
pkgname=gom
version=0.3.2
version=0.3.3
revision=1
build_style=meson
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 python-gobject-devel')"
short_desc="GObject Data Mapper"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=bce8f0f94af6ff7847b853580ba6baebbab8ae531cedb0c78a5c473f39c758fd
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="sqlite-devel gettext-devel glib-devel gdk-pixbuf-devel"
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"
@ -21,21 +24,13 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
gom-devel_package() {
depends="glib-devel ${sourcepkg}>=${version}_${revision}"
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi