Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/epiphany/
Date: Sat, 26 Mar 2022 02:29:44
Message-Id: 1648261769.c925fa75011b89157ae8afc9d9791e1fe77be56d.mattst88@gentoo
1 commit: c925fa75011b89157ae8afc9d9791e1fe77be56d
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 02:29:17 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 02:29:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c925fa75
7
8 www-client/epiphany: Version bump to 42.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 www-client/epiphany/Manifest | 1 +
13 www-client/epiphany/epiphany-42.0.ebuild | 86 ++++++++++++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/www-client/epiphany/Manifest b/www-client/epiphany/Manifest
17 index e5c08a1b3204..9e83b33f8977 100644
18 --- a/www-client/epiphany/Manifest
19 +++ b/www-client/epiphany/Manifest
20 @@ -1 +1,2 @@
21 DIST epiphany-41.3.tar.xz 6153540 BLAKE2B bd95f643be4947818ebfafb1316a03c7c6cf118a45583f07e9fde60e32dabd63edf173673b86e454d9af066769950276cf77ea50fac8dd204fcae06c6ad04126 SHA512 1effef22291687c8ff2252eced24274db3b1f4afacfc3053a33cae85112759918f80d824bb02b7e17d95364eec0062cb3459a6079783d9c900874cc150ea98ba
22 +DIST epiphany-42.0.tar.xz 6101296 BLAKE2B 768c2547d5e3644a43287522c7445fe23fe5a7af4e22dd0ff8959cd6c5e0537e593f1f6b81b10c603d8355bc1af6df36b60bdab70de1b60e7e40df758c956651 SHA512 225243cbae1659367e881991c191a766b47e0710a3e58c0eb56fba67ab8e527922a84e4663207a80d14da9c99102ea16c030f12f7444e6e2678b5c8cf7dc99e0
23
24 diff --git a/www-client/epiphany/epiphany-42.0.ebuild b/www-client/epiphany/epiphany-42.0.ebuild
25 new file mode 100644
26 index 000000000000..cdecea5a8e9f
27 --- /dev/null
28 +++ b/www-client/epiphany/epiphany-42.0.ebuild
29 @@ -0,0 +1,86 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit gnome.org gnome2-utils meson xdg virtualx
36 +
37 +DESCRIPTION="GNOME webbrowser based on Webkit"
38 +HOMEPAGE="https://wiki.gnome.org/Apps/Web"
39 +
40 +LICENSE="GPL-3+"
41 +SLOT="0"
42 +IUSE="test"
43 +RESTRICT="!test? ( test )"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
45 +
46 +DEPEND="
47 + >=dev-libs/glib-2.67.4:2
48 + >=x11-libs/gtk+-3.24.0:3
49 + >=dev-libs/nettle-3.4:=
50 + >=net-libs/webkit-gtk-2.33.2:4=
51 + >=x11-libs/cairo-1.2
52 + >=app-crypt/gcr-3.5.5:=[gtk]
53 + >=x11-libs/gdk-pixbuf-2.36.5:2
54 + gnome-base/gsettings-desktop-schemas
55 + >=app-text/iso-codes-0.35
56 + >=dev-libs/json-glib-1.6
57 + app-arch/libarchive:=
58 + >=dev-libs/libdazzle-3.37.1
59 + >=gui-libs/libhandy-1.5.0:1=
60 + >=app-crypt/libsecret-0.19
61 + >=net-libs/libsoup-2.48.0:2.4
62 + >=dev-libs/libxml2-2.6.12:2
63 + >=dev-db/sqlite-3.22:3
64 + dev-libs/gmp:0=
65 +"
66 +RDEPEND="${DEPEND}
67 + x11-themes/adwaita-icon-theme
68 +"
69 +# appstream-glib needed for appdata.xml gettext translation
70 +BDEPEND="
71 + dev-libs/appstream-glib
72 + dev-util/gdbus-codegen
73 + dev-util/glib-utils
74 + dev-util/itstool
75 + >=sys-devel/gettext-0.19.8
76 + virtual/pkgconfig
77 +"
78 +
79 +PATCHES=(
80 + # Allow /var/tmp prefixed recursive delete (due to package manager setting TMPDIR)
81 + "${FILESDIR}"/var-tmp-tests.patch
82 +)
83 +
84 +src_configure() {
85 + local emesonargs=(
86 + -Ddeveloper_mode=false
87 + -Dlibportal=disabled
88 + # maybe enable later if network-sandbox is off, but in 3.32.4 the network test
89 + # is commented out upstream anyway
90 + -Dnetwork_tests=disabled
91 + -Dtech_preview=false
92 + $(meson_feature test unit_tests)
93 + -Dsoup2=enabled
94 + )
95 + meson_src_configure
96 +}
97 +
98 +src_test() {
99 + virtx meson_src_test
100 +}
101 +
102 +pkg_postinst() {
103 + xdg_pkg_postinst
104 + gnome2_schemas_update
105 +
106 + if ! has_version net-libs/webkit-gtk[jpeg2k]; then
107 + ewarn "Your net-libs/webkit-gtk is built without USE=jpeg2k."
108 + ewarn "Various image galleries/managers may be broken."
109 + fi
110 +}
111 +
112 +pkg_postrm() {
113 + xdg_pkg_postrm
114 + gnome2_schemas_update
115 +}