From e1ecc4f0d7c4b7254216a83e4add662e6f60b588 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Jan 2015 14:16:20 +0100 Subject: [PATCH] gdl: update to 3.14.0. --- srcpkgs/gdl-doc | 1 - srcpkgs/gdl/template | 24 ++++++------------------ 2 files changed, 6 insertions(+), 19 deletions(-) delete mode 120000 srcpkgs/gdl-doc diff --git a/srcpkgs/gdl-doc b/srcpkgs/gdl-doc deleted file mode 120000 index aac464398a..0000000000 --- a/srcpkgs/gdl-doc +++ /dev/null @@ -1 +0,0 @@ -gdl \ No newline at end of file diff --git a/srcpkgs/gdl/template b/srcpkgs/gdl/template index d4ab263522..141ca3cd43 100644 --- a/srcpkgs/gdl/template +++ b/srcpkgs/gdl/template @@ -1,16 +1,17 @@ # Template file for 'gdl' pkgname=gdl -version=3.12.0 -revision=2 +version=3.14.0 +revision=1 build_style=gnu-configure -hostmakedepends="pkg-config intltool glib-devel" +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)" makedepends="libxml2-devel gtk+3-devel" short_desc="GNOME Docking Library" maintainer="Juan RP " license="GPL-2" homepage="https://developer.gnome.org/gdl/" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=4770f959f31ed5e616fe623c284e8dd6136e49902d19b6e37938d34be4f6b88d +checksum=4b903c28a8894a82b997a1732a443c8b1d6a510304b3c3b511023339ff5d01db # Package build options build_options="gir" @@ -20,18 +21,12 @@ 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 - pre_build() { sed 's,-I$(includedir),,g' -i gdl/Makefile } gdl-devel_package() { + replaces="gdl-doc>=0" short_desc+=" - development files" depends="gdl>=${version}" pkg_install() { @@ -41,13 +36,6 @@ gdl-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" - } -} - -gdl-doc_package() { - short_desc+=" - documentation" - noarch=yes - pkg_install() { vmove usr/share/gtk-doc } }