summaryrefslogtreecommitdiff
path: root/dev-embedded/raspberrypi-utils
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/raspberrypi-utils')
-rw-r--r--dev-embedded/raspberrypi-utils/Manifest2
-rw-r--r--dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240903.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-embedded/raspberrypi-utils/Manifest b/dev-embedded/raspberrypi-utils/Manifest
index c33fa07ac138..50c0f5e2106c 100644
--- a/dev-embedded/raspberrypi-utils/Manifest
+++ b/dev-embedded/raspberrypi-utils/Manifest
@@ -1,4 +1,6 @@
AUX raspberrypi-utils-werror.patch 2504 BLAKE2B 31dcf606fb47fd459e2ae1908917a5584a46c042612988f82a8c62139446cd452d450be3f17f4602907052327ec1d5b841ba5c6d89065f482707610bfa5ebcfc SHA512 7d0ea3573394b91af0d1904b378991545c6537f939543b724b5c642c50c2c9330af7938b323667be3043c507d6da68e7bff6072a06ac4a1d0e20d4f465fa1175
DIST raspberrypi-utils-0_p20240203.tar.gz 122695 BLAKE2B 178b84b5210ba47a51e9815710b05d3916981f5413986cefcdb621420c9e9ab33b67026ea95692c6aff900dd2c31302059eb39aae32267b88cf765a7575f8bed SHA512 bdbe47d87a4bcd0d37ea4567e95e41fbc8240f5ffbc805d4a1f576060535af13e272b262ddad87dac0f9ea43b8b2ff9092378e67de080bd651701435b4c67008
+DIST raspberrypi-utils-0_p20240903.tar.gz 123998 BLAKE2B 4281fee7761df03b3a555d5e36f4bec1621c8402a5d5456752ab2d95482ca355e51d174f461ed8a1f89ed5d420a14d5f09872c090eccff6751d0c00ab20cf398 SHA512 96504004a1b7b541fe126d973f60321769a4b54a1b603b1d9278ba902bed7c008c2f86906dfaf30632ce75e1073b2a97e9317a799a0bc8cea255d713cb26ae67
EBUILD raspberrypi-utils-0_p20240203.ebuild 930 BLAKE2B b48a70dbcde478607c7db57101fa238f47c87b7c616cd0af755ee2b67c0c779c1142efae1f87b3cd4080561bccb3d347f785d8bd406501b213013819bd0881b9 SHA512 d153a72107270c2a2c05fed3d4a6eeb81e2881757cb79b62927f819146467c4669f08feee159e0d575a7ab71b113cc094f2f9a0a0b53592090f70c60d1fa8547
+EBUILD raspberrypi-utils-0_p20240903.ebuild 945 BLAKE2B 8ab9b8bc5c543dc25d96649cee794dd6df9f3ac0af4246c1db9d5ee8a1ee4e413dc31f9b1dd4340cb76c33b16e5e122d56991b5796f769f59bc7c399d97b3b32 SHA512 aec70cab7f6ba31e5521f26842ddfebb3e2dcadcc381613bd1ac2cee15de8a9175a82b842ccde7fc14ded69978c6bf0bc949e4b693957806de721958a45b4b44
MISC metadata.xml 330 BLAKE2B e7285a8024f322ab0f8c8789bdfa2601c046c776c24c7e411ef9c5be424bd3000c2749d47e5cac3c0f5f870decd1106e019b279c229dc27de238cfad8f2e4979 SHA512 f0cd8ffa52484dc9ff84623ddf51d9f4c696c1d7cc357042bfae47b7da62eb94336703d038b1511138b40a0b545d96b4a4faa8e5b2787d0bcdac3b9259c883fc
diff --git a/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240903.ebuild b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240903.ebuild
new file mode 100644
index 000000000000..0ede982eed41
--- /dev/null
+++ b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240903.ebuild
@@ -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
+}