From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0155D158086 for ; Fri, 3 Dec 2021 09:50:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C6692BC00B; Fri, 3 Dec 2021 09:50:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EB0F2BC00B for ; Fri, 3 Dec 2021 09:50:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DD0C34316B for ; Fri, 3 Dec 2021 09:50:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 315EF8E for ; Fri, 3 Dec 2021 09:50:45 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1638525032.c59ce12f5aeeacdb1d1f8d7270ebce6141a6da0a.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mpc/Manifest media-sound/mpc/mpc-0.34.ebuild X-VCS-Directories: media-sound/mpc/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: c59ce12f5aeeacdb1d1f8d7270ebce6141a6da0a X-VCS-Branch: master Date: Fri, 3 Dec 2021 09:50:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 62e06600-f013-49d2-90d7-3e54a11ef240 X-Archives-Hash: d8a2e16464ffbc73fc52011a203f19b1 commit: c59ce12f5aeeacdb1d1f8d7270ebce6141a6da0a Author: Miroslav Šulc gentoo org> AuthorDate: Fri Dec 3 09:50:32 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Dec 3 09:50:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59ce12f media-sound/mpc: bump to 0.34 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/mpc/Manifest | 1 + media-sound/mpc/mpc-0.34.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index c88ce1010cde..a435c2b92a51 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1 +1,2 @@ DIST mpc-0.33.tar.xz 45044 BLAKE2B 220848e088964297fbaddeedf61d5ddc90386df360a6af81b2d3753517f7ee36ff3d9462242f38b17c991996927a7d1fc253e1006253f2f875023ddb75a800c2 SHA512 d3247dfb54ac3c95caf5666088968a952b33eb7e8f941bca4f3715603839cf5a1bc5300488c78fdce6e38f612b243f2252ea682b8d0fec9f230acd760bf3560c +DIST mpc-0.34.tar.xz 47940 BLAKE2B 709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f SHA512 d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2 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 +}