Merge updates from master

This commit is contained in:
Repository mirror & CI
2026-05-17 16:31:02 +00:00
66 changed files with 616 additions and 657 deletions

View File

@@ -5,6 +5,8 @@
EAPI=8 EAPI=8
RUST_MIN_VER="1.95.0"
CRATES=" CRATES="
addr2line@0.25.1 addr2line@0.25.1
adler2@2.0.1 adler2@2.0.1
@@ -236,3 +238,7 @@ LICENSE+="
" "
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
QA_FLAGS_IGNORED="
usr/bin/qview
"

View File

@@ -1,6 +1,6 @@
DIST carapace-1.6.2.tar.gz 21105272 BLAKE2B c532d0aad438b53c3ff94aea4820007e24fd08be65530f739be26afcc207bc25cdf8f4eea26f5d6c55a70c3916abd51bd62767aea285519669271131a5ad9322 SHA512 6d91042ffc87a8c1766a73f7defee88deba806f524c56984f6ee02c403f3b93ec96e387f605f0f397256e7dc935d6894ddec556a2405712456ff27e6e3c2dbc0
DIST carapace-1.6.2.tar.xz 300384 BLAKE2B adff79c4726b2d592edb805c1565742e286f0f5e73c62b4e89cb8d1ac43ce4f435f7b003bac378b38586258f7611aed8bf54272b1ab8390b4ecd64dfc98f106b SHA512 0d9e97af5840032607558139fd65dc0a43b0750b5a4af57cf66e4629c1f907633ffbd7b220d67d91c08d21aee93c4b68a3870e557a57b210bcbe245af246e523
DIST carapace-1.6.3.tar.gz 21286084 BLAKE2B 2bfe8d5c0d8819b701b20a1de89e3592bede8ac65bf4bde826f22dfe790fb5a809ea263db3914c7ab606ead7f7c86d5d6ac649bf8f9b6c349e3602ee5adf9a0b SHA512 34f12424139c7f28afbceb349162a47e85513304829f9c36dcfa2037d713411f00c3944f0174e9a3cc396203f9738e5d5299a82dccc6cdb22fe4386568775aa6 DIST carapace-1.6.3.tar.gz 21286084 BLAKE2B 2bfe8d5c0d8819b701b20a1de89e3592bede8ac65bf4bde826f22dfe790fb5a809ea263db3914c7ab606ead7f7c86d5d6ac649bf8f9b6c349e3602ee5adf9a0b SHA512 34f12424139c7f28afbceb349162a47e85513304829f9c36dcfa2037d713411f00c3944f0174e9a3cc396203f9738e5d5299a82dccc6cdb22fe4386568775aa6
DIST carapace-1.6.3.tar.xz 300352 BLAKE2B 80ac854b6df4c461f127ac08bf91e6c90adb3216359be964cbcdf4b4ea7383d1415f188b1eedfc07df5a976bb9492e4d2ee540066498fbfe0534d42855125e4a SHA512 d425011a9f8367a49ed5f0c3ccbfd6013c82bf9b5af5405d3205499a0043b823a231f8f80bea3015560f62cf3825117e9b00247f46a993b9e13cc30a23492d40 DIST carapace-1.6.3.tar.xz 300352 BLAKE2B 80ac854b6df4c461f127ac08bf91e6c90adb3216359be964cbcdf4b4ea7383d1415f188b1eedfc07df5a976bb9492e4d2ee540066498fbfe0534d42855125e4a SHA512 d425011a9f8367a49ed5f0c3ccbfd6013c82bf9b5af5405d3205499a0043b823a231f8f80bea3015560f62cf3825117e9b00247f46a993b9e13cc30a23492d40
DIST carapace-1.6.4.tar.gz 21349585 BLAKE2B f599efe29d6c6aca24606aea2d4c346980c8f27d4bf31199c59a440ac2a869006f41319300eef0a12e9f8d8d4ddacf647516cee0e8ef5c791be147f6f79c05db SHA512 037c7cbf8d3fd674b14699207ecd346fe8162897e0ef0e3c4868f7c09a92b4f90d97485994947598687963d0ce30e9770373a1be1e98a41db2d2d4bf39fc5ea5 DIST carapace-1.6.4.tar.gz 21349585 BLAKE2B f599efe29d6c6aca24606aea2d4c346980c8f27d4bf31199c59a440ac2a869006f41319300eef0a12e9f8d8d4ddacf647516cee0e8ef5c791be147f6f79c05db SHA512 037c7cbf8d3fd674b14699207ecd346fe8162897e0ef0e3c4868f7c09a92b4f90d97485994947598687963d0ce30e9770373a1be1e98a41db2d2d4bf39fc5ea5
DIST carapace-1.6.4.tar.xz 304200 BLAKE2B 2c9d019a8e910dee998fe3df8460590a6156339969a8f68d1a58137fc65bdd7a02b97fc4515bbc725f41ed4bf467b19210bce3bb06986205f263a59f68f43ba6 SHA512 b366b8a09c443415e9b369d7c311b0266feb08e8ea4cbc64429038883ad3eaafbaca1be822f5c9080ee04bd7557b6585ef465f16adfd6c2189a1357680d4ec2d DIST carapace-1.6.4.tar.xz 304200 BLAKE2B 2c9d019a8e910dee998fe3df8460590a6156339969a8f68d1a58137fc65bdd7a02b97fc4515bbc725f41ed4bf467b19210bce3bb06986205f263a59f68f43ba6 SHA512 b366b8a09c443415e9b369d7c311b0266feb08e8ea4cbc64429038883ad3eaafbaca1be822f5c9080ee04bd7557b6585ef465f16adfd6c2189a1357680d4ec2d
DIST carapace-1.6.6.tar.gz 21758235 BLAKE2B 0f8f8e487c8043da76b327e9ad4d923760ae531e2bc00e140ad502d0da44340b95e2d8ebd34eca49c87f56ed80c68c281636aa47d269af9e09b368e05b1c7560 SHA512 002fabf917a65ad75c13598d3ee00a49b9cae1e8ad92ebee431cc29efd9c37b396b06e925709150e20617e489e45ed003a3868e4faec9da42416280e72180858
DIST carapace-1.6.6.tar.xz 310024 BLAKE2B 9a0297c21852fe86ff5848662e20c1f70b618990e9c43ef9f3af72df61c422f1f7ee04d45ecb61be754782ceababd714370b4652b6dfec5f00ae02b5cce33e79 SHA512 d22bc02e950f537da6569a43e371e6c07439347f09908beb04d622cf51c02dac6759b2a957574bdc04918b7fa84a7312db56d71ba5ded8d0fff2ab3239bb8587

View File

@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
BDEPEND=" BDEPEND="
>=dev-lang/go-1.23.1 >=dev-lang/go-1.25.0
" "
DOCS=( DOCS=(
@@ -32,7 +32,7 @@ HTML_DOCS=(
src_compile() { src_compile() {
pushd "cmd/${PN}" pushd "cmd/${PN}"
ego generate ./... ego generate ./...
ego build -ldflags="-s -w" -tags release ego build -tags release
} }
src_install() { src_install() {

View File

@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
BDEPEND=" BDEPEND="
>=dev-lang/go-1.23.1 >=dev-lang/go-1.26.2
" "
DOCS=( DOCS=(

View File

@@ -1 +1 @@
DIST zsh-autocomplete-24.09.04.tar.gz 1712575 BLAKE2B 28ca64d539e48d186ee917f810ed7f31c59c12407beb1260c5bc1b931ed54a06786fc00df4798586bf4711dbe4c728b492e9a218fbd51b9d5cae949095bb9fa5 SHA512 583ec357971e97112fe5a8947681fd5daf9a85747fe93b3c1a8d8c39d7c6f882173ea09bfeaa3bd666f454e8e680dbd7c4ff54e9f2137024e5878e53da1028e8 DIST zsh-autocomplete-25.03.19.tar.gz 1712975 BLAKE2B 853cb6154876173fa0c24b2ca13517e49f83e791fe335dfa79eadbd8a80d12800ec0dc0ee09293af92ffb2c0d29aa4ffaf906dba6c60651791136d98b2044e2f SHA512 d220394684c29087f326b4edf1f884a6efdeb548cb4fab978be40f66d8bcb9f59bc664c69ee1916ac429e3faf8767ff1cdd2d3d4227435e725811ebab3ba1330

View File

@@ -1,4 +1,4 @@
DIST iwe-0.0.70.tar.gz 1685208 BLAKE2B 3308cb3c19dd4255e86320b56af4e96290eba7b65941f304bb55f29d01e23268eb6657e17e9ca047806bcc7d680a943b64b96a557bad309e3f7557b3faf074bd SHA512 18f00e4f75a87891863e31583a82e5f850673433d3197916865508f7a1ddbb167538a06ff857ca3c1e23fc6af7ba6a8c6ff79ca6c8a182a45f6b0a7d1b851bb3
DIST iwe-0.1.3.tar.gz 1797480 BLAKE2B 8712fa3d15554bb89ce21b25b53603976f97ebb6923be43aec3de4718eda1d0932eb00a3af5bb3255fbd792b2bdb1ccb54ee0a7e376cd2234af387c61152ea3e SHA512 57ec87b4b0f63d32eedac508faad30e2ecd8edd67e272edc59a40094f22607b28ece72f872accc97b7df894bf81e87b46d91086041f18f640812c651d3a32f26 DIST iwe-0.1.3.tar.gz 1797480 BLAKE2B 8712fa3d15554bb89ce21b25b53603976f97ebb6923be43aec3de4718eda1d0932eb00a3af5bb3255fbd792b2bdb1ccb54ee0a7e376cd2234af387c61152ea3e SHA512 57ec87b4b0f63d32eedac508faad30e2ecd8edd67e272edc59a40094f22607b28ece72f872accc97b7df894bf81e87b46d91086041f18f640812c651d3a32f26
DIST iwe-liwe-v0.0.70-deps.tar.xz 19362968 BLAKE2B f2ada9e64f6c18703a9f3d38eb524d7901b71a8ad38998afd80df5586dbfaf858f048d03858a6b22aea35a46f12e047cf19cc525167cfe8fc2e2c71e2dd50857 SHA512 628e161ad2c4c7f25e033587535da8a1843c01d323d22de237361425aeaf2447b4ca9c7b5bd1d60231421d78c23e959247c4c740721b73b8137c885de6a2dc82 DIST iwe-0.1.5.tar.gz 1801261 BLAKE2B 534af3a69f96eb7ccd92c5254b3b6e50370b412525e96ec86f6429e8cc9177618e0838348d37a132ac356fbb77db2f8f90a95e1f23e3abd016127971f7d7e00d SHA512 cf4276113a2e67dfaab3bc69ab1e0a1bae56562e614aa29d31579ec4120d011e8c2c7220128f4aac3c09218e6be507f9b1d01ad1859396cdf25af1c24ef946b8
DIST iwe-liwe-v0.1.3-deps.tar.xz 18652540 BLAKE2B 0ef741c453900582310b13cabb75ac8028ef2997ec53d55df871f7eec0429b307fae41750fcd028cce8ac0d6a0ae95e8768dbdc356efda6e4c8fdaf0c9d21d18 SHA512 3f87f5baa1ed8555207334153b09d4d29d14c1e2361ba16627ae3487e1755d8afa847d19d5061e1b24aa43cb2210f149ef7d084135d3f567c7a927a3b51e7c39 DIST iwe-liwe-v0.1.3-deps.tar.xz 18652540 BLAKE2B 0ef741c453900582310b13cabb75ac8028ef2997ec53d55df871f7eec0429b307fae41750fcd028cce8ac0d6a0ae95e8768dbdc356efda6e4c8fdaf0c9d21d18 SHA512 3f87f5baa1ed8555207334153b09d4d29d14c1e2361ba16627ae3487e1755d8afa847d19d5061e1b24aa43cb2210f149ef7d084135d3f567c7a927a3b51e7c39
DIST iwe-liwe-v0.1.5-deps.tar.xz 18681204 BLAKE2B 7c0b9978f3af0b09e58938b1519d8f83fc77aeb2500aa5e5fe397c0a9405ba49b2bab1ef1af89fd69691bdbf4aeaf30ed12cf9cc6a7094ebe7ec71614923338e SHA512 613a88da06166c3f14db2d7a7880df7c291bc2afc8c9f61859eb61fbffdd6a450594e7b7abfa4a2cb218a2e53339f6580888e8224e5584d14c33fdc961bcaf9a

View File

@@ -3,6 +3,8 @@
EAPI=8 EAPI=8
RUST_MIN_VER="1.88.0"
inherit cargo inherit cargo
DESCRIPTION="Markdown based personal knowledge management (PKM) system" DESCRIPTION="Markdown based personal knowledge management (PKM) system"
@@ -18,8 +20,11 @@ LICENSE="Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/iwe usr/bin/iwes"
src_install() { src_install() {
cargo_src_install --path crates/iwe cargo_src_install --path crates/iwe
cargo_src_install --path crates/iwes cargo_src_install --path crates/iwes
dodoc LICENSE-APACHE README.md
einstalldocs
} }

View File

@@ -16,18 +16,18 @@ KEYWORDS="~amd64"
DEPEND=" DEPEND="
dev-libs/libusb dev-libs/libusb
dev-qt/qtcore
dev-qt/qtgui
dev-qt/qtwidgets dev-qt/qtwidgets
dev-qt/qtnetwork dev-qt/qtnetwork
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}
virtual/udev
"
BDEPEND=" BDEPEND="
dev-build/cmake dev-build/cmake
dev-qt/linguist-tools dev-qt/linguist-tools
dev-util/pkgconf dev-util/pkgconf
|| (
sys-apps/systemd
sys-apps/systemd-utils
)
app-arch/gzip app-arch/gzip
" "

View File

@@ -1,44 +0,0 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake udev
DESCRIPTION="I2C, MicroWire and SPI EEPROM/Flash chip Programmer"
HOMEPAGE="https://github.com/bigbigmdm/IMSProg"
SRC_URI="https://github.com/bigbigmdm/IMSProg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/IMSProg-${PV}
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/libusb
dev-qt/qtwidgets
dev-qt/qtnetwork
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-build/cmake
dev-qt/linguist-tools
dev-util/pkgconf
sys-apps/systemd-utils
app-arch/gzip
"
src_install() {
cmake_src_install
mv "${D}"/usr/share/doc/imsprog/* "${D}"/usr/share/doc/imsprog-${PV}
rmdir "${D}"/usr/share/doc/imsprog || die "/usr/share/doc/imsprog not empty"
gunzip "${D}"/usr/share/man/man1/*
}
pkg_postrm() {
udev_reload
}
pkg_postinst() {
udev_reload
}

View File

@@ -1,4 +1,4 @@
DIST protoc-gen-go-grpc-1.79.2-deps.tar.xz 1293156 BLAKE2B 727e5e8695bb265bdfb4d971072c132468d397781ac5286e05a8d917c0703afee19c6c3548ba549275f6b4e6e9713b14dc168ca68ce83a81ece6acdb30e25f1b SHA512 a94a060864e7fa6d2495be343a36e9426ed5d244cda83c139f328f48357fbbe54d473086ca5b3f6f706f6e322891926c3c8f507c2f16b67f0c49a3d61db3dca3
DIST protoc-gen-go-grpc-1.79.2.tar.gz 2971319 BLAKE2B 1fab5ad5d640cf9d3cf898e4ab9b49a58969c2007e2da43bacafda5aa12a68cd3e472afa07394aa81e38b8a9ce8b68e82f1e69b3e50b4a753be6cbb9135a3a0b SHA512 a4882f9d2c3ca27dd19fc7367d040f7497a5f7b5b6b027cac51bd380688c2e4f79632553b513b51d218209d195c3ff0eaddc781e6b1e8a58f274d3bb8db63ad6
DIST protoc-gen-go-grpc-1.80.0-deps.tar.xz 1294928 BLAKE2B 36f71f2682b8173c5a5b9c3f8af58a7e4a073e413ad5ec40bd937e051ad68bcb62907fa44ad6e7e4a71efa16b6407ca7eadcfc78f23ec286e62e4d87fb8d5e6e SHA512 c3b9e6e6ba9a894c4bd2562164c6b9522a211e38f5a765307beeb190ae750ead1431866d37aa83e2e3f886ca8085003605314d096062d28ee24d49a84f29baa6 DIST protoc-gen-go-grpc-1.80.0-deps.tar.xz 1294928 BLAKE2B 36f71f2682b8173c5a5b9c3f8af58a7e4a073e413ad5ec40bd937e051ad68bcb62907fa44ad6e7e4a71efa16b6407ca7eadcfc78f23ec286e62e4d87fb8d5e6e SHA512 c3b9e6e6ba9a894c4bd2562164c6b9522a211e38f5a765307beeb190ae750ead1431866d37aa83e2e3f886ca8085003605314d096062d28ee24d49a84f29baa6
DIST protoc-gen-go-grpc-1.80.0.tar.gz 2993187 BLAKE2B 38b2d6d8a1c7a00c1a79215bd90ab85839e42733ec1b43da8314d653c87caed98f13535c30435ae750ae50e8e266fcdf5051c4936546333b14f6a2c28caad4b6 SHA512 4469b11decf4c72ed4fab8e9088a0333f91cf3d3f2271bf86c87c0bdd01d200f1dd1d76ec5d73df25ad6c804bf14d2a5efbd450151bcee912c366b69971557bc DIST protoc-gen-go-grpc-1.80.0.tar.gz 2993187 BLAKE2B 38b2d6d8a1c7a00c1a79215bd90ab85839e42733ec1b43da8314d653c87caed98f13535c30435ae750ae50e8e266fcdf5051c4936546333b14f6a2c28caad4b6 SHA512 4469b11decf4c72ed4fab8e9088a0333f91cf3d3f2271bf86c87c0bdd01d200f1dd1d76ec5d73df25ad6c804bf14d2a5efbd450151bcee912c366b69971557bc
DIST protoc-gen-go-grpc-1.81.1-deps.tar.xz 1315680 BLAKE2B 7240c627f8efe5769a49b175eff9063baca37fc32f9043055378b2eb7a6ce5b774310af62bd583a3c72e01937da3794133f698b7c92baadde19b048d2091c07b SHA512 92ebeba91d9548eb2745e763581de283d7716899a52f3d9887f866fd401edf340461cf7721f3bf8367cad10db34a78f62e449327ba869d0cea3cab0981e9f933
DIST protoc-gen-go-grpc-1.81.1.tar.gz 3044195 BLAKE2B c5381ba198b444c14a05627ec4a8ea1acde5301e83d9f63a3d9e9f3edd9120f6c8e398dc90ad3d9cb9611cb16941d4b4e38caacc65984227a989554c3668ad55 SHA512 f90bb1a0db63de682ae73354390cc6d15ea30a9706ffad4cdf4d40890854ee4309c21c6f97078ec72730a300879891b840cce1a502fc96328f65fb2eef285aa9

View File

@@ -1,9 +1,9 @@
# Copyright 2025 Gentoo Authors # Copyright 2025-2026 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
inherit dune multiprocessing inherit dune
DESCRIPTION="An easy interface on top of the Jsonm library" DESCRIPTION="An easy interface on top of the Jsonm library"
HOMEPAGE="https://github.com/mirage/ezjsonm" HOMEPAGE="https://github.com/mirage/ezjsonm"
@@ -26,21 +26,23 @@ RDEPEND="${DEPEND}"
RESTRICT="test" RESTRICT="test"
OCAML_SUBPACKAGES=(
ezjsonm
)
src_prepare() { src_prepare() {
default default
use lwt && OCAML_SUBPACKAGES+=( ezjsonm-lwt )
# test libs and binaries are built unconditionally otherwise # test libs and binaries are built unconditionally otherwise
rm lib_test/dune rm lib_test/dune
} }
src_compile() { src_compile() {
local pkgs="ezjsonm" dune-compile ${OCAML_SUBPACKAGES[@]}
if use lwt ; then
pkgs="${pkgs},ezjsonm-lwt"
fi
dune build --only-packages "${pkgs}" -j $(makeopts_jobs) --profile release || die
} }
src_install() { src_install() {
dune_src_install ezjsonm dune-install ${OCAML_SUBPACKAGES[@]}
use lwt && dune_src_install ezjsonm-lwt
} }

View File

@@ -1 +1,2 @@
DIST injector-0.22.0.gh.tar.gz 47416 BLAKE2B 291322db5d173797651a754584f0c358051615b3841a8a313e7ed6ffb1578e7380a55992cffe40a749aa563948237612167a18f06262879b4b04c1be52b3eb3f SHA512 956108656abba069f2f27e9f0eefea5c78f0381e91a687aa9f3ecf236b70cd21e6fdaea8a29c2d44bf8b8ff82945d22deda654422996b3722c0d069085e59515 DIST injector-0.22.0.gh.tar.gz 47416 BLAKE2B 291322db5d173797651a754584f0c358051615b3841a8a313e7ed6ffb1578e7380a55992cffe40a749aa563948237612167a18f06262879b4b04c1be52b3eb3f SHA512 956108656abba069f2f27e9f0eefea5c78f0381e91a687aa9f3ecf236b70cd21e6fdaea8a29c2d44bf8b8ff82945d22deda654422996b3722c0d069085e59515
DIST injector-0.24.0.gh.tar.gz 50813 BLAKE2B 789a916f84d6b28f35500b28e0b3f8fa1a7c48236826d24ba9cdd70f04965899e888f99dbee187dbe343fa6072927a33bac391727cd31ec0569bb2d232a747e2 SHA512 a11197fcf0b17c8674568cd3473ead651f4d1718988e93831f8f3786811eeaf98016966dbd94d28b39d3af69232a2a1dc07810720e370b7d37bea19007dc7f86

View File

@@ -14,6 +14,8 @@ SRC_URI="
https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz" -> ${P}.gh.tar.gz"
BDEPEND="dev-python/furo"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Python dependency injection framework, inspired by Guice"
HOMEPAGE="https://github.com/python-injector/injector"
SRC_URI="
https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
BDEPEND="dev-python/furo"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_sphinx docs
distutils_enable_tests pytest
python_test() {
# bug 928158
epytest -o addopts=
}
python_install_all() {
distutils-r1_python_install_all
}

View File

@@ -1 +1 @@
DIST mpxj-16.1.0-py3-none-any.whl 31232691 BLAKE2B 2ad080625758b91748e39c06fdecbbf8fa7c2073b636247cb1ece5300cac2d21afa4c6a2255823f326843723db542056d3bd1986cb59a74ea80f1828784fad8d SHA512 70db710438cc61bc42c3a87e96f8d3f8bfa8bd877a382fc6f6b0d0ee2a5653807c9fa7340494ecb7390cdd057b8c9189e820da55ff187f0b85f7d2ff87f2c14b DIST mpxj-16.2.0-py3-none-any.whl 31243202 BLAKE2B 964dea5b2ec639ab3a685cdbcd160682ead363877f508193d550966b1630e09a135a56dbf44f131ee763fb19c12a2552d1c25a2c4fd5c021e67432a794ea219b SHA512 25db0fa3261d5f2adc6d1f30b52e41e61e457d2bca86fecd5a2d2414ef7f3932f3c09aa944dd56e9762edbc40acb7708764c0250945ec7c56886b69873f9cd8e

View File

@@ -1,2 +1,2 @@
DIST posthog-7.13.1.gh.tar.gz 3547020 BLAKE2B de3a78da110aa74f8915d2381dc60ce924a2c3e28f58a8ee01292d922855bfc893b713ced8f7aff1a8906aaf9258fa3fa0ef815a0edb038923d63344a2c6be3a SHA512 4ce348f7f1d1ccd2de099c9e8f44e7942733aa7ebd6a90edfc3b461c45e6541eef8123e8b3d8e738da774be2820a43d015726549df04d58fa31baf9acb933e5a
DIST posthog-7.14.0.gh.tar.gz 3564019 BLAKE2B 0686afb1f39286969b699b9fef9351c315f3b515bd28e55dba08a4ef38d8c04fe746ba483a0284efc1325122822b2a53e32918982065073c842acbce35af373f SHA512 9a87ebf19e5f7d33615b20554b56fc9cfaf9c228f5cc2745d5dc773e67870301ce8d8ea54f3fb8360088cc8beb07d0c3f0ee4555347cc9f897954d39648fadb4 DIST posthog-7.14.0.gh.tar.gz 3564019 BLAKE2B 0686afb1f39286969b699b9fef9351c315f3b515bd28e55dba08a4ef38d8c04fe746ba483a0284efc1325122822b2a53e32918982065073c842acbce35af373f SHA512 9a87ebf19e5f7d33615b20554b56fc9cfaf9c228f5cc2745d5dc773e67870301ce8d8ea54f3fb8360088cc8beb07d0c3f0ee4555347cc9f897954d39648fadb4
DIST posthog-7.14.2.gh.tar.gz 3586884 BLAKE2B 76cabf19025bffb5ba4846856ab5a7912767422958fb0fa0ba37ed2faef8aaff1dd5717e1584ac3348781e2f4ee97dead8ba23810934c9f50f636e97b3babb53 SHA512 d4c7a6d1222bdb9d593d245553d0d411689b52084350d3040c8178a5a8a56b2db1a5e212faf3f8b5c1ccd4e0a973c428a974abb673783d7b53c50197f07ba101

View File

@@ -1,10 +1,7 @@
<?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 type="project" proxied="proxy"> <!-- maintainer-needed -->
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream> <upstream>
<remote-id type="github">python-telegram-bot/python-telegram-bot</remote-id> <remote-id type="github">python-telegram-bot/python-telegram-bot</remote-id>
<doc>https://docs.python-telegram-bot.org/en/stable/</doc> <doc>https://docs.python-telegram-bot.org/en/stable/</doc>

View File

@@ -32,13 +32,10 @@ RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
EPYTEST_PLUGINS=() EPYTEST_PLUGINS=()
distutils_enable_tests pytest distutils_enable_tests pytest
src_install() { src_prepare() {
distutils-r1_src_install distutils-r1_src_prepare
dodoc LICENSE if use test; then
} mv "${WORKDIR}/${TT_P}" toml-test || die
fi
python_test() {
mv "${WORKDIR}/${TT_P}" toml-test || die
epytest
} }

View File

@@ -27,12 +27,11 @@ src_compile() {
} }
src_test() { src_test() {
ego test -v -buildmode=default -race ./... ego test -v ./...
} }
src_install() { src_install() {
dobin ${PN}
DOCS=( LICENSE README.md )
default default
dobin ${PN}
} }

View File

@@ -1,8 +1,7 @@
DIST aho-corasick-1.1.4.crate 184015 BLAKE2B 088766e505a828a221a9bca29cb1833ac3964a538cda62d12b723a263fe0e588406af0b710cf87ef67b0ccb9aa3bf69f42e0e5225ade47abe93c73fcaca69ec1 SHA512 c77e35191b00546f5e499fab154170cedd619599e7250f92db9fba0a41c833eb426f214e58b00c5c39f8757406b33492b3241cb8cb233ce384ad0683c3ee4b62 DIST aho-corasick-1.1.4.crate 184015 BLAKE2B 088766e505a828a221a9bca29cb1833ac3964a538cda62d12b723a263fe0e588406af0b710cf87ef67b0ccb9aa3bf69f42e0e5225ade47abe93c73fcaca69ec1 SHA512 c77e35191b00546f5e499fab154170cedd619599e7250f92db9fba0a41c833eb426f214e58b00c5c39f8757406b33492b3241cb8cb233ce384ad0683c3ee4b62
DIST gersemi-0.27.2.tar.gz 177755 BLAKE2B 9a9e496b000285ae25f5caeac9ce7a2a2fe312c73c67e67db4144b6c7e7bf4d3f562fb61902dbf5d88056584d2ed1b52c38101e04584bdfc781ee5d4a24cf00f SHA512 288c7d32e0480868c5d66302baeb963e035a2358ce1ae0b93ae793f31517ffb448f21a3671826a0240a2ac59e6716f7d8d5c9c185c9c7ff3857584954f4438fc
DIST gersemi-0.27.4.tar.gz 179261 BLAKE2B e4b479098de7384c0f856d85c35a987abbceda0305dddf1c5f4f8c0fb1ef4836e34c4841e539d27bf649d11903cd3d4c4fdd31ac76eabc42008582bd9839f07c SHA512 5e034914a3228854429ee6f4eccb34a49fa12a952e503664eb93f6aeae22a1d0a939bac7bf0dd664a1535715e790bd14bdf15d8fe79278f7894bd3daf7b5af43 DIST gersemi-0.27.4.tar.gz 179261 BLAKE2B e4b479098de7384c0f856d85c35a987abbceda0305dddf1c5f4f8c0fb1ef4836e34c4841e539d27bf649d11903cd3d4c4fdd31ac76eabc42008582bd9839f07c SHA512 5e034914a3228854429ee6f4eccb34a49fa12a952e503664eb93f6aeae22a1d0a939bac7bf0dd664a1535715e790bd14bdf15d8fe79278f7894bd3daf7b5af43
DIST gersemi-0.27.5.tar.gz 179358 BLAKE2B a072ae1eaead847f32f6460cd892f17641c36d402fef8777d9201889f73951ed04d28100b7d74629ade40362b1b274283c163c1c012045cea3ec004bd160cea0 SHA512 cfa2191fe09706b4bed265852a316ece19fb997a21ac092cc6ebe17c0e13654d059578f977a2613f5c17c2d2cb159f6d2ef9126190be5a8d8b9e3b60ec4b47c0
DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
DIST libc-0.2.185.crate 821775 BLAKE2B e0e93466a29c9d19f7d9ab3581b491908d06873a9c57a96b0cae2eed0f0d1cb184ebe80bc61e36d5ab316ab35dca529a322b29e6895f7f339e72c79cca7f8ca2 SHA512 c8dbcaaf2e5d8377a4d1003af4a7210fbfe4f9b1e8497f07d88a231a8d5c9f67014e650a5e18e913e7b4d6a1835c4cbc9c31ce0cd224ea28acbdbb39034a300e
DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690 DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690
DIST memchr-2.8.0.crate 97780 BLAKE2B 228ce0b6fe8b168f5c31031690a5eb44466609b64c5c221e0b3f56fe331b4f25c0124d613c94ef030b225000978953641f5b07458d530c1d50eec3e1d54e4274 SHA512 8089238153493a0ff6adf980efd1ea2ba10eeff9f33fff200268692662d24152a8c14a4dac37fbc6a55dca741701fd256174f10a9838ca66f038f08e090de12f DIST memchr-2.8.0.crate 97780 BLAKE2B 228ce0b6fe8b168f5c31031690a5eb44466609b64c5c221e0b3f56fe331b4f25c0124d613c94ef030b225000978953641f5b07458d530c1d50eec3e1d54e4274 SHA512 8089238153493a0ff6adf980efd1ea2ba10eeff9f33fff200268692662d24152a8c14a4dac37fbc6a55dca741701fd256174f10a9838ca66f038f08e090de12f
DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155

View File

@@ -67,6 +67,8 @@ BDEPEND="
) )
" "
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/gersemi.*.so"
EPYTEST_DESELECT=( EPYTEST_DESELECT=(
tests/test_configuration.py::test_schema_in_repository_is_consistent_with_configuration_definition tests/test_configuration.py::test_schema_in_repository_is_consistent_with_configuration_definition
) )

View File

@@ -11,7 +11,7 @@ PYTHON_COMPAT=( python3_{12..14} )
CRATES=" CRATES="
aho-corasick@1.1.4 aho-corasick@1.1.4
heck@0.5.0 heck@0.5.0
libc@0.2.185 libc@0.2.186
memchr@2.8.0 memchr@2.8.0
once_cell@1.21.4 once_cell@1.21.4
portable-atomic@1.13.1 portable-atomic@1.13.1
@@ -67,6 +67,8 @@ BDEPEND="
) )
" "
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/gersemi.*.so"
EPYTEST_DESELECT=( EPYTEST_DESELECT=(
tests/test_configuration.py::test_schema_in_repository_is_consistent_with_configuration_definition tests/test_configuration.py::test_schema_in_repository_is_consistent_with_configuration_definition
) )

View File

@@ -31,7 +31,7 @@ src_prepare() {
} }
src_compile() { src_compile() {
ego build CGO_ENABLED=0 ego build
} }
src_install() { src_install() {

View File

@@ -0,0 +1,16 @@
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Strip `-Werror`.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,6 @@ AC_CHECK_FUNCS([memmove memset regcomp select socket strcasecmp strncasecmp strc
AC_CONFIG_FILES([Makefile src/Makefile include/Makefile])
-CFLAGS="${CFLAGS} -Wall -Werror"
+CFLAGS="${CFLAGS} -Wall"
AC_OUTPUT

View File

@@ -22,7 +22,8 @@ RDEPEND="
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
PATCHES=( PATCHES=(
"${FILESDIR}"/${PN}-1.9.1-dont-build-examples.patch "${FILESDIR}/${PN}-1.9.1-dont-build-examples.patch"
"${FILESDIR}/${PN}-1.9.2-strip-Werror.patch"
) )
src_prepare() { src_prepare() {

View File

@@ -23,6 +23,8 @@ fi
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
BDEPEND=">=dev-lang/go-1.25.0"
src_unpack() { src_unpack() {
if [[ "${PV}" == 9999 ]] ; then if [[ "${PV}" == 9999 ]] ; then
git-r3_src_unpack git-r3_src_unpack
@@ -34,7 +36,7 @@ src_unpack() {
src_compile() { src_compile() {
ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \ ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \
"-s -w -linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \ "-linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \
-o _minify ./cmd/minify -o _minify ./cmd/minify
} }

View File

@@ -23,6 +23,8 @@ fi
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
BDEPEND=">=dev-lang/go-1.25.0"
src_unpack() { src_unpack() {
if [[ "${PV}" == 9999 ]] ; then if [[ "${PV}" == 9999 ]] ; then
git-r3_src_unpack git-r3_src_unpack
@@ -34,7 +36,7 @@ src_unpack() {
src_compile() { src_compile() {
ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \ ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \
"-s -w -linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \ "-linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \
-o _minify ./cmd/minify -o _minify ./cmd/minify
} }

View File

@@ -3,6 +3,8 @@
EAPI=8 EAPI=8
RUST_MIN_VER="1.89.0"
inherit cargo shell-completion inherit cargo shell-completion
DESCRIPTION="Another CMake LSP" DESCRIPTION="Another CMake LSP"
@@ -25,9 +27,9 @@ src_install() {
} }
src_test() { src_test() {
local skip=( local CARGO_SKIP_TESTS=(
--skip document_link::tests::test_document_link_search document_link::tests::test_document_link_search
--skip languageserver::test::test_init languageserver::test::test_init
) )
cargo_src_test -- "${skip[@]}" cargo_src_test
} }

View File

@@ -5,7 +5,8 @@
EAPI=8 EAPI=8
RUST_MIN_VER="1.71.1" # bug #975048: dependencies needs newer Rust than version specified by tokei.
RUST_MIN_VER="1.86.0"
CRATES=" CRATES="
aho-corasick@1.1.3 aho-corasick@1.1.3

View File

@@ -1,2 +1,2 @@
DIST azahar-2125.1.1.tar.xz 41579724 BLAKE2B 78b8f3cbedb495cbec7e576c1c1100bd23d0c658067c82cd7cb61ffce3c07cc027dc3604e820ab2ddb6593460c66f165ffe9e01e9e4e2abdae1815e065b0fba0 SHA512 059cdf13de0c23ea07807b36fc9fe5f6ae8e62b9ef82d239e5cafbd46d705d97f7c823f0f6065475c3e687130842fc5ed42bce27f2d188f101426ba96d1f526c DIST azahar-2125.1.1.tar.xz 41579724 BLAKE2B 78b8f3cbedb495cbec7e576c1c1100bd23d0c658067c82cd7cb61ffce3c07cc027dc3604e820ab2ddb6593460c66f165ffe9e01e9e4e2abdae1815e065b0fba0 SHA512 059cdf13de0c23ea07807b36fc9fe5f6ae8e62b9ef82d239e5cafbd46d705d97f7c823f0f6065475c3e687130842fc5ed42bce27f2d188f101426ba96d1f526c
DIST azahar-2125.1.tar.xz 41577188 BLAKE2B e1bcd329865df51f548ee8e410a72d66bc322b87b6f95ed51e892be5574f7e73d700f59c37c78ff5a66aeeb33f322f898760efa4d27416dc8d226a0afa1e4a5e SHA512 bb3c07f651ba3585cca49b7b2ca65335312d1d5ccb413e7d26ee7e168b505fe6e42186160008be9ba0f50b2a0865fbaf40f07c1005964eba4964bb788c99c51c DIST azahar-2125.1.2.tar.xz 41577600 BLAKE2B f300164963a51dc3b079e518efd1dcef917b00524af0ee645c120e3cc492fd7437cb14d0c1a0e5285672ca9fed743473c2aa799983c8714a67f005f290b03f4c SHA512 dd27b27a8f54a7e8bb584699226e05413153a338208d8b6b174a35178dd1c563a73e69be5f4c31c029fbd23e3c5e9c606ace68e49027e10fef78142dc4b53103

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors # Copyright 1999-2026 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

View File

@@ -1 +1,8 @@
DIST cpp-ipc-ab4e5bd18e554aaa4503a0c6f6174d9bbfb11b42.tar.gz 663636 BLAKE2B 039b6f2c05ebe59612b73658f59eae571dd45c3f3e960c75135e06281a99f55dcf1eef41b330eca0fe2460b35c75776de730c81600936fe2bf58eba3362bec7d SHA512 e6c2b8b5cc89ccb49706e87d0c4e5b8b9def855ed94419de76c4295ad3231af91e3cab2653009dc1159bc1e2871993086876ed6227bd6a1c1ae1b66938bf5fbf
DIST cpp-optparse-2265d647232249a53a03b411099863ceca35f0d3.tar.gz 13010 BLAKE2B 5a23625b98bb45c6e32174de47eb793ab9627e97df4935cdf0d3bfe43fe328488d2db0fa7987030778e03f17b9220a7990a5193e3728f1df4e9923173025979c SHA512 6b99478738980df3186b8487a33c96ee80107ed35fdd36cf615a53f58e9b1e72ab6099c2081e3622fa374f338609e747a1aa0c6c1295f2f71dea1ed17dbc6cf2
DIST imgui-45acd5e0e82f4c954432533ae9985ff0e1aad6d5.tar.gz 1934859 BLAKE2B bbd1824f98716ef7ae09811817e014882a194cbf3cdf5e9efe924c8b722920493ca9776771880310e73740ab88b1498e10ca84bdfad6fc3e47e3fd7041ed01ac SHA512 76fd04305cb48cf6bfa5c5dc884738137bd5c08f2ce12dfd77c1fc9b9294e6c592739d3ec4ceab7d65226775c3be5076710b58bcc40b8abed7da3620db3be511
DIST implot-3da8bd34299965d3b0ab124df743fe3e076fa222.tar.gz 141430 BLAKE2B 5fde32ccb24a8ceaa125e188fce9faf087fa5d2294379fc6bb31071878c4b63adb998aa0100dc48ed7a379d2b1cd49e109a150bec5ebf521f70d661673b4e4a8 SHA512 8a95f76ae4a14adf6f3bcd798d2334d8282ff7b50fc7def6308c0556adcc1dbd151c0a36aa676a82e10e1ae80d1ecc1ac54e705180650eed46d0a609611c73c5
DIST libretro-dolphin-0.0.1_pre20250517.tar.gz 41706321 BLAKE2B 6659875008484ef9427e16b944ccb1cbb17051ff59da8c4a50c5d32716b386539e6d4d87cad77dfaae8e3476bccd2c601be2d3a6a2cd0a19370d716252fc523e SHA512 0ddd7c799f97b753275742f5c539e1f353a4b63ddccda3dbd2d5384dd54004f7bc194fc76edfcdda41b7108a2c3fd16c853338d41ab7eda437a2d92beb68a58f DIST libretro-dolphin-0.0.1_pre20250517.tar.gz 41706321 BLAKE2B 6659875008484ef9427e16b944ccb1cbb17051ff59da8c4a50c5d32716b386539e6d4d87cad77dfaae8e3476bccd2c601be2d3a6a2cd0a19370d716252fc523e SHA512 0ddd7c799f97b753275742f5c539e1f353a4b63ddccda3dbd2d5384dd54004f7bc194fc76edfcdda41b7108a2c3fd16c853338d41ab7eda437a2d92beb68a58f
DIST libretro-dolphin-0.0.1_pre20260409.tar.gz 17682542 BLAKE2B 75d46e48d848e086877ee357ee726e63156ea3539d5a3e2554d55b3baf2b3e22bbc98e3f8f2a4477735b4b046a1ec9e4911ebf4658230457a28a34b69540b054 SHA512 9ec6e25640dd9edba6958a3941a7f3eb3737dc9b1e7455d3a97b092879523818f274a0940c95d6b19f7ddb5bbe7765c673a45192daff12edd15869ec00593b41
DIST tinygltf-c5641f2c22d117da7971504591a8f6a41ece488b.tar.gz 5903179 BLAKE2B 0ef4b36cf26f3a5a544d0c739317b8cce041121b1dec58d1d9dbc3bbc892df284d80aa4c45ec1ebc332ba96b151230a5b0dbf95b95aefcf86ee7878c393eda5d SHA512 486bcf32be137dea5746117074dc51bc978290698de7831e1c4bbaa4acb56ed99fc34c38e69878a955b3e5f10f43eab07b0637164f822beae0fddd099aa0c56d
DIST watcher-06f84a1314be18f5e697ebbf28c0fab2d17c9c39.tar.gz 175878 BLAKE2B 9181cb539afdfa9ee0bae3eb392a048ab7253a3f09449a0250b7a0740a58cdfd165a236534f9777efe5625c6c2b08832731d4a2b9b3231a05adf2ab7681a4561 SHA512 5ae81ab622b11f875e4fb6141beeb9d69275b7bd2345ae1907bcb9cd71379d4dba74083c7c1440781aed60718babfb4c61887eed9c84898e977df74b025d41e4

View File

@@ -0,0 +1,203 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This ebuild mirrors the setup done in `games-emulation/dolphin::gentoo`
EAPI=8
LIBRETRO_COMMIT_SHA="0cd3bb89c29535db9b7552fc86871867ccf5b471"
LIBRETRO_REPO_NAME="libretro/dolphin"
inherit cmake
# TODO no EAPI-8 #966155, copy in relevant code
# inherit libretro-core
DESCRIPTION="Dolphin libretro port"
HOMEPAGE="https://github.com/libretro/dolphin"
CPPIPC_COMMIT="ab4e5bd18e554aaa4503a0c6f6174d9bbfb11b42" # v1.4.1
CPPOPTPARSE_COMMIT="2265d647232249a53a03b411099863ceca35f0d3"
IMGUI_COMMIT="45acd5e0e82f4c954432533ae9985ff0e1aad6d5" # v1.92.2b
IMPLOT_COMMIT="3da8bd34299965d3b0ab124df743fe3e076fa222"
TINYGLTF_COMMIT="c5641f2c22d117da7971504591a8f6a41ece488b"
WATCHER_COMMIT="06f84a1314be18f5e697ebbf28c0fab2d17c9c39" #v0.14.5
SRC_URI="
https://github.com/libretro/dolphin/archive/${LIBRETRO_COMMIT_SHA}.tar.gz -> ${P}.tar.gz
https://github.com/mutouyun/cpp-ipc/archive/${CPPIPC_COMMIT}.tar.gz
-> cpp-ipc-${CPPIPC_COMMIT}.tar.gz
https://github.com/weisslj/cpp-optparse/archive/${CPPOPTPARSE_COMMIT}.tar.gz
-> cpp-optparse-${CPPOPTPARSE_COMMIT}.tar.gz
https://github.com/ocornut/imgui/archive/${IMGUI_COMMIT}.tar.gz
-> imgui-${IMGUI_COMMIT}.tar.gz
https://github.com/epezent/implot/archive/${IMPLOT_COMMIT}.tar.gz
-> implot-${IMPLOT_COMMIT}.tar.gz
https://github.com/syoyo/tinygltf/archive/${TINYGLTF_COMMIT}.tar.gz
-> tinygltf-${TINYGLTF_COMMIT}.tar.gz
https://github.com/e-dant/watcher/archive/${WATCHER_COMMIT}.tar.gz
-> watcher-${WATCHER_COMMIT}.tar.gz
"
S="${WORKDIR}/dolphin-${LIBRETRO_COMMIT_SHA}"
LICENSE="GPL-2+ BSD BSD-2 LGPL-2.1+ MIT ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bluetooth egl +evdev log systemd"
IUSE+=" debug"
RESTRICT="test" # Upstream disables tests for Libretro
RDEPEND="
app-arch/bzip2:=
app-arch/lz4:=
app-arch/xz-utils
app-arch/zstd:=
dev-libs/hidapi
dev-libs/libfmt:=
dev-libs/lzo:2
dev-libs/pugixml
dev-libs/xxhash
dev-util/glslang:=
dev-util/vulkan-headers
games-emulation/libretro-info
media-libs/cubeb
>=media-libs/libsfml-3.0:=
media-libs/libspng
net-libs/enet
net-libs/mbedtls:0=
sys-libs/minizip-ng:=
virtual/libusb:1
virtual/opengl
virtual/zlib:=
x11-libs/libX11
x11-libs/libXi
x11-libs/libXrandr
bluetooth? ( net-wireless/bluez:= )
evdev? (
dev-libs/libevdev
virtual/libudev
)
systemd? ( sys-apps/systemd:0= )
"
DEPEND="
${RDEPEND}
dev-util/vulkan-headers
media-libs/VulkanMemoryAllocator
egl? ( media-libs/libglvnd )
"
BDEPEND="
virtual/pkgconfig
"
# [directory]=license
declare -A KEEP_BUNDLED=(
# Please keep this list in `CMakeLists.txt` order
[Bochs_disasm]=LGPL-2.1+
[cpp-optparse]=MIT
[imgui]=MIT
[implot]=MIT
[tinygltf]=MIT
[FreeSurround]=GPL-2+
[curl]=curl # Intentionally static for Libretro
[picojson]=BSD-2
[expr]=MIT
[FatFs]=FatFs
[watcher]=MIT
[cpp-ipc]=MIT
[Libretro]=MIT
)
add_bundled_licenses() {
for license in "${KEEP_BUNDLED[@]}"; do
LICENSE+=" ${license}"
done
}
add_bundled_licenses
src_prepare() {
mv -T "${WORKDIR}/cpp-ipc-${CPPIPC_COMMIT}" "Externals/cpp-ipc/cpp-ipc" || die
mv -T "${WORKDIR}/cpp-optparse-${CPPOPTPARSE_COMMIT}" "Externals/cpp-optparse/cpp-optparse" || die
mv -T "${WORKDIR}/imgui-${IMGUI_COMMIT}" "Externals/imgui/imgui" || die
mv -T "${WORKDIR}/implot-${IMPLOT_COMMIT}" "Externals/implot/implot" || die
mv -T "${WORKDIR}/tinygltf-${TINYGLTF_COMMIT}" "Externals/tinygltf/tinygltf" || die
mv -T "${WORKDIR}/watcher-${WATCHER_COMMIT}" "Externals/watcher/watcher" || die
# Avoid QA notices about CMake compatibility
rm -rf "Externals/cpp-ipc/cpp-ipc/3rdparty/gtest" || die
rm -rf "Externals/imgui/imgui/examples" || die
rm -rf "Externals/implot/implot/.github" || die
rm -rf "Externals/tinygltf/tinygltf/examples" || die
sed -i "s/\(cmake_minimum_required\).*/\1(VERSION 3.10)/" \
"Externals/tinygltf/tinygltf/CMakeLists.txt" || die
cmake_src_prepare
local s remove=()
for s in Externals/*; do
[[ -f ${s} ]] && continue
if ! has "${s#Externals/}" "${!KEEP_BUNDLED[@]}"; then
remove+=( "${s}" )
fi
done
einfo "removing sources: ${remove[*]}"
rm -r "${remove[@]}" || die
}
src_configure() {
local mycmakeargs=(
-DLIBRETRO=yes
-DENABLE_BLUEZ=$(usex bluetooth)
-DENABLE_EGL=$(usex egl)
-DENABLE_EVDEV=$(usex evdev)
-DENABLE_LTO=no # just adds -flto, user can do that via flags
-DENABLE_NOGUI=no
-DFASTLOG=$(usex log)
# Undo cmake.eclass's defaults.
# All Dolphin's libraries are private
# and rely on circular dependency resolution.
-DBUILD_SHARED_LIBS=no
# Avoid warning spam around unset variables.
-Wno-dev
# System installed Git shouldn't affect non-live builds
-DCMAKE_DISABLE_FIND_PACKAGE_Git=yes
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_install() {
# TODO libretro-core.eclass does not support EAPI-8 #966155
# LIBRETRO_CORE_LIB_FILE="${BUILD_DIR}/${LIBRETRO_CORE_NAME}_libretro.so"
# libretro-core_src_install
# libretro-core_src_install from libretro-core.eclass
local LIBRETRO_CORE_NAME=${PN#libretro-}
LIBRETRO_CORE_NAME=${LIBRETRO_CORE_NAME//-/_}
local LIBRETRO_CORE_LIB_FILE="${BUILD_DIR}/${LIBRETRO_CORE_NAME}_libretro.so"
# Absolute path of the directory containing Libretro shared libraries.
local libretro_lib_dir="/usr/$(get_libdir)/libretro"
# If this core's shared library exists, install that.
if [[ -f "${LIBRETRO_CORE_LIB_FILE}" ]]; then
exeinto "${libretro_lib_dir}"
doexe "${LIBRETRO_CORE_LIB_FILE}"
else
# Basename of this library.
local lib_basename="${LIBRETRO_CORE_LIB_FILE##*/}"
# Absolute path to which this library was installed.
local lib_file_target="${ED}${libretro_lib_dir}/${lib_basename}"
# If this library was *NOT* installed, fail.
[[ -f "${lib_file_target}" ]] ||
die "Libretro core shared library \"${lib_file_target}\" not installed."
fi
}

View File

@@ -1 +1 @@
DIST kittenspaceagency-bin-2026.5.6-r4337.tar.gz 2182029494 BLAKE2B 10cbadf3e94ea6e6b06df2c9b89127456cf41b89c8562129d00b9ba1e2098cbe1287a3c79c4032d5ad68b859e561e20d8abf349e9a9941e9f53527b3349ef580 SHA512 ab4a9e2cfcc4218ba5482b32726c4c5d50a9cf64ba879093f1fbdc49521c383865949f0927bdc5172f7b52b7dc39e44de2e32dbbb8380348c80dcdb541503434 DIST kittenspaceagency-bin-2026.5.7-r4397.tar.gz 2180937127 BLAKE2B 9d813e526b74838d0754712ebd8d871e8a2cfb2deca6a28a4d246e005758997ca8490df8b2fec3811959b2745f086300b48a9409b4bb5c38b3da0c74ed5edbc5 SHA512 739a55c0e37faaf99be30c456238260711ac7173b34f67a261254c5c0733e661a48f57d652780c9420f7145bae45a992133fc9d26291cb346753af2f651f4ae4

View File

@@ -0,0 +1,85 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RPM_COMPRESS_TYPE="xz"
inherit desktop rpm xdg
DESCRIPTION="Open-source gaming platform and launcher"
HOMEPAGE="https://github.com/hydralauncher/hydra"
SRC_URI="amd64? ( https://github.com/hydralauncher/hydra/releases/download/v${PV}/hydralauncher-${PV}.x86_64.rpm )"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip"
QA_PREBUILT="*"
# native modules (classic-level, sharp) are abi-coupled to the bundled
# electron, so a system electron binary cannot be used
RDEPEND="
app-accessibility/at-spi2-core
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa
net-misc/aria2
net-print/cups
sys-apps/dbus
virtual/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf:2
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/libXrandr
x11-libs/pango"
src_prepare() {
default
# strip non-linux-x64 and musl prebuilds from classic-level
local pb=opt/Hydra/resources/app.asar.unpacked/node_modules/classic-level/prebuilds
find "${pb}" -mindepth 1 -maxdepth 1 -type d ! -name linux-x64 -exec rm -rf {} + || die
rm -rf "${pb}"/linux-x64/*.musl.node || die
# strip musl variants from sharp
local sharp_base=opt/Hydra/resources/app.asar.unpacked/node_modules/@img
rm -rf "${sharp_base}"/*-linuxmusl-x64 || die
}
src_install() {
insinto /opt
doins -r opt/Hydra
# restore executable bits stripped by doins
while IFS= read -r -d '' exe; do
fperms +x "/${exe}"
done < <(find opt/Hydra -type f -executable -print0)
# chrome-sandbox requires setuid root for electron's sandbox
fowners root "/opt/Hydra/chrome-sandbox"
fperms 4711 "/opt/Hydra/chrome-sandbox"
domenu usr/share/applications/hydralauncher.desktop
doicon -s 512 usr/share/icons/hicolor/512x512/apps/hydralauncher.png
# expose bundled libs to the bundled electron runtime
exeinto /usr/bin
newexe - hydralauncher <<-'EOF'
#!/bin/sh
export LD_LIBRARY_PATH="/opt/Hydra:${LD_LIBRARY_PATH}"
exec /opt/Hydra/hydralauncher "$@"
EOF
}

View File

@@ -35,6 +35,7 @@ RDEPEND="
dev-python/psutil[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}]
>=dev-python/evdev-1.3.0[${PYTHON_USEDEP}] >=dev-python/evdev-1.3.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pkg-resources[${PYTHON_USEDEP}]
') ')
virtual/udev virtual/udev
" "
@@ -98,3 +99,11 @@ pkg_postinst() {
pkg_postrm() { pkg_postrm() {
udev_reload udev_reload
} }
pkg_postinst() {
einfo ""
einfo "This version of input-remapper relies on reprecated dependencies (dev-python/pkg-resources) and additionally cannot support python 3.14."
einfo ""
einfo "It is recommended to switch to the live ebuild, where both of these issues have been fixed, until the author releases a new version."
einfo ""
}

View File

@@ -1 +1 @@
DIST linuxtrack-qt6-wayland-1.4.1.tar.gz 245613144 BLAKE2B 2163322e75415076150a8a6db287f4a12fbd94ccee4f633658514ae97042340d1fc72a0d565fab1c97c2420e0cb082428b9b7ef24e50237517d01f447ec25877 SHA512 21dda90a505229e03d5c6429282be10fd959daa6d352345f5c8f179ad2ad94a968be12e995a9e8d0b415399fbfb2fc3599e898f757bf128b8714bb327b798b66 DIST linuxtrack-qt6-wayland-1.4.10.tar.gz 245638194 BLAKE2B cdf75edb9d1828d5fc80308925c0a793cafc6987d1b33ca681238a9821c84fae1ca7830430ccb729494df23b411cdbd2bc31a9ed0ad8c37888a43852f30a81ba SHA512 ff6ee44e311e821df1c01d581c72430ea258e986004980abeec773e89e0b59b6d53173906a5d5548f56c28d34760e85333f9c606038c8744a37da1199efb65cc

View File

@@ -1,8 +1,6 @@
DIST mangohud-0.7.2.tar.gz 14906751 BLAKE2B a88e6497d8a8bcd899fc41d555dec429a69c864a10476c1d549acead58a7fc7c5f5d14d901b75bd2aed1d8c8088a027417a74480b89501d947333d665d0567c0 SHA512 edc3e380f9f58b65ae04c970e84eec9ff3458eafb2d89b2208c0afa6978a745a634aab6b0e025996175981e80c66475ef92ffe326d31a67055895b8fd1213e63 DIST Vulkan-Headers-1.4.346.tar.gz 3231583 BLAKE2B 20057db3493e769824844f49a3f0458f83e653fe5b63b7ea711c46929d1a491d8cb6460a089c5bbbe688fb0d04ea62b512a1a5a0aee092aa24e957a25cf06846 SHA512 3afe221ad6bda2e864fd7f54b436a3b44b409e2a5929aab7176192eea0d7ff4c7182aa295e9cb7dbd3add79bd6e29467f9c12f664fd42516d62500b39722faa2
DIST mangohud-0.8.0.tar.gz 14911988 BLAKE2B 94da2c850f616adb02478a641b6554298a4e9ce4eff7ef75c962adb180fd43ebb789c684204d11eb9194fc14c5db7fbe94045b3843b25ac7c3f1d655d4f7725f SHA512 ece0c8310789e1876b97926ddeb4305b5180460766a343c9f875c0d6342194c14e6c94ef28748b452ecdc590e174ef042283ba5ba40047070ea684c3b855cb7c DIST Vulkan-Utility-Libraries-1.4.346.tar.gz 1306759 BLAKE2B 8c4ebf73af3ad871360e7c4a426bd0f3f45082d5e9a708e6348ab0595cda307ee4de57c388c885e7f54aeff3c0cd8a1e834125f50003e8be1fc83af241ecf0c1 SHA512 754efbee3705567f48f320892ab76a7c2c64870d1d651d2de120461e204586ac6332ae20998634ca8ced8ad6e9c24a885b615d35682935b7c503eef15e3735e8
DIST mangohud-0.8.1.tar.gz 14918082 BLAKE2B 11ca387718b13f853573e37212bbd838c915bac949704860e7abf5f324c2668a70377e0b9d8e27b490ff984a7016da4e7ac7306335d4f83d0e807b9cdd21b19d SHA512 c99326bdb48dec9068e41536b468ff9dec5996d3b051a8277fe68fd91309219c8197f699b84cac4561321a946416ef2eea35a42b35e9da0bb01c977710635d93
DIST mangohud-0.8.2.tar.gz 14934235 BLAKE2B 2fbf57fb4b68ba808f8b99cbdf0606a618e993695c938a45a8abc04dff29f00823f3a0858850e1f52e14615b7d40775fcf0ae3fcd8b48fe7cf578237caae8930 SHA512 9f5a04a01a0a28569c44b57ea59dc17f98a418afd93680e616d208e33b31bb57d081d479239b172b2ebc83f5872b187726324fe76b504dc43169057943bba637 DIST mangohud-0.8.2.tar.gz 14934235 BLAKE2B 2fbf57fb4b68ba808f8b99cbdf0606a618e993695c938a45a8abc04dff29f00823f3a0858850e1f52e14615b7d40775fcf0ae3fcd8b48fe7cf578237caae8930 SHA512 9f5a04a01a0a28569c44b57ea59dc17f98a418afd93680e616d208e33b31bb57d081d479239b172b2ebc83f5872b187726324fe76b504dc43169057943bba637
DIST mangohud-0.8.3.tar.gz 14947932 BLAKE2B 37b96e8ea4b64c4f295bdd065f63cbe0c02615f551c0561f5be9059246f0639e0acff74a9f826289e609bb63ef41875a707de6ebdb5e7d65ad9a1eafd67640a9 SHA512 90ae828e378d5f901c98a30432aee1187fe2b9defdf5415c920f6f5d572799a0d7f49462457fea01bfb11f0c77a3eb00bbd015bd508cf1e0cbc1f24da4fee1c7
DIST vulkan-headers-1.2.158-2-meson-wrap.zip 1107 BLAKE2B 35e4bb1f7410a009243fe7d4a4ba6cede7f01e0b56ad6ff72ad30c00c2452bd6d2a4fb44ab92c296147e2506a92acc6de1f817cb5433b96d66652cbcd8885595 SHA512 30cbbb90580399839e1bba8881b9b8cc33fdeead93f37d5f3398c9d53fb3ab050ca2562fd68f376fa4ee0825ee3787f560d70d55a170c780dd575ff2eeb66efd DIST vulkan-headers-1.2.158-2-meson-wrap.zip 1107 BLAKE2B 35e4bb1f7410a009243fe7d4a4ba6cede7f01e0b56ad6ff72ad30c00c2452bd6d2a4fb44ab92c296147e2506a92acc6de1f817cb5433b96d66652cbcd8885595 SHA512 30cbbb90580399839e1bba8881b9b8cc33fdeead93f37d5f3398c9d53fb3ab050ca2562fd68f376fa4ee0825ee3787f560d70d55a170c780dd575ff2eeb66efd
DIST vulkan-headers-1.2.158.tar.gz 831647 BLAKE2B 792d7e895e27c4a8fbc93fc4d9c9e696d2ceb946e745709c050c0693b77afbeb6411a4267fc59508ddeb58167d469349fedc1c5d4b4a7415b590c97248b244bc SHA512 f7aa9222f9deb1316d22deacc2c6cd85c409f0f2b2d37ecd55e0fc8466d381bbe3bed287881b993a01c5f33736e1607014f820980b7a54a3721fab6980960c91 DIST vulkan-headers-1.2.158.tar.gz 831647 BLAKE2B 792d7e895e27c4a8fbc93fc4d9c9e696d2ceb946e745709c050c0693b77afbeb6411a4267fc59508ddeb58167d469349fedc1c5d4b4a7415b590c97248b244bc SHA512 f7aa9222f9deb1316d22deacc2c6cd85c409f0f2b2d37ecd55e0fc8466d381bbe3bed287881b993a01c5f33736e1607014f820980b7a54a3721fab6980960c91
DIST vulkan-headers-1.3.283-1-meson-wrap.zip 1219 BLAKE2B 48efb687335a478e16396114d13177b91aba5b4fd321d155d028c404d39d4968a74b3911bbfcfebd6288bc922f52e4b761ee348df4d772a45e57a60d302e5641 SHA512 45aab78ea50b280610bdb6ba704388a16f159ddab1d19ae503e58edaee403f979027a18bf0303780e63e63d807368d1911388a5b5c2da42bb5ca89b5d8d47d85
DIST vulkan-headers-1.3.283.tar.gz 2271437 BLAKE2B 641baef95972c88ba1e5369b3522db3db223f1191e423e7d8938d20d132276ade8afc6611efad25a1cf0434a7a0bada6a52ac0a74af809cde96e55ec6b06671d SHA512 48a863b8b9c9131c65253071e3b45fc35b98db241d2a1737969f5ae9a4d0a7e0fda37c7fe8f956fec549fcde4999b038faaede7e54066076386bad2794d311f8

View File

@@ -1,152 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
inherit flag-o-matic python-single-r1 meson-multilib
MY_PV=$(ver_cut 1-3)
[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more"
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
VK_HEADERS_VER="1.2.158"
VK_HEADERS_MESON_WRAP_VER="2"
SRC_URI="
https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz
https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch
-> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
else
SRC_URI+="
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/MangoHud-${PV}"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+dbus debug +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia video_cards_amdgpu test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( X wayland )
xnvctrl? ( video_cards_nvidia )
mangoapp? ( X )
"
BDEPEND="
app-arch/unzip
dev-util/glslang
test? ( dev-util/cmocka )
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
"
DEPEND="
${PYTHON_DEPS}
=media-libs/imgui-1.89.9*:=[opengl,vulkan,${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
dev-libs/spdlog:=[${MULTILIB_USEDEP}]
dev-libs/libfmt:=[${MULTILIB_USEDEP}]
dev-cpp/nlohmann_json
x11-libs/libxkbcommon
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
video_cards_nvidia? (
x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
)
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
mangoapp? (
=media-libs/imgui-1.89.9*[glfw]
media-libs/glfw[X(+)?,wayland(+)?]
media-libs/glew
)
"
RDEPEND="
${DEPEND}
media-libs/libglvnd[${MULTILIB_USEDEP}]
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
mangoplot? (
media-fonts/lato
$(python_gen_cond_dep '
|| (
dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
dev-python/matplotlib[qt5(-),${PYTHON_USEDEP}]
dev-python/matplotlib[qt6(-),${PYTHON_USEDEP}]
dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}]
)
')
)
"
src_unpack() {
default
[[ -n "${MY_PV_REV}" ]] && ( mv "${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
if [[ $PV == 9999 ]]; then
git-r3_src_unpack
fi
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz
unpack vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
}
src_prepare() {
default
# replace all occurences of "#include <imgui.h>" to "#include <imgui/imgui.h>"
find . -type f -exec sed -i 's|<imgui.h>|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui.h"|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|<imgui_internal.h>|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_glfw.h"|<imgui/imgui_impl_glfw.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_opengl3.h"|<imgui/imgui_impl_opengl3.h>|g' {} \; || die
}
multilib_src_configure() {
# workaround for lld
# https://github.com/flightlessmango/MangoHud/issues/1240
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
local emesonargs=(
-Dappend_libdir_mangohud=false
-Dinclude_doc=false
-Duse_system_spdlog=enabled
$(meson_feature video_cards_nvidia with_nvml)
$(meson_feature xnvctrl with_xnvctrl)
$(meson_feature X with_x11)
$(meson_feature wayland with_wayland)
$(meson_feature dbus with_dbus)
$(meson_use mangoapp mangoapp)
$(meson_use mangoapp mangoapp_layer)
$(meson_use mangohudctl mangohudctl)
$(meson_feature mangoplot mangoplot)
)
meson_src_configure
}
pkg_postinst() {
if ! use xnvctrl; then
einfo ""
einfo "If mangohud can't get GPU load, or other GPU information,"
einfo "and you have an older Nvidia device."
einfo ""
einfo "Try enabling the 'xnvctrl' useflag."
einfo ""
fi
}

View File

@@ -1,151 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
inherit flag-o-matic python-single-r1 meson-multilib
MY_PV=$(ver_cut 1-3)
[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more"
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
VK_HEADERS_VER="1.2.158"
VK_HEADERS_MESON_WRAP_VER="2"
SRC_URI="
https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz
https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch
-> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
else
SRC_URI+="
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/MangoHud-${PV}"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+dbus debug +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia video_cards_amdgpu test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( X wayland )
xnvctrl? ( video_cards_nvidia )
mangoapp? ( X )
"
BDEPEND="
app-arch/unzip
dev-util/glslang
test? ( dev-util/cmocka )
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
"
DEPEND="
${PYTHON_DEPS}
=media-libs/imgui-1.89.9*:=[opengl,vulkan,${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
dev-libs/spdlog:=[${MULTILIB_USEDEP}]
dev-libs/libfmt:=[${MULTILIB_USEDEP}]
dev-cpp/nlohmann_json
x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
video_cards_nvidia? (
x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
)
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
mangoapp? (
=media-libs/imgui-1.89.9*[glfw]
media-libs/glfw[X(+)?,wayland(+)?]
media-libs/glew
)
"
RDEPEND="
${DEPEND}
media-libs/libglvnd[${MULTILIB_USEDEP}]
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
mangoplot? (
media-fonts/lato
$(python_gen_cond_dep '
|| (
dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
dev-python/matplotlib[qt5(-),${PYTHON_USEDEP}]
dev-python/matplotlib[qt6(-),${PYTHON_USEDEP}]
dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}]
)
')
)
"
src_unpack() {
default
[[ -n "${MY_PV_REV}" ]] && ( mv "${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
if [[ $PV == 9999 ]]; then
git-r3_src_unpack
fi
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz
unpack vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
}
src_prepare() {
default
# replace all occurences of "#include <imgui.h>" to "#include <imgui/imgui.h>"
find . -type f -exec sed -i 's|<imgui.h>|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui.h"|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|<imgui_internal.h>|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_glfw.h"|<imgui/imgui_impl_glfw.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_opengl3.h"|<imgui/imgui_impl_opengl3.h>|g' {} \; || die
}
multilib_src_configure() {
# workaround for lld
# https://github.com/flightlessmango/MangoHud/issues/1240
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
local emesonargs=(
-Dappend_libdir_mangohud=false
-Dinclude_doc=false
-Duse_system_spdlog=enabled
$(meson_feature video_cards_nvidia with_nvml)
$(meson_feature xnvctrl with_xnvctrl)
$(meson_feature X with_x11)
$(meson_feature wayland with_wayland)
$(meson_feature dbus with_dbus)
$(meson_use mangoapp mangoapp)
$(meson_use mangohudctl mangohudctl)
$(meson_feature mangoplot mangoplot)
)
meson_src_configure
}
pkg_postinst() {
if ! use xnvctrl; then
einfo ""
einfo "If mangohud can't get GPU load, or other GPU information,"
einfo "and you have an older Nvidia device."
einfo ""
einfo "Try enabling the 'xnvctrl' useflag."
einfo ""
fi
}

View File

@@ -1,154 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit flag-o-matic python-single-r1 meson-multilib toolchain-funcs
MY_PV=$(ver_cut 1-3)
[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more"
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
# Check subprojects/vulkan-headers.wrap for both of these values
VK_HEADERS_VER="1.2.158"
VK_HEADERS_MESON_WRAP_VER="2"
SRC_URI="
https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz
https://github.com/mesonbuild/wrapdb/releases/download/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}_patch.zip
-> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
else
SRC_URI+="
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/MangoHud-${PV}"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+dbus debug +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia video_cards_amdgpu test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( X wayland )
xnvctrl? ( video_cards_nvidia )
mangoapp? ( X )
"
BDEPEND="
app-arch/unzip
dev-util/glslang
test? ( dev-util/cmocka )
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
"
DEPEND="
${PYTHON_DEPS}
=media-libs/imgui-1.89.9*:=[opengl,vulkan,${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
dev-libs/spdlog:=[${MULTILIB_USEDEP}]
dev-libs/libfmt:=[${MULTILIB_USEDEP}]
dev-cpp/nlohmann_json
x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
video_cards_nvidia? (
x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
)
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
mangoapp? (
=media-libs/imgui-1.89.9*[glfw]
media-libs/glfw[X(+)?,wayland(+)?]
media-libs/glew
)
"
RDEPEND="
${DEPEND}
media-libs/libglvnd[${MULTILIB_USEDEP}]
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
mangoplot? (
media-fonts/lato
$(python_gen_cond_dep '
|| (
dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
dev-python/matplotlib[qt5(-),${PYTHON_USEDEP}]
dev-python/matplotlib[qt6(-),${PYTHON_USEDEP}]
dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}]
)
')
)
"
src_unpack() {
default
[[ -n "${MY_PV_REV}" ]] && ( mv "${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
if [[ $PV == 9999 ]]; then
git-r3_src_unpack
fi
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz
unpack vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
}
src_prepare() {
default
# replace all occurences of "#include <imgui.h>" to "#include <imgui/imgui.h>"
find . -type f -exec sed -i 's|<imgui.h>|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui.h"|<imgui/imgui.h>|g' {} \; || die
find . -type f -exec sed -i 's|<imgui_internal.h>|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_glfw.h"|<imgui/imgui_impl_glfw.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_impl_opengl3.h"|<imgui/imgui_impl_opengl3.h>|g' {} \; || die
}
multilib_src_configure() {
# workaround for lld
# https://github.com/flightlessmango/MangoHud/issues/1240
if tc-ld-is-lld; then
append-ldflags -Wl,--undefined-version
fi
local emesonargs=(
-Dappend_libdir_mangohud=false
-Dinclude_doc=false
-Duse_system_spdlog=enabled
$(meson_feature video_cards_nvidia with_nvml)
$(meson_feature xnvctrl with_xnvctrl)
$(meson_feature X with_x11)
$(meson_feature wayland with_wayland)
$(meson_feature dbus with_dbus)
$(meson_use mangoapp mangoapp)
$(meson_use mangohudctl mangohudctl)
$(meson_feature mangoplot mangoplot)
)
meson_src_configure
}
pkg_postinst() {
if ! use xnvctrl; then
einfo ""
einfo "If mangohud can't get GPU load, or other GPU information,"
einfo "and you have an older Nvidia device."
einfo ""
einfo "Try enabling the 'xnvctrl' useflag."
einfo ""
fi
}

View File

@@ -1,54 +1,47 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2026 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
PYTHON_COMPAT=( python3_{12..13} ) PYTHON_COMPAT=( python3_{12..14} )
inherit flag-o-matic python-single-r1 meson-multilib toolchain-funcs inherit flag-o-matic python-single-r1 meson-multilib toolchain-funcs
MY_PV=$(ver_cut 1-3)
[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more" DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more"
HOMEPAGE="https://github.com/flightlessmango/MangoHud" HOMEPAGE="https://github.com/flightlessmango/MangoHud"
VK_HEADERS_VER="1.2.158" # Check subprojects/vulkan-headers.wrap for this value
VK_HEADERS_MESON_WRAP_VER="2" VK_HEADERS_VER="1.4.346"
SRC_URI=" SRC_URI="
https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz -> Vulkan-Headers-${VK_HEADERS_VER}.tar.gz
https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip -> Vulkan-Utility-Libraries-${VK_HEADERS_VER}.tar.gz
" "
if [[ ${PV} == 9999 ]]; then if [[ ${PV} == 9999 ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git" EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
else else
SRC_URI+=" SRC_URI+="https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64" KEYWORDS="~amd64"
S="${WORKDIR}/MangoHud-${PV}" S="${WORKDIR}/MangoHud-${PV}"
fi fi
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
IUSE="+dbus debug +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia video_cards_amdgpu test" IUSE="+dbus +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia test"
RESTRICT="!test? ( test )" RESTRICT="test" # tests aren't enabled upstream
REQUIRED_USE=" REQUIRED_USE="
${PYTHON_REQUIRED_USE} ${PYTHON_REQUIRED_USE}
|| ( X wayland ) || ( X wayland )
xnvctrl? ( video_cards_nvidia ) xnvctrl? ( video_cards_nvidia X )
mangoapp? ( X ) mangoapp? ( X )
" "
BDEPEND=" BDEPEND="
app-arch/unzip
dev-util/glslang dev-util/glslang
test? ( dev-util/cmocka ) test? ( dev-util/cmocka )
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
@@ -56,11 +49,10 @@ BDEPEND="
DEPEND=" DEPEND="
${PYTHON_DEPS} ${PYTHON_DEPS}
=media-libs/imgui-1.89.9*:=[opengl,vulkan,${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
dev-libs/spdlog:=[${MULTILIB_USEDEP}] dev-libs/spdlog:=[${MULTILIB_USEDEP}]
dev-libs/libfmt:=[${MULTILIB_USEDEP}] dev-libs/libfmt:=[${MULTILIB_USEDEP}]
dev-cpp/nlohmann_json =media-libs/imgui-1.91.6*:=[${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}] x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
@@ -70,9 +62,8 @@ DEPEND="
) )
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] ) wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
mangoapp? ( mangoapp? (
=media-libs/imgui-1.89.9*[glfw] =media-libs/imgui-1.91.6*[glfw,opengl]
media-libs/glfw[X(+)?,wayland(+)?] media-libs/glfw[X(+)?,wayland(+)?]
media-libs/glew
) )
" "
@@ -93,29 +84,33 @@ RDEPEND="
) )
" "
PATCHES=(
"${FILESDIR}/${PN}-0.8.3-system-imgui.patch"
)
src_unpack() { src_unpack() {
default default
[[ -n "${MY_PV_REV}" ]] && ( mv "${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
if [[ $PV == 9999 ]]; then if [[ $PV == 9999 ]]; then
git-r3_src_unpack git-r3_src_unpack
fi fi
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz unpack Vulkan-Headers-${VK_HEADERS_VER}.tar.gz
unpack vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip unpack Vulkan-Utility-Libraries-${VK_HEADERS_VER}.tar.gz
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
} }
src_prepare() { src_prepare() {
default default
# replace all occurences of "#include <imgui.h>" to "#include <imgui/imgui.h>"
find . -type f -exec sed -i 's|<imgui.h>|<imgui/imgui.h>|g' {} \; || die mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
find . -type f -exec sed -i 's|"imgui.h"|<imgui/imgui.h>|g' {} \; || die mv "${WORKDIR}/Vulkan-Utility-Libraries-${VK_HEADERS_VER}" "${S}/subprojects/" || die
find . -type f -exec sed -i 's|<imgui_internal.h>|<imgui/imgui_internal.h>|g' {} \; || die
find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die pushd subprojects || die
find . -type f -exec sed -i 's|"imgui_impl_glfw.h"|<imgui/imgui_impl_glfw.h>|g' {} \; || die mv packagefiles/vulkan-headers/* Vulkan-Headers-${VK_HEADERS_VER} || die
find . -type f -exec sed -i 's|"imgui_impl_opengl3.h"|<imgui/imgui_impl_opengl3.h>|g' {} \; || die mv packagefiles/vulkan-utility-libraries/* Vulkan-Utility-Libraries-${VK_HEADERS_VER} || die
# save some space when using FEATURES=installsources
rm -rf "*.wrap" "{packagefiles/imgui-0.16}" || die
popd || die
} }
multilib_src_configure() { multilib_src_configure() {
@@ -137,6 +132,7 @@ multilib_src_configure() {
$(meson_use mangoapp mangoapp) $(meson_use mangoapp mangoapp)
$(meson_use mangohudctl mangohudctl) $(meson_use mangohudctl mangohudctl)
$(meson_feature mangoplot mangoplot) $(meson_feature mangoplot mangoplot)
$(meson_feature test tests)
) )
meson_src_configure meson_src_configure
} }

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2026 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
@@ -7,49 +7,41 @@ PYTHON_COMPAT=( python3_{12..14} )
inherit flag-o-matic python-single-r1 meson-multilib toolchain-funcs inherit flag-o-matic python-single-r1 meson-multilib toolchain-funcs
MY_PV=$(ver_cut 1-3)
[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more" DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system load and more"
HOMEPAGE="https://github.com/flightlessmango/MangoHud" HOMEPAGE="https://github.com/flightlessmango/MangoHud"
# Check subprojects/vulkan-headers.wrap for both of these values # Check subprojects/vulkan-headers.wrap for this value
VK_HEADERS_VER="1.3.283" VK_HEADERS_VER="1.4.346"
VK_HEADERS_MESON_WRAP_VER="1"
SRC_URI=" SRC_URI="
https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz -> Vulkan-Headers-${VK_HEADERS_VER}.tar.gz
https://github.com/mesonbuild/wrapdb/releases/download/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}_patch.zip https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip -> Vulkan-Utility-Libraries-${VK_HEADERS_VER}.tar.gz
" "
if [[ ${PV} == 9999 ]]; then if [[ ${PV} == 9999 ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git" EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
else else
SRC_URI+=" SRC_URI+="https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64" KEYWORDS="~amd64"
S="${WORKDIR}/MangoHud-${PV}" S="${WORKDIR}/MangoHud-${PV}"
fi fi
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
IUSE="+dbus debug +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia video_cards_amdgpu test" IUSE="+dbus +X xnvctrl wayland mangoapp mangohudctl mangoplot video_cards_nvidia test"
RESTRICT="!test? ( test )" RESTRICT="test" # tests aren't enabled upstream
REQUIRED_USE=" REQUIRED_USE="
${PYTHON_REQUIRED_USE} ${PYTHON_REQUIRED_USE}
|| ( X wayland ) || ( X wayland )
xnvctrl? ( video_cards_nvidia ) xnvctrl? ( video_cards_nvidia X )
mangoapp? ( X ) mangoapp? ( X )
" "
BDEPEND=" BDEPEND="
app-arch/unzip
dev-util/glslang dev-util/glslang
test? ( dev-util/cmocka ) test? ( dev-util/cmocka )
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
@@ -57,11 +49,10 @@ BDEPEND="
DEPEND=" DEPEND="
${PYTHON_DEPS} ${PYTHON_DEPS}
=media-libs/imgui-1.91.6*:=[opengl,vulkan,${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
dev-libs/spdlog:=[${MULTILIB_USEDEP}] dev-libs/spdlog:=[${MULTILIB_USEDEP}]
dev-libs/libfmt:=[${MULTILIB_USEDEP}] dev-libs/libfmt:=[${MULTILIB_USEDEP}]
dev-cpp/nlohmann_json =media-libs/imgui-1.91.6*:=[${MULTILIB_USEDEP}]
=media-libs/implot-0.16*:=[${MULTILIB_USEDEP}]
x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}] x11-libs/libxkbcommon:=[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
@@ -71,9 +62,8 @@ DEPEND="
) )
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] ) wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
mangoapp? ( mangoapp? (
=media-libs/imgui-1.91.6*[glfw] =media-libs/imgui-1.91.6*[glfw,opengl]
media-libs/glfw[X(+)?,wayland(+)?] media-libs/glfw[X(+)?,wayland(+)?]
media-libs/glew
) )
" "
@@ -95,21 +85,32 @@ RDEPEND="
" "
PATCHES=( PATCHES=(
"${FILESDIR}/${P}-system-imgui.patch" "${FILESDIR}/${PN}-0.8.3-system-imgui.patch"
) )
src_unpack() { src_unpack() {
default default
[[ -n "${MY_PV_REV}" ]] && ( mv "${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
if [[ $PV == 9999 ]]; then if [[ $PV == 9999 ]]; then
git-r3_src_unpack git-r3_src_unpack
fi fi
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz unpack Vulkan-Headers-${VK_HEADERS_VER}.tar.gz
unpack vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip unpack Vulkan-Utility-Libraries-${VK_HEADERS_VER}.tar.gz
}
src_prepare() {
default
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || die
mv "${WORKDIR}/Vulkan-Utility-Libraries-${VK_HEADERS_VER}" "${S}/subprojects/" || die
pushd subprojects || die
mv packagefiles/vulkan-headers/* Vulkan-Headers-${VK_HEADERS_VER} || die
mv packagefiles/vulkan-utility-libraries/* Vulkan-Utility-Libraries-${VK_HEADERS_VER} || die
# save some space when using FEATURES=installsources
rm -rf "*.wrap" "{packagefiles/imgui-0.16}" || die
popd || die
} }
multilib_src_configure() { multilib_src_configure() {
@@ -131,6 +132,7 @@ multilib_src_configure() {
$(meson_use mangoapp mangoapp) $(meson_use mangoapp mangoapp)
$(meson_use mangohudctl mangohudctl) $(meson_use mangohudctl mangohudctl)
$(meson_feature mangoplot mangoplot) $(meson_feature mangoplot mangoplot)
$(meson_feature test tests)
) )
meson_src_configure meson_src_configure
} }

View File

@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} ) PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 meson udev inherit distutils-r1 meson udev xdg
DESCRIPTION="Steering Wheel Manager for Linux" DESCRIPTION="Steering Wheel Manager for Linux"
HOMEPAGE="https://github.com/berarma/oversteer" HOMEPAGE="https://github.com/berarma/oversteer"

View File

@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} ) PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 meson udev git-r3 inherit distutils-r1 meson udev xdg git-r3
DESCRIPTION="Steering Wheel Manager for Linux" DESCRIPTION="Steering Wheel Manager for Linux"
HOMEPAGE="https://github.com/berarma/oversteer" HOMEPAGE="https://github.com/berarma/oversteer"

View File

@@ -21,6 +21,7 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RDEPEND=" RDEPEND="
dev-libs/glib:2
gui-libs/gtk:4 gui-libs/gtk:4
gui-libs/libadwaita:1 gui-libs/libadwaita:1
" "

View File

@@ -288,6 +288,8 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/regreet"
RDEPEND=" RDEPEND="
dev-libs/glib dev-libs/glib
gui-libs/greetd gui-libs/greetd

View File

@@ -19,7 +19,7 @@ SLOT="0/${PV}"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RDEPEND=" RDEPEND="
media-libs/imgui media-libs/imgui[${MULTILIB_USEDEP}]
" "
BDEPEND=" BDEPEND="

View File

@@ -2,3 +2,4 @@ DIST fooyin-0.10.0.tar.gz 2994454 BLAKE2B 63c41f1a74104068a4dc7b90dcf1d42af18cb9
DIST fooyin-0.10.3.tar.gz 3060340 BLAKE2B b745eb59b9e62d30160964bc36b806f0a66c62beed2b2686bdeae3e4eb4d5f2befd54a9da67d301e0a190c054a563b5fb63b8e5ca1bd740562eb11e06df0f82b SHA512 2dc16e00c3f033e1096235702e158ef8503d1bd617b969fd569891968f1ab160569f73cd66c96dc37f8e564d24346bb885d211b289827325fba8d0c92cc7d1ac DIST fooyin-0.10.3.tar.gz 3060340 BLAKE2B b745eb59b9e62d30160964bc36b806f0a66c62beed2b2686bdeae3e4eb4d5f2befd54a9da67d301e0a190c054a563b5fb63b8e5ca1bd740562eb11e06df0f82b SHA512 2dc16e00c3f033e1096235702e158ef8503d1bd617b969fd569891968f1ab160569f73cd66c96dc37f8e564d24346bb885d211b289827325fba8d0c92cc7d1ac
DIST fooyin-0.10.5.tar.gz 3683739 BLAKE2B bc9d99596f965bb3bacf1d6faf66c551954fc18fe392f31701374f0a569792c70d434a82ae626e4115dd1c79e7d7cddebd0d3320d2d232514d2fabaed1e8fe7b SHA512 d53a5193d1477dc6fb17526f0d6b3c97ed491d844fc9d212a7ed403ff6cf26f69d53cc2a2c22829f4ca3cd57e1ccf5fc9990402661c2d426787432501cf4235c DIST fooyin-0.10.5.tar.gz 3683739 BLAKE2B bc9d99596f965bb3bacf1d6faf66c551954fc18fe392f31701374f0a569792c70d434a82ae626e4115dd1c79e7d7cddebd0d3320d2d232514d2fabaed1e8fe7b SHA512 d53a5193d1477dc6fb17526f0d6b3c97ed491d844fc9d212a7ed403ff6cf26f69d53cc2a2c22829f4ca3cd57e1ccf5fc9990402661c2d426787432501cf4235c
DIST fooyin-0.10.6.tar.gz 3804870 BLAKE2B 57eab5797341235c30608132dfd523b76e0ecf0e645e402cc5d6f05ef0a0b7f0d34a93cce7e32073c8daed168a25c0570ca31df3fad763c0f3ee720d28ce0760 SHA512 01d896ff33c721920ae2376ff4218073eacd3b38f334d7d4a06fffd2bd7dbabbcde4ccaf444db6dc485dc9c84808ed3d0202c3789063ec7a4e431c6b9d8603b2 DIST fooyin-0.10.6.tar.gz 3804870 BLAKE2B 57eab5797341235c30608132dfd523b76e0ecf0e645e402cc5d6f05ef0a0b7f0d34a93cce7e32073c8daed168a25c0570ca31df3fad763c0f3ee720d28ce0760 SHA512 01d896ff33c721920ae2376ff4218073eacd3b38f334d7d4a06fffd2bd7dbabbcde4ccaf444db6dc485dc9c84808ed3d0202c3789063ec7a4e431c6b9d8603b2
DIST fooyin-0.10.7.tar.gz 3876489 BLAKE2B c896fc431dc46005b5261911d2f701a2fe1b42f8fac4dc2f8c953ed1d2b08e331cd269fb73bca369f1b95cce7d348a00cfaeb4d884e478ff285efde4e8d30039 SHA512 61a2b9029883a94f900a5d8f07e8a079d92efa8dd4c62b4188c38034324115ce1e407cec5e6e2c94dd2b1030748b6880b979a44fa45612bac15a7756aa23f3f7

View File

@@ -0,0 +1,85 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="A customizable music player, Qt clone of foobar2000"
HOMEPAGE="https://www.fooyin.org/"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fooyin/fooyin.git"
else
SRC_URI="
https://github.com/fooyin/fooyin/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="alsa +archive gme openmpt +pipewire +replaygain sdl sndfile soundtouch soxr test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
|| ( alsa pipewire sdl )
"
RDEPEND="
dev-libs/icu:=
dev-libs/kdsingleapplication
dev-libs/qcoro[network]
dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets]
dev-qt/qtimageformats:6
dev-qt/qtsvg:6
media-libs/taglib:=
media-video/ffmpeg:=
virtual/zlib:=
alsa? ( media-libs/alsa-lib )
archive? ( app-arch/libarchive:= )
gme? ( media-libs/game-music-emu )
openmpt? ( media-libs/libopenmpt )
pipewire? ( media-video/pipewire:= )
replaygain? ( media-libs/libebur128:= )
sdl? ( media-libs/libsdl2 )
sndfile? ( media-libs/libsndfile )
soundtouch? ( media-libs/libsoundtouch:= )
soxr? ( media-libs/soxr )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-qt/qttools:6[linguist]
test? ( dev-cpp/gtest )
"
src_prepare() {
sed -i CMakeLists.txt \
-e "s|/doc/${PN}|/doc/${PF}|g" \
-e '/option(BUILD_TESTING/aenable_testing()' \
|| die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_ALSA=$(usex alsa)
-DBUILD_TESTING=$(usex test)
-DBUILD_CCACHE=OFF
-DINSTALL_HEADERS=ON
$(cmake_use_find_package archive LibArchive)
$(cmake_use_find_package gme LIBGME)
$(cmake_use_find_package openmpt OpenMpt)
$(cmake_use_find_package pipewire PipeWire)
$(cmake_use_find_package replaygain Ebur128)
$(cmake_use_find_package sdl SDL2)
$(cmake_use_find_package sndfile SndFile)
$(cmake_use_find_package soundtouch SoundTouch)
$(cmake_use_find_package soxr SoXR)
)
cmake_src_configure
}

View File

@@ -42,6 +42,7 @@ RDEPEND="
media-libs/mesa media-libs/mesa
net-print/cups net-print/cups
sys-apps/dbus sys-apps/dbus
sys-libs/glibc
x11-libs/cairo x11-libs/cairo
x11-libs/gdk-pixbuf:2 x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3 x11-libs/gtk+:3

View File

@@ -48,6 +48,7 @@ RDEPEND="
media-libs/mesa media-libs/mesa
net-print/cups net-print/cups
sys-apps/dbus sys-apps/dbus
sys-libs/glibc
x11-libs/cairo x11-libs/cairo
x11-libs/gdk-pixbuf:2 x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3 x11-libs/gtk+:3

View File

@@ -1,4 +1,4 @@
DIST Xray-core-26.1.23-vendor.tar.xz 3474764 BLAKE2B 701628efdd537311dfd24807df1a068ef4c2407a218417cbf95bd7689c51c030aa74a02cb3be185d0a0530e6cf32e2741c5de5fdbe9e4cd94f253f8c487cf24a SHA512 c8e17975f3d4d2a7959ed674ac9cce5982acd0ef3f73ef34f27c4d06e5a343a451e8cb09d064c1a0da277cae1f37ea4b14e5a6b7e5a14d45d4f90b8f6a09adba
DIST Xray-core-26.2.6-vendor.tar.xz 3480232 BLAKE2B dcee327a027d8f8f67e8ae48db4431897ad6dc71b2b1c5189b35e150bb545375cdc0112c36eee7dce6209fa5c005611be1b91a70a96737823e0d97ac872adc54 SHA512 c46f7dde7463e59279391e9786804b66a83a5910e262abe15218d222532ae196179b1d81aed2d871523f26d5c3dcc4d0ea0043778d40d724dadd8e06f4c5f51c DIST Xray-core-26.2.6-vendor.tar.xz 3480232 BLAKE2B dcee327a027d8f8f67e8ae48db4431897ad6dc71b2b1c5189b35e150bb545375cdc0112c36eee7dce6209fa5c005611be1b91a70a96737823e0d97ac872adc54 SHA512 c46f7dde7463e59279391e9786804b66a83a5910e262abe15218d222532ae196179b1d81aed2d871523f26d5c3dcc4d0ea0043778d40d724dadd8e06f4c5f51c
DIST xray-core-26.1.23.tar.gz 772539 BLAKE2B 63f65a696b64d4e9485377a47d148473ab7e66879a6427554d0997cf11e48d47ff2f427ef19cf90a47e2d02b025133332f54d362715a044aad665d7780dd74f6 SHA512 c3b2fc33f538b25251d90b3d7f0dafbf3148ad997204a29fbaf8c659144826665ccb9d6b5e1f036ea1deb3c4548fa0a2ae0caf13e1780706789bf6e3dc6aa880 DIST Xray-core-26.3.27-vendor.tar.xz 3439212 BLAKE2B f0d71aa3b2bcd3817d0ee9a665a6376e1a84307fc235e5193df12772b314f7b0c9f652c49f576ca607bdeb5e41f770e6892b69dfa321df27bcffdcff1143ab23 SHA512 1701f488e9c92388fc869147a406b2dcbb66ada7e3c3b4ca14c180110c6ee2fe7dbf7bfebc863ee5922703a06851cd00d43c4b7dc63809feb27595f03341a261
DIST xray-core-26.2.6.tar.gz 778461 BLAKE2B a274aed48fdd944d790922be504d1994decad00f5912649f9a6512ffdc1dc25b26f47b548201ee27a1110e5af0a713fb92ed12e36df6818ee17d777e0f68d2db SHA512 11192582ad479045836c8d02b46040165b2acea653ace2a0694755783203836baa9fc3ea6804cb2326c94d81fa365a2a11c02d091ef0b1adfc680f511c66ad14 DIST xray-core-26.2.6.tar.gz 778461 BLAKE2B a274aed48fdd944d790922be504d1994decad00f5912649f9a6512ffdc1dc25b26f47b548201ee27a1110e5af0a713fb92ed12e36df6818ee17d777e0f68d2db SHA512 11192582ad479045836c8d02b46040165b2acea653ace2a0694755783203836baa9fc3ea6804cb2326c94d81fa365a2a11c02d091ef0b1adfc680f511c66ad14
DIST xray-core-26.3.27.tar.gz 822756 BLAKE2B d07afda4be673069e41b2c2ba9783314055bd9a458c3d1b53dee3fb6bebf80a301b707cbc66881597d82d53e3f1cebd1875604c07f657a8d2a865817cf945a29 SHA512 0a495884d34fff5c0b687d0a87bc8ea6eab7ca87c82a80978a85519140ea28d0809e13d5ba34d45a4e4e448d0da546d94e71260e5addca5e88d49bce65fa3079

View File

@@ -32,15 +32,12 @@ RDEPEND="
acct-user/xray acct-user/xray
acct-group/xray" acct-group/xray"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND=">=dev-lang/go-1.25.5:=" BDEPEND=">=dev-lang/go-1.26:="
src_unpack() { src_unpack() {
if [[ "${PV}" == 9999* ]]; then if [[ "${PV}" == 9999* ]]; then
git-r3_src_unpack git-r3_src_unpack
pushd "${S}" || die pushd "${S}" || die
# upstream bumped required go version to 1.25.6 for no particular reason
# gvisor.dev/gvisor requires 1.25.5
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
ego mod tidy ego mod tidy
popd || die popd || die
go-module_live_vendor go-module_live_vendor
@@ -50,9 +47,6 @@ src_unpack() {
} }
src_prepare() { src_prepare() {
# upstream bumped required go version to 1.25.6 for no particular reason
# gvisor.dev/gvisor requires 1.25.5
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
default default
} }

View File

@@ -32,15 +32,12 @@ RDEPEND="
acct-user/xray acct-user/xray
acct-group/xray" acct-group/xray"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND=">=dev-lang/go-1.25.5:=" BDEPEND=">=dev-lang/go-1.26:="
src_unpack() { src_unpack() {
if [[ "${PV}" == 9999* ]]; then if [[ "${PV}" == 9999* ]]; then
git-r3_src_unpack git-r3_src_unpack
pushd "${S}" || die pushd "${S}" || die
# upstream bumped required go version to 1.25.6 for no particular reason
# gvisor.dev/gvisor requires 1.25.5
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
ego mod tidy ego mod tidy
popd || die popd || die
go-module_live_vendor go-module_live_vendor
@@ -50,9 +47,6 @@ src_unpack() {
} }
src_prepare() { src_prepare() {
# upstream bumped required go version to 1.25.6 for no particular reason
# gvisor.dev/gvisor requires 1.25.5
sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
default default
} }

View File

@@ -18,6 +18,12 @@
# New entries go on top. # New entries go on top.
# Takuya Wakazono <pastalian46@gmail.com> (2026-05-17)
# Depends on Qt5. Qt6 port is supposedly coming soon.
# https://github.com/meganz/MEGAsync/issues/954
# Bug #948836.
net-misc/megasync
# David Roman <stkw0@disroot.org> (2026-05-13) # David Roman <stkw0@disroot.org> (2026-05-13)
# No new releases since 2023. It is a dep of a package that was never added. # No new releases since 2023. It is a dep of a package that was never added.
# Removal after 2026-06-13 # Removal after 2026-06-13

View File

@@ -6,7 +6,7 @@ EAPI=8
M_PN=LenovoLegionLinux M_PN=LenovoLegionLinux
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=(python3_{12..13}) PYTHON_COMPAT=(python3_{12..14})
inherit linux-mod-r1 distutils-r1 systemd optfeature inherit linux-mod-r1 distutils-r1 systemd optfeature

View File

@@ -1,30 +1,36 @@
From c3f5b941864c978f39e91199abc8b8445924c8b3 Mon Sep 17 00:00:00 2001 From 787bf530888d15f78f21cf28c4f32da6c48dc881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
<gonegrier.duarte@gmail.com> <gonegrier.duarte@gmail.com>
Date: Tue, 29 Apr 2025 13:47:47 +0100 Date: Sat, 16 May 2026 13:59:58 +0100
Subject: [PATCH] Implement amd_pci_dev_to_node_id from Kernel 6.14 Subject: [PATCH] Implement amd_pci_dev_to_node_id from Kernel 6.14 and
asm/amd/nb.h from kernel 6.16
MIME-Version: 1.0 MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit Content-Transfer-Encoding: 8bit
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
--- ---
zenpower.c | 8 ++++++++ zenpower.c | 12 ++++++++++++
1 file changed, 8 insertions(+) 1 file changed, 12 insertions(+)
diff --git a/zenpower.c b/zenpower.c diff --git a/zenpower.c b/zenpower.c
index 6d47732..dedba5c 100644 index 6d47732..9f6e7aa 100644
--- a/zenpower.c --- a/zenpower.c
+++ b/zenpower.c +++ b/zenpower.c
@@ -35,6 +35,7 @@ @@ -35,7 +35,12 @@
#include <linux/hwmon.h> #include <linux/hwmon.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
+#include <linux/version.h> +#include <linux/version.h>
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(6, 16, 0)
#include <asm/amd_nb.h> #include <asm/amd_nb.h>
+#else
+#include <asm/amd/nb.h>
+#endif
MODULE_DESCRIPTION("AMD ZEN family CPU Sensors Driver"); MODULE_DESCRIPTION("AMD ZEN family CPU Sensors Driver");
@@ -150,6 +151,13 @@ static const struct tctl_offset tctl_offset_table[] = { MODULE_AUTHOR("Anthony Wang");
@@ -150,6 +155,13 @@ static const struct tctl_offset tctl_offset_table[] = {
static DEFINE_MUTEX(nb_smu_ind_mutex); static DEFINE_MUTEX(nb_smu_ind_mutex);
static bool multicpu = false; static bool multicpu = false;
@@ -39,5 +45,5 @@ index 6d47732..dedba5c 100644
enum hwmon_sensor_types type, enum hwmon_sensor_types type,
u32 attr, int channel) u32 attr, int channel)
-- --
2.49.0 2.53.0