commit: 04ca133096356768248a6ab45183e5b074be2652 Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> AuthorDate: Thu Sep 8 19:24:21 2016 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Tue Sep 13 08:45:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ca1330
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 <AT> gentoo.org> media-sound/pms/pms-0.42-r2.ebuild | 12 +++++++----- 1 file 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 d1f9729..13e7ff0 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)