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: Wed, 24 Apr 2024 12:11:36 +0000 (UTC)	[thread overview]
Message-ID: <1713908339.e7df2e8b28ac9418264edcdbd60cb993576db72d.davidroman@gentoo> (raw)
Message-ID: <20240424121136.PuiSUFPhnW31wlDJ89xTkkDXsBxfai5zAPeBPKbDcuQ@z> (raw)

commit:     e7df2e8b28ac9418264edcdbd60cb993576db72d
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 21:38:59 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 21:38:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7df2e8b

media-sound/lms: add 3.52.0

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

 media-sound/lms/Manifest          |  1 +
 media-sound/lms/lms-3.52.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest
index d740f50d20..2b09b8bf86 100644
--- a/media-sound/lms/Manifest
+++ b/media-sound/lms/Manifest
@@ -1,2 +1,3 @@
 DIST lms-3.50.1.tar.gz 419715 BLAKE2B 80a8c08268d48e4fe8b64f66063cbe925b71288d0604c1395b54fdd35cfe7e815f9f67861cd52ba1934debc04291d96fe85c16ef99108fb9491015cea7562396 SHA512 8787d9a26bddb93d55e42f9b5f5c0295d8c67404e7648c3be620e03ae1e1ed243d87ff978a7c687dd349db4309e858807956bfa804207809c3b2fe3eed87977b
 DIST lms-3.51.1.tar.gz 427958 BLAKE2B 88e7afc4fa3c28761d0ce6fa9c5d98ab9c9525f2138ef0523e9bae45511c74c9417b8717de56b054f5ec15c444fcbc00336795f3bdcbbb906ddde97bc54ad6cd SHA512 f53907e0bbf9f6a26d9231e7eca01fd92f981e1271879bcbb960829b1416d1d73e980f50b4a5a12d1b0e48b7b9d1680b53fedce8e015eee33edc3c890625c34b
+DIST lms-3.52.0.tar.gz 422542 BLAKE2B 6da2ce9f3ad1be103acaf694498a422be41690a2f0976081d1bde41b4a5860f4e33b604be3879d2d0cd3c24d9a41da185a990255035af322cc8c0bd2f87071f3 SHA512 f9ad2a6011960c7db74e2a9df2e1a48d7f14886165fea5b37d20b467c69effda5ad8c61d59c6d74b7a08b5862efb1c73ddb3be7743e905350e78127f7681da38

diff --git a/media-sound/lms/lms-3.52.0.ebuild b/media-sound/lms/lms-3.52.0.ebuild
new file mode 100644
index 0000000000..2b015ca02d
--- /dev/null
+++ b/media-sound/lms/lms-3.52.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic pam systemd
+
+DESCRIPTION="Lightweight Music Server."
+HOMEPAGE="http://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() {
+	append-flags -I/usr/include/stb/deprecated
+
+	local mycmakeargs=(
+		-DIMAGE_LIBRARY=$(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-04-24 12:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 21:39 David Roman [this message]
2024-04-24 12:11 ` [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-09-19  0:18 [gentoo-commits] repo/proj/guru:dev " 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-07-09  9:36 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 11:46 ` [gentoo-commits] repo/proj/guru:dev " 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 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-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=1713908339.e7df2e8b28ac9418264edcdbd60cb993576db72d.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