commit: 9608a8ee4c8af8a66611c28bfa7196c1b6468c75 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Aug 21 21:10:58 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Aug 22 16:05:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9608a8ee
media-libs/libmpdclient: 2.19 version bump, EAPI-7 bump Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-libs/libmpdclient/Manifest | 1 + media-libs/libmpdclient/libmpdclient-2.19.ebuild | 43 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest index 74d404c7d33..dd6ec6f0598 100644 --- a/media-libs/libmpdclient/Manifest +++ b/media-libs/libmpdclient/Manifest @@ -1 +1,2 @@ DIST libmpdclient-2.16.tar.xz 60480 BLAKE2B ef7a077195b08f24304e08701a303a6709f71792112b096b0e1741f550f215352936f30e05f4afad29c0f7a5e4340e87de6d7fd8cfcd4c27f34eda91c7d21891 SHA512 520568f61cee447e48c04075d212c46e9640fd3f82604a5b9f4c6ded94eeb4a841e857e44e9f4edad12d93c1052692e7d32d3dbf505d4c0cde6cc217cff0cae5 +DIST libmpdclient-2.19.tar.xz 69144 BLAKE2B c045c4847d43f166a3e1549654784bd994fa4156e3ecebf7c02a412b34ca150940f3c43cdc385839cd7c281bd4ed4fd1935b757d8505133d146ea955ec2d0832 SHA512 5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590 diff --git a/media-libs/libmpdclient/libmpdclient-2.19.ebuild b/media-libs/libmpdclient/libmpdclient-2.19.ebuild new file mode 100644 index 00000000000..0a52798377e --- /dev/null +++ b/media-libs/libmpdclient/libmpdclient-2.19.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +}