net-misc/proton-drive-cli-bin: new package, add 0.9.0

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-12-05 06:35:15 +11:00
1 parent e057f9b319
commit 6922409b8d
4 files changed
+85

No files matched your search

+7
View File
@@ -2611,6 +2611,13 @@ use_max_tag = true
prefix = "release/"
github_account = "gouwazi"
["net-misc/proton-drive-cli-bin"]
source = "jq"
url = "https://proton.me/download/drive/cli/version.json"
filter = '[.Releases[] | select(.CategoryName == "Stable")][0].Version'
github_account = "zakkaus"
autobump = true
["net-misc/rayburst-bin"]
source = "github"
github = "AnInsomniacy/rayburst"
+4
View File
@@ -0,0 +1,4 @@
DIST proton-drive-cli-bin-0.9.0-amd64 96683488 BLAKE2B a1612c242109b47b32633ba96648fa129f5df0f010dfbdee5f7d7319f80919a111a02927886e279ff7cddb9d77b091f09525d04f164555b0935be2a1389cf1d4 SHA512 3533025ba69ae112b64e3e01fbcc1ad0688136a4043f6cf6a72886967d85fdcd9ec235479c2e113171614be5225bfba93427509a05ca5aa6071d924fa7e91ca8
DIST proton-drive-cli-bin-0.9.0-amd64-musl 90654256 BLAKE2B 1fb008ba33e15fe1f38e548111061ce52f3d9abda86a00715807b42f907673c982a896eac0d2e7f5a064fab5246970201c9a95d6d42aa069a78d582ef3dec440 SHA512 8f99c3bc478ebc2948ca69c8576a48d83b3290d807ca61fac9b0f5d0a91c0d418e595232d67e2ae0173d2188963771afd4292aefafab3f64e808a61c4399d6ed
DIST proton-drive-cli-bin-0.9.0-arm64 96651560 BLAKE2B 129d8f89c56456f79f28c25b33681d0a1e9898086810a8e9ebc669df67d876684b4bcdafadc5dbb1f0d21864c8cfffd25967351409ed0622c4812a4072657150 SHA512 c8d5a6b174e57f06d05cb5483400b9963faf58e743b6b33706bb73ecff718047ffce6b439994255b94b5b226b90d2e91bef7418ec96c1c3f5d8bf39b6cd01321
DIST proton-drive-cli-bin-0.9.0-arm64-musl 89787600 BLAKE2B 8668b106e4a16c4d1e054e4a5d1aa6092c19f76c19c6bba27c4560ac44a45e38f682de69065d8874465e3cb248c45dfdc31a3d23c233608bceb15dc67489952c SHA512 4b632e5e694f6d0825aaa57f39f99494aa6a46eac45e90d65daa10b2e46316046b627d3c1145cb9c7d58951735cc6e81c28cca44dda648b411315a28d04b2acf
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zakk@gentoozh.org</email>
<name>Zakk</name>
</maintainer>
<upstream>
<remote-id type="github">ProtonDriveApps/sdk</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,63 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature
DESCRIPTION="Command-line client for Proton Drive"
HOMEPAGE="
https://proton.me/drive
https://github.com/ProtonDriveApps/sdk/tree/main/cli
"
SRC_URI="
amd64? (
elibc_glibc? (
https://proton.me/download/drive/cli/${PV}/linux-x64/proton-drive
-> ${P}-amd64
)
elibc_musl? (
https://proton.me/download/drive/cli/${PV}/linux-x64-musl/proton-drive
-> ${P}-amd64-musl
)
)
arm64? (
elibc_glibc? (
https://proton.me/download/drive/cli/${PV}/linux-arm64/proton-drive
-> ${P}-arm64
)
elibc_musl? (
https://proton.me/download/drive/cli/${PV}/linux-arm64-musl/proton-drive
-> ${P}-arm64-musl
)
)
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2"
REQUIRED_USE="amd64? ( cpu_flags_x86_avx cpu_flags_x86_avx2 )"
RESTRICT="strip"
RDEPEND="
app-crypt/libsecret
elibc_glibc? ( >=sys-libs/glibc-2.17 )
"
QA_PREBUILT="usr/bin/proton-drive"
src_unpack() {
cp "${DISTDIR}/${A}" proton-drive || die
chmod +x proton-drive || die
}
src_install() {
dobin proton-drive
}
pkg_postinst() {
optfeature "opening the sign-in page in a browser" x11-misc/xdg-utils
optfeature "storing the session in pass (PROTON_DRIVE_CREDENTIALS_STORE=pass)" app-admin/pass
}