/[gentoo-x86]/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.2.ebuild
Gentoo

Contents of /dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri May 4 03:44:57 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.7: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.2.ebuild,v 1.7 2012/05/02 07:17:04 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit eutils gnome2
10
11 DESCRIPTION="C++ bindings for gtksourceview"
12 HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/"
13
14 KEYWORDS="amd64 ppc x86"
15 IUSE="doc"
16 SLOT="2.0"
17 LICENSE="LGPL-2.1"
18
19 RDEPEND=">=dev-cpp/gtkmm-2.12:2.4
20 dev-cpp/atkmm
21 >=x11-libs/gtksourceview-2.10.0:2.0
22 !>=dev-cpp/libgtksourceviewmm-1"
23
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 doc? ( app-doc/doxygen )"
27
28 pkg_setup() {
29 DOCS="AUTHORS ChangeLog* NEWS README"
30 G2CONF="${G2CONF}
31 $(use_enable doc documentation)
32 --disable-static"
33 }
34
35 src_prepare() {
36 # bug #414127, https://bugzilla.gnome.org/show_bug.cgi?id=666651
37 epatch "${FILESDIR}/${P}-glib-2.31.patch"
38
39 gnome2_src_prepare
40
41 # Remove docs from SUBDIRS so that docs are not installed, as
42 # we handle it in src_install.
43 sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \
44 die "sed Makefile.in failed"
45 }
46
47 src_install() {
48 gnome2_src_install
49 use doc && dohtml -r docs/reference/html/*
50 }

  ViewVC Help
Powered by ViewVC 1.1.20