/[gentoo-x86]/app-text/gtranslator/gtranslator-2.91.6.ebuild
Gentoo

Contents of /app-text/gtranslator/gtranslator-2.91.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Feb 22 21:05:59 2014 UTC (4 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Fix wrong commit, bug 502160

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

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/gtranslator-2.91.6.ebuild,v 1.4 2013/12/25 13:59:03 pacho Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_COMPAT=( python2_7 )
9
10 inherit gnome2 python-single-r1
11
12 DESCRIPTION="An enhanced gettext po file editor for GNOME"
13 HOMEPAGE="http://gtranslator.sourceforge.net/"
14
15 LICENSE="GPL-3+ FDL-1.1+"
16 SLOT="0"
17 KEYWORDS="amd64 ~ppc x86"
18 IUSE="gnome spell"
19
20 COMMON_DEPEND="
21 >=dev-libs/glib-2.32:2
22 >=x11-libs/gtk+-3.4.2:3
23 >=x11-libs/gtksourceview-3.0.0:3.0
24 >=dev-libs/gdl-3.6:3=
25 >=dev-libs/libxml2-2.4.12:2
26 >=dev-libs/json-glib-0.12.0
27 >=dev-libs/libpeas-1.2[gtk]
28 gnome-extra/libgda:5=
29 >=app-text/iso-codes-0.35
30
31 gnome-base/gsettings-desktop-schemas
32
33 gnome? (
34 ${PYTHON_DEPS}
35 || ( app-dicts/gnome-dictionary =gnome-extra/gnome-utils-3.2* )
36 x11-libs/gtk+:3[introspection] )
37 spell? ( app-text/gtkspell:3= )"
38 RDEPEND="${COMMON_DEPEND}
39 x11-themes/gnome-icon-theme-symbolic
40 gnome? (
41 >=dev-libs/libpeas-1.2[gtk,python,${PYTHON_USEDEP}]
42 dev-python/pygobject:3[${PYTHON_USEDEP}]
43 gnome-extra/gucharmap:2.90[introspection] )"
44 DEPEND="${COMMON_DEPEND}
45 >=dev-util/gtk-doc-am-1
46 >=dev-util/intltool-0.40
47 >=sys-devel/gettext-0.17
48 virtual/pkgconfig
49 "
50 # eautoreconf requires gnome-base/gnome-common, app-text/yelp-tools
51
52 pkg_setup() {
53 use gnome && python-single-r1_pkg_setup
54 }
55
56 src_prepare() {
57 DOCS="AUTHORS ChangeLog HACKING INSTALL NEWS README THANKS"
58 G2CONF="${G2CONF}
59 --disable-static
60 $(use_with gnome dictionary)
61 $(use_enable gnome introspection)
62 $(use_with spell gtkspell3)
63 ITSTOOL=$(type -P true)"
64
65 gnome2_src_prepare
66
67 if ! use gnome; then
68 # don't install charmap plugin, it requires gnome-extra/gucharmap
69 sed -e 's:\scharmap\s: :g' -i plugins/Makefile.* ||
70 die "sed plugins/Makefile.* failed"
71 fi
72 }

  ViewVC Help
Powered by ViewVC 1.1.20