media-sound/navidrome-bin - 0.54.3 (tastytea)

Search

Package Information

Description:
Music Server and Streamer compatible with Subsonic/Airsonic
Homepage:
https://www.navidrome.org/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.54.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd

DESCRIPTION="Music Server and Streamer compatible with Subsonic/Airsonic"
HOMEPAGE="https://www.navidrome.org/"
SRC_URI="
	amd64? ( https://github.com/navidrome/navidrome/releases/download/v${PV}/navidrome_${PV}_linux_amd64.tar.gz )
	arm64? ( https://github.com/navidrome/navidrome/releases/download/v${PV}/navidrome_${PV}_linux_arm64.tar.gz )
"
S="${WORKDIR}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

# TODO: ffmpeg USE-flags?
RDEPEND="
	media-video/ffmpeg
"
BDEPEND="acct-user/navidrome"

QA_PREBUILT="usr/bin/navidrome"

src_prepare() {
	cat << EOF > navidrome.toml.example
# see <https://www.navidrome.org/docs/usage/configuration-options/#available-options> for more options

# MusicFolder = '/media/music'
EnableInsightsCollector = false
EOF

	default
}

src_install() {
	dobin navidrome
	dodoc README.md
	insinto /var/lib/navidrome
	doins navidrome.toml.example
	fowners -R navidrome:navidrome /var/lib/navidrome
	keepdir /var/log/navidrome
	fowners navidrome:navidrome /var/log/navidrome

	systemd_dounit "${FILESDIR}"/navidrome.service
	newinitd "${FILESDIR}"/navidrome.initd navidrome
}

Dependencies

RDEPEND

	media-video/ffmpeg

BDEPEND

acct-user/navidrome

Manifest for 0.54.3

Type File Size Source URLs
DIST navidrome_0.54.3_linux_amd64.tar.gz 16035520 bytes https://github.com/navidrome/navidrome/releases/download/v0.54.3/navidrome_0.54.3_linux_amd64.tar.gz
DIST navidrome_0.54.3_linux_arm64.tar.gz 15320959 bytes https://github.com/navidrome/navidrome/releases/download/v0.54.3/navidrome_0.54.3_linux_arm64.tar.gz