Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-08-26 08:18:54 +00:00
32 changed files with 599 additions and 184 deletions

View File

@@ -1,2 +1,4 @@
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 rbw-1.14.0-crates.tar.xz 20219004 BLAKE2B d4d035ce862ce0f99ba247783acccb74b88b45b67d13439a98bfd5471acdab432262940afcb11ad3a512d8fd3197b1811e50ea462eb7d0efe61e35d09294df40 SHA512 c16627fc7598a65a3dd3b0a415664f4146fee1ea069fddd639e307da3f42ba0719a2328e4bfbb2a1648758271abe7c200b65bfc62ac8a4af82d8fd90e6ec501c
DIST rbw-1.14.0.tar.gz 124487 BLAKE2B 02e354cc792049a94856b9e622b143435e0ea77ebabc9c5d6b3958cf80ea2caef615a0f12174faf68c665d11c0ff9a838a5767136ab96fdd031cd4ef6107a354 SHA512 3f077e4f0c860eb41d08af6ba9396df2b79e3dec255ffc52946e2a83eefb7838fd19281b0bd38d3db7384ecd355a92bd58078b83525e4b782c5e0edddd5653bf

View File

@@ -0,0 +1,67 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.82.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://github.com/doy/rbw.git"
else
SRC_URI="
https://github.com/doy/rbw/archive/refs/tags/${PV}.tar.gz -> ${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 MPL-2.0 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
}

View File

@@ -2,3 +2,5 @@ DIST lf-33-vendor.tar.xz 1204232 BLAKE2B 61fc1e5c8dcbd8bcd8ae9c7d6ba850c22705abb
DIST lf-33.tar.gz 146044 BLAKE2B e6a201499d9a61a8416505bb4f091ecb71b245b3d085391174ef4bb128edff88a25eff322cf0b67c24fcaa37f5dd5f180e78bbde09b6019886eb4961e9c1c2ce SHA512 7cf0a0e9305c211f30e4e942a16b0e09b66bf25181765931c5d453fffbb0c8570f3491b13551d4abf9fed3376d60180fe94f4b8c9c4b2ff861d610be36ebeb37
DIST lf-36-vendor.tar.xz 1994660 BLAKE2B 90b99edcd0c49acd1d28c7952b4222ecf0859c4f7a8146be89c9a8fca0b436959495c1439c805017683c4faa940f996136285421dfa78832afaa852f6df90517 SHA512 29059f181824098be20a8b60e8df272ae783313e38a82d8bb41d869446a30260085dc1471bcdc53b8af683c3f1cad0dac532344f929f504ab0ddfd3c3400d659
DIST lf-36.tar.gz 175288 BLAKE2B 266c26f64561c2baa531b4efc8ca6945b1e1d3d508c7cafbc011f09df70956a27cd1aaede2b55c5440b952a09e2aa5ab7557c9aee5b4924d0177d1540ab06fa3 SHA512 a5af2ffb2c4489142b47701058d7a962dc7657afbf29fa726b6b956d445ddd6fd4f408e5192647ebf9ed63375cba75befb89381f0cc411273c0974d38585fb6f
DIST lf-37-vendor.tar.xz 1997432 BLAKE2B 9f0294400ae3c787812195762fef11da8ee6621c4e00fa2becbfb5953810e671040b4daa9571312a9f20644f8374995a15e9dca0ab5b15c4497c22fd27520d32 SHA512 12c565a47ddc2eb08536e04428de599c3406236f8e682998097706255d88ce6da39940fd1d4279d84b5dcb82cbe7e38b5d53c938f15cfbe3c752eb92b18cb6c6
DIST lf-37.tar.gz 180281 BLAKE2B 3a714dbd5fa391f57d8e802ac023b77230203ea8cc7922b4f747adcd921ea8aa0289cb5f0625c3a3b6334b08abd220797dabd5239d10979120cfb7d4f9bab99c SHA512 a965f59e7684950005ad4af5ae1d8851cf55d487fa129483816ff050fedfd07306fd32c46876271d45d190a12c6b2c793dcce14963754a6bbff7f93c0011a4c7

55
app-misc/lf/lf-37.ebuild Normal file
View File

@@ -0,0 +1,55 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion desktop xdg
DESCRIPTION="Terminal file manager"
HOMEPAGE="https://github.com/gokcehan/lf"
SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-vendor.tar.xz"
S="${WORKDIR}/${PN}-r${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+static"
src_compile() {
local ldflags="-w -X main.gVersion=r${PV}"
use static && {
export CGO_ENABLED=0
ldflags+=' -extldflags "-static"'
}
ego build -ldflags="${ldflags}"
}
src_install() {
local DOCS=( README.md etc/lfrc.example )
dobin "${PN}"
einstalldocs
doman "${PN}.1"
# bash & zsh cd script
insinto "/usr/share/${PN}"
doins "etc/${PN}cd.sh"
# bash-completion
newbashcomp "etc/${PN}.bash" "${PN}"
bashcomp_alias lf lfcd
# zsh-completion
newzshcomp "etc/${PN}.zsh" "_${PN}"
# fish-completion
dofishcomp "etc/${PN}.fish"
dofishcomp "etc/${PN}cd.fish"
domenu "${PN}.desktop"
}

View File

@@ -1,2 +1 @@
DIST esp-coredump-1.11.0.tar.gz 39035 BLAKE2B 75758ff0d2ea6b8a4b5d66d54c7874efe3fb3017dfa593dc4277144156d53007510921714117c51a748c8921b0841559b1c068d6adf0954dc3b79cc571c731c0 SHA512 2ce3f48510ae922597b57c21ed84659f35a6a04ebe5c8387fb35a75371c31ec08f402d911cc45fbb8fe50ea5353b8116f3677cd1cad9232ca69bc33cb063ae26
DIST esp_coredump-1.13.1.tar.gz 36549 BLAKE2B 6177e99d1f48013f0048615d612186dfb6017482d0c814dcd18f0b8b3ea1bcffc5dcd85720f578fd75d3986c1ea670df3e2fef1c6637ec98e3ec2afc511635ab SHA512 68e948cd359bbc9e2bc1fd5485de4b59bddeee7cef6f3eca78543d70e8ac5de1e9b1b003cb19bc28b063eba1b9a4465fd7e7c95c8b99b3a4f09adc27da5f8073

View File

@@ -1,32 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Utility that helps users to retrieve and analyse core dumps"
HOMEPAGE="https://github.com/espressif/esp-coredump"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-embedded/esptool
dev-python/construct[${PYTHON_USEDEP}]
dev-python/pygdbmi[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_prepare() {
default
rm -r tests || die
}

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi

View File

@@ -1,2 +1 @@
DIST esp_idf_kconfig-2.4.1.tar.gz 137398 BLAKE2B dcfef04f4921f2ca09451fa2b41abf5b53304c60f7fc5268f9e762ae1374621b1cce227170aeec28639519e63ad3e9c46a064eab739ea3a2083198ec9e7d5a47 SHA512 e5b7e817b079d562d54af0b844330b9697f1415cd56b99cca1645ac4559c6e4bf8383a360c30e140b6143bb5aaa7df84d5a9e308a16772b94bd44eb89df3de51
DIST esp_idf_kconfig-2.5.0.tar.gz 139805 BLAKE2B 95ecaeb14c87d9c2d8c90186b2e0d5211a7dc645af110f6f5a19b348e8ae13bfc0c9b1c56be78084603a5c564d3d695548024207d8a2aa683538001ecd0f765e SHA512 60056124904caef31b90b77301431e54b7d490a7c73537ab8c936d261eba879022953c876769fc7c32b5d83c40dcf0cacc5b9f00a471704903d8df646114b8d6

View File

@@ -1,30 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Kconfig tooling for esp-idf"
HOMEPAGE="https://github.com/espressif/esp-idf-kconfig"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/kconfiglib[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_prepare() {
default
rm -r docs || die
}

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{{11..13},13t} )
PYTHON_COMPAT=( python3_{{11..14},13t} )
inherit distutils-r1 pypi

View File

@@ -1,2 +1 @@
DIST esp_idf_nvs_partition_gen-0.1.6.tar.gz 23041 BLAKE2B 5a5d2816f590ef4a5a39c7d7ca043d3f32fb23b9017e6f98641034178e4c7af316d6c36360c1a865b531e4a0d5de45919304353c131c5d662f454d79a470b7af SHA512 a4cf39a13a35b325b605e3401716cde7dacb360cd8c2f6f5a27544a9a0ea3d6e6e03c5d95ccee3bc0cfd5c999b55486893630da62a71d65df4ecf293a1a1376e
DIST esp_idf_nvs_partition_gen-0.1.9.tar.gz 24332 BLAKE2B 61592b26459e8e6822d1d724c1192fd6fd2741e5eda66fe5bd6e2a725242ee3c8b27346cc0488a591f9f2a7dccb2c28207cbaa5fd82d431a60afb3d9ee7e5f3f SHA512 91b06f5775f720684f75f03dfd7bf093b7013898d8cbe9b65f6d62c3a92398caafa590db997eb0fec7b30c1da3a7512c5d98ead19c6debaecaedc54e8302f634

View File

@@ -1,16 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Parses ESP-IDF panic handler output acts as a GDB server over stdin/stdout"
HOMEPAGE="https://github.com/espressif/esp-idf-nvs-partition-gen"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi

View File

@@ -1,3 +1 @@
DIST esp_idf_panic_decoder-1.2.1.tar.gz 19299 BLAKE2B 7a48b26bac42e55884f049f70e0dc282174d1965dc41c0e44053c2880358eedcdc6a0145c8a55e3fbb9a1341e713d1e1d15813fd8b6377542b1e1a7056008648 SHA512 c46bf16fd0f19d3c067e4488c64e50dcfc05db554a6e916a3732421066b075ae9fcbaeae64317d763c46e279d4582cb6af004af730b2bca6d1723e6ec6b5fa4c
DIST esp_idf_panic_decoder-1.3.0.tar.gz 19814 BLAKE2B 6ab67841097e6403435c53e10dd4f99a226ca95c5886835b6a0f39d48173646a26265e684794b0948be21df9c79215b0eae626d133bf14464834ca9a305db136 SHA512 d472327cc12d264f6d212766c60781230c475882f46b1e3e58c942045be8e14dba4d303a9f7b280cc7b4521418beb7a4a6f1cbca01300d818085ee8a1f3b55f4
DIST esp_idf_panic_decoder-1.4.1.tar.gz 21772 BLAKE2B 3a972cb735d5dd72edd2aedc98e7d75a3d4d5145f882c2ce0a1e912661609929a3ff7ed7e90d4fb9cce34ceb0a0e01847cce04a17d1a99209925d6bc441b07ef SHA512 88d05bd30cd420c1cc0b437861b2b907b68e5795e21f8d85f8d29aa2e754a7be0e308d38da4cbf67b5ddf5bd6311a352fd2004b0811698eaabc026f8a79b869d

View File

@@ -1,23 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Parses ESP-IDF panic handler output acts as a GDB server over stdin/stdout"
HOMEPAGE="https://github.com/espressif/esp-idf-panic-decoder"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/pyelftools[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -1,23 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Parses ESP-IDF panic handler output acts as a GDB server over stdin/stdout"
HOMEPAGE="https://github.com/espressif/esp-idf-panic-decoder"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/pyelftools[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi

View File

@@ -1,2 +1 @@
DIST esp-idf-size-1.6.1.tar.gz 71571 BLAKE2B 09b0ac1ee80503393dce1424581858dc5db12f65d68b92ce6f5cdab7583ea35c03a84a9f7066638b0a19287489e59d6150187614b4eb536b2983acb85c1a067e SHA512 ab3ed6eaca31543e1839dd33c7fbd9f1c9859be66b1c6dd66e8fc0b5b3410ce47ae151d149f0f916744a07e63441c55050ffd9a0f4dcee9004c83e835d885f9a
DIST esp_idf_size-1.7.1.tar.gz 73712 BLAKE2B da73be60605336ca35191db2f1f0860cfa96ca3f2acd412c8bc1c6244159c3f0eb8ed5e39a52cac0919c128e6bcdf8ccad6b36a2a28ca1f0b46f6769f35f4086 SHA512 1b0b7f5fd84c9de3901256453c068538261b88ffaa3259b8e0686e24ee50074987ce770d57566d4a380f1ffa5704fab900f228d519e783b308a537ebf7c4ffaf

View File

@@ -1,27 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Firmware size analysis for ESP-IDF"
HOMEPAGE="https://github.com/espressif/esp-idf-size"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/pyelftools[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi

View File

@@ -1,4 +1,5 @@
DIST esp-idf-5.3.3.zip 1286860664 BLAKE2B b1d6f866bfa8d97580c6421b9412723d5e9978dc7c0630e3450aa15c8d5d5bbfc8c69e9df7a2ad8349e50bbbe9f3641b61a844d78a021effc04f06fb98cb08a7 SHA512 be790154d8877886725a500d054dcdf3b36a2a4fb1b48f9a8bba8c55885890151b93a15a62e9ff721ca7a008bb23dbe803e52ae33fa1c34d6a90d39f9692e473
DIST esp-idf-5.3.4.zip 1599287093 BLAKE2B f39744048cc199f01b7ff606b573e547a5dc095526d8131f7fb0f1ef78b38f3df238c3e6be2a36ac69ba200cacb42435a99b194fcb88932f2d6a1c4f68a57374 SHA512 f36de5ef3dd33994d02f4f64134c7b1d072ccecefeeda4277bf94a4d34fc76b638edda65c7ad6199eb4b4641d38901c5d576dc4a43c3cb4da7721551bb4c16d7
DIST esp-idf-5.4.2.zip 1368863611 BLAKE2B 222a6fb0aef3ad4a15d06c56a188879549297816fe59473135af747aae73c0e87d1b191e4ffe1b54cdca1b4d588dc57f1a8c2f39f21bf1bbd154d84ddda690af SHA512 90b5b495015adc55be740e5cc462ad5020c0d2fd33378438f0b8032927d64f931fe537384c8f95168da5550c8989fa776524cb79903352391ab46c0d0b8606e6
DIST esp-idf-5.5.zip 1357029370 BLAKE2B c6b5816b53884a43782b148ff49121af83c3525c76ff4db19f7eae0177cf125284d1d5879348cf4e069403663a5f77b67ff5d5812c038cab74843ce2e8b42583 SHA512 389713f9aa1695b9a1d77ae5579d36a4472de5bd5d029081c20537f9b5281acc302aa36b311eab5eda5c278ad15959313c3b59e053359e9f7a340bb8b6323a1f
DIST openocd-esp32-linux-amd64-0.12.0-esp32-20241016.tar.gz 2398717 BLAKE2B 4550fb391e77c4eb09f88bc596f002de12a1c26e07af1d4e1a9efb25851facab39afc96a73d7c3f5c1bd8dc11963c6dc619d161741ee96cb2fb39c2b9bfbacd8 SHA512 bc72521e5c01090b1628d97a33adf336d32e4b451050abd056046672bb5d8bc0326db350d8c96390a11891d783d1223ff98ebef35e7299cc2f36dde9f0b466f8

View File

@@ -0,0 +1,163 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
VER="13.2.0_20240530"
GDB_VER="16.2_20250324"
OPENOCD_VER="0.12.0-esp32-20250422"
CROSSTOOL_URL="https://github.com/espressif/crosstool-NG/releases/download/esp-${VER}"
inherit estack python-r1
DESCRIPTION="Espressif IoT Development Framework"
HOMEPAGE="https://www.espressif.com/"
# See https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.3.txt for information about version dependencies
SRC_URI="https://dl.espressif.com/github_assets/espressif/${PN}/releases/download/v${PV}/${PN}-v${PV}.zip -> ${P}.zip
https://github.com/espressif/openocd-esp32/releases/download/v${OPENOCD_VER}/openocd-esp32-linux-amd64-${OPENOCD_VER}.tar.gz
https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v${GDB_VER}/xtensa-esp-elf-gdb-${GDB_VER}-x86_64-linux-gnu.tar.gz"
SRC_URI+=" ${CROSSTOOL_URL}/xtensa-esp-elf-${VER}-x86_64-linux-gnu.tar.xz"
SRC_URI+=" riscv32? (
${CROSSTOOL_URL}/riscv32-esp-elf-${VER}-x86_64-linux-gnu.tar.xz
https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v${GDB_VER}/riscv32-esp-elf-gdb-${GDB_VER}-x86_64-linux-gnu.tar.gz
)"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="Apache-2.0"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64"
IUSE="riscv32"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="app-arch/unzip"
RDEPEND="
${PYTHON_DEPS}
dev-libs/libusb:1
dev-python/click[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pyelftools[${PYTHON_USEDEP}]
dev-embedded/esp-coredump[${PYTHON_USEDEP}]
<dev-embedded/esptool-4.9.1
dev-embedded/esp-idf-kconfig[${PYTHON_USEDEP}]
dev-embedded/esp-idf-monitor[${PYTHON_USEDEP}]
dev-embedded/esp-idf-nvs-partition-gen[${PYTHON_USEDEP}]
dev-embedded/esp-idf-panic-decoder[${PYTHON_USEDEP}]
dev-embedded/esp-idf-size[${PYTHON_USEDEP}]
dev-embedded/freertos-gdb[${PYTHON_USEDEP}]
dev-embedded/idf-component-manager[${PYTHON_USEDEP}]
sys-libs/zlib
"
RESTRICT="strip"
QA_PREBUILT="opt/* usr/lib* usr/share/esp-idf/*"
QA_PRESTRIPPED="opt/*"
PATCHES=(
"${FILESDIR}/allow-system-install-${PN}-5.3.patch"
"${FILESDIR}/${PN}-espkconfiglib.patch"
)
install_tool() {
eshopts_push -s globstar
into /opt/${1}
if [[ -d "../${1}/lib" ]]; then
if stat *.so &>/dev/null; then
for i in ../${1}/lib/**/*.so*; do
dolib.so ${i}
done
fi
if stat *.a &>/dev/null; then
for i in ../${1}/lib/**/*.a*; do
dolib.a ${i}
done
fi
insinto /opt/${1}/lib
doins -r ../${1}/lib/*
fi
exeinto /opt/${1}/bin
doexe ../${1}/bin/*
(
cd ../${1}
for i in libexec/**/*; do
exeinto /opt/${1}/$(dirname ${i})
if [[ -x "${i}" && ! -d "${i}" ]]; then
doexe ${i}
fi
done
if [[ -d "include" ]]; then
insinto /opt/${1}
doins -r include
fi
if [[ -d "share" ]]; then
insinto /opt/${1}
doins -r share
fi
)
(
cd "${D}"/opt/${1}/bin/ || die
for i in *; do
dodir /opt/bin
cd "${D}"/opt/bin || die
dosym ../${1}/bin/${i} /opt/bin/${i}
done
)
eshopts_pop
}
src_install() {
echo "v${PV}" > version.txt || die
newbin - idf <<-EOF
#!/bin/sh
# Silence a warning by idf.py
export IDF_PYTHON_ENV_PATH=
exec python /usr/share/${PN}/tools/idf.py \$@
EOF
install_tool xtensa-esp-elf
install_tool xtensa-esp-elf/xtensa-esp-elf
if use riscv32; then
install_tool riscv32-esp-elf
install_tool riscv32-esp-elf/riscv32-esp-elf
fi
install_tool openocd-esp32
# Remove unsupported python versions
rm "${WORKDIR}"/xtensa-esp-elf-gdb/bin/xtensa-esp-elf-gdb-3.{8..10} || die
install_tool xtensa-esp-elf-gdb
if use riscv32; then
install_tool riscv32-esp-elf-gdb
fi
echo "IDF_PATH=/usr/share/${PN}" > 99esp-idf || die
doenvd 99esp-idf
insinto /usr/share/${PN}
rm -r .git || die
find . -name ".git" -exec rm -rf {} \; || die
doins -r .
}

View File

@@ -1,2 +1 @@
DIST freertos-gdb-1.0.3.tar.gz 14057 BLAKE2B e5e251e8e51b9a2f631c7efd8934a1699d84036e0895f11040e51785a680ac011f91bdc9f775690fd2b8a1de0f59fe38ec7a55b25cfe10b48bc439aff74bd6e4 SHA512 d6dc4ece08fd7a9b6e07679133b851c5c21105efd2044d9a9edbf3d38c03ab87ba342fe07b5a424aca26277266aaae774158b806e7f4176b80d9e546f4d728d7
DIST freertos-gdb-1.0.4.tar.gz 14137 BLAKE2B 6b1ab104256239496e7db8455ba53d6c43658606090a78447bced3e1807314f422b7f59e5160676610f6f07ce15e448e4aa5209ee17db409560d60bce8058f4e SHA512 7e55c677edf00d4ff259cd40fdb168a403feef2d3a75c4fb70585fec1abf94a3c4cd8ae9f64be895323a381b3c82514685bb7033e4c1f1bc0ca68e1fef4688bd

View File

@@ -1,19 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Python module for operating with freeRTOS-kernel objects in GDB"
HOMEPAGE="https://github.com/espressif/freertos-gdb"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

View File

@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi

View File

@@ -1 +1 @@
DIST qschematic-3.0.2.tar.gz 1561046 BLAKE2B a8bacdf67185adf18b41452d7cadbbc0e3cea7ffee11defcde7e7aeb0d4f06b57a59a0a304b3f26f6a805315934ec305f546cd13013577839bda9ac5aafa0c32 SHA512 6183dc5524f9bbffe27f8e4c2ad54a31aa91f935d9154c748a708094522c16149a75ce83e1852c15b586c3bff30d1a5f89ef9d36be8a678c5aa6c19c546697e6
DIST qschematic-3.0.3.tar.gz 1561135 BLAKE2B 6fb071fb647ced3bd1c2ce4340aa045c93c61568489acabed64d35079fb1be499943022e37b0055a5996f99f20f337c7488251a08f09919e479773eda7162946 SHA512 53e05d924f9ce714d4dc1cc7175f3789de67ed36c94e91b9db17ea2b9b6d068a2bd0e4c21ff360ed2208413d2174f45437bdfb929005850c1849f98d2e8faacf

View File

@@ -151,6 +151,7 @@ src_configure() {
-DYUZU_USE_EXTERNAL_VULKAN_HEADERS=no
-DYUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS=no
-DYUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=no
-DYUZU_USE_FASTER_LD=no
-DYUZU_USE_PRECOMPILED_HEADERS=no
-DDYNARMIC_USE_PRECOMPILED_HEADERS=no

View File

@@ -1 +1,2 @@
DIST monero-0.18.4.1.tar.gz 14092890 BLAKE2B 5f4e7c74a515c2715d77fa52818884ee923696c75a1e5629f28af35417d760aa1b082c512621f31c1d20889886d5b6a6c5db71b9bff13586afad98699f6afcde SHA512 1583eeffc0fb2f27798fc13a2695fa1410ce219eb8f35adc15ddbeaf035b3fa4a057cdc0cc96269cb5d261af710e7c4f8bb398db95ec727c267ba78bc3b84418
DIST monero-0.18.4.2.tar.gz 14096404 BLAKE2B 5df222ff3682480e9005fc3971e8983614b6a00433060b25d218c2a701815727b55b529a989349b92e91636cecbe07732079559814d6f44b7e1e39f23e523a67 SHA512 7a8c12f983ad800f127a456d6af356d144a8d243dab1b4e757a60f415b415753a84c06630d5954283eb5dd5ef44f66e7ab42f0a16ec836073f6b7f2dcefdf893

View File

@@ -0,0 +1,146 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DOCS_BUILDER=doxygen
inherit cmake docs systemd
DESCRIPTION="The secure, private, untraceable cryptocurrency"
HOMEPAGE="https://www.getmonero.org"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/monero-project/monero.git"
EGIT_SUBMODULES=()
else
SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD MIT"
SLOT="0"
IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc cpu_flags_x86_aes"
REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )"
RESTRICT="test"
# Test requires python's requests, psutil, deepdiff which are packaged
# but also monotonic & zmq which we do not have
DEPEND="
app-crypt/libmd
dev-libs/boost:=[nls]
dev-libs/libsodium:=
dev-libs/libbsd
dev-libs/openssl:=
dev-libs/randomx
dev-libs/rapidjson
dev-libs/supercop
net-dns/unbound:=[threads]
net-libs/miniupnpc:=
net-libs/zeromq:=
daemon? (
acct-group/monero
acct-user/monero
)
readline? ( sys-libs/readline:= )
hw-wallet? (
dev-libs/hidapi
dev-libs/protobuf:=
virtual/libusb:1
)
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-0.18.3.3-miniupnp-api-18.patch
"${FILESDIR}"/${PN}-0.18.4.0-unbundle-dependencies.patch
)
src_prepare() {
# The build system does not recognize the release tarball (bug?)
# so we patch the GitVersion file.
# Change the release string from "unknown" to "gentoo-${PR}"
sed -i "s/unknown/gentoo-${PR}/g" cmake/GitVersion.cmake || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
# TODO: Update CMake to install built libraries (help wanted)
-DBUILD_SHARED_LIBS=OFF
-DBUILD_DOCUMENTATION=OFF # easier to do it manually
-DMANUAL_SUBMODULES=ON
-DUSE_CCACHE=OFF
-DNO_AES=$(usex !cpu_flags_x86_aes)
-DUSE_DEVICE_TREZOR=$(usex hw-wallet)
-DUSE_READLINE=$(usex readline)
)
use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF )
cmake_src_configure
}
src_compile() {
local targets=(
$(usev daemon)
$(usev wallet-cli simplewallet)
$(usev wallet-rpc wallet_rpc_server)
)
use tools && targets+=(
blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage}
)
cmake_build ${targets[@]}
docs_compile
}
src_install() {
einstalldocs
# Install all binaries.
find "${BUILD_DIR}/bin/" -type f -executable -print0 |
while IFS= read -r -d '' line; do
dobin "$line"
done
if use daemon; then
dodoc utils/conf/monerod.conf
# data-dir
keepdir /var/lib/monero
fowners monero:monero /var/lib/monero
fperms 0755 /var/lib/monero
# log-file dir
keepdir /var/log/monero
fowners monero:monero /var/log/monero
fperms 0755 /var/log/monero
# /etc/monero/monerod.conf
insinto /etc/monero
doins "${FILESDIR}"/monerod.conf
# OpenRC
newconfd "${FILESDIR}"/monerod-0.18.4.0.confd monerod
newinitd "${FILESDIR}"/monerod-0.18.4.0.initd monerod
# systemd
systemd_dounit "${FILESDIR}"/monerod.service
fi
}
pkg_postinst() {
if use daemon; then
elog "To get sync status and other stats run"
elog " $ monerod status"
elog
elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored"
elog "in /var/lib/monero by default. You may want to enable pruning by adding"
elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain"
elog "or move the data directory to another disk."
fi
}

View File

@@ -1,2 +1,4 @@
DIST MullvadVPN-2025.8_aarch64.rpm 87969433 BLAKE2B d4c394433ae708c504d72c1f8de8154f9772f11746340c79f672e2e3b26e3c62120f1674bd05685942352f365f23983d956a13040e6b429e50c1b2998b3be8c3 SHA512 eef1d76182bd60399982cdc4b091367c394912632c4b4cf09e284e153adc111c4d857f905c8a82c86f70513524a664c5131ccf182c0d303b2fe4fd9c4aa92586
DIST MullvadVPN-2025.8_x86_64.rpm 93755725 BLAKE2B 1b471e7a4ad17a002aeff1e6c8bc9caf88728a3b3ff5580231e93f9d2e1240405a8968e0f76f3a5071d5d84ab9652ec24dad4bb47da0a8f7249a17380746bce5 SHA512 5d4792bfedffeef653ae6ca450334836e2e48e76deaa9e934e9e9929e4d06b0ca9eb7f061cafcfe81afe68786873ee80a6bf5b36f3d5c1dc78b1fd8fe262d78e
DIST MullvadVPN-2025.9-beta1_aarch64.rpm 87222193 BLAKE2B a295106f980aced7dafb874ebfea5a2f9a168052d59eba4d0594b48007ad136ff1ba9ba8bf856765c4fee16c4bef3445dce605e68a3de46224e77530346e6800 SHA512 98332c6c08721d9168bfe6c4b38132e9495dd69b8b602c5a85228f412ba61f33927d4209055bf7027698838086cace7faadc926508adfae264e2483f527e872f
DIST MullvadVPN-2025.9-beta1_x86_64.rpm 93127121 BLAKE2B 2045c2fb4c6db1eac142853fa0fa28315090bc5da37d7befa7ad0a886422f8f2b298dc270a0b0bfa0237adbc7a118cc30cf93a18e0978cb049a9f8e68d66b8e3 SHA512 9cb4e8fa72efbbf1b02e8a4de0cb7652f36d7e0366fe5cf7d780018e22caa96b619d5aab60e50638976daf96a47c849bd23f9b69f2581fca18c7196eb6b222b9

View File

@@ -0,0 +1,152 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop rpm systemd shell-completion xdg
MYPV="${PV/_beta/-beta}"
DESCRIPTION="Tool used to manage daemon setup"
HOMEPAGE="https://github.com/mullvad/mullvadvpn-app https://mullvad.net/"
SRC_URI="
amd64? ( https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_x86_64.rpm )
arm64? ( https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_aarch64.rpm )
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="bindist mirror strip"
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/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/pango
"
QA_PREBUILT="*"
src_install() {
sed -i "s|SCRIPT_DIR=.*|SCRIPT_DIR=\"/opt/Mullvad VPN/\"|g" "${S}/opt/Mullvad VPN/mullvad-vpn" || die
# Using doins -r would strip executable bits from all binaries
cp -pPR opt "${D}"/ || die "Failed to copy files"
fperms +x "/opt/Mullvad VPN/chrome_crashpad_handler"
fperms 4755 "/opt/Mullvad VPN/chrome-sandbox"
dobin ./usr/bin/mullvad
dobin ./usr/bin/mullvad-daemon
dobin ./usr/bin/mullvad-exclude
dosym -r "/opt/Mullvad VPN/mullvad-vpn" /usr/bin/mullvad-vpn
dosym -r "/opt/Mullvad VPN/resources/mullvad-problem-report" /usr/bin/mullvad-problem-report
# mullvad-exclude uses cgroups to manage exclusions, which requires root permissions, but is
# also most often used to exclude graphical applications which can't or shouldn't run as root
# (i.e., can't be run under `sudo/doas /usr/bin/mullvad-exclude ...`, because `sudo`/`doas`
# change user). The setuid bit allows any user to exclude executables under their own UID.
fperms 4755 /usr/bin/mullvad-exclude
newinitd "${FILESDIR}"/mullvad-daemon.initd mullvad-daemon
systemd_newunit ./usr/lib/systemd/system/mullvad-daemon.service mullvad-daemon.service
systemd_newunit ./usr/lib/systemd/system/mullvad-early-boot-blocking.service mullvad-early-boot-blocking.service
newbashcomp ./usr/share/bash-completion/completions/mullvad mullvad
newfishcomp ./usr/share/fish/vendor_completions.d/mullvad.fish mullvad
newzshcomp ./usr/share/zsh/site-functions/_mullvad _mullvad
domenu ./usr/share/applications/mullvad-vpn.desktop
local x
for x in 16 32 48 64 128 256 512 1024; do
doicon -s "${x}" "./usr/share/icons/hicolor/${x}x${x}/apps/mullvad-vpn.png"
done
}
MULLVAD_IS_BEING_UPDATED=false
pkg_preinst() {
xdg_pkg_preinst
[[ -n "$(best_version "${CATEGORY}/${PN}")" ]] && MULLVAD_IS_BEING_UPDATED=true
}
pkg_postrm() {
xdg_pkg_postrm
if [[ ${MULLVAD_IS_BEING_UPDATED} = "false" ]]; then
if ! command -v pgrep &>/dev/null || pgrep -f "mullvad-(daemon|gui)"; then
elog "Mullvad has been uninstalled. To stop the service,"
elog "1. Quit the Mullvad app"
elog " * Manually: 'Disconnect & quit' from the Mullvad menu"
elog " OR"
elog " * Command line: pkill -f mullvad-gui"
elog "2. Stop the daemon"
elog " * OpenRC: rc-service mullvad-daemon stop"
elog " OR"
elog " * systemd: systemctl stop mullvad-daemon"
elog " OR"
elog " * other: pkill -f mullvad-daemon"
fi
fi
}
pkg_postinst() {
xdg_pkg_postinst
if [[ ${MULLVAD_IS_BEING_UPDATED} = "true" ]]; then
if command -v pgrep &>/dev/null && pgrep -f "mullvad-(daemon|gui)" &>/dev/null; then
elog "Mullvad has been updated. To restart the service,"
elog "1. Restart the daemon"
elog " * OpenRC: rc-service mullvad-daemon restart"
elog " OR"
elog " * systemd: systemctl restart mullvad-daemon"
elog "2. Restart the app"
elog " * Manually: 'Disconnect & quit' from the Mullvad menu and relaunch using"
elog " your preferred desktop launcher"
elog " OR"
elog " * Command line: pkill -f mullvad-gui && '/opt/Mullvad VPN/mullvad-vpn' & disown"
else
elog "Mullvad has been updated. To start the service,"
elog "1. Start the daemon"
elog " * OpenRC: rc-service mullvad-daemon start"
elog " OR"
elog " * systemd: systemctl start mullvad-daemon"
elog "2. Launch the app"
elog " * Manually: use your preferred desktop launcher"
elog " OR"
elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn' & disown"
fi
else
elog "Mullvad has been installed. To start the service,"
elog "1. Enable and start the daemon"
elog " * OpenRC: rc-update add mullvad-daemon default"
elog " rc-service mullvad-daemon start"
elog " OR"
elog " * systemd: systemctl enable mullvad-daemon"
elog " systemctl start mullvad-daemon"
elog "2. Launch the app"
elog " * Manually: use your preferred desktop launcher"
elog " OR"
elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn' & disown"
fi
}