mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
media-sound/lms: add 3.81.0
Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
2 files changed
+72
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST lms-3.79.0.tar.gz 3667097 BLAKE2B 0643e235ce5b1ef41bd185ae81c1d12fac8c933f22e2dc2152e75479917bf5478a24eb074188bae3f1ebb1f15123861a80a6a3e8bc228e435003db3a5266b266 SHA512 93a23cc9bf26d1af7bf7c5b6abe78b8efc97bc99a212e0ddac7dcc4f6c9fd841196ab01cfd9df14a8eb95bb6870a13edf98800154f8b7464a7273c3c5d35ed73
|
||||
DIST lms-3.80.0.tar.gz 3693850 BLAKE2B 6b1191e32a34571b659d8742263c61fe6af0559b36e360059143b1daa9d798e8ea4031ece6c4de8fcbcd5c0b352b9eb8a8cdf081fcd9fd8968293885a37c6db9 SHA512 ef648f50f4ffcb15ab0977b64ba30ea3eb64b0b64c287e9986d25944c2ea010072dae8c5370c22868cdbb67751e9821a7b408bbafaa9807ed7adbe7cc124cff5
|
||||
DIST lms-3.81.0.tar.gz 4069455 BLAKE2B 741ae78064d80bdc8cddf2a44b7a1ff3033a5bd87757c6edd0b22fcf6971e97d46b652c16ea26a54d596c9c41ccab0d5749f4deb8fc30d803ed98d2b1c73731c SHA512 e42d9e97f386c71914d4f62bcd88467f94bc8d512ed9db8c86fb2eb8b70b1c30b275c658205efd21e93c2dac5311f6ef095dc1fb318c32018cb6cc43ade5b7d1
|
||||
@@ -0,0 +1,71 @@
|
||||
# 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
|
||||
}
|
||||
Reference in new issue
Block a user