diff options
author | Adrian Schollmeyer <nex+b-g-o@nexadn.de> | 2023-11-14 12:14:11 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-01-27 11:16:49 +0200 |
commit | 6736af2d425d4052acca7beb30dd57003d5ce1bd (patch) | |
tree | 0eab7448959f1fa8941351a05b08a41214bebc38 /media-sound/ncmpcpp | |
parent | media-sound/mac: add 10.45 (diff) | |
download | gentoo-6736af2d425d4052acca7beb30dd57003d5ce1bd.tar.gz gentoo-6736af2d425d4052acca7beb30dd57003d5ce1bd.tar.bz2 gentoo-6736af2d425d4052acca7beb30dd57003d5ce1bd.zip |
media-sound/ncmpcpp: add 0.9.2_p20221231
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
Closes: https://github.com/gentoo/gentoo/pull/33820
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound/ncmpcpp')
-rw-r--r-- | media-sound/ncmpcpp/Manifest | 1 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.9.2_p20221231.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/media-sound/ncmpcpp/Manifest b/media-sound/ncmpcpp/Manifest index 59fd0197c5d9..d546f39f4293 100644 --- a/media-sound/ncmpcpp/Manifest +++ b/media-sound/ncmpcpp/Manifest @@ -1 +1,2 @@ DIST ncmpcpp-0.9.2.tar.bz2 486266 BLAKE2B 160597493b93bac790b8619881e8a1fcf0efce4a538e35f54f31b06f3ed66691f02b37198cca46b475b7296aebbc864cb62a4398c60bd1e43907f9907a9bc118 SHA512 bbcb3b50233e363412af3c1cf1c0118122733dc376759cd35dee79950f42e098a0402ff670684df91847b990b26022630c9a71192e462bd46e70628e31489742 +DIST ncmpcpp-0.9.2_p20221231.gh.tar.gz 229678 BLAKE2B edb03554a14b90fbb5a4c99cb46ed73ffd702ff2fa417765d4e4bdaddd6bc40554f18aae10db81af87bbc8c91a4f966785fefdf43cfc97b18fc950c1aa59a370 SHA512 8affb5115c7531ee005544f002068b0b13b6aa41c5e11213ba8c979373a5328f298612903e531b6d384749469d6fa0ddb0d06ac4dac5ab2ca5485c7814db32a3 diff --git a/media-sound/ncmpcpp/ncmpcpp-0.9.2_p20221231.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.9.2_p20221231.ebuild new file mode 100644 index 000000000000..faded6014629 --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.9.2_p20221231.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +NCMPCPP_COMMIT="9f44edf0b1d74da7cefbd498341d59bc52f6043f" + +DESCRIPTION="Featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE="https://ncmpcpp.rybczak.net/ https://github.com/ncmpcpp/ncmpcpp" +SRC_URI="https://github.com/ncmpcpp/ncmpcpp/archive/${NCMPCPP_COMMIT}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="clock lto outputs taglib visualizer" + +RDEPEND=" + dev-libs/boost:=[icu,nls] + dev-libs/icu:= + media-libs/libmpdclient + 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" + +S="${WORKDIR}/${PN}-${NCMPCPP_COMMIT}" + +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() { + filter-lto + + econf \ + $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable visualizer) \ + $(use_with lto) \ + $(use_with taglib) \ + $(use_with visualizer fftw) +} + +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, you need mpd with fifo enabled." + echo + fi +} |