1 |
pacho 15/06/24 20:48:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: midori-0.5.10.ebuild |
5 |
Log: |
6 |
Version bump, fixes compilation problems with latest vala |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.132 www-client/midori/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.132&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.132&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?r1=1.131&r2=1.132 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v |
20 |
retrieving revision 1.131 |
21 |
retrieving revision 1.132 |
22 |
diff -u -r1.131 -r1.132 |
23 |
--- ChangeLog 21 Apr 2015 14:09:22 -0000 1.131 |
24 |
+++ ChangeLog 24 Jun 2015 20:48:23 -0000 1.132 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-client/midori |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.131 2015/04/21 14:09:22 calchan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.132 2015/06/24 20:48:23 pacho Exp $ |
30 |
+ |
31 |
+*midori-0.5.10 (24 Jun 2015) |
32 |
+ |
33 |
+ 24 Jun 2015; Pacho Ramos <pacho@g.o> +midori-0.5.10.ebuild: |
34 |
+ Version bump, fixes compilation problems with latest vala |
35 |
|
36 |
21 Apr 2015; Denis Dupeyron <calchan@g.o> -midori-0.5.5.ebuild: |
37 |
Remove midori-0.5.5 because it depends on old and no longer maintained (by |
38 |
|
39 |
|
40 |
|
41 |
1.1 www-client/midori/midori-0.5.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.5.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.5.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: midori-0.5.10.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.5.10.ebuild,v 1.1 2015/06/24 20:48:23 pacho Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python2_7 ) |
55 |
PYTHON_REQ_USE='threads(+)' |
56 |
|
57 |
unset _live_inherits |
58 |
|
59 |
if [[ ${PV} == *9999* ]]; then |
60 |
EGIT_REPO_URI="git://git.xfce.org/apps/${PN}" |
61 |
_live_inherits=git-2 |
62 |
else |
63 |
KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd" |
64 |
SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2" |
65 |
fi |
66 |
|
67 |
inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala ${_live_inherits} |
68 |
|
69 |
DESCRIPTION="A lightweight web browser based on WebKitGTK+" |
70 |
HOMEPAGE="http://www.midori-browser.org/" |
71 |
|
72 |
LICENSE="LGPL-2.1 MIT" |
73 |
SLOT="0" |
74 |
IUSE="deprecated doc granite introspection +jit +webkit2 zeitgeist" |
75 |
|
76 |
RDEPEND=" |
77 |
>=app-crypt/gcr-3 |
78 |
>=dev-db/sqlite-3.6.19:3 |
79 |
>=dev-libs/glib-2.32.3 |
80 |
dev-libs/libxml2 |
81 |
>=net-libs/libsoup-2.38:2.4 |
82 |
>=net-libs/libsoup-gnome-2.38:2.4 |
83 |
>=x11-libs/libnotify-0.7 |
84 |
x11-libs/libXScrnSaver |
85 |
deprecated? ( |
86 |
>=net-libs/webkit-gtk-1.8.1:2[jit=] |
87 |
>=x11-libs/gtk+-2.24:2 |
88 |
) |
89 |
!deprecated? ( |
90 |
x11-libs/gtk+:3 |
91 |
webkit2? ( >=net-libs/webkit-gtk-1.11.91:3[jit=] ) |
92 |
!webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] ) |
93 |
) |
94 |
granite? ( >=dev-libs/granite-0.2 ) |
95 |
introspection? ( dev-libs/gobject-introspection:= ) |
96 |
zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 ) |
97 |
" |
98 |
DEPEND="${RDEPEND} |
99 |
${PYTHON_DEPS} |
100 |
$(vala_depend) |
101 |
dev-util/intltool |
102 |
gnome-base/librsvg |
103 |
sys-devel/gettext |
104 |
doc? ( dev-util/gtk-doc ) |
105 |
" |
106 |
REQUIRED_USE=" |
107 |
granite? ( !deprecated ) |
108 |
introspection? ( deprecated ) |
109 |
webkit2? ( !deprecated ) |
110 |
" |
111 |
|
112 |
S=${WORKDIR} |
113 |
|
114 |
pkg_setup() { |
115 |
python-any-r1_pkg_setup |
116 |
} |
117 |
|
118 |
src_unpack() { |
119 |
if [[ ${PV} == *9999* ]]; then |
120 |
git-2_src_unpack |
121 |
else |
122 |
default |
123 |
fi |
124 |
} |
125 |
|
126 |
src_prepare() { |
127 |
vala_src_prepare |
128 |
sed -i -e '/install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die |
129 |
} |
130 |
|
131 |
src_configure() { |
132 |
strip-linguas -i po |
133 |
|
134 |
local mycmakeargs=( |
135 |
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} |
136 |
$(cmake-utils_use_use doc APIDOCS) |
137 |
$(cmake-utils_use_use introspection GIR) |
138 |
$(cmake-utils_use_use granite) |
139 |
$(cmake-utils_use_use zeitgeist) |
140 |
-DVALA_EXECUTABLE="${VALAC}" |
141 |
) |
142 |
|
143 |
if use deprecated; then |
144 |
mycmakeargs+=( |
145 |
-DUSE_GTK3=OFF |
146 |
-DHALF_BRO_INCOM_WEBKIT2=OFF |
147 |
) |
148 |
else |
149 |
mycmakeargs+=( |
150 |
-DUSE_GTK3=ON |
151 |
$(cmake-utils_use webkit2 HALF_BRO_INCOM_WEBKIT2) |
152 |
) |
153 |
fi |
154 |
|
155 |
cmake-utils_src_configure |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
cmake-utils_src_install |
160 |
|
161 |
local jit_is_enabled |
162 |
if use deprecated; then |
163 |
has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes |
164 |
else |
165 |
has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes |
166 |
fi |
167 |
[[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} #480290 |
168 |
} |
169 |
|
170 |
pkg_preinst() { |
171 |
gnome2_icon_savelist |
172 |
} |
173 |
|
174 |
pkg_postinst() { |
175 |
fdo-mime_desktop_database_update |
176 |
fdo-mime_mime_database_update |
177 |
gnome2_icon_cache_update |
178 |
} |
179 |
|
180 |
pkg_postrm() { |
181 |
fdo-mime_desktop_database_update |
182 |
fdo-mime_mime_database_update |
183 |
gnome2_icon_cache_update |
184 |
} |