diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-08-01 15:46:36 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-08-01 15:46:58 +0300 |
commit | c81f81d38a223c1c2ab22b9c5a3ed1dfd0eec688 (patch) | |
tree | 8412c21116c8df5bce0dd8cb39be4f536d3469aa /media-sound/mpc | |
parent | www-client/lynx: remove old (diff) | |
download | gentoo-c81f81d38a223c1c2ab22b9c5a3ed1dfd0eec688.tar.gz gentoo-c81f81d38a223c1c2ab22b9c5a3ed1dfd0eec688.tar.bz2 gentoo-c81f81d38a223c1c2ab22b9c5a3ed1dfd0eec688.zip |
media-sound/mpc: Version bump (v0.32)
Package-Manager: Portage-2.3.69, 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.32.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index ba513c77a97e..809a3f2f769a 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/media-sound/mpc/mpc-0.32.ebuild b/media-sound/mpc/mpc-0.32.ebuild new file mode 100644 index 000000000000..ef6640ae1878 --- /dev/null +++ b/media-sound/mpc/mpc-0.32.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 +} |