gentoo-ebuilds/media-tv/dvbtune/dvbtune-0.5-r2.ebuild
Alfred Wingate 13d627b110
media-tv/dvbtune: add dev-libs/libxml2 subslot op for incoming ABI break
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41919
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-09 04:10:40 +01:00

44 lines
726 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="simple tuning app for DVB cards"
HOMEPAGE="https://sourceforge.net/projects/dvbtools"
SRC_URI="https://downloads.sourceforge.net/dvbtools/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="xml"
RDEPEND="xml? ( dev-libs/libxml2:= )"
DEPEND="${RDEPEND}
sys-kernel/linux-headers"
PATCHES=(
"${FILESDIR}"/${PN}-0.5-r1-gentoo.diff
"${FILESDIR}"/${PN}-0.5-stdint.patch
)
src_prepare() {
default
tc-export CC
}
src_compile() {
emake dvbtune
use xml && emake xml2vdr
}
src_install() {
dobin dvbtune
use xml && dobin xml2vdr
dodoc README scripts/*
}