mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
media-sound/lms: add 3.65.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
parent
043973e4bf
commit
8972719313
@ -1,2 +1,3 @@
|
||||
DIST lms-3.63.0.tar.gz 481470 BLAKE2B d2d21dd8bc8d6b6442ef855265f1ef3d22fcd3a335604847705f59fae3770049e0f290b33b11cc1ebacc00eb97d427a2c6ae0f379652f8570edc69bf71d55231 SHA512 16ec14683c297a131f38f05b3a2109199a58f5007ee2d6fb25c93043699986b1c570ca491aa014f2429d206a51f5bd55ee28a2174023decb92caeb0cc00111ae
|
||||
DIST lms-3.64.0.tar.gz 490240 BLAKE2B 87a02cd2c1689a15cf8987c232b3a85a8ab1dc245247783b9c9923ccd7e327c4a2ae28b65971af686e1600639e5f9df49ec5bbcfc046a297585be8f1db8f57e8 SHA512 6b84defd33c2742fd1046ae469cab3cb60a59e00e068cce0efed90a1a05aca241d407afc5d6e3e047be75c4b56a86ad9269c82c23f296ad665483c0aefd78188
|
||||
DIST lms-3.65.0.tar.gz 508205 BLAKE2B 6112359993ca710f1e62e4f771ca12f79bdf5fcd1c3c71bfb54672c52ba0c4c259d941ce6691aff4e8a787298f3efea30e32f2ebe47a6ce18b91e708aa21cb91 SHA512 6d7156aac8d3588e9aad90087864201d51053a74ee66adff7e7597b0b69fbb4b4ea8caba39553722adac06913068a1d96418b4ec0712c01b9752ab43aeaf7bd1
|
||||
|
68
media-sound/lms/lms-3.65.0.ebuild
Normal file
68
media-sound/lms/lms-3.65.0.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2024 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[mp3,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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user