summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-11-03 19:49:25 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-11-03 19:49:25 +0300
commitb8c3c7e93f5a68876151944e53cc1d42156bc45c (patch)
treefd57a6ea954b0f36e735a78f19e4fe5da2353c7f
parentmedia-sound/mpd: make repoman happier (diff)
downloadgentoo-b8c3c7e93f5a68876151944e53cc1d42156bc45c.tar.gz
gentoo-b8c3c7e93f5a68876151944e53cc1d42156bc45c.tar.bz2
gentoo-b8c3c7e93f5a68876151944e53cc1d42156bc45c.zip
media-sound/mpc: Version bump (v0.31)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--media-sound/mpc/Manifest1
-rw-r--r--media-sound/mpc/mpc-0.31.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest
index a6f5fb1e1ac..f4e6e7a0c3b 100644
--- a/media-sound/mpc/Manifest
+++ b/media-sound/mpc/Manifest
@@ -1,2 +1,3 @@
DIST mpc-0.28.tar.xz 109172 BLAKE2B de0155bd1d723c0affc02055fe8923a174d6a393e431bd71399e0c0833dda5488569fa90bbdb0c650a367bbc0c384d91215bc0997f013a372c0eae015d7acc27 SHA512 1d0c96c3c7cee2eac2d3cf25f09d74b5807b8ea56ff7dfc033b8fa690fd4d42de726a641e4f2552550d8a1c1b2840575aec5c595166ca5ae5776fcc93c8fb7cf
DIST mpc-0.30.tar.xz 41968 BLAKE2B e7d1156f4fe933c360196a1fdaadeb7b51f12b3c6d7bd2f98f80359485acb9d55ea7afb98c82696078b325ab3662bf33b20653d5e0edf0f52c64624c679dd0b6 SHA512 72d6f742de87ca1a9a09c73987786fa7c93b2829242135b210a9a2269e0319ba9e37367dae1043461ea870087faf5c349425025ce6c02aa9dd513ae90cbe8221
+DIST mpc-0.31.tar.xz 43896 BLAKE2B 2b65307983dfd0bc2738b3e4b1379b43b6fec712352f25a6158adefd2065eb3ff8be194e482fc441c74b69feeb8fba277d7061fb80ee6d7d72432f3284f61fb2 SHA512 48df7d85df704ae901ee0a07193daf9738b682b71a24ebd5bf4458aa562acd11b582f83adcfca814faa9a014ef565cb6c23df837b83a569fd6050f9f3802e6fe
diff --git a/media-sound/mpc/mpc-0.31.ebuild b/media-sound/mpc/mpc-0.31.ebuild
new file mode 100644
index 00000000000..2429ef0a37b
--- /dev/null
+++ b/media-sound/mpc/mpc-0.31.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 meson
+
+DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)"
+HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/mpc"
+SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="iconv test"
+
+RDEPEND="media-libs/libmpdclient"
+
+DEPEND="${RDEPEND}
+ dev-python/sphinx
+ iconv? ( virtual/libiconv )
+ test? ( dev-libs/check )"
+
+BDEPEND="virtual/pkgconfig"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local emesonargs=(
+ -Dtest=$(usex test true false)
+ -Diconv=$(usex iconv enabled disabled)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ newbashcomp contrib/mpc-completion.bash mpc
+}