commit:     a851cb4e75e9f49cfa95fb4c05015220c547aeec
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 05:22:08 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 05:26:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a851cb4e

gnome-extra/gucharmap: bump to 10.0.0 for Unicode 10

Gentoo-bug: 622922
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 gnome-extra/gucharmap/Manifest                |  1 +
 gnome-extra/gucharmap/gucharmap-10.0.0.ebuild | 63 +++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
index 1920fa4bfae..6e5500bb6b7 100644
--- a/gnome-extra/gucharmap/Manifest
+++ b/gnome-extra/gucharmap/Manifest
@@ -1,3 +1,4 @@
+DIST gucharmap-10.0.0.tar.xz 1034780 SHA256 
401ffec9f2d5646912055af100be5f38235abe877fa8246aafcb4203f4a2f33c SHA512 
e097e54cfd4e6a8fd47992d163128bc8e87c0c6aa81718f900d7367fa6d88a528815c7bb87bfcaddd145aaa8b1c8068fdf6da6fe2a1c90381ff555b43712f33a
 WHIRLPOOL 
02365f8a74a44552251d2e9528e426e17e8e4bd58b27d291fab99d27c83a42bf1435fddf1313e0da4ac5ade7c3b8e93849f85b7a3b86a477007332bbf740ac18
 DIST gucharmap-3.0.1.tar.bz2 3275481 SHA256 
948a376f13af98ffe6be29c73f1d89d2dbc201abd697bb6e85c717d8242dcf75 SHA512 
4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1
 WHIRLPOOL 
6c9aaaaf31428db5257f98da741513c192ca32371b5d19952471d09586900186b269192b8ae6902e430e7fb3116bccc7d6ed4bca050ad0ca58eb14d7817d569a
 DIST gucharmap-9.0.2.tar.xz 1023120 SHA256 
723ea92c8e877beae3986432b8e002807c6c2d1140590dff1c5bff34bb6ed265 SHA512 
33fa2989e263ba30bc430b8181009dd5d491dd2b453f6047369dc49dafb4f58be67dd9f1320b7005325236519a794eb4564fbd39a1d976133001f4f983ae1370
 WHIRLPOOL 
2119761dddc9cfc6288aaca282ed37e299c30c772cbaa86e699421a9de077ebb1b35540254098a7f47f26fc1aea704c7900f3caf32fc23d8bb96a1f31b0f0ffc
 DIST gucharmap-9.0.4.tar.xz 1029684 SHA256 
1588b2b183b843b24eb074fd0661bddb54f18876870ba475d65f35b7a9c677a0 SHA512 
2d2ce94796cb40bcaf14930624ddd788af1c49d464be1fc5d4ab8112df14054ce1324c86eaf028921266494f9fbb41d29a7b40db810fb15280d470fd26be6df2
 WHIRLPOOL 
a4c79996f65aec3ce6715971ccc5b7888b1689f5109519b66d19617208c4a42dc5b5d25c2df3d6e8986b12edf0a5706d4de3fbade24105c27951305cab1a7be6

diff --git a/gnome-extra/gucharmap/gucharmap-10.0.0.ebuild 
b/gnome-extra/gucharmap/gucharmap-10.0.0.ebuild
new file mode 100644
index 00000000000..b701e7d0a46
--- /dev/null
+++ b/gnome-extra/gucharmap/gucharmap-10.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 vala versionator
+
+DESCRIPTION="Unicode character map viewer and library"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap";
+
+LICENSE="GPL-3"
+SLOT="2.90"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+
+IUSE="debug +introspection test vala"
+REQUIRED_USE="vala? ( introspection )"
+
+UNICODE_VERSION=$(get_version_component_range 1-2)
+
+COMMON_DEPEND="
+       =app-i18n/unicode-data-${UNICODE_VERSION}*
+       >=dev-libs/glib-2.32:2
+       >=x11-libs/pango-1.2.1[introspection?]
+       >=x11-libs/gtk+-3.16:3[introspection?]
+       introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
+"
+RDEPEND="${COMMON_DEPEND}
+       !<gnome-extra/gucharmap-3:0
+"
+DEPEND="${RDEPEND}
+       app-text/yelp-tools
+       dev-util/desktop-file-utils
+       >=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() {
+       # 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"
+
+       # avoid autoreconf
+       sed -e 's/-Wall //g' -i configure || die "sed failed"
+
+       use vala && vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # unihan is not really conditional
+       # https://bugzilla.gnome.org/show_bug.cgi?id=768210#c5
+       gnome2_src_configure \
+               --disable-static \
+               --with-unicode-data=/usr/share/unicode-data \
+               $(usex debug --enable-debug=yes ' ') \
+               $(use_enable introspection) \
+               $(use_enable vala)
+}

Reply via email to