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