/[gentoo-x86]/gnome-extra/gucharmap/gucharmap-3.0.1-r200.ebuild
Gentoo

Contents of /gnome-extra/gucharmap/gucharmap-3.0.1-r200.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Nov 15 19:51:04 2012 UTC (17 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +8 -9 lines
Fix docs building (#436710 by Andrew Savchenko and Juergen Rose), 'doc' USE cannot be dropped as this is for building and installing it, otherwise docs are completely dropped. Remove old.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/gucharmap-3.0.1-r200.ebuild,v 1.9 2012/07/15 16:26:09 armin76 Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit gnome2
11
12 DESCRIPTION="Unicode character map viewer library"
13 HOMEPAGE="https://live.gnome.org/Gucharmap"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
18 IUSE="cjk doc +introspection"
19
20 RDEPEND=">=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
24 introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
25 DEPEND="${RDEPEND}
26 app-text/scrollkeeper
27 virtual/pkgconfig
28 >=dev-util/intltool-0.40
29
30 sys-devel/gettext
31
32 doc? ( >=dev-util/gtk-doc-1.0 )"
33
34 src_prepare() {
35 G2CONF="${G2CONF}
36 --disable-static
37 --with-gtk=2.0
38 --disable-charmap
39 --disable-gconf
40 $(use_enable introspection)
41 $(use_enable cjk unihan)"
42 # gconf is only needed for the gucharmap program
43 DOCS="AUTHORS ChangeLog NEWS README TODO"
44
45 # .desktop and schema files are only needed for the gucharmap program
46 sed -e 's:desktop_DATA\s*=.*:desktop_DATA = :' \
47 -e 's:schema_DATA\s*=.*:schema_DATA = :' \
48 -i Makefile.* || die "sed Makefile.* failed"
49
50 epatch "${FILESDIR}/${PN}-3.4.1.1-fix-doc.patch" # bug 436710, fixed in 3.6
51
52 gnome2_src_prepare
53 }
54
55 pkg_postinst() {
56 gnome2_pkg_postinst
57 if ! has_version "gnome-extra/gucharmap:2.90" ; then
58 ewarn "Note: ${PF} includes only the gucharmap-2 library."
59 ewarn "If you need the gucharmap program, emerge gucharmap:2.90"
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20