Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/midori/
Date: Sun, 02 Dec 2018 16:15:21
Message-Id: 1543767301.51e1a1112b3bca5bef16f7d23b7f78c1f92c41eb.mgorny@gentoo
1 commit: 51e1a1112b3bca5bef16f7d23b7f78c1f92c41eb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 16:13:45 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 16:15:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e1a111
7
8 www-client/midori: Bump to 7.0
9
10 Closes: https://bugs.gentoo.org/670192
11 Closes: https://bugs.gentoo.org/670270
12 Closes: https://bugs.gentoo.org/670354
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 www-client/midori/Manifest | 1 +
16 www-client/midori/midori-7.0.ebuild | 62 +++++++++++++++++++++++++++++++++++++
17 2 files changed, 63 insertions(+)
18
19 diff --git a/www-client/midori/Manifest b/www-client/midori/Manifest
20 index 7e27f724eb4..2ab860caa96 100644
21 --- a/www-client/midori/Manifest
22 +++ b/www-client/midori/Manifest
23 @@ -1,2 +1,3 @@
24 DIST midori-v6.0.tar.gz 1823209 BLAKE2B dd00bef8da638d993c9918e991fa4f65d79b9f0d736b865895fae94f7f9d7552d671bda38cff933e65b7017cadfb810b7c180e00ba4e6f26abd471affc4cd903 SHA512 2b3e4808b1297a3ef8436b45ac38782e070658a0ecc62bcf8d0b2cf49f256cdad799ccc5d28df11ff595c042e8474fa2e87065d9a89cdb5a936237c44fdfd9e7
25 +DIST midori-v7.0.tar.gz 1827341 BLAKE2B e008be32851a3ee12744b7b4e686545a2f9cd84fc6f05a647744c512ea5286fdc1db3b1ec40f546208ffbca4ca8a179752f27b85d9060765a7612ac7c260c67f SHA512 4110d1566ba8b0979c29f1c3a95af3da4cba884f44a1305403d8951f7f2dfb17946c3c7326eebafc111738950c907d06cc6c54ce670cde321da890d8b9ced051
26 DIST midori_0.5.11_all_.tar.bz2 1428791 BLAKE2B c19872b3271360877b2affa0ab86d93884895037a72cb9182a44a597bf930394153fea5a744c1cf225f2c4bd8f3c691c5622d0b4abdb33c202c4aa1da48b5ee5 SHA512 237310d1f0bf70796474b9ec5be6755927e66acd2b527d04db39696c5e2f7ea2d11f7deb51ba3f5c151a450ab71e642282a1386e34253aaea1d8602ce76ac87d
27
28 diff --git a/www-client/midori/midori-7.0.ebuild b/www-client/midori/midori-7.0.ebuild
29 new file mode 100644
30 index 00000000000..b3558ed38a0
31 --- /dev/null
32 +++ b/www-client/midori/midori-7.0.ebuild
33 @@ -0,0 +1,62 @@
34 +# Copyright 1999-2018 Gentoo Authors
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=""
52 +
53 +RDEPEND="
54 + >=app-crypt/gcr-3:=[gtk,vala]
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[introspection,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}/${MY_P}
71 +
72 +src_prepare() {
73 + cmake-utils_src_prepare
74 + vala_src_prepare
75 + sed -i -e '/^install/s:COPYING::' CMakeLists.txt || die
76 +}
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
81 + -DVALA_EXECUTABLE="${VALAC}"
82 + )
83 +
84 + cmake-utils_src_configure
85 +}
86 +
87 +pkg_postinst() {
88 + gnome2_icon_cache_update
89 + xdg_desktop_database_update
90 +}
91 +
92 +pkg_postrm() {
93 + gnome2_icon_cache_update
94 + xdg_desktop_database_update
95 +}