You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/pms/pms-0.42_p20170508.ebuild

37 lines
749 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils vcs-snapshot
REF="8c8918488a4a22924ee04442dc5e5216783d51ff"
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}/tarball/${REF} -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+regex doc"
RDEPEND="
sys-libs/ncurses:0=[unicode]
media-libs/libmpdclient
"
DEPEND="
virtual/pkgconfig
doc? ( app-text/pandoc )
${RDEPEND}
"
src_configure() {
local mycmakeargs=(
-DENABLE_DOC=$(usex doc)
-DENABLE_REGEX=$(usex regex)
)
cmake-utils_src_configure
}