1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 GNOME_TARBALL_SUFFIX="bz2"
11 DESCRIPTION="Unicode character map viewer library"
12 HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap"
16 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
17 IUSE="cjk debug doc +introspection"
20 >=dev-libs/glib-2.16.3:2
21 >=x11-libs/pango-1.2.1[introspection?]
22 >=x11-libs/gtk+-2.14.0:2[introspection?]
23 introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
27 >=dev-util/intltool-0.40
33 # .desktop and schema files are only needed for the gucharmap program
34 sed -e 's:desktop_DATA\s*=.*:desktop_DATA = :' \
35 -e 's:schema_DATA\s*=.*:schema_DATA = :' \
36 -i Makefile.* || die "sed Makefile.* failed"
38 eapply "${FILESDIR}/${PN}-3.4.1.1-fix-doc.patch" # bug 436710, fixed in 3.6
44 gnome2_src_configure \
49 $(use_enable cjk unihan) \
51 $(use_enable introspection)
56 if ! has_version "gnome-extra/gucharmap:2.90" ; then
57 ewarn "Note: ${PF} includes only the gucharmap-2 library."
58 ewarn "If you need the gucharmap program, emerge gucharmap:2.90"