]> git.sthu.org Git - shuber-gentoo-overlay.git/commit
dev-embedded/simavr: carry over from hamari overlay, bump to 1.8
authorStefan Huber <shuber@sthu.org>
Tue, 18 Aug 2026 07:40:11 +0000 (09:40 +0200)
committerStefan Huber <shuber@sthu.org>
Tue, 18 Aug 2026 08:17:53 +0000 (10:17 +0200)
commitff71c7d10f59d7f06524bbab2ad23165e2459082
tree77bf963facd480dee62eec74246de2ca7d55c461
parent2ac7305c948d1ecbe446d3aac337f698a38fa463
dev-embedded/simavr: carry over from hamari overlay, bump to 1.8

Import the simavr-1.7 ebuild from the hamari overlay and bump to the
1.8 release.

The carried-over install patch redirected headers to
/usr/avr/include/simavr, which doesn't match simavr's own
simavr.pc/simavr-avr.pc (${prefix}/include) and broke pkg-config
consumers. Replaced it with a smaller patch that parameterizes the
Makefile's hardcoded "lib" install dir as INSTALL_LIBDIR, fed via
$(get_libdir) so multilib-strict passes and the binary's RPATH points
at the real install location instead of the build directory. Also
pass SIMAVR_VERSION=${PV} so the .pc files report the real version
instead of "unknown".

Also drop the dead empty RDEPEND/BDEPEND assignments and the redundant
KEYWORDS="" on the live ebuild branch, convert PATCHES to an array, and
add metadata.xml with a maintainer and GitHub remote-id.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
dev-embedded/simavr/Manifest [new file with mode: 0644]
dev-embedded/simavr/files/simavr-libdir.patch [new file with mode: 0644]
dev-embedded/simavr/metadata.xml [new file with mode: 0644]
dev-embedded/simavr/simavr-1.8.ebuild [new file with mode: 0644]