mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
mail-client/proton-mail-bin: add 1.8.0
Except actually change to correct upstream now. Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ProtonMail-desktop-beta.rpm 82127981 BLAKE2B 847854e8030b8f35703b81397194ef8f62b71511062e10c651a804033f1e8996924b0b177268231af763b5382597b879cec6971b1ef67abfc30e632e6f04a275 SHA512 dc869195ccdc23aec3420e042a926151da3dd3c57e3b357665335d3c8c30f14617b69c0020ea040111d04c77e59b2cd4961256882955de44403c4e06a2b0b894
|
||||
DIST proton-mail-1.0.6-1.x86_64.rpm 83048897 BLAKE2B a75c8d5067e19fcaa2d05775bfd1328522a3c9248e3896c98999458924206027d838c984912bcf2fc51beb110268ad99501568347b509c8b0265de2be3956c73 SHA512 ac294dabfd3150c26acf46d9988942778076191d4b1b100798de06d6fbaececa87083d72c6e717259969250a711ef7559e20cb6d862b890244cc34d917b86e6e
|
||||
|
||||
64
mail-client/proton-mail-bin/proton-mail-bin-1.8.0.ebuild
Normal file
64
mail-client/proton-mail-bin/proton-mail-bin-1.8.0.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit rpm xdg-utils
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
|
||||
DESCRIPTION="Beta Client for Proton Mail"
|
||||
HOMEPAGE="https://proton.me/mail"
|
||||
SRC_URI="https://proton.me/download/mail/linux/${PV}/ProtonMail-desktop-beta.rpm"
|
||||
S="${WORKDIR}"
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/296127#discussion_r1528184212
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="opt/proton-mail/*"
|
||||
|
||||
src_install() {
|
||||
into /opt
|
||||
cp -r "${S}"/usr/lib/* "${D}"/opt/proton-mail || die "Failed to copy files to destination directory"
|
||||
|
||||
dosym "../../opt/proton-mail/Proton Mail Beta" "/usr/bin/proton-mail"
|
||||
|
||||
insinto /usr/share
|
||||
doins -r "${S}/usr/share/pixmaps"
|
||||
doins -r "${S}/usr/share/applications"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user