1 |
commit: 77b4915069a8b8b42dfa27b0986a035a18a1db40 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 15:21:49 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 16:16:26 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b49150 |
7 |
|
8 |
dev-cpp/gtksourceviewmm: Fix building with latest glibmm/libsigc++ |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../gtksourceviewmm-2.10.3-r1.ebuild | 49 ++++++++++++++++++++++ |
13 |
1 file changed, 49 insertions(+) |
14 |
|
15 |
diff --git a/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3-r1.ebuild b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..062ecef |
18 |
--- /dev/null |
19 |
+++ b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3-r1.ebuild |
20 |
@@ -0,0 +1,49 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+GCONF_DEBUG="no" |
27 |
+GNOME2_LA_PUNT="yes" |
28 |
+ |
29 |
+inherit flag-o-matic gnome2 |
30 |
+ |
31 |
+DESCRIPTION="C++ bindings for gtksourceview" |
32 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView" |
33 |
+ |
34 |
+KEYWORDS="~amd64 ~ppc ~x86" |
35 |
+IUSE="doc" |
36 |
+SLOT="2.0" |
37 |
+LICENSE="LGPL-2.1" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=dev-cpp/gtkmm-2.12:2.4 |
41 |
+ dev-cpp/atkmm |
42 |
+ >=x11-libs/gtksourceview-2.10.0:2.0 |
43 |
+ !>=dev-cpp/libgtksourceviewmm-1 |
44 |
+" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ virtual/pkgconfig |
47 |
+ doc? ( app-doc/doxygen ) |
48 |
+" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ gnome2_src_prepare |
52 |
+ |
53 |
+ # Remove docs from SUBDIRS so that docs are not installed, as |
54 |
+ # we handle it in src_install. |
55 |
+ sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \ |
56 |
+ die "sed Makefile.in failed" |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ append-cxxflags -std=c++11 |
61 |
+ gnome2_src_configure \ |
62 |
+ $(use_enable doc documentation) \ |
63 |
+ --disable-static |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ gnome2_src_install |
68 |
+ use doc && dohtml -r docs/reference/html/* |
69 |
+} |