mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
media-sound/lms: drop 3.57.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST lms-3.57.0.tar.gz 444691 BLAKE2B 2c7ee641df73d1d232a0c49ee0a6d94fe81ccef382ad91422b4c8e4269542881598b6551bfd9be269d251f11eeafbc9a858979c53d3abeca97ecd18f52b494f8 SHA512 0dc2ab2b2fa26f02480f0a6de42bc1294bac16e73400bcc99b114faa2ab7c2e6803e3348408a5445da5c573e2b06892c9124a8441986d227c9dfc3396000b7f7
|
||||
DIST lms-3.58.0.tar.gz 449627 BLAKE2B 5c3dbb961aa21597bbd28a5abfd7baae0d0a756389f9790f93b6af0462766a8f96cb0aa88356235273e0881d94da60a9f3e5744dd3e777ed11a2aed6ad7892e4 SHA512 5b401c5b26d3dc95ba24569c22b6fb3cc1d0fd5d38b9877d6aff592d9d4d5e524fac5cfa70cd158931b26577c5547c263585076821fca57914a4e564bd4ddc40
|
||||
DIST lms-3.59.1.tar.gz 444042 BLAKE2B f5c64cf07dd25cda81809a355029e4bd474b3516ab2511027bd1099232f763d4c5731864ff9fba815e96a681a22abb2cbd67e73534d4b2381e4bf0bd6f55f4b1 SHA512 c1fedf82548daf3f433227f0b65b294930215f688121a14572beac0f17d87f5dcd63315d4606056258e4d7bd41cbe76b9df0140ddbac2a9e478b0f5c158a29fd
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
# 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