From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1679679-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F403415807B for <garchives@archives.gentoo.org>; Sun, 13 Oct 2024 14:51:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19820E08FF; Sun, 13 Oct 2024 14:51:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2031E08FF for <gentoo-commits@lists.gentoo.org>; Sun, 13 Oct 2024 14:51:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19D3E34326A for <gentoo-commits@lists.gentoo.org>; Sun, 13 Oct 2024 14:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F41D26E4 for <gentoo-commits@lists.gentoo.org>; Sun, 13 Oct 2024 14:51:34 +0000 (UTC) From: "David Roman" <davidroman96@gmail.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com> Message-ID: <1728824032.a578086f246e955e62bb7f2dfdc3a211fa575352.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/lms/Manifest media-sound/lms/lms-3.59.1.ebuild X-VCS-Directories: media-sound/lms/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: a578086f246e955e62bb7f2dfdc3a211fa575352 X-VCS-Branch: master Date: Sun, 13 Oct 2024 14:51:34 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 066e0261-caa6-493d-8b2d-9aab845b3b10 X-Archives-Hash: 6ff38b6659bf177326a15b06a6894b3f Message-ID: <20241013145134.y9f6rJWcmpRwd9e7UPfUiRvJM8KGXojUq3uTdcUS9b0@z> commit: a578086f246e955e62bb7f2dfdc3a211fa575352 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Sun Oct 13 12:53:52 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Oct 13 12:53:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a578086f media-sound/lms: add 3.59.1 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> media-sound/lms/Manifest | 1 + media-sound/lms/lms-3.59.1.ebuild | 68 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest index 064b6f4d2..7c3f3b141 100644 --- a/media-sound/lms/Manifest +++ b/media-sound/lms/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/media-sound/lms/lms-3.59.1.ebuild b/media-sound/lms/lms-3.59.1.ebuild new file mode 100644 index 000000000..a41fae8bd --- /dev/null +++ b/media-sound/lms/lms-3.59.1.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 +}