Install this version:
emerge -a =media-libs/libhdhomerun-20190621
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/libhdhomerun-20190621
Or alternatively:
emerge --autounmask-write -a =media-libs/libhdhomerun-20190621
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="SiliconDust HDHomeRun Utilties"
HOMEPAGE="https://www.silicondust.com/support/linux/"
SRC_URI="https://download.silicondust.com/hdhomerun/${PN}_${PV}.tgz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
PATCHES=(
"${FILESDIR}/${PV}-use_shared_library.patch"
)
S="${WORKDIR}/${PN}"
src_prepare() {
default
# Remove forced optimization from Makefile
sed -i 's:-O2::' Makefile || die "Was the Makefile changed?"
}
src_compile() {
emake CC="$(tc-getCC)" STRIP=:
}
src_install() {
dobin hdhomerun_config
dolib.so libhdhomerun.so
insinto /usr/include/hdhomerun
doins *.h
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libhdhomerun_20190621.tgz | 50817 bytes | https://download.silicondust.com/hdhomerun/libhdhomerun_20190621.tgz |