From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 70EA5158042 for ; Thu, 31 Oct 2024 11:33:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C67ABE089D; Thu, 31 Oct 2024 11:33:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B00D2E089D for ; Thu, 31 Oct 2024 11:33:22 +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 8282A3430F1 for ; Thu, 31 Oct 2024 11:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64F8411DF for ; Thu, 31 Oct 2024 11:33:18 +0000 (UTC) From: "David Roman" 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" Message-ID: <1730372668.0a4e33861b9aa902ceb76f273a6c8778baa86454.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.60.0.ebuild X-VCS-Directories: media-sound/lms/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 0a4e33861b9aa902ceb76f273a6c8778baa86454 X-VCS-Branch: master Date: Thu, 31 Oct 2024 11:33:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2611b385-e9d4-4c77-92ac-558daf223a27 X-Archives-Hash: cc30feb8769136e07da3410cbc7fdf22 Message-ID: <20241031113318.os9O0MfAMr6kTbWyuoHWcSwEHvbQd3R0QwfTBkI4j1k@z> commit: 0a4e33861b9aa902ceb76f273a6c8778baa86454 Author: David Roman gmail com> AuthorDate: Thu Oct 31 11:04:28 2024 +0000 Commit: David Roman gmail com> CommitDate: Thu Oct 31 11:04:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a4e3386 media-sound/lms: add 3.60.0 Signed-off-by: David Roman gmail.com> media-sound/lms/Manifest | 1 + media-sound/lms/lms-3.60.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest index d198068a5..270008781 100644 --- a/media-sound/lms/Manifest +++ b/media-sound/lms/Manifest @@ -1,2 +1,3 @@ DIST lms-3.58.0.tar.gz 449627 BLAKE2B 5c3dbb961aa21597bbd28a5abfd7baae0d0a756389f9790f93b6af0462766a8f96cb0aa88356235273e0881d94da60a9f3e5744dd3e777ed11a2aed6ad7892e4 SHA512 5b401c5b26d3dc95ba24569c22b6fb3cc1d0fd5d38b9877d6aff592d9d4d5e524fac5cfa70cd158931b26577c5547c263585076821fca57914a4e564bd4ddc40 DIST lms-3.59.1.tar.gz 444042 BLAKE2B f5c64cf07dd25cda81809a355029e4bd474b3516ab2511027bd1099232f763d4c5731864ff9fba815e96a681a22abb2cbd67e73534d4b2381e4bf0bd6f55f4b1 SHA512 c1fedf82548daf3f433227f0b65b294930215f688121a14572beac0f17d87f5dcd63315d4606056258e4d7bd41cbe76b9df0140ddbac2a9e478b0f5c158a29fd +DIST lms-3.60.0.tar.gz 458598 BLAKE2B 8506d484e130a6c6f4e4e4393258cb5c920badcabe54c06b785efe075a4b11a619d42bbd48ace5ebf4bd7fa4a1d74a8ecdc75bb4e073a01d4b046241afc2d1b2 SHA512 4e7e454e0075a3257d0b2e7a128f37bd9aad6d89734f283e6d24d35635b1a02c647f30f22af9641b1d1867684e7adeb6672c60c448d2f822d0a1d5ec4ce2460c diff --git a/media-sound/lms/lms-3.60.0.ebuild b/media-sound/lms/lms-3.60.0.ebuild new file mode 100644 index 000000000..a41fae8bd --- /dev/null +++ b/media-sound/lms/lms-3.60.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 +}