diff options
Diffstat (limited to 'gnome-extra/gucharmap/gucharmap-3.2.2.ebuild')
-rw-r--r-- | gnome-extra/gucharmap/gucharmap-3.2.2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gnome-extra/gucharmap/gucharmap-3.2.2.ebuild b/gnome-extra/gucharmap/gucharmap-3.2.2.ebuild new file mode 100644 index 000000000000..2a19c0fc066d --- /dev/null +++ b/gnome-extra/gucharmap/gucharmap-3.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/gucharmap-3.2.2.ebuild,v 1.1 2011/12/21 21:57:04 eva Exp $ + +EAPI="4" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit gnome2 + +DESCRIPTION="Unicode character map viewer and library" +HOMEPAGE="http://live.gnome.org/Gucharmap" + +LICENSE="GPL-3" +SLOT="2.90" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="cjk doc gnome +introspection test" + +COMMON_DEPEND=">=dev-libs/glib-2.16.3 + >=x11-libs/pango-1.2.1[introspection?] + >=x11-libs/gtk+-3.0.0:3[introspection?] + + gnome? ( gnome-base/gconf:2 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )" +RDEPEND="${COMMON_DEPEND} + !<gnome-extra/gucharmap-3:0" +DEPEND="${RDEPEND} + app-text/scrollkeeper + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.40 + >=app-text/gnome-doc-utils-0.9.0 + + sys-devel/gettext + + doc? ( >=dev-util/gtk-doc-1.0 ) + test? ( ~app-text/docbook-xml-dtd-4.1.2 )" + +pkg_setup() { + G2CONF="${G2CONF} + --disable-static + --disable-scrollkeeper + $(use_enable gnome gconf) + $(use_enable introspection) + $(use_enable cjk unihan)" + DOCS="AUTHORS ChangeLog NEWS README TODO" +} + +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" + + gnome2_src_prepare +} |