1 |
commit: ccf5de697adfdef8d0416f5f58e2ca60a28e9697 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 28 00:36:45 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Sep 28 00:36:45 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ccf5de69 |
7 |
|
8 |
gnome-base/dconf: 0.9.0 → 0.10.0 |
9 |
|
10 |
Bump. Drops a lot of unsupported API. |
11 |
|
12 |
--- |
13 |
.../{dconf-0.9.0.ebuild => dconf-0.10.0.ebuild} | 2 +- |
14 |
gnome-base/dconf/dconf-9999.ebuild | 27 +++++++++++--------- |
15 |
2 files changed, 16 insertions(+), 13 deletions(-) |
16 |
|
17 |
diff --git a/gnome-base/dconf/dconf-0.9.0.ebuild b/gnome-base/dconf/dconf-0.10.0.ebuild |
18 |
similarity index 97% |
19 |
rename from gnome-base/dconf/dconf-0.9.0.ebuild |
20 |
rename to gnome-base/dconf/dconf-0.10.0.ebuild |
21 |
index f9a78e7..66809c7 100644 |
22 |
--- a/gnome-base/dconf/dconf-0.9.0.ebuild |
23 |
+++ b/gnome-base/dconf/dconf-0.10.0.ebuild |
24 |
@@ -22,7 +22,7 @@ else |
25 |
KEYWORDS="~amd64 ~arm ~sparc ~x86" |
26 |
fi |
27 |
|
28 |
-COMMON_DEPEND=">=dev-libs/glib-2.27.2:2 |
29 |
+COMMON_DEPEND=">=dev-libs/glib-2.29.90:2 |
30 |
sys-apps/dbus |
31 |
X? ( |
32 |
>=dev-libs/libxml2-2.7.7:2 |
33 |
|
34 |
diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-9999.ebuild |
35 |
index 013cc37..66809c7 100644 |
36 |
--- a/gnome-base/dconf/dconf-9999.ebuild |
37 |
+++ b/gnome-base/dconf/dconf-9999.ebuild |
38 |
@@ -5,7 +5,7 @@ |
39 |
EAPI="4" |
40 |
GCONF_DEBUG="no" |
41 |
|
42 |
-inherit gnome2 bash-completion |
43 |
+inherit autotools eutils gnome2 bash-completion |
44 |
if [[ ${PV} = 9999 ]]; then |
45 |
inherit gnome2-live |
46 |
fi |
47 |
@@ -15,29 +15,29 @@ HOMEPAGE="http://live.gnome.org/dconf" |
48 |
|
49 |
LICENSE="LGPL-2.1" |
50 |
SLOT="0" |
51 |
-IUSE="doc +X" |
52 |
+IUSE="doc vala +X" |
53 |
if [[ ${PV} = 9999 ]]; then |
54 |
KEYWORDS="" |
55 |
else |
56 |
KEYWORDS="~amd64 ~arm ~sparc ~x86" |
57 |
fi |
58 |
|
59 |
-COMMON_DEPEND=">=dev-libs/glib-2.27.2:2 |
60 |
+COMMON_DEPEND=">=dev-libs/glib-2.29.90:2 |
61 |
sys-apps/dbus |
62 |
X? ( |
63 |
>=dev-libs/libxml2-2.7.7:2 |
64 |
x11-libs/gtk+:3 )" |
65 |
# vala:0.14 due to an automagic version-check #ifdef (commit a15d9621) |
66 |
DEPEND="${COMMON_DEPEND} |
67 |
- dev-lang/vala:0.14 |
68 |
- doc? ( >=dev-util/gtk-doc-1.15 )" |
69 |
+ doc? ( >=dev-util/gtk-doc-1.15 ) |
70 |
+ vala? ( dev-lang/vala:0.14 )" |
71 |
|
72 |
pkg_setup() { |
73 |
G2CONF="${G2CONF} |
74 |
--disable-schemas-compile |
75 |
- VALAC=$(type -p valac-0.14) |
76 |
- $(use_enable X editor)" |
77 |
- #$(use_enable vala) |
78 |
+ $(use_enable vala) |
79 |
+ $(use_enable X editor) |
80 |
+ VALAC=$(type -p valac-0.14)" |
81 |
} |
82 |
|
83 |
src_prepare() { |
84 |
@@ -49,9 +49,13 @@ src_prepare() { |
85 |
fi |
86 |
|
87 |
# Fix vala automagic support, upstream bug #634171 |
88 |
- # FIXME: patch doesn't actually work, forcing vala support above |
89 |
- #epatch "${FILESDIR}/${PN}-automagic-vala.patch" |
90 |
+ epatch "${FILESDIR}/${PN}-automagic-vala.patch" |
91 |
|
92 |
+ if [[ ${PV} != 9999 ]]; then |
93 |
+ mkdir -p m4 || die |
94 |
+ AT_M4DIR="." eautoreconf |
95 |
+ eautoreconf |
96 |
+ fi |
97 |
gnome2_src_prepare |
98 |
} |
99 |
|
100 |
@@ -63,11 +67,10 @@ src_install() { |
101 |
# must have it enabled over gconf if both are installed |
102 |
echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf |
103 |
echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf |
104 |
- doenvd 51dconf || die "doenvd failed" |
105 |
+ doenvd 51dconf |
106 |
|
107 |
# Remove bash-completion file installed by build system |
108 |
rm -rv "${ED}/etc/bash_completion.d/" || die |
109 |
- |
110 |
use bash-completion && \ |
111 |
dobashcompletion "${S}/bin/dconf-bash-completion.sh" ${PN} |
112 |
} |