mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
gnome-extra/gucharmap: bump to 12.0.1
Closes: https://bugs.gentoo.org/690824 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST gucharmap-10.0.3.tar.xz 1713960 BLAKE2B 0a0412c7a4d46c25112d9bb33d64e82b448e981a2ecb9a5ed5ce5e96657e5264e14262b15c4e5af6b3d023c20193a7471071c5d346f0d48e22583b07e92d51f7 SHA512 0815ca39311db4dc3ff5202f1303cad72bc204f4eef4d2ec83465123ff856eeb552a583666419ad4a3bf9d3ddcf294883fc8e24e32c30814916b41bc14a108fe
|
||||
DIST gucharmap-11.0.3.tar.xz 1766884 BLAKE2B fe92675494d5bf8e62f3b38356ecca59d4be515c8a08d6729d1bc3c7ba6c7b3e4ed802f4e1f79f2830f56f96a7d708d7d5a2bd1a79a36c9cd2bb0f1b6bfd1577 SHA512 281749d3fbea937ff6ce958a7216ead03fdf19cb303aef528a1456c5ab90be977f704ff65b2e665cbad58d2c14db51b0ad144fc6961aadbb7d95ec288d79402c
|
||||
DIST gucharmap-12.0.1.tar.xz 1678524 BLAKE2B 90923dcb85f132f607007b272f56d091cd51f14d6818fc01fdedc594d736cc1047e4d3165f4ba3cede96ee2c0db4973890e1fde60c294fb848ffb3918988178f SHA512 989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2
|
||||
DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit eapi7-ver gnome2 vala
|
||||
|
||||
DESCRIPTION="Unicode character map viewer and library"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="2.90"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE="debug +introspection test vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
UNICODE_VERSION=$(ver_cut 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?]
|
||||
media-libs/freetype:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-extra/gucharmap-3:0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/glib-utils
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=dev-util/intltool-0.40
|
||||
dev-util/itstool
|
||||
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
|
||||
# https://gitlab.gnome.org/GNOME/gucharmap/issues/13
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--with-unicode-data=/usr/share/unicode-data \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable vala)
|
||||
}
|
||||
Reference in New Issue
Block a user