diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-12-01 14:02:12 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-12-01 14:02:12 +0300 |
commit | 463065487e230eade14597c38817d21086d24948 (patch) | |
tree | 3a136428dd198913584c452cdb93ec20716fa294 /media-sound/mpc | |
parent | mask sound use flag on riscv (diff) | |
download | gentoo-463065487e230eade14597c38817d21086d24948.tar.gz gentoo-463065487e230eade14597c38817d21086d24948.tar.bz2 gentoo-463065487e230eade14597c38817d21086d24948.zip |
media-sound/mpc: Version bump (v0.33)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-sound/mpc')
-rw-r--r-- | media-sound/mpc/Manifest | 1 | ||||
-rw-r--r-- | media-sound/mpc/mpc-0.33.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index 809a3f2f769a..03d5d29d971a 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1,3 +1,4 @@ DIST mpc-0.30.tar.xz 41968 BLAKE2B e7d1156f4fe933c360196a1fdaadeb7b51f12b3c6d7bd2f98f80359485acb9d55ea7afb98c82696078b325ab3662bf33b20653d5e0edf0f52c64624c679dd0b6 SHA512 72d6f742de87ca1a9a09c73987786fa7c93b2829242135b210a9a2269e0319ba9e37367dae1043461ea870087faf5c349425025ce6c02aa9dd513ae90cbe8221 DIST mpc-0.31.tar.xz 43896 BLAKE2B 2b65307983dfd0bc2738b3e4b1379b43b6fec712352f25a6158adefd2065eb3ff8be194e482fc441c74b69feeb8fba277d7061fb80ee6d7d72432f3284f61fb2 SHA512 48df7d85df704ae901ee0a07193daf9738b682b71a24ebd5bf4458aa562acd11b582f83adcfca814faa9a014ef565cb6c23df837b83a569fd6050f9f3802e6fe DIST mpc-0.32.tar.xz 44716 BLAKE2B 66fbbfe886b16382d13eb9409746cd40ed9d01ea422c18d609f956fe9b1d1ae9434aa8ae65a60ce0cfc791141e3b9630adabc2fb0bd0b8bdc61b67b2e5b2e3b3 SHA512 1913249da8b29123005a9877ff2e68f9469f8fd48f5411ea0e651255c93fbe14ef6029dadc7d256a99b566085dc19f4c62bdcf55260b27de3d088b8e9c17fcde +DIST mpc-0.33.tar.xz 45044 BLAKE2B 220848e088964297fbaddeedf61d5ddc90386df360a6af81b2d3753517f7ee36ff3d9462242f38b17c991996927a7d1fc253e1006253f2f875023ddb75a800c2 SHA512 d3247dfb54ac3c95caf5666088968a952b33eb7e8f941bca4f3715603839cf5a1bc5300488c78fdce6e38f612b243f2252ea682b8d0fec9f230acd760bf3560c diff --git a/media-sound/mpc/mpc-0.33.ebuild b/media-sound/mpc/mpc-0.33.ebuild new file mode 100644 index 000000000000..ef6640ae1878 --- /dev/null +++ b/media-sound/mpc/mpc-0.33.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 meson + +DESCRIPTION="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="doc iconv test" + +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) + iconv? ( virtual/libiconv ) + test? ( dev-libs/check ) +" +DEPEND="media-libs/libmpdclient" +RDEPEND="${DEPEND}" + +RESTRICT="!test? ( test )" + +PATCHES=( "${FILESDIR}/${PN}-0.31-nodoc.patch" ) + +src_prepare() { + default + + # use correct docdir + sed -e "/install_dir:.*contrib/s/meson.project_name()/'${PF}'/" \ + -i meson.build || die + + # use correct (html) docdir + sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \ + -i doc/meson.build || die +} + +src_configure() { + local emesonargs=( + -Ddocumentation=$(usex doc enabled disabled) + -Diconv=$(usex iconv enabled disabled) + -Dtest=$(usex test true false) + ) + meson_src_configure +} + +src_install() { + meson_src_install + newbashcomp contrib/mpc-completion.bash mpc +} |