From 93f432a83d852a1ed4200c52f457b1d27409d929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 25 Oct 2015 11:48:17 +0100 Subject: [PATCH] liblangtag: fix for libtool>=2.4.6 Need to have gobject-introspection in hostmakedepends for autoreconf to work. Now it is there anyway, enable it for non-cross builds and keep usr/share/gir-1.0 in the -devel package. --- srcpkgs/liblangtag/template | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/srcpkgs/liblangtag/template b/srcpkgs/liblangtag/template index 202cec5de4d..94e1ac8101f 100644 --- a/srcpkgs/liblangtag/template +++ b/srcpkgs/liblangtag/template @@ -1,7 +1,7 @@ # Template file for 'liblangtag' pkgname=liblangtag version=0.5.7 -revision=1 +revision=2 build_style=gnu-configure short_desc="Interface library to access tags for identifying languages" maintainer="Enno Boland " @@ -9,11 +9,17 @@ license="LGPL-2, MPL" homepage="http://tagoh.bitbucket.org/liblangtag" distfiles="https://bitbucket.org/tagoh/${pkgname}/downloads/${pkgname}-${version}.tar.bz2" makedepends="libxml2-devel" -hostmakedepends="libtool pkg-config" +hostmakedepends="automake libtool pkg-config gobject-introspection" +configure_args="$(vopt_enable gir instrospection)" checksum=f2b20d7b66c37e3be73feb67831195e5db16d0bb7df0d05c2e4bb96c4deb11cf +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + pre_configure() { - libtoolize -f + autoreconf -if } liblangtag-devel_package() { @@ -23,5 +29,8 @@ liblangtag-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" + if [ -z "$CROSS_BUILD" ]; then + vmove usr/share/gir-1.0 + fi } }