Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpc/
Date: Fri, 07 Sep 2018 17:29:56
Message-Id: 1536341384.88a98adeff58dfc908aa250cfc08e16ebb4a505b.zlogene@gentoo
1 commit: 88a98adeff58dfc908aa250cfc08e16ebb4a505b
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 7 17:29:18 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 7 17:29:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a98ade
7
8 media-sound/mpc: Version bump
9
10 - migrate to meson
11 - add test suit
12
13 Package-Manager: Portage-2.3.40, Repoman-2.3.9
14
15 media-sound/mpc/Manifest | 1 +
16 media-sound/mpc/mpc-0.30.ebuild | 35 +++++++++++++++++++++++++++++++++++
17 2 files changed, 36 insertions(+)
18
19 diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest
20 index b767286b884..a6f5fb1e1ac 100644
21 --- a/media-sound/mpc/Manifest
22 +++ b/media-sound/mpc/Manifest
23 @@ -1 +1,2 @@
24 DIST mpc-0.28.tar.xz 109172 BLAKE2B de0155bd1d723c0affc02055fe8923a174d6a393e431bd71399e0c0833dda5488569fa90bbdb0c650a367bbc0c384d91215bc0997f013a372c0eae015d7acc27 SHA512 1d0c96c3c7cee2eac2d3cf25f09d74b5807b8ea56ff7dfc033b8fa690fd4d42de726a641e4f2552550d8a1c1b2840575aec5c595166ca5ae5776fcc93c8fb7cf
25 +DIST mpc-0.30.tar.xz 41968 BLAKE2B e7d1156f4fe933c360196a1fdaadeb7b51f12b3c6d7bd2f98f80359485acb9d55ea7afb98c82696078b325ab3662bf33b20653d5e0edf0f52c64624c679dd0b6 SHA512 72d6f742de87ca1a9a09c73987786fa7c93b2829242135b210a9a2269e0319ba9e37367dae1043461ea870087faf5c349425025ce6c02aa9dd513ae90cbe8221
26
27 diff --git a/media-sound/mpc/mpc-0.30.ebuild b/media-sound/mpc/mpc-0.30.ebuild
28 new file mode 100644
29 index 00000000000..c21d944d3fb
30 --- /dev/null
31 +++ b/media-sound/mpc/mpc-0.30.ebuild
32 @@ -0,0 +1,35 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit bash-completion-r1 meson
39 +
40 +DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)"
41 +HOMEPAGE="https://www.musicpd.org"
42 +SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="iconv test"
48 +
49 +RDEPEND="media-libs/libmpdclient
50 + iconv? ( virtual/libiconv )"
51 +DEPEND="${RDEPEND}
52 + dev-python/sphinx
53 + virtual/pkgconfig
54 + test? ( dev-libs/check )"
55 +
56 +src_configure() {
57 + local emesonargs=(
58 + -Dtest=$(usex iconv true false)
59 + -Diconv=$(usex test true false)
60 + )
61 + meson_src_configure
62 +}
63 +
64 +src_install() {
65 + meson_src_install
66 + newbashcomp contrib/mpc-completion.bash mpc
67 +}