media-libs/libchamplain: Version bump to 0.12.18
authorPacho Ramos <pacho@gentoo.org>
Sat, 23 Feb 2019 15:03:47 +0000 (16:03 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 23 Feb 2019 15:59:17 +0000 (16:59 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
media-libs/libchamplain/Manifest
media-libs/libchamplain/libchamplain-0.12.18.ebuild [new file with mode: 0644]

index beacdb930dddfa999fbb6720bade940dac250c61..7e925f48b6a7602a225abd673bd0b017fd2821db 100644 (file)
@@ -1 +1,2 @@
 DIST libchamplain-0.12.16.tar.xz 623912 BLAKE2B fcdf351e5b264cc31e2ce2954e05abd9f9aaaa9ad622eb015e2267b24a8c281cd9fc79d0e5081f80b8805e0b9329b6c463d04e18d5704d75ab45139d86896e62 SHA512 78db380d87bd6437cab84b546af7f6505a8aaed7e8d9e8a06f3fdab1896b06a3bf1d11201384e4daedd2c78e528221e1d7e40665557e78251efec5fa036f4137
+DIST libchamplain-0.12.18.tar.xz 233108 BLAKE2B b244d0008af922e11f7e812972f1557e05a8ec5921a455db102ad102c64f0062a1d74f1650e6255e49e395d860b51f44f4e9e744e33daf6c9f07bf3e866e402d SHA512 204bed27a92ab0531d0d639a94deb55dbb5318de89d17b9ea44877d66034ae62948b0ec5380a9b756b61655a095817a2ad19a0c2b50342429af7af8750ac5ddf
diff --git a/media-libs/libchamplain/libchamplain-0.12.18.ebuild b/media-libs/libchamplain/libchamplain-0.12.18.ebuild
new file mode 100644 (file)
index 0000000..5bf54c2
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+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.38:2
+       >=media-libs/clutter-1.24:1.0[introspection?]
+       media-libs/cogl:=
+       >=net-libs/libsoup-2.42:2.4
+       >=x11-libs/cairo-1.4
+       x11-libs/gtk+:3
+       gtk? (
+               x11-libs/gtk+:3[introspection?]
+               media-libs/clutter-gtk:1.0 )
+       introspection? ( dev-libs/gobject-introspection:= )
+"
+DEPEND="${RDEPEND}
+       dev-util/glib-utils
+       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 || die "sed (1) failed"
+
+       use vala && vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # Vala demos are only built, so just disable them
+       gnome2_src_configure \
+               --disable-memphis \
+               --disable-static \
+               --disable-vala-demos \
+               $(use_enable debug) \
+               $(use_enable gtk) \
+               $(use_enable introspection) \
+               $(use_enable vala)
+}