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

Contents of /x11-libs/gtksourceview/gtksourceview-2.10.5-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Oct 14 23:56:51 2012 UTC (21 months, 1 week ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +6 -6 lines
Update 3.4.2's intltool dep, thanks to Matt Turner. Update license. Drop useless doc USE flag, it only regenerated api documentation. Drop old.

(Portage version: 2.2.0_alpha137/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-2.10.5-r2.ebuild,v 1.9 2012/07/15 18:59:11 armin76 Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit eutils gnome2 virtualx
11
12 DESCRIPTION="A text widget implementing syntax highlighting and other features"
13 HOMEPAGE="http://www.gnome.org/"
14
15 LICENSE="GPL-2+ LGPL-2.1+"
16 SLOT="2.0"
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 IUSE="glade"
19
20 # FIXME: We could avoid the glade conditional and dep completely if upstream
21 # would have a --with-glade-catalogdir that would allow to pass the system
22 # glade catalog dir, instead of needing gladeui-1.0.pc installed from dev-util/glade
23 RDEPEND=">=x11-libs/gtk+-2.12:2
24 >=dev-libs/libxml2-2.5:2
25 >=dev-libs/glib-2.14:2
26 glade? ( >=dev-util/glade-3.2:3 )
27 kernel_Darwin? ( x11-libs/ige-mac-integration )"
28 DEPEND="${RDEPEND}
29 dev-util/gtk-doc-am
30 >=dev-util/intltool-0.40
31 >=sys-devel/gettext-0.17
32 virtual/pkgconfig"
33
34 pkg_setup() {
35 DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"
36 G2CONF="${G2CONF}
37 $(use_enable glade glade-catalog)"
38 }
39
40 src_prepare() {
41 gnome2_src_prepare
42
43 # Skip broken test until upstream bug #621383 is solved
44 sed -i -e "/guess-language/d" tests/test-languagemanager.c || die
45
46 # The same for another broken test, upstream bug #631214
47 sed -i -e "/get-language/d" tests/test-languagemanager.c || die
48
49 # Patch from 3.x for bug #394925
50 epatch "${FILESDIR}/${P}-G_CONST_RETURN.patch"
51 }
52
53 src_test() {
54 Xemake check || die "Test phase failed"
55 }
56
57 src_install() {
58 gnome2_src_install
59
60 insinto /usr/share/${PN}-2.0/language-specs
61 doins "${FILESDIR}"/2.0/gentoo.lang
62 }

  ViewVC Help
Powered by ViewVC 1.1.20