mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-sound/lms: add 3.76.0
Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST lms-3.74.0.tar.gz 614736 BLAKE2B b26c8d90c9cd1285987f0af8700ced244207cd2bbcff9ecf01b7acc11fc1628812bfc44006b8c983b97ddd90df16cc06708059229df79e1e987bcb4dbf4db788 SHA512 696afb030829afa0368195435056044305a616c021757b427e6f33d42e2e042555f24b49005f62049d6d66f84568d88b6c3daa1e31382d739eefb172312df5b9
|
||||
DIST lms-3.75.0.tar.gz 639715 BLAKE2B d5fca33925e892dbd09c16d3e695981f661a2968a28f93f6dbf0ade1b4d87023ce4df4c50508610a96d5d519a01000a80519a4a6fd67fc724736dc88dff208c8 SHA512 b93f4f5f32e95581a524b9cfa3b52bf469fadc1a7f67028cbdfb94b83117541c7a1bab2d9140e9244569b899bdcaa854d406684cd92d9a87d8324fbcd4c6eb8d
|
||||
DIST lms-3.76.0.tar.gz 639354 BLAKE2B 9d7dace2caafcb7fab06945e2c4e4eacb6a7d5eebb36ef6cfeb2180240a1cfb5bef94771cc19e839d159aa99750136dc675f40aa12692ede50d4be3622b81709 SHA512 f04402f79650f2b41f59e6bd52d65a5dad16e6537521c8fcb4356d9d131f4e4b57c4b8635f61ec58f11ae38b370d7d1720287d8ac1d3b117e1d4f3b047b2b763
|
||||
|
||||
70
media-sound/lms/lms-3.76.0.ebuild
Normal file
70
media-sound/lms/lms-3.76.0.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# 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/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