media-sound/lms - 3.79.0 (guru)

Search

Install

Install this version:

emerge -a =media-sound/lms-3.79.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-sound/lms-3.79.0

Or alternatively:

emerge --autounmask-write -a =media-sound/lms-3.79.0

Package Information

Description:
Lightweight Music Server
Homepage:
https://lms-demo.poupon.dev/ https://github.com/epoupon/lms
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit cmake pam systemd

DESCRIPTION="Lightweight Music Server"
HOMEPAGE="https://lms-demo.poupon.dev/ https://github.com/epoupon/lms"
SRC_URI="https://github.com/epoupon/lms/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test jukebox +stb"
RESTRICT="!test? ( test )"

RDEPEND="
	app-arch/libarchive
	acct-user/lms
	dev-cpp/wt:=
	dev-libs/boost:=
	dev-libs/libconfig[cxx]
	dev-libs/openssl:=
	dev-libs/pugixml:=
	media-libs/taglib:=
	media-video/ffmpeg[lame,opus]
	sys-libs/pam

	jukebox? ( media-libs/libpulse )
	!stb? ( media-gfx/graphicsmagick )

"

DEPEND="
	${RDEPEND}
	dev-libs/xxhash
	stb? ( dev-libs/stb )
"

BDEPEND="
	test? ( dev-cpp/gtest )
"

src_configure() {
	local mycmakeargs=(
		-DLMS_IMAGE_BACKEND=$(usex stb stb graphicsmagick)
		-DENABLE_TESTS=$(usex test)
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install

	systemd_newunit conf/systemd/default.service lms.service
	newinitd "${FILESDIR}/lms.init" lms
	dopamd conf/pam/lms
	mv "${ED}/usr/share/lms/lms.conf" "${ED}/etc/lms.conf" || die

	# Already installed in the proper directory
	rm "${ED}/usr/share/lms/default.service" || die
	rm "${ED}/usr/share/lms/lms" || die

	keepdir /var/log/lms
	fowners -R lms:lms /var/log/lms

	keepdir /var/lms
	fowners lms:lms /var/lms
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-sound/lms | euse -E <flag> -p media-sound/lms | euse -D <flag> -p media-sound/lms

Global/Standard Flags

stb
Default: Enabled (+)

Inherited Eclasses

pam

Dependencies

DEPEND

	
	app-arch/libarchive
	acct-user/lms
	dev-cpp/wt:=
	dev-libs/boost:=
	dev-libs/libconfig[cxx]
	dev-libs/openssl:=
	dev-libs/pugixml:=
	media-libs/taglib:=
	media-video/ffmpeg[lame,opus]
	sys-libs/pam

	jukebox? ( media-libs/libpulse )
	!stb? ( media-gfx/graphicsmagick )


	dev-libs/xxhash
	stb? ( dev-libs/stb )

RDEPEND

	app-arch/libarchive
	acct-user/lms
	dev-cpp/wt:=
	dev-libs/boost:=
	dev-libs/libconfig[cxx]
	dev-libs/openssl:=
	dev-libs/pugixml:=
	media-libs/taglib:=
	media-video/ffmpeg[lame,opus]
	sys-libs/pam

	jukebox? ( media-libs/libpulse )
	!stb? ( media-gfx/graphicsmagick )

BDEPEND

	test? ( dev-cpp/gtest )

Manifest for 3.79.0

Type File Size Source URLs
DIST lms-3.79.0.tar.gz 3667097 bytes https://github.com/epoupon/lms/archive/refs/tags/v3.79.0.tar.gz