From 0fdd3445255c15b1f65137f259918dc9d0642ca7 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Mon, 24 Dec 2012 18:51:52 +0000
Subject: Version bump for Gnome 3.6. Clean up old revisions.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
---
 gnome-extra/gucharmap/ChangeLog              |  8 +++-
 gnome-extra/gucharmap/gucharmap-3.6.1.ebuild | 58 ++++++++++++++++++++++++++++
 gnome-extra/gucharmap/metadata.xml           |  3 +-
 3 files changed, 66 insertions(+), 3 deletions(-)
 create mode 100644 gnome-extra/gucharmap/gucharmap-3.6.1.ebuild

(limited to 'gnome-extra/gucharmap')

diff --git a/gnome-extra/gucharmap/ChangeLog b/gnome-extra/gucharmap/ChangeLog
index c7cda10c32f8..f5092a12f68c 100644
--- a/gnome-extra/gucharmap/ChangeLog
+++ b/gnome-extra/gucharmap/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for gnome-extra/gucharmap
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/ChangeLog,v 1.186 2012/11/16 07:34:04 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/ChangeLog,v 1.187 2012/12/24 18:51:52 eva Exp $
+
+*gucharmap-3.6.1 (24 Dec 2012)
+
+  24 Dec 2012; Gilles Dartiguelongue <eva@gentoo.org> +gucharmap-3.6.1.ebuild,
+  metadata.xml:
+  Version bump for Gnome 3.6. Clean up old revisions.
 
   16 Nov 2012; Pacho Ramos <pacho@gentoo.org> -gucharmap-2.32.1.ebuild,
   -gucharmap-3.2.1.ebuild, -gucharmap-3.2.2.ebuild:
diff --git a/gnome-extra/gucharmap/gucharmap-3.6.1.ebuild b/gnome-extra/gucharmap/gucharmap-3.6.1.ebuild
new file mode 100644
index 000000000000..c773ecad5d79
--- /dev/null
+++ b/gnome-extra/gucharmap/gucharmap-3.6.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/gucharmap-3.6.1.ebuild,v 1.1 2012/12/24 18:51:52 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 vala
+
+DESCRIPTION="Unicode character map viewer and library"
+HOMEPAGE="http://live.gnome.org/Gucharmap"
+
+LICENSE="GPL-3"
+SLOT="2.90"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="cjk +introspection test vala"
+REQUIRED_USE="vala? ( introspection )"
+
+COMMON_DEPEND="
+	>=dev-libs/glib-2.32
+	>=x11-libs/pango-1.2.1[introspection?]
+	>=x11-libs/gtk+-3.4.0:3[introspection?]
+
+	introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<gnome-extra/gucharmap-3:0
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1
+	>=dev-util/intltool-0.40
+	sys-devel/gettext
+	virtual/pkgconfig
+	test? ( ~app-text/docbook-xml-dtd-4.1.2 )
+	vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+	DOCS="AUTHORS ChangeLog NEWS README TODO"
+	G2CONF="${G2CONF}
+		--disable-static
+		$(use_enable introspection)
+		$(use_enable cjk unihan)
+		$(use_enable vala)"
+
+	# prevent file collisions with slot 0
+	sed -e "s:GETTEXT_PACKAGE=gucharmap$:GETTEXT_PACKAGE=gucharmap-${SLOT}:" \
+		-i configure.ac configure || die "sed configure.ac configure failed"
+
+	use vala && vala_src_prepare
+	gnome2_src_prepare
+
+	# avoid autoreconf
+	sed -e 's/-Wall //g' -i configure || die "sed failed"
+}
diff --git a/gnome-extra/gucharmap/metadata.xml b/gnome-extra/gucharmap/metadata.xml
index 3147d749554f..c83b6723d9e4 100644
--- a/gnome-extra/gucharmap/metadata.xml
+++ b/gnome-extra/gucharmap/metadata.xml
@@ -3,7 +3,6 @@
 <pkgmetadata>
 <herd>gnome</herd>
 <use>
-	<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for
-		introspection</flag>
+	<flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag>
 </use>
 </pkgmetadata>
-- 
cgit v1.2.3-65-gdbad