diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /gnome-extra/gucharmap/gucharmap-9.0.4.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'gnome-extra/gucharmap/gucharmap-9.0.4.ebuild')
-rw-r--r-- | gnome-extra/gucharmap/gucharmap-9.0.4.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/gnome-extra/gucharmap/gucharmap-9.0.4.ebuild b/gnome-extra/gucharmap/gucharmap-9.0.4.ebuild new file mode 100644 index 000000000000..edc765ed8bfe --- /dev/null +++ b/gnome-extra/gucharmap/gucharmap-9.0.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala versionator + +DESCRIPTION="Unicode character map viewer and library" +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap" + +LICENSE="GPL-3" +SLOT="2.90" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" + +IUSE="debug +introspection test vala" +REQUIRED_USE="vala? ( introspection )" + +UNICODE_VERSION=$(get_version_component_range 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?] + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-extra/gucharmap-3:0 +" +DEPEND="${RDEPEND} + app-text/yelp-tools + dev-util/desktop-file-utils + >=dev-util/gtk-doc-am-1 + >=dev-util/intltool-0.40 + 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 + gnome2_src_configure \ + --disable-static \ + --with-unicode-data=/usr/share/unicode-data \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable introspection) \ + $(use_enable vala) +} |