diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-12-21 10:29:32 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-12-21 10:29:48 +0100 |
commit | e46e5ee5b5e142b58187defeaab3ca551c2ed5a1 (patch) | |
tree | 68e50103a38833e09e3b84b037184327d69805b8 /media-libs/libmpdclient | |
parent | sys-kernel/installkernel-systemd: add 3 (diff) | |
download | gentoo-e46e5ee5b5e142b58187defeaab3ca551c2ed5a1.tar.gz gentoo-e46e5ee5b5e142b58187defeaab3ca551c2ed5a1.tar.bz2 gentoo-e46e5ee5b5e142b58187defeaab3ca551c2ed5a1.zip |
media-libs/libmpdclient: bump to 2.21
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libmpdclient')
-rw-r--r-- | media-libs/libmpdclient/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libmpdclient/libmpdclient-2.21.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest index 17a32b302555..89085e8b2559 100644 --- a/media-libs/libmpdclient/Manifest +++ b/media-libs/libmpdclient/Manifest @@ -1 +1,2 @@ DIST libmpdclient-2.20.tar.xz 71552 BLAKE2B d80c343d7655ccddb253275694d40665d286bf9c59729d0c836c927ab479b1ab4819f36a69c62a29c3ad220fcbfa712da5418cf8c3cc9f9e24af4e3c39ce1e11 SHA512 3271c8eae017402976dbfabc51c7cb8d39912c8a3fd6cd075adc978d490f2eb850d86ccec9f7bccbda48c9d6ca1cda89918ac7c76b21f7f63ca1a276b67e94b6 +DIST libmpdclient-2.21.tar.xz 72884 BLAKE2B 33d2116063a1e869fb78ab8cdd80a24eb1b6c5168a4ef183696f39e06c859a9fdb2153a00087c993ef206c173a9181b31b7dc4a4dfe55b74342d1096c1156d6d SHA512 1cde435bf850f875f80839941d6504465485f45d9daf247b658c2cd44d64c8ac1119c08103c9ec68686a8ce6f1f46dd49f63426e396556fcfa887ba55ae11572 diff --git a/media-libs/libmpdclient/libmpdclient-2.21.ebuild b/media-libs/libmpdclient/libmpdclient-2.21.ebuild new file mode 100644 index 000000000000..71bef1dc1eb1 --- /dev/null +++ b/media-libs/libmpdclient/libmpdclient-2.21.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 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="~amd64 ~arm ~arm64 ~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 +} |