Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gucharmap/
Date: Sun, 31 Jul 2016 11:44:52
Message-Id: 1469965482.e1235491160e1b58a76e4c3914468a987c22d04d.pacho@gentoo
1 commit: e1235491160e1b58a76e4c3914468a987c22d04d
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 11:44:21 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 11:44:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1235491
7
8 gnome-extra/gucharmap: Version bump
9
10 Package-Manager: portage-2.3.0
11
12 gnome-extra/gucharmap/Manifest | 1 +
13 gnome-extra/gucharmap/gucharmap-9.0.0.ebuild | 63 ++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
17 index 5051deb..7da75c2 100644
18 --- a/gnome-extra/gucharmap/Manifest
19 +++ b/gnome-extra/gucharmap/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gucharmap-3.0.1.tar.bz2 3275481 SHA256 948a376f13af98ffe6be29c73f1d89d2dbc201abd697bb6e85c717d8242dcf75 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1 WHIRLPOOL 6c9aaaaf31428db5257f98da741513c192ca32371b5d19952471d09586900186b269192b8ae6902e430e7fb3116bccc7d6ed4bca050ad0ca58eb14d7817d569a
22 DIST gucharmap-3.16.2.tar.xz 1996036 SHA256 0a3fa996ae271c8f4812a7d8dc573ece0c000d63185b4865fa99387455e1b13d SHA512 b20bf0d4a79bd926b0863b7451c6eaa3bba2741231c3719e4799df17aec86798362862ab0a7b19d0fa76d5f05e5fa34f0c516e76e5c0d0bf8e87d15f6e868662 WHIRLPOOL 285d9091d3a7281b84dc96e009a26eb0f154d63f9b222b3d5ae34d9fd6c3c14d7febaf110d26e5b8168b5be93a6d5f01bd70459606b563faf496a78e28b7c3b5
23 DIST gucharmap-3.18.2.tar.xz 2031560 SHA256 80141d3e892c3c4812c1a8fad8f89978559ef19e933843267e6e9a5524c09ec9 SHA512 d12eefb56272192762086271aa65bfa8b9a8843ac68a6affa1af3d2c891227b0fdae1c274976ceb883ecce26b7d9a2b28c2712155650c0969d6da77b1ff482b5 WHIRLPOOL 176e29627e33e28e965d07efe94aac1c1110bc2c44603c7220d34e520b36a443f73bfc823a395f48760023e137980a822e49c701910813e9deb280b8be115d38
24 +DIST gucharmap-9.0.0.tar.xz 1007252 SHA256 d698ce4bba5486f7e32e9a4ec0ecd916926fb876640856746121d8ae8012765c SHA512 6054a392d719ebdb98205cb451b6971ca2ddc9d83b2de8b25412b0a561143d5ddb5b4fa0174ae997697b28dc79d60f477208bc6a112cb06346b250aa90e78fd7 WHIRLPOOL 1004ba7f5db5ced3e11cefc1ff61d3f7c05536de77f9a42520959183be9c6592e2ad93f3976750d277514c88d71d1c003035a275c33142c78a458d5f4f59fda6
25
26 diff --git a/gnome-extra/gucharmap/gucharmap-9.0.0.ebuild b/gnome-extra/gucharmap/gucharmap-9.0.0.ebuild
27 new file mode 100644
28 index 0000000..518fc8f
29 --- /dev/null
30 +++ b/gnome-extra/gucharmap/gucharmap-9.0.0.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +VALA_USE_DEPEND="vapigen"
38 +
39 +inherit gnome2 vala
40 +
41 +DESCRIPTION="Unicode character map viewer and library"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="2.90"
46 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
47 +
48 +IUSE="debug +introspection test vala"
49 +REQUIRED_USE="vala? ( introspection )"
50 +
51 +COMMON_DEPEND="
52 + >=app-i18n/unicode-data-${PV}
53 + >=dev-libs/glib-2.32:2
54 + >=x11-libs/pango-1.2.1[introspection?]
55 + >=x11-libs/gtk+-3.16:3[introspection?]
56 + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
57 +"
58 +RDEPEND="${COMMON_DEPEND}
59 + !<gnome-extra/gucharmap-3:0
60 +"
61 +DEPEND="${RDEPEND}
62 + app-text/yelp-tools
63 + dev-util/desktop-file-utils
64 + >=dev-util/gtk-doc-am-1
65 + >=dev-util/intltool-0.40
66 + sys-devel/gettext
67 + virtual/pkgconfig
68 + test? ( app-text/docbook-xml-dtd:4.1.2 )
69 + vala? ( $(vala_depend) )
70 +"
71 +
72 +src_prepare() {
73 + # prevent file collisions with slot 0
74 + sed -e "s:GETTEXT_PACKAGE=gucharmap$:GETTEXT_PACKAGE=gucharmap-${SLOT}:" \
75 + -i configure.ac configure || die "sed configure.ac configure failed"
76 +
77 + # avoid autoreconf
78 + sed -e 's/-Wall //g' -i configure || die "sed failed"
79 +
80 + use vala && vala_src_prepare
81 + gnome2_src_prepare
82 +}
83 +
84 +src_configure() {
85 + # unihan is not really conditional
86 + # https://bugzilla.gnome.org/show_bug.cgi?id=768210#c5
87 + gnome2_src_configure \
88 + --disable-static \
89 + --with-unicode-data=/usr/share/unicode-data \
90 + --enable-unihan \
91 + $(usex debug --enable-debug=yes ' ') \
92 + $(use_enable introspection) \
93 + $(use_enable vala)
94 +}