* [gentoo-commits] repo/proj/guru:master commit in: app-mobilephone/pinephone-meta/, sys-firmware/pinephone-firmware/
@ 2021-06-26 10:53 Haelwenn Monnier
0 siblings, 0 replies; only message in thread
From: Haelwenn Monnier @ 2021-06-26 10:53 UTC (permalink / raw
To: gentoo-commits
commit: ce67d7402e5b5e1ccae736ff76585c21b91c9bc3
Author: Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Jun 25 18:21:25 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Jun 25 18:23:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce67d740
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 <AT> scardovi.com>
app-mobilephone/pinephone-meta/metadata.xml | 11 +++++++
.../pinephone-meta/pinephone-meta-0.1.ebuild | 35 ++++++++++++++++++++++
sys-firmware/pinephone-firmware/Manifest | 1 +
sys-firmware/pinephone-firmware/metadata.xml | 8 +++++
.../pinephone-firmware-20201030.ebuild | 22 ++++++++++++++
5 files changed, 77 insertions(+)
diff --git a/app-mobilephone/pinephone-meta/metadata.xml b/app-mobilephone/pinephone-meta/metadata.xml
new file mode 100644
index 000000000..26d4a22e2
--- /dev/null
+++ b/app-mobilephone/pinephone-meta/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="eg25-manager">Enable eg25 modem manager</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-mobilephone/pinephone-meta/pinephone-meta-0.1.ebuild b/app-mobilephone/pinephone-meta/pinephone-meta-0.1.ebuild
new file mode 100644
index 000000000..41bbec098
--- /dev/null
+++ b/app-mobilephone/pinephone-meta/pinephone-meta-0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd udev
+
+DESCRIPTION="Meta-package for installing phosh on pinephone"
+HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-manjaro-tweaks.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~arm64"
+IUSE="+eg25-manager"
+
+RDEPEND="
+ gnome-extra/iio-sensor-proxy
+ gui-wm/phosh-meta
+ app-mobilephone/usb-tethering
+ media-libs/alsa-ucm-pinephone
+ media-tv/v4l-utils
+ sys-firmware/anx7688-firmware
+ sys-firmware/rtl8723bt-firmware
+ sys-firmware/ov5640-firmware
+ x11-themes/sound-theme-librem5
+ eg25-manager? (
+ net-misc/eg25-manager
+ >=app-mobilephone/pinephone-modem-scripts-0.20.3-r5
+ )
+ !eg25-manager? (
+ <=app-mobilephone/pinephone-modem-scripts-0.20.3-r4
+ !net-misc/eg25-manager
+ )
+ sys-boot/osk-sdl
+"
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
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-26 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-26 10:53 [gentoo-commits] repo/proj/guru:master commit in: app-mobilephone/pinephone-meta/, sys-firmware/pinephone-firmware/ Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox