From 825ba51e41eeb61b673bad3c92e99517bac04913 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Fri, 10 Aug 2012 19:03:00 +0000 Subject: New ebuild for colord's gtk support library, split off from x11-misc/colord; prevents a circular dependency betweek gtk+[colord] and colord[gtk]. (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) --- x11-libs/colord-gtk/ChangeLog | 12 +++++ x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild | 56 ++++++++++++++++++++++ .../files/colord-gtk-0.1.22-automagic-vala.patch | 38 +++++++++++++++ x11-libs/colord-gtk/metadata.xml | 10 ++++ 4 files changed, 116 insertions(+) create mode 100644 x11-libs/colord-gtk/ChangeLog create mode 100644 x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild create mode 100644 x11-libs/colord-gtk/files/colord-gtk-0.1.22-automagic-vala.patch create mode 100644 x11-libs/colord-gtk/metadata.xml (limited to 'x11-libs/colord-gtk') diff --git a/x11-libs/colord-gtk/ChangeLog b/x11-libs/colord-gtk/ChangeLog new file mode 100644 index 000000000000..ad5594b82eea --- /dev/null +++ b/x11-libs/colord-gtk/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for x11-libs/colord-gtk +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/colord-gtk/ChangeLog,v 1.1 2012/08/10 19:03:00 tetromino Exp $ + +*colord-gtk-0.1.22 (10 Aug 2012) + + 10 Aug 2012; Alexandre Rostovtsev + +colord-gtk-0.1.22.ebuild, +files/colord-gtk-0.1.22-automagic-vala.patch, + +metadata.xml: + New ebuild for colord's gtk support library, split off from x11-misc/colord; + prevents a circular dependency betweek gtk+[colord] and colord[gtk]. + diff --git a/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild b/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild new file mode 100644 index 000000000000..f4ad2470657c --- /dev/null +++ b/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild,v 1.1 2012/08/10 19:03:00 tetromino Exp $ + +EAPI="4" + +inherit autotools eutils + +DESCRIPTION="GTK support library for colord" +HOMEPAGE="http://www.freedesktop.org/software/colord/" +SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +COMMON_DEPEND=">=dev-libs/glib-2.28:2 + >=media-libs/lcms-2.2:2 + x11-libs/gdk-pixbuf:2[introspection?] + x11-libs/gtk+:3[X(+),introspection?] + x11-misc/colord[introspection?,vala?] + introspection? ( >=dev-libs/gobject-introspection-0.9.8 )" +# ${PN} was part of x11-misc/colord until 0.1.22 +RDEPEND="${COMMON_DEPEND} + ! +Date: Fri, 10 Aug 2012 14:34:03 -0400 +Subject: [PATCH] Make vala bindings non-automagic + +--- + configure.ac | 8 ++++++-- + 1 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index b51b7d2..e174c4b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -134,7 +134,9 @@ PKG_CHECK_MODULES(LCMS, lcms2 >= 2.2) + dnl --------------------------------------------------------------------------- + dnl - Build VALA support + dnl --------------------------------------------------------------------------- +-if test x$found_introspection != xno; then ++AC_ARG_ENABLE(vala, AS_HELP_STRING([--enable-vala],[build vala bindings]), ++ enable_vala=$enableval,enable_vala=no) ++if test x$found_introspection != xno -a x$enable_vala != xno; then + AC_PATH_PROG([VAPIGEN], [vapigen], []) + if test "x$VAPIGEN" = "x"; then + has_vapigen="no" +@@ -144,7 +146,9 @@ if test x$found_introspection != xno; then + fi + else + has_vapigen="no" +- AC_MSG_WARN([Not introspection found, will not build Vala binding]) ++ if test x$found_introspection = xno; then ++ AC_MSG_WARN([introspection not found, will not build Vala binding]) ++ fi + fi + AM_CONDITIONAL(HAVE_VAPIGEN, [test "x$has_vapigen" = "xyes"]) + +-- +1.7.8.6 + diff --git a/x11-libs/colord-gtk/metadata.xml b/x11-libs/colord-gtk/metadata.xml new file mode 100644 index 000000000000..04ca9f3b1043 --- /dev/null +++ b/x11-libs/colord-gtk/metadata.xml @@ -0,0 +1,10 @@ + + + +gnome + + Use dev-libs/gobject-introspection + for introspection + Generate bindings for dev-lang/vala + + -- cgit v1.2.3-65-gdbad