diff options
-rw-r--r-- | media-sound/ncmpcpp/Manifest | 1 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.7.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/ncmpcpp/Manifest b/media-sound/ncmpcpp/Manifest index 9fd1a305421a..95626bf08b4d 100644 --- a/media-sound/ncmpcpp/Manifest +++ b/media-sound/ncmpcpp/Manifest @@ -1,4 +1,5 @@ DIST ncmpcpp-0.7.1.tar.bz2 442512 SHA256 73b76ca9a7b08b220c49251195b9a929768759bd03cf6956b74a2f218b2e2fdf SHA512 0b01e13b9cb0964d5e7ae32b88b6fc4d65ff11a7f9f45c57dd2260ce5e188005b6d728b9c23ce54559920ca03ff80fbf90b94846ac3ff387804bf413e43f9c56 WHIRLPOOL c8d3ae147022313a333a9901a15e4b0ea0d3553b7c35943542a742dde551f756131222166007a4c02f1434264c7160ee1fb00100371df35f49b4977d07df4bc0 DIST ncmpcpp-0.7.2.tar.bz2 442457 SHA256 6392f5eb98c4f130639e198200ef3db0b873b9594b65fe807ee73293ceb4093b SHA512 6ecc02694ecc6ff10e3a6d89d0b227385b1ab36c30afce57a8a8b74725063154736c78141d3fdaafb3a008e80855bc206dbf7e4aefc8486e01f300354967f1f8 WHIRLPOOL 8fbe3e3dd8ef43dfad466ccc2657455837ef4c95ae8164fbe0e60fcb5a4c239bf654c1392b5a3fec7bc8e64dbea3aba7e9dfde9e9d28999fdb95294d49a0429c DIST ncmpcpp-0.7.3.tar.bz2 442209 SHA256 2c8b29435ca4fd845400cee7c9fd50a731bee215e92fd7e98a7446c84136b212 SHA512 6314b97f36014ade92b3a73640bf529625d75d20a68fb9b2999de579095e37c46e1951b22b0a849bd8e23998e72cfa77f717cff914b7e20dccc0a918cb739732 WHIRLPOOL f50986be48ee8032295da6b9b806e03762f574f889ebcb2b9e54aeb0ab8fbf372cb2d79152e37c870e4a39f27030087146bc14ba5d03ea20bbe87dd52e35eaf0 +DIST ncmpcpp-0.7.4.tar.bz2 442743 SHA256 d70425f1dfab074a12a206ddd8f37f663bce2bbdc0a20f7ecf290ebe051f1e63 SHA512 e5171bd095baefcdf1da1e4d3de3d14a22035584da9b7ec9f176c0fb32bee61a25d989c3405711e512333b10f38a5575e90ec733afeaf7aff995386396f3b918 WHIRLPOOL 57f771c83bbd9afcbeb8b7b8b7a50f0e3fbc95eb74b1ad6b199358431f5f80ed891d1c27902369cf29f9a29622fe88a83aa2fcf7053e0543afb7c23486413999 DIST ncmpcpp-0.7.tar.bz2 442319 SHA256 50924ff0502c9b90ce1b679638769122defd03bc85eb8a95924c62c8d303ff77 SHA512 00477a9044e46c5d0ce4687b16d59d81fc31323a9c23eeebb6701e20c2fe3c50e3e56030844b68bdcf319af04c1f1a3bd50d0732cc9b4614488a918165c2f112 WHIRLPOOL 2bc6ba5935bef72e46b568a98f49a87720d48c0d9699ab35abf3f2f7ed250bc331fc165372d3f352ed5f16ae16da614c3b6c1c6e309a2d1b8d94abefb5e66a0b diff --git a/media-sound/ncmpcpp/ncmpcpp-0.7.4.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.7.4.ebuild new file mode 100644 index 000000000000..114ea3cb847c --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.7.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE="http://ncmpcpp.rybczak.net/" +SRC_URI="http://ncmpcpp.rybczak.net/stable/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="clock curl outputs taglib unicode visualizer" + +RDEPEND=" + !dev-libs/boost:0/1.57.0 + >=media-libs/libmpdclient-2.1 + dev-libs/boost:=[nls,threads] + sys-libs/ncurses:=[unicode?] + sys-libs/readline:* + curl? ( net-misc/curl ) + taglib? ( media-libs/taglib ) + unicode? ( + dev-libs/boost:=[icu] + dev-libs/icu:= + ) + visualizer? ( sci-libs/fftw:3.0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + 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 unicode) \ + $(use_enable visualizer) \ + $(use_with curl) \ + $(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 +} |