mirage2iso-0.4.2-r1.ebuild

Download (713 Bytes)

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="CD/DVD image converter using libmirage"
HOMEPAGE="https://github.com/projg2/mirage2iso/"
SRC_URI="
	https://github.com/projg2/${PN}/releases/download/v${PV}/${P}.tar.xz
	test? ( https://github.com/projg2/${PN}/releases/download/v${PV}/${P}-tests.tar.xz )"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="pinentry test"
RESTRICT="!test? ( test )"

DEPEND="
	>=dev-libs/libmirage-2.0.0:0=
	dev-libs/glib:2=
	pinentry? ( dev-libs/libassuan:0= )"
RDEPEND="${DEPEND}
	pinentry? ( app-crypt/pinentry )"
BDEPEND="virtual/pkgconfig"

src_configure() {
	econf $(use_with pinentry libassuan)
}

Thank you!