commit: e392523f0383c15f88cdad6192305b8150085a31 Author: Tim Harder <radhermit <AT> gentoo <DOT> org> AuthorDate: Wed Apr 26 05:37:56 2017 +0000 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> CommitDate: Wed Apr 26 05:37:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e392523f
media-libs/libmpdclient: version bump to 2.11 media-libs/libmpdclient/Manifest | 1 + media-libs/libmpdclient/libmpdclient-2.11.ebuild | 34 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest index 4a09055dfaa..b6539bdf637 100644 --- a/media-libs/libmpdclient/Manifest +++ b/media-libs/libmpdclient/Manifest @@ -1,2 +1,3 @@ DIST libmpdclient-2.10.tar.xz 261792 SHA256 4f08cde82dae70895f8e4532a6e9b54b201efd5591c6b5d6834895807ed2ff82 SHA512 f54fc3501643ece4eee2f63ddbf5f3d676f3843be0859f482d70cc142b6d9dfbdebd511ccc52a9c058a644e3b80c93a680e1de19f6f3ebfc46cb197f0ddddb5b WHIRLPOOL b97f9024f1c18233019d94501e0f60055a03001e5342884a275768ac297ad11a6ab865e0849f6c274067f7952ed22c2f7bb14f6349b94df5643150a883c47840 +DIST libmpdclient-2.11.tar.xz 274836 SHA256 15fe693893c0d7ea3f4c35c4016fbd0332836164178b20983eec9b470846baf6 SHA512 0503db31262acfb871578278d6526e12ee2ffbbe414425ab5ebac61f27da8ad4503d948b4d192421d301bd0a29b9b460f195e82a44608f984697a8aa47b2eb9b WHIRLPOOL b2480e9cc02f49b76abd0fd385f748ce6b9cfa901f6b338d2f10a18ccc82c9587edb1cf2bc7dd582deaf123725fba296d8716bf25b2ffd313b3f28fa2343497d DIST libmpdclient-2.9.tar.xz 253992 SHA256 7cc97ba560e91addafe5975f7e7da04b95d6710750e47b3367fa0d8c3b7699ca SHA512 7e6af51e31a3319e6681dfe5199fda1b2c1482f6aa6854af7c7f02c999fbbeae4f369c9b157abf95402c7f022d155109454b243549185ba791df5b2457baaba4 WHIRLPOOL d4d78a83bfa300be8df37e321c3b8ed535bd7342acc1ec371a2aa59a76efde79a9c4531bc8052c5d0c2c423d808f23b2e5d3b92ccf5c9dec4f2a120b615a4992 diff --git a/media-libs/libmpdclient/libmpdclient-2.11.ebuild b/media-libs/libmpdclient/libmpdclient-2.11.ebuild new file mode 100644 index 00000000000..da7c5d42255 --- /dev/null +++ b/media-libs/libmpdclient/libmpdclient-2.11.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A 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 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + default + sed -e "s:@top_srcdir@:.:" -i doc/doxygen.conf.in +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable doc documentation) +} + +src_install() { + default + use examples && dodoc src/example.c + use doc || rm -rf "${ED}"/usr/share/doc/${PF}/html + find "${ED}" -name "*.la" -exec rm -rf {} + || die "failed to delete .la files" +}