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, 29 Mar 2022 00:24:56
Message-Id: 1648512440.671c54282ca81f9d56ae5411574dde52730fe944.mattst88@gentoo
1 commit: 671c54282ca81f9d56ae5411574dde52730fe944
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 00:06:30 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 00:07:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671c5428
7
8 gnome-extra/gucharmap: Version bump to 14.0.3
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-extra/gucharmap/Manifest | 1 +
13 gnome-extra/gucharmap/gucharmap-14.0.3.ebuild | 74 +++++++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
17 index 2a5f51af05a0..c2b6bccc32cc 100644
18 --- a/gnome-extra/gucharmap/Manifest
19 +++ b/gnome-extra/gucharmap/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gucharmap-14.0.2.tar.gz 1925142 BLAKE2B 3936c187ecdc104534b80830f9089417e8c2166a8e8dbfc848788a58acd9d65889f1242ecd3a2d9a5f2e657dcc052dee22b3ed543d2113509905a472192b19eb SHA512 4cfcebca0cac5cef8e6601c077a49e12aa56e76fec131ccf5ca1fb11bf40e5df8b6ae5ec83c2b64764c9d223d52824d4007c114ee7d85b4246855b8fc15c6c2d
22 +DIST gucharmap-14.0.3.tar.gz 1931686 BLAKE2B e72b46450ad97a49519014882cbfd5792a07daf782fdf0d80e4b9221537548a57d3b43dc2b421f3f72d3b0adfee6f11c53304b4468c78b766ffee9536efebba2 SHA512 cb43265a2b54231c15331c299ed10bba8bb83bdc1860ee50764bed8a40ce1421f49edfeb7fa5814c8aac6c23f80936a966346849db83ddf7f94a370adeffc6c8
23 DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1
24
25 diff --git a/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild b/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild
26 new file mode 100644
27 index 000000000000..e8739e727c8c
28 --- /dev/null
29 +++ b/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild
30 @@ -0,0 +1,74 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +VALA_MIN_API_VERSION="0.26"
37 +
38 +inherit gnome2-utils meson python-any-r1 vala xdg
39 +
40 +DESCRIPTION="Unicode character map viewer and library"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap https://gitlab.gnome.org/GNOME/gucharmap/"
42 +SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-3+"
45 +SLOT="2.90"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
47 +
48 +UNICODE_VERSION="14.0"
49 +
50 +IUSE="+introspection gtk-doc vala"
51 +REQUIRED_USE="vala? ( introspection )"
52 +
53 +RDEPEND="media-libs/freetype:2
54 + >=dev-libs/glib-2.32:2
55 + >=x11-libs/gtk+-3.22:3[introspection?]
56 + >=dev-libs/libpcre2-10.21:=
57 + =app-i18n/unicode-data-${UNICODE_VERSION}*
58 + >=x11-libs/pango-1.42.4-r2[introspection?]
59 +"
60 +DEPEND="${RDEPEND}"
61 +BDEPEND="
62 + ${PYTHON_DEPS}
63 + app-text/docbook-xml-dtd:4.1.2
64 + dev-util/itstool
65 + >=sys-devel/gettext-0.19.8
66 + virtual/pkgconfig
67 + gtk-doc? ( >=dev-util/gtk-doc-1 )
68 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
69 + vala? ( $(vala_depend) )
70 +"
71 +
72 +PATCHES=(
73 + "${FILESDIR}"/14.0.1-install-user-help.patch
74 + "${FILESDIR}"/14.0.1-fix-file-conflicts.patch
75 +)
76 +
77 +src_prepare() {
78 + use vala && vala_src_prepare
79 + xdg_src_prepare
80 +}
81 +
82 +src_configure() {
83 + local emesonargs=(
84 + -Dcharmap=true
85 + -Ddbg=false # in 14.0.1 all this does is pass -ggdb3
86 + $(meson_use gtk-doc docs)
87 + $(meson_use introspection gir)
88 + -Dgtk3=true
89 + -Ducd_path="${EPREFIX}/usr/share/unicode-data"
90 + $(meson_use vala vapi)
91 + )
92 +
93 + meson_src_configure
94 +}
95 +
96 +pkg_postinst() {
97 + xdg_pkg_postinst
98 + gnome2_schemas_update
99 +}
100 +
101 +pkg_postrm() {
102 + xdg_pkg_postrm
103 + gnome2_schemas_update
104 +}