public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/
Date: Tue,  9 Jul 2024 09:46:45 +0000 (UTC)	[thread overview]
Message-ID: <1720517696.348540ed2806d56d2ed6f56899bb411cefa070de.davidroman@gentoo> (raw)
Message-ID: <20240709094645.97sMXGAN8rmrpvBEVMm0gDi1noL0yvi6Am4tne6UCbg@z> (raw)

commit:     348540ed2806d56d2ed6f56899bb411cefa070de
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jul  9 09:34:56 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul  9 09:34:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=348540ed

media-sound/lms: add 3.55.0

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-sound/lms/Manifest          |  1 +
 media-sound/lms/lms-3.55.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest
index 4fcfa5fac..cdc8a751e 100644
--- a/media-sound/lms/Manifest
+++ b/media-sound/lms/Manifest
@@ -1 +1,2 @@
 DIST lms-3.54.0.tar.gz 428132 BLAKE2B bec14813d42e5a0d2854c62827218c06b56d092e6228ff7b32b37a0c0d85f545eb8747c8108dd390e445d28921c4a79f4a86d9985a3d1e0ffe888b4beb1a2261 SHA512 e0434c12d460d9ee2a1aaaa32ef0344dbce7ee11d250d31a9f3f08213834e48620f8c14ed97ba6a625c6a8f292efdbe1dcd90d50ce3c51b369c6d67c5ac6a0c9
+DIST lms-3.55.0.tar.gz 435761 BLAKE2B 355a5c356b70d01ad8141209f479541a8b2fbedc6a289a86f117d6de5981903edbb08c7e4648c315ceb191b88f18840370fff5ad912b5993b3d557e1b1109c8a SHA512 8dcc6335d25e372b161034e8caa8ca182c7320569b16648db824a118013f647711da7d7c38a8aabc12eb608e203d14c6fe332b4a8b14125726e030f4e591eb3e

diff --git a/media-sound/lms/lms-3.55.0.ebuild b/media-sound/lms/lms-3.55.0.ebuild
new file mode 100644
index 000000000..df1f282f0
--- /dev/null
+++ b/media-sound/lms/lms-3.55.0.ebuild
@@ -0,0 +1,70 @@
+# 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
+}


             reply	other threads:[~2024-07-09  9:46 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-09  9:36 David Roman [this message]
2024-07-09  9:46 ` [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2025-03-05 13:15 [gentoo-commits] repo/proj/guru:dev " David Roman
2025-02-24 10:06 David Roman
2025-02-24 10:06 David Roman
2025-01-23  9:56 David Roman
2025-01-23  9:56 David Roman
2025-01-06 19:57 David Roman
2025-01-06 19:57 David Roman
2024-12-19  9:58 David Roman
2024-12-17 16:03 David Roman
2024-12-17 16:03 David Roman
2024-11-12 11:05 David Roman
2024-10-31 11:13 David Roman
2024-10-31 11:13 David Roman
2024-10-13 14:16 David Roman
2024-10-13 14:16 David Roman
2024-09-19  0:18 David Roman
2024-08-31 21:28 David Roman
2024-08-31 21:28 David Roman
2024-08-06  9:25 David Roman
2024-07-30  9:33 David Roman
2024-07-30  9:33 David Roman
2024-06-17 10:26 David Roman
2024-06-10 15:31 David Roman
2024-06-10 15:31 David Roman
2024-05-06 11:53 [gentoo-commits] repo/proj/guru:master " David Roman
2024-05-06 10:33 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-05-06 11:53 [gentoo-commits] repo/proj/guru:master " David Roman
2024-05-06 11:46 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-05-06 10:33 David Roman
2024-04-24 12:11 [gentoo-commits] repo/proj/guru:master " David Roman
2024-04-23 21:39 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-04-23 21:39 David Roman
2024-04-05 22:02 David Roman
2024-04-02 12:13 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1720517696.348540ed2806d56d2ed6f56899bb411cefa070de.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox