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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11730158064 for ; Mon, 6 May 2024 11:53:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5028EE2AD4; Mon, 6 May 2024 11:53:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1A2CE2ACD for ; Mon, 6 May 2024 11:53:02 +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 085FF343190 for ; Mon, 6 May 2024 11:53:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8887515FA for ; Mon, 6 May 2024 11:53:00 +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: <1714991526.37d2597558c8f9f8077574fe27bac34b59de1cdf.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.53.0.ebuild X-VCS-Directories: media-sound/lms/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 37d2597558c8f9f8077574fe27bac34b59de1cdf X-VCS-Branch: master Date: Mon, 6 May 2024 11:53:00 +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: 18d144ee-0812-4ba5-9707-202813fb86fc X-Archives-Hash: 52baa77149c82c188381cb196e98a461 Message-ID: <20240506115300.hJK5zneOeqaeRpalLiNqulAME0vVFL9nh4gRPwu-6F0@z> commit: 37d2597558c8f9f8077574fe27bac34b59de1cdf Author: David Roman gmail com> AuthorDate: Mon May 6 10:32:06 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon May 6 10:32:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37d25975 media-sound/lms: add 3.53.0 Signed-off-by: David Roman gmail.com> media-sound/lms/Manifest | 1 + media-sound/lms/lms-3.53.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest index 2a992936cd..1b714381e4 100644 --- a/media-sound/lms/Manifest +++ b/media-sound/lms/Manifest @@ -1,2 +1,3 @@ DIST lms-3.51.1.tar.gz 427958 BLAKE2B 88e7afc4fa3c28761d0ce6fa9c5d98ab9c9525f2138ef0523e9bae45511c74c9417b8717de56b054f5ec15c444fcbc00336795f3bdcbbb906ddde97bc54ad6cd SHA512 f53907e0bbf9f6a26d9231e7eca01fd92f981e1271879bcbb960829b1416d1d73e980f50b4a5a12d1b0e48b7b9d1680b53fedce8e015eee33edc3c890625c34b DIST lms-3.52.0.tar.gz 422542 BLAKE2B 6da2ce9f3ad1be103acaf694498a422be41690a2f0976081d1bde41b4a5860f4e33b604be3879d2d0cd3c24d9a41da185a990255035af322cc8c0bd2f87071f3 SHA512 f9ad2a6011960c7db74e2a9df2e1a48d7f14886165fea5b37d20b467c69effda5ad8c61d59c6d74b7a08b5862efb1c73ddb3be7743e905350e78127f7681da38 +DIST lms-3.53.0.tar.gz 423679 BLAKE2B 4b6c5ac28f10674209242c11593de999e50a8ae975f44bec3f277fbe9c4aeb3968bb4bce135540c1df0d6014e805d7617e2203bc5fcf56a64dedb1562df0cdbc SHA512 19e90135049097a814ef9c0d760c5ff7ca061d7a2e27720f1ee645d2781026be233dcb7105034ac291e416e990b0a91b6df4f9c235f5ef18e733e07f8dfe2ead diff --git a/media-sound/lms/lms-3.53.0.ebuild b/media-sound/lms/lms-3.53.0.ebuild new file mode 100644 index 0000000000..2b015ca02d --- /dev/null +++ b/media-sound/lms/lms-3.53.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 +}