commit:     fd6b99fa3c3fa1cd2a7565003562a78b5aae2892
Author:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
AuthorDate: Mon Mar 24 07:18:05 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Mar 24 07:18:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd6b99fa

net-misc/brickd: new package, add 2.4.7

Signed-off-by: Tim Lapawa <gentoo <AT> lapawa.de>

 net-misc/brickd/Manifest            |  2 ++
 net-misc/brickd/brickd-2.4.7.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/net-misc/brickd/Manifest b/net-misc/brickd/Manifest
new file mode 100644
index 000000000..10e1998da
--- /dev/null
+++ b/net-misc/brickd/Manifest
@@ -0,0 +1,2 @@
+DIST brickd-2.4.7.tar.gz 6252607 BLAKE2B 
1b7a2a6424266625a6a887eeab4dae260c4425b0837fbb77399746c58edc9f4cdbd89dd19ceeeed6fa66429591a5cf44909b6739af582429c0f23229d962a802
 SHA512 
63bcc088fbc0a1f0375713263a4e29beba22de5c112ebfcdc8b8c1558dc130772808d780a0e9c3c73a289aae101c46b534e99a239ea939348208abaee524762a
+DIST daemonlib-brickd-2.4.7.tar.gz 62686 BLAKE2B 
9bbea5e5e74ba47b6968754082240a623176e716f654ead9386338c3da44236ca4219fe631bf0119214509c2bcec92904ca55f0f423c0c906ca026df41ad4c5c
 SHA512 
b182aaa8d26d5ade2fbe07f232a71f7eed4b9942c640f09232960f93e368be81fce5cfbc4a300c355c89d7609669216430c7edf254a2ed7d27f1f82574449795

diff --git a/net-misc/brickd/brickd-2.4.7.ebuild 
b/net-misc/brickd/brickd-2.4.7.ebuild
new file mode 100644
index 000000000..ec72f41da
--- /dev/null
+++ b/net-misc/brickd/brickd-2.4.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+DESCRIPTION="Network Daemon bridging API bindings to Tinkerforge hardware 
bricks"
+HOMEPAGE="https://www.tinkerforge.com/en/doc/Software/Brickd.html 
https://github.com/Tinkerforge/brickd https://github.com/Tinkerforge/daemonlib";
+SRC_URI="
+       https://github.com/Tinkerforge/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+       https://github.com/Tinkerforge/daemonlib/archive/refs/tags/${P}.tar.gz 
-> daemonlib-${P}.tar.gz"
+S="${WORKDIR}/${P}/src/${PN}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+       >=dev-libs/libusb-1.0.27
+       >=dev-libs/libgpiod-1.6.4"
+DEPEND="${RDEPEND}"
+BDEPEND=">=virtual/pkgconfig-3
+       >=dev-build/make-4.4.1
+       >=sys-devel/gcc-14.2.1"
+src_configure() {
+       # source code of daemonlib package must be linked into brickd sources
+       # reference: https://github.com/Tinkerforge/brickd
+       ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
+}
+src_compile() {
+       emake
+}

Reply via email to