summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Kobierski <fkobi@pm.me>2024-09-26 15:13:14 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-10-21 15:36:25 +0300
commitf1e7e792ab4402aa5d757b3e4ef770e4036e631e (patch)
tree8428c8a294879612e9f0cdb5c5e5f34d2be591a9 /media-sound
parentnet-p2p/nicotine+: add 3.3.5 (diff)
downloadgentoo-f1e7e792ab4402aa5d757b3e4ef770e4036e631e.tar.gz
gentoo-f1e7e792ab4402aa5d757b3e4ef770e4036e631e.tar.bz2
gentoo-f1e7e792ab4402aa5d757b3e4ef770e4036e631e.zip
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 <fkobi@pm.me> Closes: https://github.com/gentoo/gentoo/pull/38578 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ncmpcpp/Manifest1
-rw-r--r--media-sound/ncmpcpp/ncmpcpp-0.10_p20240912.ebuild76
2 files changed, 77 insertions, 0 deletions
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
+}