Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/dconf/
Date: Wed, 27 Nov 2013 23:32:06
Message-Id: 1385595093.f7df23d50854653faba2f95d5cbba294a8449a6c.eva@gentoo
1 commit: f7df23d50854653faba2f95d5cbba294a8449a6c
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 27 23:03:09 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 27 23:31:33 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f7df23d5
7
8 gnome-base/dconf: 0.16.1 → 0.18.0
9
10 ---
11 .../{dconf-9999.ebuild => dconf-0.18.0.ebuild} | 52 ++++++++++------------
12 gnome-base/dconf/dconf-9999.ebuild | 41 ++++++++++-------
13 gnome-base/dconf/metadata.xml | 5 +++
14 3 files changed, 52 insertions(+), 46 deletions(-)
15
16 diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-0.18.0.ebuild
17 similarity index 64%
18 copy from gnome-base/dconf/dconf-9999.ebuild
19 copy to gnome-base/dconf/dconf-0.18.0.ebuild
20 index 8acaac5..719e684 100644
21 --- a/gnome-base/dconf/dconf-9999.ebuild
22 +++ b/gnome-base/dconf/dconf-0.18.0.ebuild
23 @@ -1,51 +1,45 @@
24 -# Copyright 1999-2012 Gentoo Foundation
25 +# Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 # $Header: $
28
29 -EAPI="4"
30 +EAPI="5"
31 GCONF_DEBUG="no"
32
33 inherit gnome2 bash-completion-r1 virtualx
34 -if [[ ${PV} = 9999 ]]; then
35 - inherit gnome2-live
36 -fi
37
38 DESCRIPTION="Simple low-level configuration system"
39 -HOMEPAGE="http://live.gnome.org/dconf"
40 +HOMEPAGE="https://wiki.gnome.org/dconf"
41
42 LICENSE="LGPL-2.1+"
43 SLOT="0"
44 +
45 # TODO: coverage ?
46 -IUSE="doc test +X"
47 -if [[ ${PV} = 9999 ]]; then
48 - KEYWORDS=""
49 -else
50 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
51 -fi
52 +IUSE="test +X"
53 +
54 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux"
55
56 -RDEPEND=">=dev-libs/glib-2.33.3:2
57 +RDEPEND="
58 + >=dev-libs/glib-2.35.2:2
59 sys-apps/dbus
60 - X? ( >=dev-libs/libxml2-2.7.7:2
61 - x11-libs/gtk+:3 )"
62 + X? (
63 + >=dev-libs/libxml2-2.7.7:2
64 + >=x11-libs/gtk+-3.4:3 )
65 +"
66 DEPEND="${RDEPEND}
67 dev-libs/libxslt
68 - sys-devel/gettext
69 + dev-util/gdbus-codegen
70 + >=dev-util/gtk-doc-am-1.15
71 >=dev-util/intltool-0.50
72 + sys-devel/gettext
73 virtual/pkgconfig
74 - doc? ( >=dev-util/gtk-doc-1.15 )"
75 -
76 -if [[ ${PV} = 9999 ]]; then
77 - DEPEND="${DEPEND}
78 - dev-util/gtk-doc-am
79 - >=dev-lang/vala-0.17.0:0.18"
80 -fi
81 +"
82
83 -pkg_setup() {
84 - G2CONF="${G2CONF}
85 - --disable-schemas-compile
86 - --disable-gcov
87 - $(use_enable X editor)
88 - VALAC=$(type -P valac-0.18)" # harmless even if valac-0.18 not found
89 +src_configure() {
90 + gnome2_src_configure \
91 + --disable-gcov \
92 + --enable-man \
93 + $(use_enable X editor) \
94 + VALAC=$(type -P valac-0.18) # harmless even if valac-0.18 not found
95 }
96
97 src_test() {
98
99 diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-9999.ebuild
100 index 8acaac5..9d83a8e 100644
101 --- a/gnome-base/dconf/dconf-9999.ebuild
102 +++ b/gnome-base/dconf/dconf-9999.ebuild
103 @@ -1,8 +1,8 @@
104 -# Copyright 1999-2012 Gentoo Foundation
105 +# Copyright 1999-2013 Gentoo Foundation
106 # Distributed under the terms of the GNU General Public License v2
107 # $Header: $
108
109 -EAPI="4"
110 +EAPI="5"
111 GCONF_DEBUG="no"
112
113 inherit gnome2 bash-completion-r1 virtualx
114 @@ -11,41 +11,48 @@ if [[ ${PV} = 9999 ]]; then
115 fi
116
117 DESCRIPTION="Simple low-level configuration system"
118 -HOMEPAGE="http://live.gnome.org/dconf"
119 +HOMEPAGE="https://wiki.gnome.org/dconf"
120
121 LICENSE="LGPL-2.1+"
122 SLOT="0"
123 +
124 # TODO: coverage ?
125 -IUSE="doc test +X"
126 +IUSE="test +X"
127 if [[ ${PV} = 9999 ]]; then
128 + IUSE="${IUSE} doc"
129 KEYWORDS=""
130 else
131 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
132 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux"
133 fi
134
135 -RDEPEND=">=dev-libs/glib-2.33.3:2
136 +RDEPEND="
137 + >=dev-libs/glib-2.35.2:2
138 sys-apps/dbus
139 - X? ( >=dev-libs/libxml2-2.7.7:2
140 - x11-libs/gtk+:3 )"
141 + X? (
142 + >=dev-libs/libxml2-2.7.7:2
143 + >=x11-libs/gtk+-3.4:3 )
144 +"
145 DEPEND="${RDEPEND}
146 dev-libs/libxslt
147 - sys-devel/gettext
148 + dev-util/gdbus-codegen
149 + >=dev-util/gtk-doc-am-1.15
150 >=dev-util/intltool-0.50
151 + sys-devel/gettext
152 virtual/pkgconfig
153 - doc? ( >=dev-util/gtk-doc-1.15 )"
154 +"
155
156 if [[ ${PV} = 9999 ]]; then
157 DEPEND="${DEPEND}
158 - dev-util/gtk-doc-am
159 + doc? ( >=dev-util/gtk-doc-1.15 )
160 >=dev-lang/vala-0.17.0:0.18"
161 fi
162
163 -pkg_setup() {
164 - G2CONF="${G2CONF}
165 - --disable-schemas-compile
166 - --disable-gcov
167 - $(use_enable X editor)
168 - VALAC=$(type -P valac-0.18)" # harmless even if valac-0.18 not found
169 +src_configure() {
170 + gnome2_src_configure \
171 + --disable-gcov \
172 + --enable-man \
173 + $(use_enable X editor) \
174 + VALAC=$(type -P valac-0.18) # harmless even if valac-0.18 not found
175 }
176
177 src_test() {
178
179 diff --git a/gnome-base/dconf/metadata.xml b/gnome-base/dconf/metadata.xml
180 new file mode 100644
181 index 0000000..6e0e2ec
182 --- /dev/null
183 +++ b/gnome-base/dconf/metadata.xml
184 @@ -0,0 +1,5 @@
185 +<?xml version="1.0" encoding="UTF-8"?>
186 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
187 +<pkgmetadata>
188 + <herd>gnome</herd>
189 +</pkgmetadata>