mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/ncmpcpp: Old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ncmpcpp-0.7.5.tar.bz2 443072 SHA256 7e4f643020b36698462879013a8b16111f8c3a4c5819cf186aed78032a41e07d SHA512 5f3b370a5a8fdc05e85a7b748debd960c0e76d5b9e43717efceaa985baa0c543d14d8b0fd7b09550111bff3aa66ec290d6cd2c0ec21de7a0caa10df1c68c99c8 WHIRLPOOL c9fb96f91f308d9937bc832a85cc50293aedcb6fb2eb62e879d08f6ee334b2bb131bbeecd83608fe050c00a3facf025070d8c586796a4a05bc70665e53b47c19
|
||||
DIST ncmpcpp-0.7.7.tar.bz2 443801 SHA256 b7bcbec83b1f88cc7b21f196b10be09a27b430566c59f402df170163464d01ef SHA512 a0bbe85f154c40513d41e85810de86ed21109b72fb0f2bdb0b78dcbddb3770aff5422b5bb7fbac2b76634c5b9aaf843bed5fc16fc672fcd71bbae911f65c0034 WHIRLPOOL 49a5e16cf583424618db5e2c38a946cc60d5ea2e17015c7e6232c91f84cf44c308389b81bb2f380045f3f9595d83a13c2a4f571930ea122e85437f4e6cccb4d1
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2016 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
|
||||
}
|
||||
Reference in New Issue
Block a user