summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-05-16 18:58:35 +0000
committerPacho Ramos <pacho@gentoo.org>2013-05-16 18:58:35 +0000
commit762be8abc39d168557fa20df659258a55c926fd9 (patch)
treeea8492f2229cea072e3d67f38fcd88008c2f91e1 /media-libs/libchamplain
parentRemove win32codecs USE flag, bug 468406. (diff)
downloadgentoo-2-762be8abc39d168557fa20df659258a55c926fd9.tar.gz
gentoo-2-762be8abc39d168557fa20df659258a55c926fd9.tar.bz2
gentoo-2-762be8abc39d168557fa20df659258a55c926fd9.zip
Version bump
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'media-libs/libchamplain')
-rw-r--r--media-libs/libchamplain/ChangeLog7
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.4.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/media-libs/libchamplain/ChangeLog b/media-libs/libchamplain/ChangeLog
index 892908213952..66d822bb6f38 100644
--- a/media-libs/libchamplain/ChangeLog
+++ b/media-libs/libchamplain/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libchamplain
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libchamplain/ChangeLog,v 1.43 2013/04/01 10:47:26 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libchamplain/ChangeLog,v 1.44 2013/05/16 18:58:35 pacho Exp $
+
+*libchamplain-0.12.4 (16 May 2013)
+
+ 16 May 2013; Pacho Ramos <pacho@gentoo.org> +libchamplain-0.12.4.ebuild:
+ Version bump
01 Apr 2013; Pacho Ramos <pacho@gentoo.org> libchamplain-0.12.3.ebuild:
Migrate to vala.eclass (to allow it building with latest g-i)
diff --git a/media-libs/libchamplain/libchamplain-0.12.4.ebuild b/media-libs/libchamplain/libchamplain-0.12.4.ebuild
new file mode 100644
index 000000000000..a799aa0ce042
--- /dev/null
+++ b/media-libs/libchamplain/libchamplain-0.12.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libchamplain/libchamplain-0.12.4.ebuild,v 1.1 2013/05/16 18:58:35 pacho Exp $
+
+EAPI="5"
+GCONF_DEBUG=no
+VALA_MIN_API_VERSION=0.14
+VALA_USE_DEPEND=vapigen
+
+inherit eutils gnome2 vala
+
+DESCRIPTION="Clutter based world map renderer"
+HOMEPAGE="http://projects.gnome.org/libchamplain/"
+
+SLOT="0.12"
+LICENSE="LGPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug +gtk +introspection vala"
+
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ >=media-libs/clutter-1.12:1.0[introspection?]
+ media-libs/memphis:0.2[introspection?]
+ || ( >=net-libs/libsoup-2.42:2.4 net-libs/libsoup-gnome:2.4 )
+ x11-libs/cairo
+ gtk? (
+ x11-libs/gtk+:3[introspection?]
+ media-libs/clutter-gtk:1.0 )
+ introspection? ( dev-libs/gobject-introspection )
+"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+# segfaults with vala:0.12
+# vala-0.14.2-r1 required for bug #402013
+
+src_prepare() {
+ # Fix documentation slotability
+ sed \
+ -e "s/^DOC_MODULE.*/DOC_MODULE = ${PN}-${SLOT}/" \
+ -i docs/reference/Makefile.{am,in} || die "sed (1) failed"
+ sed \
+ -e "s/^DOC_MODULE.*/DOC_MODULE = ${PN}-gtk-${SLOT}/" \
+ -i docs/reference-gtk/Makefile.{am,in} || die "sed (2) failed"
+ mv "${S}"/docs/reference/${PN}{,-${SLOT}}-docs.sgml || die "mv (1) failed"
+ mv "${S}"/docs/reference-gtk/${PN}-gtk{,-${SLOT}}-docs.sgml || die "mv (2) failed"
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # Vala demos are only built, so just disable them
+ gnome2_src_configure \
+ --disable-static \
+ --disable-maemo \
+ --disable-vala-demos \
+ --enable-memphis \
+ $(use_enable debug) \
+ $(use_enable gtk) \
+ $(use_enable introspection)
+}