summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpc/mpc-0.30.ebuild')
-rw-r--r--media-sound/mpc/mpc-0.30.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-sound/mpc/mpc-0.30.ebuild b/media-sound/mpc/mpc-0.30.ebuild
new file mode 100644
index 000000000000..c21d944d3fbd
--- /dev/null
+++ b/media-sound/mpc/mpc-0.30.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 meson
+
+DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)"
+HOMEPAGE="https://www.musicpd.org"
+SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="iconv test"
+
+RDEPEND="media-libs/libmpdclient
+ iconv? ( virtual/libiconv )"
+DEPEND="${RDEPEND}
+ dev-python/sphinx
+ virtual/pkgconfig
+ test? ( dev-libs/check )"
+
+src_configure() {
+ local emesonargs=(
+ -Dtest=$(usex iconv true false)
+ -Diconv=$(usex test true false)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ newbashcomp contrib/mpc-completion.bash mpc
+}