commit: bbe421a36804200e3b8a4fc760380d4a17e9e71e Author: Quincy Fleming <quincyf467 <AT> protonmail <DOT> com> AuthorDate: Mon Jul 17 02:10:47 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Jul 17 02:10:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbe421a3
dev-embedded/qdl: new package, add 1.0 Signed-off-by: Quincy Fleming <quincyf467 <AT> protonmail.com> dev-embedded/qdl/Manifest | 1 + dev-embedded/qdl/metadata.xml | 17 +++++++++++++++++ dev-embedded/qdl/qdl-1.0.ebuild | 24 ++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-embedded/qdl/Manifest b/dev-embedded/qdl/Manifest new file mode 100644 index 000000000..e7c95553f --- /dev/null +++ b/dev-embedded/qdl/Manifest @@ -0,0 +1 @@ +DIST qdl-1.0.tar.gz 8418 BLAKE2B 49b7bdc7c39c3cd883549c984cb8d0e5a2493752d0bc0bd61261ee681e4fab8913a98e1e7070c668beb4998dc6f574223d7ba5b54ed7e39d157e7243bd19e8ce SHA512 561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77 diff --git a/dev-embedded/qdl/metadata.xml b/dev-embedded/qdl/metadata.xml new file mode 100644 index 000000000..efc1ff616 --- /dev/null +++ b/dev-embedded/qdl/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>quincyf...@protonmail.com</email> + <name>Quincy Fleming</name> + </maintainer> + <upstream> + <remote-id type="github">andersson/qdl</remote-id> + <doc lang="en">https://github.com/andersson/qdl#readme</doc> + <bugs-to>https://github.com/andersson/qdl/issues</bugs-to> + </upstream> + <longdescription lang="en"> + This tool communicates with USB devices of id 05c6:9008 to upload a flash + loader and use this to flash images. + </longdescription> +</pkgmetadata> diff --git a/dev-embedded/qdl/qdl-1.0.ebuild b/dev-embedded/qdl/qdl-1.0.ebuild new file mode 100644 index 000000000..2d09658c7 --- /dev/null +++ b/dev-embedded/qdl/qdl-1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Tool to communicate with Qualcomm System On a Chip bootroms" +HOMEPAGE="https://github.com/andersson/qdl" +SRC_URI="https://github.com/andersson/qdl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-3" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="virtual/libudev + dev-libs/libxml2 +" + +src_install() { + emake DESTDIR="${D}" prefix="${EPREFIX}"/usr install + + dodoc README + insinto "${EPREFIX}/usr/share/${PN}" + doins LICENSE +}