mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
media-sound/lms: drop 3.55.0, 3.56.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST lms-3.55.0.tar.gz 435761 BLAKE2B 355a5c356b70d01ad8141209f479541a8b2fbedc6a289a86f117d6de5981903edbb08c7e4648c315ceb191b88f18840370fff5ad912b5993b3d557e1b1109c8a SHA512 8dcc6335d25e372b161034e8caa8ca182c7320569b16648db824a118013f647711da7d7c38a8aabc12eb608e203d14c6fe332b4a8b14125726e030f4e591eb3e
|
||||
DIST lms-3.56.0.tar.gz 440559 BLAKE2B 5443521cd4a72ffcb025007f4ab9a54efdb96b4794ef1516571ea231ae99de1d105a6da13f38fe624099b886815606743f823511b594b84c045d6cbb8ead1f5b SHA512 e89ee82b3c7595b4f41b2c74ebbef8be12ba769aec7a8951d4e008ca912d674c829f88fcef9592d5a96832c0ce9572056ec410038b424c344d6b3c4bd20f61f9
|
||||
DIST lms-3.57.0.tar.gz 444691 BLAKE2B 2c7ee641df73d1d232a0c49ee0a6d94fe81ccef382ad91422b4c8e4269542881598b6551bfd9be269d251f11eeafbc9a858979c53d3abeca97ecd18f52b494f8 SHA512 0dc2ab2b2fa26f02480f0a6de42bc1294bac16e73400bcc99b114faa2ab7c2e6803e3348408a5445da5c573e2b06892c9124a8441986d227c9dfc3396000b7f7
|
||||
|
||||
@@ -1,70 +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="
|
||||
acct-user/lms
|
||||
dev-cpp/wt
|
||||
dev-libs/boost
|
||||
dev-libs/libconfig[cxx]
|
||||
media-libs/taglib
|
||||
media-video/ffmpeg[mp3,opus]
|
||||
|
||||
!stb? ( media-gfx/graphicsmagick )
|
||||
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
stb? ( dev-libs/stb )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-respect-ldflags.patch"
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,70 +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="
|
||||
acct-user/lms
|
||||
dev-cpp/wt
|
||||
dev-libs/boost
|
||||
dev-libs/libconfig[cxx]
|
||||
media-libs/taglib
|
||||
media-video/ffmpeg[mp3,opus]
|
||||
|
||||
!stb? ( media-gfx/graphicsmagick )
|
||||
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
stb? ( dev-libs/stb )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-respect-ldflags.patch"
|
||||
)
|
||||
|
||||
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