media-libs/libmpdclient: bump to 2.20

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2021-11-24 09:14:23 +01:00
parent ed1878ecd4
commit a23e04e62d
2 changed files with 44 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST libmpdclient-2.19.tar.xz 69144 BLAKE2B c045c4847d43f166a3e1549654784bd994fa4156e3ecebf7c02a412b34ca150940f3c43cdc385839cd7c281bd4ed4fd1935b757d8505133d146ea955ec2d0832 SHA512 5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590
DIST libmpdclient-2.20.tar.xz 71552 BLAKE2B d80c343d7655ccddb253275694d40665d286bf9c59729d0c836c927ab479b1ab4819f36a69c62a29c3ad220fcbfa712da5418cf8c3cc9f9e24af4e3c39ce1e11 SHA512 3271c8eae017402976dbfabc51c7cb8d39912c8a3fd6cd075adc978d490f2eb850d86ccec9f7bccbda48c9d6ca1cda89918ac7c76b21f7f63ca1a276b67e94b6
@@ -0,0 +1,43 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Library for interfacing Music Player Daemon (media-sound/mpd)"
HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/libmpdclient"
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen )"
DEPEND="test? ( dev-libs/check )"
src_prepare() {
default
sed -e "s:@top_srcdir@:.:" -i doc/doxygen.conf.in || die
# meson doesn't support setting docdir
sed -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
-e "/^install_data(/s/'COPYING', //" \
-i meson.build || die
}
src_configure() {
local emesonargs=(
-Ddocumentation=$(usex doc true false)
-Dtest=$(usex test true false)
)
meson_src_configure
}
src_install() {
meson_src_install
use examples && dodoc src/example.c
}