/[gentoo-x86]/app-editors/gedit/gedit-3.16.2.ebuild
Gentoo

Contents of /app-editors/gedit/gedit-3.16.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 9 10:06:36 2015 UTC (5 years, 1 month ago) by eva
Branch: MAIN
CVS Tags: HEAD
Version bump for Gnome 3.16. Clean up old revisions.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes" # plugins are dlopened
8 PYTHON_COMPAT=( python3_{3,4} )
9 VALA_MIN_API_VERSION="0.26"
10 VALA_USE_DEPEND="vapigen"
11
12 inherit eutils gnome2 multilib python-r1 vala virtualx
13
14 DESCRIPTION="A text editor for the GNOME desktop"
15 HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
16
17 LICENSE="GPL-2+ CC-BY-SA-3.0"
18 SLOT="0"
19
20 IUSE="+introspection +python spell vala"
21 # python-single-r1 would request disabling PYTHON_TARGETS on libpeas
22 # we need to fix that
23 REQUIRED_USE="
24 python? ( introspection )
25 python? ( ^^ ( $(python_gen_useflags '*') ) )
26 "
27
28 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
29
30 # X libs are not needed for OSX (aqua)
31 COMMON_DEPEND="
32 >=dev-libs/libxml2-2.5.0:2
33 >=dev-libs/glib-2.40:2[dbus]
34 >=x11-libs/gtk+-3.16:3[introspection?]
35 >=x11-libs/gtksourceview-3.16:3.0[introspection?]
36 >=dev-libs/libpeas-1.7.0[gtk]
37
38 gnome-base/gsettings-desktop-schemas
39 gnome-base/gvfs
40
41 x11-libs/libX11
42
43 net-libs/libsoup:2.4
44
45 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
46 python? (
47 ${PYTHON_DEPS}
48 dev-python/pycairo[${PYTHON_USEDEP}]
49 >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
50 dev-libs/libpeas[${PYTHON_USEDEP}] )
51 spell? (
52 >=app-text/enchant-1.2:=
53 >=app-text/iso-codes-0.35 )
54 "
55 RDEPEND="${COMMON_DEPEND}
56 x11-themes/gnome-icon-theme-symbolic
57 "
58 DEPEND="${COMMON_DEPEND}
59 ${vala_depend}
60 app-text/docbook-xml-dtd:4.1.2
61 >=app-text/scrollkeeper-0.3.11
62 dev-libs/libxml2:2
63 >=dev-util/gtk-doc-am-1
64 >=dev-util/intltool-0.50.1
65 >=sys-devel/gettext-0.18
66 virtual/pkgconfig
67 "
68 # yelp-tools, gnome-common needed to eautoreconf
69
70 pkg_setup() {
71 use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
72 }
73
74 src_prepare() {
75 vala_src_prepare
76 gnome2_src_prepare
77 }
78
79 src_configure() {
80 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
81
82 gnome2_src_configure \
83 --disable-deprecations \
84 --enable-updater \
85 --enable-gvfs-metadata \
86 $(use_enable introspection) \
87 $(use_enable spell) \
88 $(use_enable python) \
89 $(use_enable vala) \
90 ITSTOOL=$(type -P true)
91 }
92
93 src_test() {
94 # FIXME: this should be handled at eclass level
95 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
96
97 unset DBUS_SESSION_BUS_ADDRESS
98 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
99 }
100
101 src_install() {
102 local args=()
103 # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
104 use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
105
106 gnome2_src_install "${args[@]}"
107 }

  ViewVC Help
Powered by ViewVC 1.1.20