New package: gom-0.3.0

This commit is contained in:
Enno Boland 2015-03-17 14:21:03 +01:00 committed by Enno Boland
parent fd8eb923a4
commit fa7785cc3a
3 changed files with 45 additions and 0 deletions

View File

@ -1971,6 +1971,7 @@ libtoxcore.so.0 toxcore-git-20150313_2
libtoxencryptsave.so.0 toxcore-git-20150313_2
libtoxdns.so.0 toxcore-git-20150313_2
libtoxav.so.0 toxcore-git-20150313_2
libgom-1.0.so.0 gom-0.3.0_1
libetpan.so.17 libetpan-1.6_1
libxmp.so.4 libxmp-4.3.7_1
libOpenImageIO_Util.so.1.5 openimageio-1.5.13_1

1
srcpkgs/gom-devel Symbolic link
View File

@ -0,0 +1 @@
gom

43
srcpkgs/gom/template Normal file
View File

@ -0,0 +1,43 @@
# Template file for 'totem'
pkgname=gom
version=0.3.0
revision=1
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=352a8bee8dc47e7bd5d08af35b0d67e1f3c54bca23a058a00004cb56ede6f4fd
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
build_options="gir"
# Disable gir for cross builds.
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}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}