diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-22 18:34:46 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-22 19:15:28 +0200 |
commit | 1635b3a7ecc2d929f973ce1d7234bd23da335396 (patch) | |
tree | 3eeba3d8696c4642ba790a2a5d4e397ccb122a33 /media-sound | |
parent | net-analyzer/pmacct: Old. (diff) | |
download | gentoo-1635b3a7ecc2d929f973ce1d7234bd23da335396.tar.gz gentoo-1635b3a7ecc2d929f973ce1d7234bd23da335396.tar.bz2 gentoo-1635b3a7ecc2d929f973ce1d7234bd23da335396.zip |
media-sound/ncmpcpp: Version bump.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ncmpcpp/Manifest | 1 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.8.1.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/ncmpcpp/Manifest b/media-sound/ncmpcpp/Manifest index 6fc37cf350ca..98cb4a6504fb 100644 --- a/media-sound/ncmpcpp/Manifest +++ b/media-sound/ncmpcpp/Manifest @@ -1,2 +1,3 @@ DIST ncmpcpp-0.7.7.tar.bz2 443801 SHA256 b7bcbec83b1f88cc7b21f196b10be09a27b430566c59f402df170163464d01ef SHA512 a0bbe85f154c40513d41e85810de86ed21109b72fb0f2bdb0b78dcbddb3770aff5422b5bb7fbac2b76634c5b9aaf843bed5fc16fc672fcd71bbae911f65c0034 WHIRLPOOL 49a5e16cf583424618db5e2c38a946cc60d5ea2e17015c7e6232c91f84cf44c308389b81bb2f380045f3f9595d83a13c2a4f571930ea122e85437f4e6cccb4d1 +DIST ncmpcpp-0.8.1.tar.bz2 464123 SHA256 4df9570a1db4ba2dc9b759aab88b283c00806fb5d2bce5f5d27a2eb10e6888ff SHA512 2b1b615672910f6b55d4a3e1842f677b8c72659a86dca74d9c306612038d7b765f622e4b8948f14d8a3f4fa913d413d128ed8726f70d7a09cfe95d3c1fe87d15 WHIRLPOOL 988af2a3917a46102fc82396e320b0176eb9fe17defe9012d9eba08afaabcb8407902082dbc24b2d35637798a880ff730152e10e6ea8c8569abb59b6c9ae1e08 DIST ncmpcpp-0.8.tar.bz2 464165 SHA256 2f0f2a1c0816119430880be6932e5eb356b7875dfa140e2453a5a802909f465a SHA512 b51217df85f95efa345f0484f16024bd74c1c0e22f2c2b25238335fc2f00caf81877088170f241c1d97fd328d104b19f022dc4de9895ff420f1fcbea341e7cdb WHIRLPOOL 765bd7889d16ea88a574ec9da3a3a50a68c133a51d976053cf1fe533b9a8d21da3e789e76d6c50b18190a36915e57daa7e4e1378154b79c1119068cc82be6085 diff --git a/media-sound/ncmpcpp/ncmpcpp-0.8.1.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.8.1.ebuild new file mode 100644 index 000000000000..937bcfe975bf --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.8.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE="https://rybczak.net/ncmpcpp/" +SRC_URI="${HOMEPAGE}stable/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="clock outputs taglib visualizer" + +RDEPEND=" + !dev-libs/boost:0/1.57.0 + >=media-libs/libmpdclient-2.1 + dev-libs/boost:=[nls,threads] + net-misc/curl + sys-libs/ncurses:= + sys-libs/readline:* + taglib? ( media-libs/taglib ) + visualizer? ( sci-libs/fftw:3.0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + + sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die + sed -i -e 's|COPYING||g' Makefile{.am,.in} || die +} + +src_configure() { + econf \ + $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable visualizer) \ + $(use_with taglib) \ + $(use_with visualizer fftw) \ + --docdir=/usr/share/doc/${PF} +} + +src_install() { + default + + dodoc doc/{bindings,config} +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${ROOT}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 +} |