commit: 93a3df6707059ed8a9846c58d895d4c7d4cedb7d Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Aug 3 15:19:22 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Aug 3 15:47:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a3df67
sys-firmware/blisp: new package, add 0.0.5 Used to update the firmware on the pinecil: https://wiki.pine64.org/wiki/Pinecil Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sys-firmware/blisp/Manifest | 1 + sys-firmware/blisp/blisp-0.0.5.ebuild | 37 +++++++++++++++++++++++++++++++++++ sys-firmware/blisp/metadata.xml | 19 ++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/sys-firmware/blisp/Manifest b/sys-firmware/blisp/Manifest new file mode 100644 index 000000000000..f5d0186adba7 --- /dev/null +++ b/sys-firmware/blisp/Manifest @@ -0,0 +1 @@ +DIST blisp-0.0.5.tar.gz 169995 BLAKE2B 21863c4b643fc570d154a7e54f35fd34a77f42300cd9297d05972c66a8e55c39d5c494f1d34be258750e7ba17288d992091e9c6967e431732be9226e48f14881 SHA512 92171a7e00df95521b21a3992e395f63d68de0d0f661e23aa7aa8ce4d4ebe7ff12dd2f3bd48f530a7c70895ce786da374cb227c4b9d1e92f625f9a4ea78982e9 diff --git a/sys-firmware/blisp/blisp-0.0.5.ebuild b/sys-firmware/blisp/blisp-0.0.5.ebuild new file mode 100644 index 000000000000..cc17b51e2d3e --- /dev/null +++ b/sys-firmware/blisp/blisp-0.0.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Bouffalo Labs in-system-programming tool and library" +HOMEPAGE="https://github.com/pine64/blisp" +SRC_URI="https://github.com/pine64/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="+tools" + +RDEPEND="dev-libs/argtable3 + dev-libs/libserialport" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake_src_prepare + + # Be extra sure we're not using vendored deps + rm -r vendor || die +} + +src_configure() { + + local mycmakeargs=( + -DBLISP_USE_SYSTEM_LIBRARIES=ON + -DBLISP_BUILD_CLI=$(usex tools) + -DCOMPILE_TESTS=OFF # requires unpackaged googletest + ) + cmake_src_configure +} diff --git a/sys-firmware/blisp/metadata.xml b/sys-firmware/blisp/metadata.xml new file mode 100644 index 000000000000..5e57d2700deb --- /dev/null +++ b/sys-firmware/blisp/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Michael Orlitzky</name> + </maintainer> + + <upstream> + <remote-id type="github">pine64/blisp</remote-id> + </upstream> + + <use> + <flag name="tools"> + Build the blisp command-line utility used to upload firmware to + the pinecil + </flag> + </use> +</pkgmetadata>
