diff options
Diffstat (limited to 'dev-embedded/raspberrypi-utils')
-rw-r--r-- | dev-embedded/raspberrypi-utils/Manifest | 3 | ||||
-rw-r--r-- | dev-embedded/raspberrypi-utils/metadata.xml | 11 | ||||
-rw-r--r-- | dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240112.ebuild | 39 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-embedded/raspberrypi-utils/Manifest b/dev-embedded/raspberrypi-utils/Manifest new file mode 100644 index 000000000000..aa0e00aeb68f --- /dev/null +++ b/dev-embedded/raspberrypi-utils/Manifest @@ -0,0 +1,3 @@ +DIST raspberrypi-utils-0_p20240112.tar.gz 122544 BLAKE2B ccdd25aca03b3a09d1d6a6007a80b3615ec8bc5fabcb7e5b7fedd09d68f992e587e90bf4fa36b7131090438fbd8706f7184d70018aadad05a1a9d897282d6c0f SHA512 6d3aa77499ef88ffc33b364267021822c64554ccf9226537e862ceed52cdf3557ec42a45be3618ca2828dfe0cddb901a09f0cddf7fa07946536713996f6b2cc0 +EBUILD raspberrypi-utils-0_p20240112.ebuild 848 BLAKE2B e7142af889a4af18f87607bfb95adbcc3fa5541a0d4c09f377408dfd2a06ea16bdacafc7c804a7f7689b262bcd535a48b13d57105c7f5da574ca4e6deb3fcd98 SHA512 d38726add4851ab82536c6bf9b6e59e6a438fe4b040e41b99118d1b15af46a4f246daf264c065586add8473ea574de34a43dda2dac0cb7592a76b4759f81ff74 +MISC metadata.xml 330 BLAKE2B e7285a8024f322ab0f8c8789bdfa2601c046c776c24c7e411ef9c5be424bd3000c2749d47e5cac3c0f5f870decd1106e019b279c229dc27de238cfad8f2e4979 SHA512 f0cd8ffa52484dc9ff84623ddf51d9f4c696c1d7cc357042bfae47b7da62eb94336703d038b1511138b40a0b545d96b4a4faa8e5b2787d0bcdac3b9259c883fc diff --git a/dev-embedded/raspberrypi-utils/metadata.xml b/dev-embedded/raspberrypi-utils/metadata.xml new file mode 100644 index 000000000000..11b4d811a352 --- /dev/null +++ b/dev-embedded/raspberrypi-utils/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <upstream> + <remote-id type="github">raspberrypi/utils</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240112.ebuild b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240112.ebuild new file mode 100644 index 000000000000..9628a77098f0 --- /dev/null +++ b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240112.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 cmake + +COMMIT="193e6e34b40807cbeedee2e4abc3ef5165e14ae2" + +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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~arm ~arm64" + +RDEPEND=" + !media-libs/raspberrypi-userland + !media-libs/raspberrypi-userland-bin +" + +S="${WORKDIR}/utils-${COMMIT}" + +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 +} |