From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 529E11582EF for ; Wed, 05 Mar 2025 13:15:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 35EF8342F9E for ; Wed, 05 Mar 2025 13:15:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1B5471102D0; Wed, 05 Mar 2025 13:15:38 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 133C61102D0 for ; Wed, 05 Mar 2025 13:15:37 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F670341540 for ; Wed, 05 Mar 2025 13:15:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 070FF2853 for ; Wed, 05 Mar 2025 13:15:36 +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: <1741180523.5b13d9f281d9c307c2cc7ef45b8ab56d71b64b4d.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/lms/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/lms/lms-3.64.0-r1.ebuild X-VCS-Directories: media-sound/lms/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 5b13d9f281d9c307c2cc7ef45b8ab56d71b64b4d X-VCS-Branch: dev Date: Wed, 05 Mar 2025 13:15:36 +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: 7ac0af36-dcb8-4f11-b54f-da2423a2fb56 X-Archives-Hash: 3ce48e1786b9b60a602d50fe6bce5e5e commit: 5b13d9f281d9c307c2cc7ef45b8ab56d71b64b4d Author: David Roman gmail com> AuthorDate: Wed Mar 5 13:15:23 2025 +0000 Commit: David Roman gmail com> CommitDate: Wed Mar 5 13:15:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b13d9f2 media-sound/lms: add slot rebuild for wt and boost Signed-off-by: David Roman gmail.com> media-sound/lms/lms-3.64.0-r1.ebuild | 68 ++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/media-sound/lms/lms-3.64.0-r1.ebuild b/media-sound/lms/lms-3.64.0-r1.ebuild new file mode 100644 index 000000000..7c03b6f8e --- /dev/null +++ b/media-sound/lms/lms-3.64.0-r1.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 +}