mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
app-admin/rbw: add 1.13.2
arboard uses a rust implementation of clipboard protocol, so it no longer (optionally) depends on dev-libs/wayland. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
e3f40db1f8
commit
4013896c18
@ -187,6 +187,8 @@ DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808
|
|||||||
DIST rbw-1.11.1.tar.gz 109620 BLAKE2B 23c16ac5b375d1dad8a63d3920e31678aa5c3d8019cf6cd281167c01a183406ec8b1c6a8ebdc5051b17fa050b445c95561c03698390ce43a66d5fcca5edf995f SHA512 5cc24365c7f0f5d2d7a345b96b3a43799badee24773fd28d05b195c5468f0e2e9dee6e554644333ddd84d3d1eb951dcf03ed73f9437f08ea9d9bca844345db46
|
DIST rbw-1.11.1.tar.gz 109620 BLAKE2B 23c16ac5b375d1dad8a63d3920e31678aa5c3d8019cf6cd281167c01a183406ec8b1c6a8ebdc5051b17fa050b445c95561c03698390ce43a66d5fcca5edf995f SHA512 5cc24365c7f0f5d2d7a345b96b3a43799badee24773fd28d05b195c5468f0e2e9dee6e554644333ddd84d3d1eb951dcf03ed73f9437f08ea9d9bca844345db46
|
||||||
DIST rbw-1.12.0.tar.gz 110314 BLAKE2B b5de269459b021ca90dbe8117519ba209613a6da9f0390c076c755d5756103fc4b253856aa03e98cbea08ca158fa47811cf5a519bf1aee5333558c1ef18964bb SHA512 031f0b74b9743e4df2a49c188042d404da6b283915c77ebb85519308e0c3d2830bcbfe346a12fd2caa4ff1d5d1dc91f53e4339e724461b6afc43bb6750d493e7
|
DIST rbw-1.12.0.tar.gz 110314 BLAKE2B b5de269459b021ca90dbe8117519ba209613a6da9f0390c076c755d5756103fc4b253856aa03e98cbea08ca158fa47811cf5a519bf1aee5333558c1ef18964bb SHA512 031f0b74b9743e4df2a49c188042d404da6b283915c77ebb85519308e0c3d2830bcbfe346a12fd2caa4ff1d5d1dc91f53e4339e724461b6afc43bb6750d493e7
|
||||||
DIST rbw-1.12.1.tar.gz 110322 BLAKE2B 0a138cbfc57cea71f5c17a2b5e1c774e7f0f8d8b124f50a6209436f4024992bb0def6d16903a3cc8272004d456e077dbddf087f84be8e94fda4d36e148508022 SHA512 b1d0994d942c0a09b4ceec1d7e48ce0f48fee776c495d2ee05b9824ae5fa36e45708d2deff45c29289da0cf3d153be056169712be1a724600558b875cd1aa0e4
|
DIST rbw-1.12.1.tar.gz 110322 BLAKE2B 0a138cbfc57cea71f5c17a2b5e1c774e7f0f8d8b124f50a6209436f4024992bb0def6d16903a3cc8272004d456e077dbddf087f84be8e94fda4d36e148508022 SHA512 b1d0994d942c0a09b4ceec1d7e48ce0f48fee776c495d2ee05b9824ae5fa36e45708d2deff45c29289da0cf3d153be056169712be1a724600558b875cd1aa0e4
|
||||||
|
DIST rbw-1.13.2-crates.tar.xz 21883868 BLAKE2B 5f2fa098bbc6208874740c4415297d5c347f7507bbead4059db57cff3871ed21f206e55a41353f5bd0c88c24d00478876d04c2de90b773fbbd78d7c6acab0c21 SHA512 1fb0d2147b5b76d3a5144e387050fa83a3003462d7ba4aff8326cbae783ceda41543d358e5476924a1093883010e7d03bbc7558e21cefdcf92088e4bfdc89274
|
||||||
|
DIST rbw-1.13.2.tar.gz 114013 BLAKE2B 7d5abc46807ff7255dec555fdc66e02b679703f705f1857a4ba6323cca0db4e005fb26b88cffd17002b41dcf5dfabf742e38295d45f88272f9f75642976119ad SHA512 15ade846222db380907f52d2b7494c24a3e397a91e7ffdff60a17f874f90734ca282265c247d6229fec0936a25b63dfe8add072fb29f5c045d7c7dfd44f865dc
|
||||||
DIST redox_syscall-0.5.2.crate 23957 BLAKE2B 6261df25a59af5119a21d31fc3b6a8800bb1783cf2fd63a5524d48d0b187f5f2e65ebbdec00d9282adf110ba8f307d4ceb154bf029a0c6a26e8a887fc722b2d7 SHA512 b7e39a08e220153370449cec7b058c2dbc4916ff7be01b34658e1793035323ecc28f40712194cb9bfc9b863e4bb316e58662721eb0e54f68f09438bd880ea032
|
DIST redox_syscall-0.5.2.crate 23957 BLAKE2B 6261df25a59af5119a21d31fc3b6a8800bb1783cf2fd63a5524d48d0b187f5f2e65ebbdec00d9282adf110ba8f307d4ceb154bf029a0c6a26e8a887fc722b2d7 SHA512 b7e39a08e220153370449cec7b058c2dbc4916ff7be01b34658e1793035323ecc28f40712194cb9bfc9b863e4bb316e58662721eb0e54f68f09438bd880ea032
|
||||||
DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
|
DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
|
||||||
DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4
|
DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>pastalian46@gmail.com</email>
|
||||||
|
<name>Takuya Wakazono</name>
|
||||||
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<bugs-to>https://github.com/doy/rbw/issues</bugs-to>
|
<bugs-to>https://github.com/doy/rbw/issues</bugs-to>
|
||||||
<changelog>https://git.tozt.net/rbw/plain/CHANGELOG.md</changelog>
|
<changelog>https://git.tozt.net/rbw/plain/CHANGELOG.md</changelog>
|
||||||
|
65
app-admin/rbw/rbw-1.13.2.ebuild
Normal file
65
app-admin/rbw/rbw-1.13.2.ebuild
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 2021-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
RUST_MIN_VER="1.75.0"
|
||||||
|
|
||||||
|
inherit cargo shell-completion
|
||||||
|
|
||||||
|
DESCRIPTION="Unofficial Bitwarden CLI"
|
||||||
|
HOMEPAGE="https://git.tozt.net/rbw"
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.tozt.net/rbw"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://git.tozt.net/rbw/snapshot/${P}.tar.gz
|
||||||
|
https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
# Dependent crate licenses
|
||||||
|
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-3.0"
|
||||||
|
# Manually added crate licenses
|
||||||
|
LICENSE+=" openssl"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="app-crypt/pinentry"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="
|
||||||
|
usr/bin/rbw
|
||||||
|
usr/bin/rbw-agent
|
||||||
|
"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
cargo_live_src_unpack
|
||||||
|
else
|
||||||
|
cargo_src_unpack
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# cc-rs picks up CFLAGS from the env
|
||||||
|
export CFLAGS
|
||||||
|
cargo_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cargo_src_install
|
||||||
|
|
||||||
|
local comp DOCS="CHANGELOG.md README.md"
|
||||||
|
for comp in bash fish zsh; do
|
||||||
|
"$(cargo_target_dir)"/rbw gen-completions ${comp} > rbw.${comp} || \
|
||||||
|
die "Failed to generate completions for ${comp}."
|
||||||
|
done
|
||||||
|
newbashcomp rbw.bash rbw
|
||||||
|
dofishcomp rbw.fish
|
||||||
|
newzshcomp rbw.zsh _rbw
|
||||||
|
einstalldocs
|
||||||
|
}
|
@ -1,11 +1,11 @@
|
|||||||
# Copyright 2021-2024 Gentoo Authors
|
# Copyright 2021-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
RUST_MIN_VER="1.75.0"
|
RUST_MIN_VER="1.75.0"
|
||||||
|
|
||||||
inherit cargo optfeature shell-completion
|
inherit cargo shell-completion
|
||||||
|
|
||||||
DESCRIPTION="Unofficial Bitwarden CLI"
|
DESCRIPTION="Unofficial Bitwarden CLI"
|
||||||
HOMEPAGE="https://git.tozt.net/rbw"
|
HOMEPAGE="https://git.tozt.net/rbw"
|
||||||
@ -14,14 +14,16 @@ if [[ ${PV} = *9999* ]]; then
|
|||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://git.tozt.net/rbw"
|
EGIT_REPO_URI="https://git.tozt.net/rbw"
|
||||||
else
|
else
|
||||||
SRC_URI="https://git.tozt.net/rbw/snapshot/${P}.tar.gz
|
SRC_URI="
|
||||||
${CARGO_CRATE_URIS}"
|
https://git.tozt.net/rbw/snapshot/${P}.tar.gz
|
||||||
|
https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
|
||||||
|
"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
# Dependent crate licenses
|
# Dependent crate licenses
|
||||||
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-DFS-2016"
|
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-3.0"
|
||||||
# Manually added crate licenses
|
# Manually added crate licenses
|
||||||
LICENSE+=" openssl"
|
LICENSE+=" openssl"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -61,15 +63,3 @@ src_install() {
|
|||||||
newzshcomp rbw.zsh _rbw
|
newzshcomp rbw.zsh _rbw
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ "${REPLACING_VERSIONS%-r*}" = '1.11.1' ]]; then
|
|
||||||
elog "If you were affected by issue #163 (getting messages like failed to"
|
|
||||||
elog "decrypt encrypted secret: invalid mac when doing any operations on your"
|
|
||||||
elog "vault), you will need to rbw sync after upgrading in order to update"
|
|
||||||
elog "your local vault with the necessary new data."
|
|
||||||
fi
|
|
||||||
# copypasta crate provides wayland clipboard support via dlopen calls against
|
|
||||||
# libwayland-client.so
|
|
||||||
optfeature "Wayland clipboard support" dev-libs/wayland
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user