mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
media-sound/lms: add 3.71.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST lms-3.68.1.tar.gz 544716 BLAKE2B 81de51f8a4ccf70c83fc83d2d6f987b6800813ac3861ef2deca119e8559c2ab11fcb6ace92994b3c1643d4fd72b0530a4b87449ec0ec9929198743a74fca5f05 SHA512 fdc6851afac8175a8efc2c6c0dbf6ae9e246417afb9c3d14f679bcc59aa25da9040e7f993f10c80d9a6e64f160418332cc6b841907181c169996e5f4911a5c24
|
||||
DIST lms-3.69.0.tar.gz 550790 BLAKE2B 10578fe858f5e2a3a2768a862aa984a088ff54c1dfaf1bf20abc0a2f906a90921b197a1aa839706fe1c2413508405aacaf47bd4f4987e2eae75c2ce2555af654 SHA512 a63ee541d158f076be5e72b20a6c06d9dca67dc7aaba0062382ae4051c50f7eab501553296414dd6c24a2364d7a1ff12e5252ad3475e528ff18e00e8f0154666
|
||||
DIST lms-3.71.0.tar.gz 578246 BLAKE2B 475071df8425adb363f1a894c0a8be7fc3e19cd687f5faab2bbdfee2258d1290d4a2fa15f6bd183155913121b4deed28c8b9e82c183b8c11b6b61252a1e51a0e SHA512 958f87c4ec9b711fe259e75a6f031862f2e9bab5d7c05bd0852fe64f45f978ec95d7a8123e2e31c29c09ba0af672854220ab7697b211d6a3adc4e4dc9bfcaeb2
|
||||
|
||||
68
media-sound/lms/lms-3.71.0.ebuild
Normal file
68
media-sound/lms/lms-3.71.0.ebuild
Normal file
@@ -0,0 +1,68 @@
|
||||
# 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]
|
||||
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