mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
media-sound/lms: add 3.60.1
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST lms-3.59.1.tar.gz 444042 BLAKE2B f5c64cf07dd25cda81809a355029e4bd474b3516ab2511027bd1099232f763d4c5731864ff9fba815e96a681a22abb2cbd67e73534d4b2381e4bf0bd6f55f4b1 SHA512 c1fedf82548daf3f433227f0b65b294930215f688121a14572beac0f17d87f5dcd63315d4606056258e4d7bd41cbe76b9df0140ddbac2a9e478b0f5c158a29fd
|
||||
DIST lms-3.60.0.tar.gz 458598 BLAKE2B 8506d484e130a6c6f4e4e4393258cb5c920badcabe54c06b785efe075a4b11a619d42bbd48ace5ebf4bd7fa4a1d74a8ecdc75bb4e073a01d4b046241afc2d1b2 SHA512 4e7e454e0075a3257d0b2e7a128f37bd9aad6d89734f283e6d24d35635b1a02c647f30f22af9641b1d1867684e7adeb6672c60c448d2f822d0a1d5ec4ce2460c
|
||||
DIST lms-3.60.1.tar.gz 458729 BLAKE2B aaa5872e4fe9aee0e494f39404620468a1159e1a1948bdbf28403ea37850a9c6337d5311cf1068c6ad58912b5d0b11b8edb659f2d0068b877484a587e9a2ce4c SHA512 d5068192167a706d0e144033ff4146bbbae29be2b1bd8fda858d0cb7b6196fe1a0c7f1286656b387ea8c874b4793a8f5b9eb239e7d6793a8c0367e45272afec2
|
||||
|
||||
68
media-sound/lms/lms-3.60.1.ebuild
Normal file
68
media-sound/lms/lms-3.60.1.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}
|
||||
|
||||
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