mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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@gentoo.org>
This commit is contained in:
1
sys-firmware/blisp/Manifest
Normal file
1
sys-firmware/blisp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST blisp-0.0.5.tar.gz 169995 BLAKE2B 21863c4b643fc570d154a7e54f35fd34a77f42300cd9297d05972c66a8e55c39d5c494f1d34be258750e7ba17288d992091e9c6967e431732be9226e48f14881 SHA512 92171a7e00df95521b21a3992e395f63d68de0d0f661e23aa7aa8ce4d4ebe7ff12dd2f3bd48f530a7c70895ce786da374cb227c4b9d1e92f625f9a4ea78982e9
|
||||
37
sys-firmware/blisp/blisp-0.0.5.ebuild
Normal file
37
sys-firmware/blisp/blisp-0.0.5.ebuild
Normal file
@@ -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
|
||||
}
|
||||
19
sys-firmware/blisp/metadata.xml
Normal file
19
sys-firmware/blisp/metadata.xml
Normal file
@@ -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>mjo@gentoo.org</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>
|
||||
Reference in New Issue
Block a user