dev-embedded/qdl: add 2.5

Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
Quincy Fleming
2026-03-09 01:20:43 +00:00
parent d5883f044e
commit 7982179540
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qdl-2.4.tar.gz 49938 BLAKE2B 691dc7e6625ea7c19c62aed41a4bb6c63b8371c1f1182b88e5b0173b8cd5e5799e23ef99e4c09f82cd5d4060bc5b48e96a607ee9d6e19104a5d42c4adc797d82 SHA512 e7cf3780a15f43e66addb6f8e0ce7702b5a311980e0d3ce6c30d67bbe53994777189b58ea85843f44665fa6ad5784e723ace893bb07a248b8dc7f88c34bec10c
DIST qdl-2.5.tar.gz 51204 BLAKE2B c523c01c9a9d5c8902679ec76e88ea7068a4e8c0485bd5ac462fc150cc0b4029439723640eaecf7fdc547faea98760d9e108d8555ef275498291d78eeaaebeef SHA512 b42700225dd93184ae588b64de0479fc46ca51240b1c3c7fb28f27c5d49bddd12c41a8665caf447d66b66d38a7be75cec9e0cdad043240cdd106cc37e2332591

View File

@@ -0,0 +1,46 @@
# Copyright 2023-2026 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:1
dev-libs/libxml2:=
"
RDEPEND="${DEPEND}"
BDEPEND="
sys-apps/help2man
virtual/pkgconfig
"
src_compile() {
# $(VERSION) needs to be consistent in all make invocations
export VERSION="${PV}"
local PKG_CONFIG="$(tc-getPKG_CONFIG)"
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags libxml-2.0 libusb-1.0 || die)" \
LDFLAGS="${LDFLAGS} $(${PKG_CONFIG} --libs libxml-2.0 libusb-1.0 || die)"
emake manpages
}
src_test() {
emake tests
}
src_install() {
emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install
doman *.1
einstalldocs
}