summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-09-08 22:24:21 +0300
committerMarek Szuba <marecki@gentoo.org>2016-09-13 10:45:40 +0200
commit04ca133096356768248a6ab45183e5b074be2652 (patch)
tree3c3a2af7fd0824662fadd065e857a6a61669624a /media-sound/pms
parentnet-dns/pdns-3.4.10-r0: add amd64 keyword (diff)
downloadgentoo-04ca133096356768248a6ab45183e5b074be2652.tar.gz
gentoo-04ca133096356768248a6ab45183e5b074be2652.tar.bz2
gentoo-04ca133096356768248a6ab45183e5b074be2652.zip
media-sound/pms: fix numerous QA issues in 0.42-r2
specify correct license fix ncurses slot depend add missing virtual/libintl depend and sys-devel/gettext rdepend use tc-getPKG_CONFIG from toolchain funcs Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound/pms')
-rw-r--r--media-sound/pms/pms-0.42-r2.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/media-sound/pms/pms-0.42-r2.ebuild b/media-sound/pms/pms-0.42-r2.ebuild
index d1f97298c64e..13e7ff089998 100644
--- a/media-sound/pms/pms-0.42-r2.ebuild
+++ b/media-sound/pms/pms-0.42-r2.ebuild
@@ -4,24 +4,26 @@
EAPI=6
-inherit eutils autotools flag-o-matic
+inherit autotools eutils flag-o-matic toolchain-funcs
DESCRIPTION="Practical Music Search: an open source ncurses client for mpd, written in C++"
HOMEPAGE="https://ambientsound.github.io/pms/"
SRC_URI="https://github.com/ambientsound/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="regex"
RDEPEND="
- sys-libs/ncurses:=
+ sys-libs/ncurses:0=
dev-libs/glib:2
+ virtual/libintl
regex? ( dev-libs/boost:= )
"
DEPEND="
virtual/pkgconfig
+ sys-devel/gettext
${RDEPEND}
"
@@ -44,8 +46,8 @@ src_prepare() {
src_configure() {
# fixes build with ncurses[tinfo], bug #526530
- append-cflags $(pkg-config --cflags ncursesw)
- append-libs $(pkg-config --libs ncursesw)
+ append-cflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
+ append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
econf \
$(use_enable regex)