dev-embedded/qdl: add 2.2

Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
Quincy Fleming
2025-10-14 05:36:16 +00:00
parent f74ea7122b
commit a3498249df
3 changed files with 38 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST qdl-2.1.tar.gz 18232 BLAKE2B f40fa6cdfe7cdbf5aab410a812d63e7822dd07f9c52bf25404e768dfae8d8074651dc3583076c3e5f26197e636410a704551e7e0c50ecaf2a80b7c1ac7b164de SHA512 f1a23653271498efd442f6787b33d6142b3cb75db74bdb0600b05b3c584d9b1bad7b883cecff252d2df6b9871888b824a8d236833bce38f288d399c6ece6562c
DIST qdl-2.2.tar.gz 39645 BLAKE2B 89a552f174461f561cdee8c30d58f312cabaad7d417a3e37919bd6f9367e33a191aaf26b93cae3bbbf0665de1fcc9076d300ff3a9f4ff3da2e51b249bc18737e SHA512 b06669d80e8d40aab33f50418cb3894d9eba1442fc141961a9a92799c724c37bdfa10706a2fbe376b7bfdfe49b608cfbda3dfd7814f1c1cf41fe44af101c9c43

View File

@@ -6,9 +6,9 @@
<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>
<remote-id type="github">linux-msm/qdl</remote-id>
<doc lang="en">https://github.com/linux-msm/qdl</doc>
<bugs-to>https://github.com/linux-msm/qdl/issues</bugs-to>
</upstream>
<longdescription lang="en">
This tool communicates with USB devices of id 05c6:9008 to upload a flash

View File

@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Tool to communicate with Qualcomm System On a Chip bootroms"
HOMEPAGE="https://github.com/linux-msm/qdl"
SRC_URI="https://github.com/linux-msm/qdl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/libusb
dev-libs/libxml2
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
PKG_CONFIG=$(tc-getPKG_CONFIG)
emake CC=$(tc-getCC) \
"CFLAGS=${CFLAGS} `${PKG_CONFIG} --cflags libxml-2.0 libusb-1.0`" \
"LDFLAGS=${LDFLAGS} `${PKG_CONFIG} --libs libxml-2.0 libusb-1.0`"
}
src_install() {
emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install
dodoc {README.md,LICENSE}
}