mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-13 08:38:51 +02:00
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>
44 lines
726 B
Bash
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/*
|
|
}
|