From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- media-sound/mpc/Manifest | 2 ++ media-sound/mpc/mpc-0.34.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 media-sound/mpc/mpc-0.34.ebuild (limited to 'media-sound/mpc') diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index 7d63a320c605..cc3bf3cfea25 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1,4 +1,6 @@ AUX mpc-0.31-nodoc.patch 403 BLAKE2B d829c6f40005531ec7657054549b5fa9acd32d15d41ca8685b4292aac804af52f2f4754b557b69663d4240e6690fe4ab19a15b72459cea321944afacf2a179f3 SHA512 2a028d57fbd76290bc300d0546b52571b6c7c29cf8d2f53cb859b5250c55ae631fe15c8589a1b11c5fef5dacff2ad8535dbfae6c8b2b72dc8a4dc795dfc658b6 DIST mpc-0.33.tar.xz 45044 BLAKE2B 220848e088964297fbaddeedf61d5ddc90386df360a6af81b2d3753517f7ee36ff3d9462242f38b17c991996927a7d1fc253e1006253f2f875023ddb75a800c2 SHA512 d3247dfb54ac3c95caf5666088968a952b33eb7e8f941bca4f3715603839cf5a1bc5300488c78fdce6e38f612b243f2252ea682b8d0fec9f230acd760bf3560c +DIST mpc-0.34.tar.xz 47940 BLAKE2B 709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f SHA512 d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2 EBUILD mpc-0.33.ebuild 1243 BLAKE2B 8a90bbeda815f0eebede83fdf9b88771e71b8ed8aea90f8d5449721ed295ed1eb3e47c03dff1029f283e73bb213d163fca68a3513beb3fa189c33d4f72355b58 SHA512 d7aadcb92132c4d961c294c6dcd41ac8e86c33762508c76c4b5e4f55e42cb9596213390b2cea47b11e4479853f4cedae4a6fd49cd2dea79da3e2d3fed81ccc83 +EBUILD mpc-0.34.ebuild 1248 BLAKE2B 8ed5b954d18cee882aa086e0a2d901b0ec0cea0349088b27f9f7190cc2910b90026b393c2b3791b12c45b1f3b3983e2b2c0d833a2878aa4eebbc33f709f24314 SHA512 d980aa536550005ca45d07bec2b1e6d16dcac4eb63fb3aa322552413497912056b9503dd12b58959281b1126462bb486440398533c24a4d4f1b51defb5aee9a1 MISC metadata.xml 253 BLAKE2B 28ffabdefb9bd43e6269d7a64025a2fa69e2c2fe578b98092c970a155f685ef5aa7865f4984bc8001a4c3f5b35cfd8137c9a94ec461c40a3e5d14a8349720a3b SHA512 cf54ea17afbfc9172877f6c715973917f70e34e4f7dfe613efb0e0c937d34e8c4211964b52c138d19005ed54fc12c6047da15b6a82c12e94ae939284289a4dc5 diff --git a/media-sound/mpc/mpc-0.34.ebuild b/media-sound/mpc/mpc-0.34.ebuild new file mode 100644 index 000000000000..d62d147ec181 --- /dev/null +++ b/media-sound/mpc/mpc-0.34.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~riscv ~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 +} -- cgit v1.2.3