1 |
commit: e50f45f02246068aa52af32ae6735ae85a517055 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 15:44:35 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 16:16:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50f45f0 |
7 |
|
8 |
dev-cpp/gnome-vfsmm: Fix building with latest glibmm/libsigc++ |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-cpp/gnome-vfsmm/gnome-vfsmm-2.26.0-r1.ebuild | 58 ++++++++++++++++++++++++ |
13 |
1 file changed, 58 insertions(+) |
14 |
|
15 |
diff --git a/dev-cpp/gnome-vfsmm/gnome-vfsmm-2.26.0-r1.ebuild b/dev-cpp/gnome-vfsmm/gnome-vfsmm-2.26.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..0738d02 |
18 |
--- /dev/null |
19 |
+++ b/dev-cpp/gnome-vfsmm/gnome-vfsmm-2.26.0-r1.ebuild |
20 |
@@ -0,0 +1,58 @@ |
21 |
+# Copyright 1999-2013 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 |
+GNOME_TARBALL_SUFFIX="bz2" |
28 |
+ |
29 |
+inherit flag-o-matic gnome2 |
30 |
+ |
31 |
+DESCRIPTION="C++ bindings for gnome-vfs" |
32 |
+HOMEPAGE="http://www.gtkmm.org" |
33 |
+ |
34 |
+LICENSE="LGPL-2.1" |
35 |
+SLOT="1.1" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
37 |
+IUSE="doc examples" |
38 |
+ |
39 |
+# glibmm dep is because build fails with older versions... |
40 |
+RDEPEND=" |
41 |
+ >=gnome-base/gnome-vfs-2.8.1 |
42 |
+ >=dev-cpp/glibmm-2.12 |
43 |
+" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ virtual/pkgconfig |
46 |
+ doc? ( app-doc/doxygen ) |
47 |
+" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ if ! use doc; then |
51 |
+ # documentation requires Doxygen and takes time |
52 |
+ sed -i 's/^\(SUBDIRS =.*\)docs\(.*\)$/\1\2/' Makefile.in || \ |
53 |
+ die "sed Makefile.in failed" |
54 |
+ fi |
55 |
+ |
56 |
+ if ! use examples; then |
57 |
+ # don't waste time building the examples |
58 |
+ sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \ |
59 |
+ die "sed Makefile.in failed" |
60 |
+ fi |
61 |
+ |
62 |
+ append-cxxflags -std=c++11 |
63 |
+ |
64 |
+ gnome2_src_prepare |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ gnome2_src_install |
69 |
+ |
70 |
+ if use doc ; then |
71 |
+ dohtml -r docs/reference/html/* |
72 |
+ fi |
73 |
+ |
74 |
+ if use examples; then |
75 |
+ find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null |
76 |
+ cp -R examples "${ED}"/usr/share/doc/${PF} |
77 |
+ fi |
78 |
+} |