/[gentoo-x86]/x11-libs/gtksourceview/gtksourceview-3.4.2.ebuild
Gentoo

Contents of /x11-libs/gtksourceview/gtksourceview-3.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Oct 28 16:35:19 2012 UTC (2 years ago) by armin76
Branch: MAIN
Changes since 1.8: +2 -2 lines
ia64/sh/sparc stable wrt #427544

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gtksourceview/gtksourceview-3.4.2.ebuild,v 1.8 2012/10/16 04:54:51 blueness Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2 virtualx
10
11 DESCRIPTION="A text widget implementing syntax highlighting and other features"
12 HOMEPAGE="http://projects.gnome.org/gtksourceview/"
13
14 LICENSE="GPL-2+ LGPL-2.1+"
15 SLOT="3.0"
16 IUSE="glade +introspection"
17 KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
18
19 # Note: has native OSX support, prefix teams, attack!
20 RDEPEND=">=x11-libs/gtk+-3.4:3[introspection?]
21 >=dev-libs/libxml2-2.6:2
22 >=dev-libs/glib-2.32:2
23 glade? ( >=dev-util/glade-3.9:3.10 )
24 introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
25 DEPEND="${RDEPEND}
26 dev-util/gtk-doc-am
27 >=dev-util/intltool-0.50
28 >=sys-devel/gettext-0.17
29 virtual/pkgconfig"
30
31 pkg_setup() {
32 DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"
33 G2CONF="${G2CONF}
34 --disable-deprecations
35 --enable-providers
36 $(use_enable glade glade-catalog)
37 $(use_enable introspection)"
38 }
39
40 src_prepare() {
41 gnome2_src_prepare
42
43 sed -i -e 's:--warn-all::' gtksourceview/Makefile.in || die
44
45 # Skip broken test until upstream bug #621383 is solved
46 sed -e "/guess-language/d" \
47 -e "/get-language/d" \
48 -i tests/test-languagemanager.c || die
49 }
50
51 src_test() {
52 Xemake check
53 }
54
55 src_install() {
56 gnome2_src_install
57
58 insinto /usr/share/${PN}-3.0/language-specs
59 doins "${FILESDIR}"/2.0/gentoo.lang
60 }

  ViewVC Help
Powered by ViewVC 1.1.20