media-libs/libchamplain: Version bump
authorPacho Ramos <pacho@gentoo.org>
Sun, 20 Sep 2015 18:34:57 +0000 (20:34 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 20 Sep 2015 18:34:57 +0000 (20:34 +0200)
Package-Manager: portage-2.2.20.1

media-libs/libchamplain/Manifest
media-libs/libchamplain/libchamplain-0.12.11.ebuild [new file with mode: 0644]

index 079b6acd55774fa9b8b7394b3adcd79d963926c4..8d692f2ef7d3f3dd0bfec6c50a0e0f2455c1d10b 100644 (file)
@@ -1,2 +1,3 @@
 DIST libchamplain-0.12.10.tar.xz 597476 SHA256 bf53ceb2405d4e23a14596a53ecc2a821b003f8c69de4a7de3a39d6e99462b05 SHA512 e9ac75f3fb785c8c124a4ac3e0d3ea7a0c1b2115342a8f18c77cd912f7d0e3946dd9000459cb91cf7fe90c6e6459da038cee7a3726734fb8013d8beb5e778496 WHIRLPOOL 06232727d43ae8fcefaa140d7f752a564bbff8f584cd49da4599118dcd2d8179df024093f65afa879bed34242b691273be951efa28f341eaf5343b5f29c4613b
+DIST libchamplain-0.12.11.tar.xz 600264 SHA256 851e24888d967c10acb8fd878df1292a84b8180eb4c48fc5bfbf1a48896d4aa5 SHA512 d93fe3f1b0f86c627c9ccff76df4f7c701f861c99113697ea4cd682ee666782d05987c99403aa88e3ec83673bd56cc724cc3f592b41ec1da9c80ed36d2f95ad7 WHIRLPOOL 7797ea8870fffee89c1b9ffc7c1c91f36bc7655ff129cf6f830d55b02aaadb137ddad9bc305755870c6de204e2f496e09ce05f7797f58d43cfc47ec786e99ead
 DIST libchamplain-0.12.9.tar.xz 594280 SHA256 b25ce832334976c07bf9564bf7f31e628881c69cf871a256cf4530cb277917e3 SHA512 3aa67e7038667c4be3b2120baefb1526f10542af1b6727b70d9f63da6bc85fccf1e146a743c01193a045fbbda662e1da65fe5bc64ea2d776c5af793d54b32def WHIRLPOOL 33c58e34cb75260a4af6c6689b6f011bbd37204a03a508ff22517cfbf9a68d7933d1e94e5dad4ed071f9cf467cc60c9c44f3bb21fb304973872c4a03719d6ca4
diff --git a/media-libs/libchamplain/libchamplain-0.12.11.ebuild b/media-libs/libchamplain/libchamplain-0.12.11.ebuild
new file mode 100644 (file)
index 0000000..47ad94f
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG=no
+VALA_USE_DEPEND=vapigen
+
+inherit gnome2 vala
+
+DESCRIPTION="Clutter based world map renderer"
+HOMEPAGE="https://wiki.gnome.org/Projects/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/cogl:=
+       >=net-libs/libsoup-2.34: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) )
+"
+
+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-maemo \
+               --disable-memphis \
+               --disable-static \
+               --disable-vala-demos \
+               $(use_enable debug) \
+               $(use_enable gtk) \
+               $(use_enable introspection)
+}