mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-sound/lms: add 3.74.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST lms-3.72.1.tar.gz 582684 BLAKE2B 6ca49842f43003358f97710f344174323bb781e5bf55270ea93b856ca1f8cdc584e6a50663dfd39cfbb6b07b10926fbbd18228e70a2b370c35f51995b6d3615b SHA512 d0dc1cee2c7513ede21140e11ca8430ef25659ee5c376961720f92a446b144df53779ec5cbbccee82857e1e1116a4f9b2a6972bc1d631e091d3701220496a55a
|
||||
DIST lms-3.73.0.tar.gz 606737 BLAKE2B 2d95708cfdd53e91da25ef8e7b6323311b87ca225df38afad0720270e1d549d10db5c309f9e4090324c1a25634fbf536a5f1d17578324dbce1caca1e1a0cd00b SHA512 662e8c1d37f32527785cc8a7a7b43711c8066930e268f6bfe740ba23e483b30f2f1540e84e9813409870ab3d091bc01f659b574ffa3b0ee25364b2817e752fef
|
||||
DIST lms-3.74.0.tar.gz 614736 BLAKE2B b26c8d90c9cd1285987f0af8700ced244207cd2bbcff9ecf01b7acc11fc1628812bfc44006b8c983b97ddd90df16cc06708059229df79e1e987bcb4dbf4db788 SHA512 696afb030829afa0368195435056044305a616c021757b427e6f33d42e2e042555f24b49005f62049d6d66f84568d88b6c3daa1e31382d739eefb172312df5b9
|
||||
|
||||
69
media-sound/lms/lms-3.74.0.ebuild
Normal file
69
media-sound/lms/lms-3.74.0.ebuild
Normal file
@@ -0,0 +1,69 @@
|
||||
# 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 +stb"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/libarchive
|
||||
acct-user/lms
|
||||
dev-cpp/wt:=
|
||||
dev-libs/boost:=
|
||||
dev-libs/libconfig[cxx]
|
||||
dev-libs/pugixml:=
|
||||
media-libs/taglib:=
|
||||
media-video/ffmpeg[lame,opus]
|
||||
sys-libs/pam
|
||||
|
||||
!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