Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-cpp/gtksourceviewmm/
Date: Tue, 29 Mar 2011 08:36:50
Message-Id: e5ad27fb3e415913d4de3de186819840f49a570c.nirbheek@gentoo
1 commit: e5ad27fb3e415913d4de3de186819840f49a570c
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 08:19:42 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 08:35:26 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e5ad27fb
7
8 Add dev-cpp/gtksourceviewmm:3.0
9
10 ---
11 .../gtksourceviewmm/gtksourceviewmm-2.91.9.ebuild | 46 ++++++++++++++++++++
12 1 files changed, 46 insertions(+), 0 deletions(-)
13
14 diff --git a/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.91.9.ebuild b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.91.9.ebuild
15 new file mode 100644
16 index 0000000..ae1494d
17 --- /dev/null
18 +++ b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.91.9.ebuild
19 @@ -0,0 +1,46 @@
20 +# Copyright 1999-2011 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.1.ebuild,v 1.6 2011/01/24 16:22:47 eva Exp $
23 +
24 +EAPI="2"
25 +
26 +inherit gnome2
27 +
28 +DESCRIPTION="C++ bindings for gtksourceview"
29 +HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/"
30 +
31 +KEYWORDS="~amd64 ~ppc ~x86"
32 +IUSE="doc"
33 +SLOT="3.0"
34 +LICENSE="LGPL-2.1"
35 +
36 +RDEPEND=">=dev-cpp/glibmm-2.27.93:2
37 + >=dev-cpp/gtkmm-2.91.2:3.0
38 + >=x11-libs/gtksourceview-2.91.9:3.0
39 +
40 + dev-cpp/atkmm
41 + dev-cpp/cairomm
42 + dev-cpp/pangomm:1.4"
43 +DEPEND="${RDEPEND}
44 + dev-util/pkgconfig
45 + >=dev-cpp/mm-common-0.9.4
46 + doc? ( app-doc/doxygen )"
47 +
48 +pkg_setup() {
49 + DOCS="AUTHORS ChangeLog* NEWS README"
50 + G2CONF="${G2CONF} $(use_enable doc documentation)"
51 +}
52 +
53 +src_prepare() {
54 + gnome2_src_prepare
55 +
56 + # Remove docs from SUBDIRS so that docs are not installed, as
57 + # we handle it in src_install.
58 + sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \
59 + die "sed Makefile.in failed"
60 +}
61 +
62 +src_install() {
63 + gnome2_src_install
64 + use doc && dohtml -r docs/reference/html/*
65 +}