1 |
commit: d52dda0935720d0736ac5f9fae1fc347df6e950a |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 18 22:57:37 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 23:04:26 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d52dda09 |
7 |
|
8 |
dev-libs/libgweather: 3.8.3 → 3.10.1 |
9 |
|
10 |
--- |
11 |
dev-libs/libgweather/libgweather-3.10.1.ebuild | 54 ++++++++++++++++++++++++++ |
12 |
dev-libs/libgweather/libgweather-9999.ebuild | 47 ++++++++++++---------- |
13 |
2 files changed, 81 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/libgweather/libgweather-3.10.1.ebuild b/dev-libs/libgweather/libgweather-3.10.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..156823a |
18 |
--- /dev/null |
19 |
+++ b/dev-libs/libgweather/libgweather-3.10.1.ebuild |
20 |
@@ -0,0 +1,54 @@ |
21 |
+# Copyright 1999-2013 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+GCONF_DEBUG="no" |
27 |
+VALA_MIN_API_VERSION="0.18" |
28 |
+VALA_USE_DEPEND="vapigen" |
29 |
+ |
30 |
+inherit gnome2 vala |
31 |
+ |
32 |
+DESCRIPTION="Library to access weather information from online services" |
33 |
+HOMEPAGE="https://wiki.gnome.org/LibGWeather" |
34 |
+ |
35 |
+LICENSE="GPL-2+" |
36 |
+SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix) |
37 |
+IUSE="glade +introspection vala" |
38 |
+REQUIRED_USE="vala? ( introspection )" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=x11-libs/gtk+-2.90.0:3[introspection?] |
43 |
+ >=dev-libs/glib-2.35.1:2 |
44 |
+ >=net-libs/libsoup-2.34:2.4 |
45 |
+ >=dev-libs/libxml2-2.6.0 |
46 |
+ >=sys-libs/timezone-data-2010k |
47 |
+ |
48 |
+ glade? ( >=dev-util/glade-3.16:3.10 ) |
49 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
50 |
+" |
51 |
+RDEPEND="${COMMON_DEPEND} |
52 |
+ !<gnome-base/gnome-applets-2.22.0 |
53 |
+" |
54 |
+DEPEND="${COMMON_DEPEND} |
55 |
+ >=dev-util/gtk-doc-am-1.11 |
56 |
+ >=dev-util/intltool-0.50 |
57 |
+ >=sys-devel/gettext-0.18 |
58 |
+ virtual/pkgconfig |
59 |
+ vala? ( $(vala_depend) ) |
60 |
+" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ use vala && vala_src_prepare |
64 |
+ gnome2_src_prepare |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS" |
69 |
+ gnome2_src_configure \ |
70 |
+ --disable-static \ |
71 |
+ $(use_enable glade glade-catalog) \ |
72 |
+ $(use_enable introspection) \ |
73 |
+ $(use_enable vala) |
74 |
+} |
75 |
|
76 |
diff --git a/dev-libs/libgweather/libgweather-9999.ebuild b/dev-libs/libgweather/libgweather-9999.ebuild |
77 |
index 1e853b8..b5bd4b8 100644 |
78 |
--- a/dev-libs/libgweather/libgweather-9999.ebuild |
79 |
+++ b/dev-libs/libgweather/libgweather-9999.ebuild |
80 |
@@ -1,22 +1,24 @@ |
81 |
-# Copyright 1999-2012 Gentoo Foundation |
82 |
+# Copyright 1999-2013 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
# $Header: $ |
85 |
|
86 |
EAPI="5" |
87 |
GCONF_DEBUG="no" |
88 |
-GNOME2_LA_PUNT="yes" |
89 |
+VALA_MIN_API_VERSION="0.18" |
90 |
+VALA_USE_DEPEND="vapigen" |
91 |
|
92 |
-inherit gnome2 |
93 |
+inherit gnome2 vala |
94 |
if [[ ${PV} = 9999 ]]; then |
95 |
inherit gnome2-live |
96 |
fi |
97 |
|
98 |
DESCRIPTION="Library to access weather information from online services" |
99 |
-HOMEPAGE="https://live.gnome.org/LibGWeather" |
100 |
+HOMEPAGE="https://wiki.gnome.org/LibGWeather" |
101 |
|
102 |
LICENSE="GPL-2+" |
103 |
-SLOT="2/3-1" # subslot = 3-(libgweather-3 soname suffix) |
104 |
-IUSE="+introspection" |
105 |
+SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix) |
106 |
+IUSE="glade +introspection vala" |
107 |
+REQUIRED_USE="vala? ( introspection )" |
108 |
if [[ ${PV} = 9999 ]]; then |
109 |
IUSE="${IUSE} doc" |
110 |
KEYWORDS="" |
111 |
@@ -24,37 +26,42 @@ else |
112 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" |
113 |
fi |
114 |
|
115 |
-# libsoup-gnome is to be used because libsoup[gnome] might not |
116 |
-# get libsoup-gnome installed by the time ${P} is built |
117 |
-COMMON_DEPEND=">=x11-libs/gtk+-2.90.0:3[introspection?] |
118 |
- >=dev-libs/glib-2.13 |
119 |
- >=net-libs/libsoup-gnome-2.25.1:2.4 |
120 |
+COMMON_DEPEND=" |
121 |
+ >=x11-libs/gtk+-2.90.0:3[introspection?] |
122 |
+ >=dev-libs/glib-2.35.1:2 |
123 |
+ >=net-libs/libsoup-2.34:2.4 |
124 |
>=dev-libs/libxml2-2.6.0 |
125 |
>=sys-libs/timezone-data-2010k |
126 |
|
127 |
+ glade? ( >=dev-util/glade-3.16:3.10 ) |
128 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
129 |
" |
130 |
RDEPEND="${COMMON_DEPEND} |
131 |
!<gnome-base/gnome-applets-2.22.0 |
132 |
" |
133 |
DEPEND="${COMMON_DEPEND} |
134 |
- >=dev-util/gtk-doc-am-1.9 |
135 |
+ >=dev-util/gtk-doc-am-1.11 |
136 |
>=dev-util/intltool-0.50 |
137 |
- sys-devel/gettext |
138 |
+ >=sys-devel/gettext-0.18 |
139 |
virtual/pkgconfig |
140 |
+ vala? ( $(vala_depend) ) |
141 |
" |
142 |
|
143 |
if [[ ${PV} = 9999 ]]; then |
144 |
DEPEND="${DEPEND} |
145 |
- doc? ( >=dev-util/gtk-doc-1.9 )" |
146 |
+ doc? ( >=dev-util/gtk-doc-1.11 )" |
147 |
fi |
148 |
|
149 |
+src_prepare() { |
150 |
+ use vala && vala_src_prepare |
151 |
+ gnome2_src_prepare |
152 |
+} |
153 |
+ |
154 |
src_configure() { |
155 |
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS" |
156 |
- # Do not add --disable-all-translations-in-one-xml : it will enable them |
157 |
- G2CONF="${G2CONF} |
158 |
- --enable-locations-compression |
159 |
- --disable-static |
160 |
- $(use_enable introspection)" |
161 |
- gnome2_src_configure |
162 |
+ gnome2_src_configure \ |
163 |
+ --disable-static \ |
164 |
+ $(use_enable glade glade-catalog) \ |
165 |
+ $(use_enable introspection) \ |
166 |
+ $(use_enable vala) |
167 |
} |