diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-11-24 09:14:12 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-11-24 09:14:23 +0100 |
commit | a23e04e62d72ceb549cebb26b04777ead2becb97 (patch) | |
tree | 9142efeaebefac3f05eda28463559e4f9b827ab3 /media-libs/libmpdclient | |
parent | net-p2p/go-ipfs: verbump to 0.10.0 (diff) | |
download | gentoo-a23e04e62d72ceb549cebb26b04777ead2becb97.tar.gz gentoo-a23e04e62d72ceb549cebb26b04777ead2becb97.tar.bz2 gentoo-a23e04e62d72ceb549cebb26b04777ead2becb97.zip |
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>
Diffstat (limited to 'media-libs/libmpdclient')
-rw-r--r-- | media-libs/libmpdclient/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libmpdclient/libmpdclient-2.20.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest index 6558cadb2f63..a830a005dfc4 100644 --- a/media-libs/libmpdclient/Manifest +++ b/media-libs/libmpdclient/Manifest @@ -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 diff --git a/media-libs/libmpdclient/libmpdclient-2.20.ebuild b/media-libs/libmpdclient/libmpdclient-2.20.ebuild new file mode 100644 index 000000000000..dbea91ce11a1 --- /dev/null +++ b/media-libs/libmpdclient/libmpdclient-2.20.ebuild @@ -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 +} |