commit: ed39713b92535db802f4afaabc1bba9cf702b5dd Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Thu Dec 19 09:58:41 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Dec 19 09:58:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed39713b
media-sound/lms: add 3.62.0 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> media-sound/lms/Manifest | 1 + media-sound/lms/lms-3.62.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest index 6ce2c23ef..9b1eb7435 100644 --- a/media-sound/lms/Manifest +++ b/media-sound/lms/Manifest @@ -1,2 +1,3 @@ DIST lms-3.60.1.tar.gz 458729 BLAKE2B aaa5872e4fe9aee0e494f39404620468a1159e1a1948bdbf28403ea37850a9c6337d5311cf1068c6ad58912b5d0b11b8edb659f2d0068b877484a587e9a2ce4c SHA512 d5068192167a706d0e144033ff4146bbbae29be2b1bd8fda858d0cb7b6196fe1a0c7f1286656b387ea8c874b4793a8f5b9eb239e7d6793a8c0367e45272afec2 DIST lms-3.61.0.tar.gz 465049 BLAKE2B b4d08b92c31c09734d5961c634839b729a6497e6319463d0d5ae919330d1a195d12d2cfeb5171e3a879d7bf81c34a44aa8493eecd2cb1aed76cd400a02db0687 SHA512 ea812f0fa0ad89319a1d219205092025f63883ca3b8612e2fc8ff286362fd7961a793d19e23fb8a6393bd796dedff14f6f94f6e96c6403ae456c1cf05cfc7fbf +DIST lms-3.62.0.tar.gz 473881 BLAKE2B a90b0cb8f1f1f6be2595065851dd7adcced135ddec21ae005cb0da17383a8a0179f96c205e1eee353284740fb432be29810a418baf3e53440f157dc3f7b0fb2d SHA512 17a45b6dc3689b8758e4f8ffa10909e3c71b18f716538986b8e526d8821cf707def3a11ddec6b76e5c8e927f72b7b54cb57fbe29ee5e33a4a5035de448c76f7b diff --git a/media-sound/lms/lms-3.62.0.ebuild b/media-sound/lms/lms-3.62.0.ebuild new file mode 100644 index 000000000..a41fae8bd --- /dev/null +++ b/media-sound/lms/lms-3.62.0.ebuild @@ -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 +}