Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gucharmap/
Date: Tue, 08 Jun 2021 18:18:07
Message-Id: 1623176263.857ab7a0781417a9202229f76ddd7483fa9580a1.mattst88@gentoo
1 commit: 857ab7a0781417a9202229f76ddd7483fa9580a1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 8 18:04:17 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 8 18:17:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=857ab7a0
7
8 gnome-extra/gucharmap: Version bump to 13.0.8
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-extra/gucharmap/Manifest | 1 +
13 gnome-extra/gucharmap/gucharmap-13.0.8.ebuild | 73 +++++++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
17 index 5ca11c7c1a1..f297aa583a8 100644
18 --- a/gnome-extra/gucharmap/Manifest
19 +++ b/gnome-extra/gucharmap/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gucharmap-13.0.7.tar.gz 1919890 BLAKE2B c90b09f2e52b27ea652a32c4a502a57767eb4f4cf5895a61f3a871f1f5fb81c27083938fc9394d2a74881bfd4c23fdf2cdbce2dc07a55cd3a7d9422e6da40ff9 SHA512 9ed3cea9560cfb53af61863b0811a4d62c347e404880154acd47c5e4148d5b5cf3c31a4ad3b8440081e0bc7b33666c6b0fed35c26f8ee9c0a1746d9ed61b19ca
22 +DIST gucharmap-13.0.8.tar.gz 1920107 BLAKE2B 247b6683358e1fcbba02cad8146b8b1e7a4ccd5e56d3f9c6e597b47bcd38d11759a02e60d5635c3f2e26defe166b6e4ded696b5d1f6e1be6564d6139e3ed1ab8 SHA512 15eacbf351c8b2357e59913e5b4cccd279aed7a492351c42101dd26020658f2f4d7aaff2a3b95ca340a73606592f47edf9645c93234afb1a086362ef32904bcf
23 DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1
24
25 diff --git a/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild b/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild
26 new file mode 100644
27 index 00000000000..8f491c6b3bf
28 --- /dev/null
29 +++ b/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild
30 @@ -0,0 +1,73 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +VALA_MIN_API_VERSION="0.26"
37 +VALA_USE_DEPEND="vapigen"
38 +
39 +inherit gnome2-utils meson python-any-r1 vala xdg
40 +
41 +DESCRIPTION="Unicode character map viewer and library"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap"
43 +SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="2.90"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +
49 +UNICODE_VERSION="13.0"
50 +
51 +IUSE="debug +introspection gtk-doc vala"
52 +REQUIRED_USE="vala? ( introspection )"
53 +
54 +BDEPEND="
55 + ${PYTHON_DEPS}
56 + virtual/pkgconfig
57 + >=sys-devel/gettext-0.19.8
58 + gtk-doc? ( >=dev-util/gtk-doc-1 )
59 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
60 + vala? ( $(vala_depend) )"
61 +
62 +DEPEND="=app-i18n/unicode-data-${UNICODE_VERSION}*
63 + >=dev-libs/glib-2.32:2
64 + media-libs/freetype:2
65 + >=x11-libs/gtk+-3.22:3[introspection?]
66 + >=x11-libs/pango-1.42.4-r2[introspection?]"
67 +
68 +RDEPEND="${DEPEND}"
69 +
70 +src_prepare() {
71 + use vala && vala_src_prepare
72 + xdg_src_prepare
73 +}
74 +
75 +src_configure() {
76 + local emesonargs=(
77 + -Ducd_path="${EPREFIX}/usr/share/unicode-data"
78 + $(meson_use debug dbg)
79 + $(meson_use gtk-doc docs)
80 + $(meson_use introspection gir)
81 + $(meson_use vala vapi)
82 + )
83 +
84 + meson_src_configure
85 +}
86 +
87 +src_test() {
88 + meson_src_test
89 +}
90 +
91 +src_install() {
92 + meson_src_install
93 +}
94 +
95 +pkg_postinst() {
96 + xdg_pkg_postinst
97 + gnome2_schemas_update
98 +}
99 +
100 +pkg_postrm() {
101 + xdg_pkg_postrm
102 + gnome2_schemas_update
103 +}