diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-02 01:11:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-02 01:11:51 +0100 |
commit | b0bab803d2f1c96af5760374e2684f9a85591916 (patch) | |
tree | b1657ea0e7ff32ab77431e9509b2b9eac3c16711 /www-client/epiphany/epiphany-42.4-r1.ebuild | |
parent | 0a772e9952c6683769ac22be1b2304fcd86f02cb (diff) |
gentoo auto-resync : 02:10:2022 - 01:11:51
Diffstat (limited to 'www-client/epiphany/epiphany-42.4-r1.ebuild')
-rw-r--r-- | www-client/epiphany/epiphany-42.4-r1.ebuild | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/www-client/epiphany/epiphany-42.4-r1.ebuild b/www-client/epiphany/epiphany-42.4-r1.ebuild new file mode 100644 index 000000000000..311a5be8c69d --- /dev/null +++ b/www-client/epiphany/epiphany-42.4-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson xdg virtualx + +DESCRIPTION="GNOME webbrowser based on Webkit" +HOMEPAGE="https://wiki.gnome.org/Apps/Web https://gitlab.gnome.org/GNOME/epiphany" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" + +DEPEND=" + >=dev-libs/glib-2.67.4:2 + >=x11-libs/gtk+-3.24.0:3 + >=dev-libs/nettle-3.4:= + >=net-libs/webkit-gtk-2.33.2:4= + >=x11-libs/cairo-1.2 + >=app-crypt/gcr-3.5.5:0=[gtk] + >=x11-libs/gdk-pixbuf-2.36.5:2 + gnome-base/gsettings-desktop-schemas + >=app-text/iso-codes-0.35 + >=dev-libs/json-glib-1.6 + app-arch/libarchive:= + >=dev-libs/libdazzle-3.37.1 + >=gui-libs/libhandy-1.5.0:1= + >=app-crypt/libsecret-0.19 + >=net-libs/libsoup-2.48.0:2.4 + >=dev-libs/libxml2-2.6.12:2 + >=dev-db/sqlite-3.22:3 + dev-libs/gmp:0= +" +RDEPEND="${DEPEND} + x11-themes/adwaita-icon-theme +" +# appstream-glib needed for appdata.xml gettext translation +BDEPEND=" + dev-libs/appstream-glib + dev-util/gdbus-codegen + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + # Allow /var/tmp prefixed recursive delete (due to package manager setting TMPDIR) + "${FILESDIR}"/var-tmp-tests.patch +) + +src_configure() { + local emesonargs=( + -Ddeveloper_mode=false + -Dlibportal=disabled + # maybe enable later if network-sandbox is off, but in 3.32.4 the network test + # is commented out upstream anyway + -Dnetwork_tests=disabled + -Dtech_preview=false + $(meson_feature test unit_tests) + -Dsoup2=enabled + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + if ! has_version net-libs/webkit-gtk:4[jpeg2k]; then + ewarn "Your net-libs/webkit-gtk is built without USE=jpeg2k." + ewarn "Various image galleries/managers may be broken." + fi +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |