diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-10-22 15:05:26 -0300 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-10-26 17:09:41 +0200 |
commit | ed2187da1a3c80781b529778fce90b80f01509ef (patch) | |
tree | e7d8d5b6bf502e7a0b85ecfd97908230e4e678fb /gnome-extra/gucharmap/gucharmap-15.1.2.ebuild | |
parent | net-misc/gnome-remote-desktop: Version bump to 45.1 (diff) | |
download | gentoo-ed2187da1a3c80781b529778fce90b80f01509ef.tar.gz gentoo-ed2187da1a3c80781b529778fce90b80f01509ef.tar.bz2 gentoo-ed2187da1a3c80781b529778fce90b80f01509ef.zip |
gnome-extra/gucharmap: Version bump to 15.1.2
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33461
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gucharmap/gucharmap-15.1.2.ebuild')
-rw-r--r-- | gnome-extra/gucharmap/gucharmap-15.1.2.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/gnome-extra/gucharmap/gucharmap-15.1.2.ebuild b/gnome-extra/gucharmap/gucharmap-15.1.2.ebuild new file mode 100644 index 000000000000..5eaba63f4112 --- /dev/null +++ b/gnome-extra/gucharmap/gucharmap-15.1.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="Unicode character map viewer and library" +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap" +SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="2.90" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +UNICODE_VERSION="15.1.0" + +IUSE="+introspection gtk-doc vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND="media-libs/freetype:2 + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.22:3[introspection?] + >=dev-libs/libpcre2-10.21:= + =app-i18n/unicode-data-${UNICODE_VERSION}* + >=x11-libs/pango-1.42.4-r2[introspection?] + + !gnome-extra/gucharmap:0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + app-text/docbook-xml-dtd:4.1.2 + dev-libs/glib:2 + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( >=dev-util/gtk-doc-1 ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}"/14.0.1-install-user-help.patch +) + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dcharmap=true + -Ddbg=false # in 14.0.1 all this does is pass -ggdb3 + $(meson_use gtk-doc docs) + $(meson_use introspection gir) + -Dgtk3=true + -Ducd_path="${EPREFIX}/usr/share/unicode-data" + $(meson_use vala vapi) + ) + + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |