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: Fri, 13 Sep 2019 05:11:16
Message-Id: 1568351445.6bdd864a5abf368099e1f83af131c7cd45ef7890.mgorny@gentoo
1 commit: 6bdd864a5abf368099e1f83af131c7cd45ef7890
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 13 05:04:26 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 13 05:10:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdd864a
7
8 www-client/midori: Bump to 9.0
9
10 Closes: https://bugs.gentoo.org/680514
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 www-client/midori/Manifest | 1 +
14 www-client/midori/midori-9.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/www-client/midori/Manifest b/www-client/midori/Manifest
18 index 0f2f13542e9..a72fbadeaae 100644
19 --- a/www-client/midori/Manifest
20 +++ b/www-client/midori/Manifest
21 @@ -1 +1,2 @@
22 DIST midori-v7.0.tar.gz 1827341 BLAKE2B e008be32851a3ee12744b7b4e686545a2f9cd84fc6f05a647744c512ea5286fdc1db3b1ec40f546208ffbca4ca8a179752f27b85d9060765a7612ac7c260c67f SHA512 4110d1566ba8b0979c29f1c3a95af3da4cba884f44a1305403d8951f7f2dfb17946c3c7326eebafc111738950c907d06cc6c54ce670cde321da890d8b9ced051
23 +DIST midori-v9.0.tar.gz 1902467 BLAKE2B 0a6b46bddd0286c56d3f30b429dc46f90177931f8c596912183ed990124b831b5407807e2693e3b5e0d02074386b46e98823b33f6e785963b9507742bac58763 SHA512 0cc28643593f53c47b453838152dcbe35a9a287bff38bda830844eb8f321a4f48c99b21e16a9b07bebdd0abc936d88fd759c3222a36325aa667a28ae00148be3
24
25 diff --git a/www-client/midori/midori-9.0.ebuild b/www-client/midori/midori-9.0.ebuild
26 new file mode 100644
27 index 00000000000..436f97ec9ee
28 --- /dev/null
29 +++ b/www-client/midori/midori-9.0.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +VALA_MIN_API_VERSION=0.36
37 +
38 +inherit cmake-utils vala xdg-utils
39 +
40 +MY_P=${PN}-v${PV}
41 +DESCRIPTION="A lightweight web browser based on WebKitGTK+"
42 +HOMEPAGE="https://www.midori-browser.org/"
43 +SRC_URI="https://github.com/midori-browser/core/releases/download/v${PV}/${MY_P}.tar.gz"
44 +
45 +LICENSE="LGPL-2.1+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~mips ~x86"
48 +IUSE=""
49 +
50 +RDEPEND="
51 + app-arch/libarchive:=
52 + >=app-crypt/gcr-3:=[gtk,vala]
53 + >=dev-db/sqlite-3.6.19:3
54 + >=dev-libs/glib-2.46.2:2
55 + >=dev-libs/json-glib-0.12
56 + dev-libs/libpeas[gtk]
57 + dev-libs/libxml2
58 + >=net-libs/libsoup-2.38:2.4[vala]
59 + >=net-libs/webkit-gtk-2.16.6:4[introspection]
60 + >=x11-libs/libnotify-0.7
61 + >=x11-libs/gtk+-3.12.0:3
62 +"
63 +DEPEND="${RDEPEND}
64 + $(vala_depend)
65 + dev-util/intltool
66 + sys-devel/gettext
67 +"
68 +
69 +S=${WORKDIR}/${MY_P}
70 +
71 +src_prepare() {
72 + cmake-utils_src_prepare
73 + vala_src_prepare
74 + sed -i -e '/^install/s:COPYING::' CMakeLists.txt || die
75 +}
76 +
77 +src_configure() {
78 + local mycmakeargs=(
79 + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
80 + -DVALA_EXECUTABLE="${VALAC}"
81 + )
82 +
83 + cmake-utils_src_configure
84 +}
85 +
86 +pkg_postinst() {
87 + xdg_icon_cache_update
88 + xdg_desktop_database_update
89 +}
90 +
91 +pkg_postrm() {
92 + xdg_icon_cache_update
93 + xdg_desktop_database_update
94 +}