Install this version:
emerge -a =net-misc/msd-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/msd-9999
Or alternatively:
emerge --autounmask-write -a =net-misc/msd-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="Program for IP TV streaming on the network via HTTP"
HOMEPAGE="https://github.com/rozhuk-im/msd"
EGIT_REPO_URI="https://github.com/rozhuk-im/${PN}.git"
LICENSE="BSD-2"
SLOT="0"
IUSE="debug"
RDEPEND="acct-user/msd"
DOCS=( README.md conf/{msd_channels,msd_channels2,msd_minimal}.conf )
src_prepare() {
# respect sandbox, immutability for install
sed -i -e '/install(CODE/s/CONFDIR/CONF/' \
-e '/install_if_not_exists(conf/s/install_if_not_exists/install_config/' \
CMakeLists.txt || die "sed failed for CMakeLists.txt"
# follow FHS
sed -i 's|/root/msd/msd.log|/var/log/msd.log|' conf/msd.conf \
|| die "sed failed for conf/msd.conf"
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCONF="${EPREFIX}/etc/msd"
-DCONFDIR="/etc/msd"
-DENABLE_FULL_DEBUG="$(usex debug ON OFF)"
)
cmake_src_configure
}
src_install() {
cmake_src_install
newinitd "${FILESDIR}"/msd.initd msd
newconfd "${FILESDIR}"/msd.confd msd
}
Manage flags for this package:
euse -i <flag> -p net-misc/msd |
euse -E <flag> -p net-misc/msd |
euse -D <flag> -p net-misc/msd
acct-user/msd