1 |
commit: f0b49827f398336b63f690bc6629fa1596308e41 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 2 19:53:51 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 2 20:01:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b49827 |
7 |
|
8 |
www-client/midori: Bump to v6.0 |
9 |
|
10 |
Major update of Midori which apparently has been reanimated and may even |
11 |
work! |
12 |
|
13 |
Closes: https://bugs.gentoo.org/670160 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
www-client/midori/Manifest | 1 + |
17 |
www-client/midori/midori-6.0.ebuild | 63 +++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 64 insertions(+) |
19 |
|
20 |
diff --git a/www-client/midori/Manifest b/www-client/midori/Manifest |
21 |
index bada5af9676..7e27f724eb4 100644 |
22 |
--- a/www-client/midori/Manifest |
23 |
+++ b/www-client/midori/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST midori-v6.0.tar.gz 1823209 BLAKE2B dd00bef8da638d993c9918e991fa4f65d79b9f0d736b865895fae94f7f9d7552d671bda38cff933e65b7017cadfb810b7c180e00ba4e6f26abd471affc4cd903 SHA512 2b3e4808b1297a3ef8436b45ac38782e070658a0ecc62bcf8d0b2cf49f256cdad799ccc5d28df11ff595c042e8474fa2e87065d9a89cdb5a936237c44fdfd9e7 |
26 |
DIST midori_0.5.11_all_.tar.bz2 1428791 BLAKE2B c19872b3271360877b2affa0ab86d93884895037a72cb9182a44a597bf930394153fea5a744c1cf225f2c4bd8f3c691c5622d0b4abdb33c202c4aa1da48b5ee5 SHA512 237310d1f0bf70796474b9ec5be6755927e66acd2b527d04db39696c5e2f7ea2d11f7deb51ba3f5c151a450ab71e642282a1386e34253aaea1d8602ce76ac87d |
27 |
|
28 |
diff --git a/www-client/midori/midori-6.0.ebuild b/www-client/midori/midori-6.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..2b563941f71 |
31 |
--- /dev/null |
32 |
+++ b/www-client/midori/midori-6.0.ebuild |
33 |
@@ -0,0 +1,63 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+VALA_MIN_API_VERSION=0.36 |
40 |
+ |
41 |
+inherit cmake-utils eapi7-ver gnome2-utils vala xdg-utils |
42 |
+ |
43 |
+MY_P=${PN}-v${PV} |
44 |
+DESCRIPTION="A lightweight web browser based on WebKitGTK+" |
45 |
+HOMEPAGE="http://www.midori-browser.org/" |
46 |
+SRC_URI="https://github.com/midori-browser/core/releases/download/v$(ver_cut 1)/${MY_P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="LGPL-2.1+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~mips ~x86" |
51 |
+IUSE="+jit" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=app-crypt/gcr-3:=[gtk] |
55 |
+ >=dev-db/sqlite-3.6.19:3 |
56 |
+ >=dev-libs/glib-2.48.0:2 |
57 |
+ dev-libs/libpeas[gtk] |
58 |
+ dev-libs/libxml2 |
59 |
+ >=net-libs/libsoup-2.38:2.4[vala] |
60 |
+ >=net-libs/webkit-gtk-2.16.6:4[jit=,opengl] |
61 |
+ >=x11-libs/libnotify-0.7 |
62 |
+ >=x11-libs/gtk+-3.12.0:3 |
63 |
+" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ $(vala_depend) |
66 |
+ dev-util/intltool |
67 |
+ sys-devel/gettext |
68 |
+" |
69 |
+ |
70 |
+S=${WORKDIR} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ cmake-utils_src_prepare |
74 |
+ vala_src_prepare |
75 |
+ sed -i -e 's:libsoup-gnome:libsoup:' CMakeLists.txt || die |
76 |
+ sed -i -e '/^install/s:COPYING::' CMakeLists.txt || die |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ local mycmakeargs=( |
81 |
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} |
82 |
+ -DVALA_EXECUTABLE="${VALAC}" |
83 |
+ ) |
84 |
+ |
85 |
+ cmake-utils_src_configure |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ gnome2_icon_cache_update |
90 |
+ xdg_desktop_database_update |
91 |
+} |
92 |
+ |
93 |
+pkg_postrm() { |
94 |
+ gnome2_icon_cache_update |
95 |
+ xdg_desktop_database_update |
96 |
+} |