diff --git a/sys-firmware/blisp/Manifest b/sys-firmware/blisp/Manifest new file mode 100644 index 0000000000000..f5d0186adba78 --- /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 0000000000000..cc17b51e2d3ed --- /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 0000000000000..5e57d2700deb3 --- /dev/null +++ b/sys-firmware/blisp/metadata.xml @@ -0,0 +1,19 @@ + + + + + mjo@gentoo.org + Michael Orlitzky + + + + pine64/blisp + + + + + Build the blisp command-line utility used to upload firmware to + the pinecil + + +