From 8b289ac990ecd3d08400d88f5d804e92249f5909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Wed, 21 Oct 2020 06:33:55 +0200 Subject: [PATCH] www-client/ungoogled-chromium-bin: fix keyring dep; fix desktop file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Maciej Barć --- .../ungoogled-chromium-bin-85.0.4183.102.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www-client/ungoogled-chromium-bin/ungoogled-chromium-bin-85.0.4183.102.ebuild b/www-client/ungoogled-chromium-bin/ungoogled-chromium-bin-85.0.4183.102.ebuild index 0fb9ebb..27e59e5 100644 --- a/www-client/ungoogled-chromium-bin/ungoogled-chromium-bin-85.0.4183.102.ebuild +++ b/www-client/ungoogled-chromium-bin/ungoogled-chromium-bin-85.0.4183.102.ebuild @@ -78,6 +78,9 @@ RDEPEND=" x11-libs/libxshmfence x11-libs/pango x11-libs/pixman + gnome-keyring? ( + gnome-base/gnome-keyring + ) " QA_PREBUILT="*" @@ -99,24 +102,21 @@ src_install() { insinto "${UNGCH_HOME}" doins -r * + newicon -s 48 product_logo_48.png "${PN}.png" + exeinto "${UNGCH_HOME}" doexe chrome dosym "${UNGCH_HOME}/chrome" "${UNGCH_HOME}/${UNGCH_PN}" dosym "${UNGCH_HOME}/${UNGCH_PN}" "/usr/bin/${PN}" - make_desktop_entry "${PN}" "${UNGCH_PN^} (binary)" "chromium" "Network;WebBrowser;" + make_desktop_entry "/opt/ungoogled-chromium-bin/chrome %u" \ + "${UNGCH_PN^} (binary)" "${PN}" "Network;WebBrowser;" } pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update + xdg_pkg_postinst elog "Some versions have cleaning cookies on browser exit enabled by default." elog "This can be toggled in the browser settings." } - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -}