aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <marco@scardovi.com>2021-06-25 20:21:25 +0200
committerMarco Scardovi <marco@scardovi.com>2021-06-25 20:23:17 +0200
commitce67d7402e5b5e1ccae736ff76585c21b91c9bc3 (patch)
tree622eca761417eb0cc1f78068a2155e4add118613 /sys-firmware
parentgui-apps/foot: Bump to 1.8.0 (diff)
downloadguru-ce67d7402e5b5e1ccae736ff76585c21b91c9bc3.tar.gz
guru-ce67d7402e5b5e1ccae736ff76585c21b91c9bc3.tar.bz2
guru-ce67d7402e5b5e1ccae736ff76585c21b91c9bc3.zip
sys-firmware/pinephone-firmware: add package
this ebuild add all the required firmware for PinePhone Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/pinephone-firmware/Manifest1
-rw-r--r--sys-firmware/pinephone-firmware/metadata.xml8
-rw-r--r--sys-firmware/pinephone-firmware/pinephone-firmware-20201030.ebuild22
3 files changed, 31 insertions, 0 deletions
diff --git a/sys-firmware/pinephone-firmware/Manifest b/sys-firmware/pinephone-firmware/Manifest
new file mode 100644
index 000000000..2af7efe4a
--- /dev/null
+++ b/sys-firmware/pinephone-firmware/Manifest
@@ -0,0 +1 @@
+DIST pinephone-firmware-20201030.tar.gz 21318 BLAKE2B a74649ec4bce9d9601a6989dd083a9253db5f48aadfe98c17099a1c616a63b46cc60e25218d9eb7915c6d9f9ec69f72639a5ca61cbbc0934cf5bf212b063c773 SHA512 a31f7da484961caa47315ef8125f9e49963342b7ee94877bb181c6aa3f704dce46980a1543878a12a635c2b488fe1e1e87c064640ff4a1443757a126809bbb74
diff --git a/sys-firmware/pinephone-firmware/metadata.xml b/sys-firmware/pinephone-firmware/metadata.xml
new file mode 100644
index 000000000..144c8091c
--- /dev/null
+++ b/sys-firmware/pinephone-firmware/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marco@scardovi.com</email>
+ <name>Marco Scardovi</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-firmware/pinephone-firmware/pinephone-firmware-20201030.ebuild b/sys-firmware/pinephone-firmware/pinephone-firmware-20201030.ebuild
new file mode 100644
index 000000000..ed2adeade
--- /dev/null
+++ b/sys-firmware/pinephone-firmware/pinephone-firmware-20201030.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Firmwares files for PinePhone"
+HOMEPAGE="https://xff.cz/git/linux-firmware"
+SRC_URI="https://github.com/scardracs/gentoo-packages/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="linux-fw-redistributable no-source-code"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+S="${WORKDIR}"
+
+src_install() {
+ mkdir -p "${D}"/lib/firmware/ || die
+ insinto /lib/firmware/
+ doins anx7688-fw.bin
+ doins ov5640-fw.bin
+ doins rtl8723cs-fw.bin
+}