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 E6D77158042 for ; Mon, 21 Oct 2024 12:36:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D02CE09DC; Mon, 21 Oct 2024 12:36:34 +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 40B93E09DC for ; Mon, 21 Oct 2024 12:36:34 +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 5258A343091 for ; Mon, 21 Oct 2024 12:36:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 419B2AE7 for ; Mon, 21 Oct 2024 12:36:30 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729514185.f1e7e792ab4402aa5d757b3e4ef770e4036e631e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ncmpcpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/ncmpcpp/Manifest media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild X-VCS-Directories: media-sound/ncmpcpp/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f1e7e792ab4402aa5d757b3e4ef770e4036e631e X-VCS-Branch: master Date: Mon, 21 Oct 2024 12:36:30 +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: 4c2a2a51-8666-48d5-a205-3033e32b0529 X-Archives-Hash: 3052bade4d0b44277ba1d829d38e938e commit: f1e7e792ab4402aa5d757b3e4ef770e4036e631e Author: Filip Kobierski pm me> AuthorDate: Thu Sep 26 13:13:14 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 21 12:36:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e7e792 media-sound/ncmpcpp: add 0.10_p20240912 - I have prepared a patch to fix bashism and it got merged upstream. (72d990fe250da1e583677474b3462b9e9894130b) I have decided to do a _p ebuild to avoid backporting it. - add DOCS Closes: https://bugs.gentoo.org/921561 Signed-off-by: Filip Kobierski pm.me> Closes: https://github.com/gentoo/gentoo/pull/38578 Signed-off-by: Joonas Niilola gentoo.org> media-sound/ncmpcpp/Manifest | 1 + media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild | 76 +++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/media-sound/ncmpcpp/Manifest b/media-sound/ncmpcpp/Manifest index 2052519ad8bf..dd017356ae2e 100644 --- a/media-sound/ncmpcpp/Manifest +++ b/media-sound/ncmpcpp/Manifest @@ -1,2 +1,3 @@ +DIST ncmpcpp-0.10_p20240912.gh.tar.gz 231708 BLAKE2B e695975524b890c04cf05c5648e4805a1e6ae31a4c6402c7c925f56ce08fe8a2eb68e7db9f5a5736859b2d2683e2f3e01b29587b97409280c8ed86cde40bcc9f SHA512 40aa37e10203173b1254150f60f2210c8bcb07ffe1174d0a1bb2d6281dfabae86144523021d70cb911e8e03e572f73c62e8e026dc0a57ae9831849deb146dbe5 DIST ncmpcpp-0.9.2_p20221231.gh.tar.gz 229678 BLAKE2B edb03554a14b90fbb5a4c99cb46ed73ffd702ff2fa417765d4e4bdaddd6bc40554f18aae10db81af87bbc8c91a4f966785fefdf43cfc97b18fc950c1aa59a370 SHA512 8affb5115c7531ee005544f002068b0b13b6aa41c5e11213ba8c979373a5328f298612903e531b6d384749469d6fa0ddb0d06ac4dac5ab2ca5485c7814db32a3 DIST ncmpcpp-0.9.2_p20240724.gh.tar.gz 230318 BLAKE2B dd1d464ab8a3e0d10b1a16c6737657190f57710c0e6d6da65270c8f10d1b8abe3877f9bc8b962df1ed82c5246576999f8f6e19523951657699b6b6670cc0e55d SHA512 9d7a52c6dde1459eb2a3606a43826007f43fcdcb01ddd9a1261ed427308dc909d5c73f1f01ffbaebc001b4b99c99ff0746aa869c6c31ae1fcabb70c3abc7f0ed diff --git a/media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild new file mode 100644 index 000000000000..66960464f75a --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +COMMIT="72d990fe250da1e583677474b3462b9e9894130b" + +DESCRIPTION="Featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE=" + https://rybczak.net/ncmpcpp/ + https://github.com/ncmpcpp/ncmpcpp/ +" +SRC_URI="https://github.com/ncmpcpp/ncmpcpp/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="clock outputs taglib visualizer" + +RDEPEND=" + >=media-libs/libmpdclient-2.1 + dev-libs/boost:=[icu,nls] + dev-libs/icu:= + net-misc/curl + sys-libs/ncurses:=[unicode(+)] + sys-libs/readline:= + taglib? ( media-libs/taglib ) + visualizer? ( sci-libs/fftw:3.0= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( CHANGELOG.md README.md ) + +src_prepare() { + default + eautoreconf + + sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die + sed -i -e 's|COPYING||g' Makefile{.am,.in} || die +} + +src_configure() { + local myeconfargs=( + --without-lto # --with-lto only appends -flto. We need more for a dedicated USE flag + $(use_enable clock) + $(use_enable outputs) + $(use_enable visualizer) + $(use_with taglib) + $(use_with visualizer fftw) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + dodoc doc/{bindings,config} +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${EROOT}/usr/share/doc/${PF}" + elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/bindings" + elog "as user configuration files." + echo + if use visualizer; then + elog "If you want to use the visualizer, mpd needs to be built with fifo USE flag." + echo + fi +}