From 66f1620f1827f55a6ded908cddc2b57ae606a603 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 27 Aug 2010 18:38:03 +0200 Subject: [PATCH] gobject-introspection: improved to disable test libraries if cairo is not installed --- .../gobject-introspection.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gnome2/gobject-introspection/gobject-introspection.conf diff --git a/gnome2/gobject-introspection/gobject-introspection.conf b/gnome2/gobject-introspection/gobject-introspection.conf new file mode 100644 index 000000000..dd611ac9f --- /dev/null +++ b/gnome2/gobject-introspection/gobject-introspection.conf @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../gobject-introspection/gobject-introspection.conf +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# disable test libraries if cairo is not installed +if ! pkginstalled -f cairo; then + var_append extraconfopt ' ' "--disable-tests" +fi