dev-embedded/raspberrypi-utils: Bump snapshot to 20240903

Fixes LTO issue.

Bug: https://bugs.gentoo.org/926264
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2024-09-09 22:09:41 +01:00
parent b20cdcda55
commit 70f8c529e4
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST raspberrypi-utils-0_p20240203.tar.gz 122695 BLAKE2B 178b84b5210ba47a51e9815710b05d3916981f5413986cefcdb621420c9e9ab33b67026ea95692c6aff900dd2c31302059eb39aae32267b88cf765a7575f8bed SHA512 bdbe47d87a4bcd0d37ea4567e95e41fbc8240f5ffbc805d4a1f576060535af13e272b262ddad87dac0f9ea43b8b2ff9092378e67de080bd651701435b4c67008
DIST raspberrypi-utils-0_p20240903.tar.gz 123998 BLAKE2B 4281fee7761df03b3a555d5e36f4bec1621c8402a5d5456752ab2d95482ca355e51d174f461ed8a1f89ed5d420a14d5f09872c090eccff6751d0c00ab20cf398 SHA512 96504004a1b7b541fe126d973f60321769a4b54a1b603b1d9278ba902bed7c008c2f86906dfaf30632ce75e1073b2a97e9317a799a0bc8cea255d713cb26ae67

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 cmake
COMMIT="d4f8fb543a892ba65bfc608511bf582c0425aa81"
DESCRIPTION="Raspberry Pi userspace utilities"
HOMEPAGE="https://github.com/raspberrypi/utils"
SRC_URI="https://github.com/raspberrypi/utils/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/utils-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm ~arm64"
DEPEND="
sys-apps/dtc
"
RDEPEND="
${DEPEND}
dev-lang/perl
!media-libs/raspberrypi-userland
!media-libs/raspberrypi-userland-bin
"
PATCHES=(
"${FILESDIR}"/${PN}-werror.patch
)
src_configure() {
local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
cmake_src_configure
}
src_install() {
cmake_src_install
local SRC
rm -r "${ED}"/usr/share/bash-completion/ || die
for SRC in */*-completion.bash; do
local DEST=${SRC%-completion.bash}
newbashcomp "${SRC}" "${DEST##*/}"
done
}