public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/raspberrypi-utils/
Date: Sun, 14 Jan 2024 14:57:08 +0000 (UTC)	[thread overview]
Message-ID: <1705244207.c3172402ee77d82ed5b9180ebaa5c43b7516aefc.chewi@gentoo> (raw)

commit:     c3172402ee77d82ed5b9180ebaa5c43b7516aefc
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 14:18:46 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 14:56:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3172402

dev-embedded/raspberrypi-utils: New package

This replaces media-libs/raspberrypi-userland(-bin), which is being last-rited.
The libraries are no longer maintained, but the utilities live on here.

Bug: https://bugs.gentoo.org/916953
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-embedded/raspberrypi-utils/Manifest            |  1 +
 dev-embedded/raspberrypi-utils/metadata.xml        | 11 ++++++
 .../raspberrypi-utils-0_p20240112.ebuild           | 39 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-embedded/raspberrypi-utils/Manifest b/dev-embedded/raspberrypi-utils/Manifest
new file mode 100644
index 000000000000..415e4b801a0e
--- /dev/null
+++ b/dev-embedded/raspberrypi-utils/Manifest
@@ -0,0 +1 @@
+DIST raspberrypi-utils-0_p20240112.tar.gz 122544 BLAKE2B ccdd25aca03b3a09d1d6a6007a80b3615ec8bc5fabcb7e5b7fedd09d68f992e587e90bf4fa36b7131090438fbd8706f7184d70018aadad05a1a9d897282d6c0f SHA512 6d3aa77499ef88ffc33b364267021822c64554ccf9226537e862ceed52cdf3557ec42a45be3618ca2828dfe0cddb901a09f0cddf7fa07946536713996f6b2cc0

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
+}


             reply	other threads:[~2024-01-14 14:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 14:57 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-16 21:54 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/raspberrypi-utils/ James Le Cuirot
2024-02-06 21:43 James Le Cuirot
2024-09-09 21:14 James Le Cuirot
2024-10-18 17:32 Arthur Zamarin
2024-10-19 21:45 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1705244207.c3172402ee77d82ed5b9180ebaa5c43b7516aefc.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox