dev-embedded/qdl - 2.9.1 (guru)

Search

Install

Install this version:

emerge -a =dev-embedded/qdl-2.9.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-embedded/qdl-2.9.1

Or alternatively:

emerge --autounmask-write -a =dev-embedded/qdl-2.9.1

Package Information

Description:
Tool to communicate with Qualcomm System On a Chip bootroms
Homepage:
https://github.com/linux-msm/qdl
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.9.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson udev

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"
IUSE="nbd test"
RESTRICT="!test? ( test )"

DEPEND="
	dev-libs/libusb:1
	dev-libs/libxml2:=
	dev-libs/libzip:=
	nbd? ( sys-block/nbdkit )
	test? (
		app-arch/zip
		dev-util/cmocka
	)
"
RDEPEND="
	${DEPEND}
	virtual/udev
"

BDEPEND="
	sys-apps/help2man
	virtual/pkgconfig
"

src_prepare() {
	sed -i '/default_options/d' meson.build || die
	default
}

src_configure() {
	local emesonargs=(
		-DVERSION="${PV}"
		-Dudev=enabled
		$(meson_feature nbd nbdkit)
		$(meson_feature test tests)
	)
	meson_src_configure
}

src_test() {
	meson_src_test \
		--no-suite hil \
		--no-suite hil-vip
}

pkg_postinst() {
	udev_reload
}

pkg_postrm() {
	udev_reload
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-embedded/qdl | euse -E <flag> -p dev-embedded/qdl | euse -D <flag> -p dev-embedded/qdl

Global/Standard Flags

nbd

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/libusb:1
	dev-libs/libxml2:=
	dev-libs/libzip:=
	nbd? ( sys-block/nbdkit )
	test? (
		app-arch/zip
		dev-util/cmocka
	)

RDEPEND

	
	dev-libs/libusb:1
	dev-libs/libxml2:=
	dev-libs/libzip:=
	nbd? ( sys-block/nbdkit )
	test? (
		app-arch/zip
		dev-util/cmocka
	)

	virtual/udev

BDEPEND

	sys-apps/help2man
	virtual/pkgconfig

Manifest for 2.9.1

Type File Size Source URLs
DIST qdl-2.9.1.tar.gz 186396 bytes https://github.com/linux-msm/qdl/archive/refs/tags/v2.9.1.tar.gz