diff options
author | Marek Szuba <marecki@gentoo.org> | 2024-04-18 23:36:33 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2024-04-18 23:38:49 +0100 |
commit | 602de0514c8410336ec63f4f0e82e8c451b07086 (patch) | |
tree | e8dc1bb2fb8979020ebc3b22efc0bcd9dd352d65 /mail-mta | |
parent | app-misc/yq: add 3.4.1 (diff) | |
download | gentoo-602de0514c8410336ec63f4f0e82e8c451b07086.tar.gz gentoo-602de0514c8410336ec63f4f0e82e8c451b07086.tar.bz2 gentoo-602de0514c8410336ec63f4f0e82e8c451b07086.zip |
mail-mta/proton-mail-bridge: install icon and desktop file for the GUI
Co-Authored-By: Robert Greener <dev@greener.sh>
Closes: https://bugs.gentoo.org/929909
Closes: https://github.com/gentoo/gentoo/pull/36315
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0-r1.ebuild (renamed from mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0.ebuild) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0.ebuild b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0-r1.ebuild index 9df510d07186..8dbc9cbd2c92 100644 --- a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0.ebuild +++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.10.0-r1.ebuild @@ -3,12 +3,12 @@ EAPI=8 -inherit cmake go-module systemd xdg-utils +inherit cmake desktop go-module systemd xdg-utils MY_PN="${PN/-mail/}" MY_P="${MY_PN}-${PV}" -DESCRIPTION="Serves ProtonMail to IMAP/SMTP clients" +DESCRIPTION="Serves Proton Mail to IMAP/SMTP clients" HOMEPAGE="https://proton.me/mail/bridge https://github.com/ProtonMail/proton-bridge/" SRC_URI="https://github.com/ProtonMail/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${P}-deps.tar.xz" @@ -91,6 +91,8 @@ src_install() { CMAKE_USE_DIR="${S}"/internal/frontend/bridge-gui/bridge-gui \ cmake_src_install mv "${ED}"/usr/bin/bridge-gui "${ED}"/usr/bin/${PN}-gui || die + newicon "${S}"/dist/bridge.svg ${PN}.svg + make_desktop_entry ${PN}-gui "Proton Mail Bridge" ${PN}.svg "Email;Network" fi systemd_newuserunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service |