diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-libs/libmpdclient | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'media-libs/libmpdclient')
-rw-r--r-- | media-libs/libmpdclient/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libmpdclient/libmpdclient-2.19.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest index ff9f9759d0a8..2c4ab33cbdd9 100644 --- a/media-libs/libmpdclient/Manifest +++ b/media-libs/libmpdclient/Manifest @@ -1,3 +1,5 @@ DIST libmpdclient-2.16.tar.xz 60480 BLAKE2B ef7a077195b08f24304e08701a303a6709f71792112b096b0e1741f550f215352936f30e05f4afad29c0f7a5e4340e87de6d7fd8cfcd4c27f34eda91c7d21891 SHA512 520568f61cee447e48c04075d212c46e9640fd3f82604a5b9f4c6ded94eeb4a841e857e44e9f4edad12d93c1052692e7d32d3dbf505d4c0cde6cc217cff0cae5 +DIST libmpdclient-2.19.tar.xz 69144 BLAKE2B c045c4847d43f166a3e1549654784bd994fa4156e3ecebf7c02a412b34ca150940f3c43cdc385839cd7c281bd4ed4fd1935b757d8505133d146ea955ec2d0832 SHA512 5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590 EBUILD libmpdclient-2.16.ebuild 1073 BLAKE2B 2628f658dfa8e8bab40607c73316f1da841e7ac294b5f73cf410ea83879931ae544392d5a22b6b8f7086f11d0579f7efa391744bbcf012d0e196cbdf79f11b63 SHA512 869028879f6dfc6305f0611765fbf9cec4920e940a776af84ca4713e3c6d6892e72ca5ca43ce2dd39067625df9d89e3e2a32837f480c9f53cf1f0a07e87aa7c0 +EBUILD libmpdclient-2.19.ebuild 1021 BLAKE2B 1b2913fa2d6957ecc7ab321d49fd7f319a8b674945a71a39619d7886f63a5b67a1776dc17b6656998f047672bfb90b1bf596d6c17e305b2dafb581190ab7fd03 SHA512 3ffb52402ed2466b9debe98296b92121c7c9049b2460e896f954a2425d9e63775fc3c6eea201e0491f75b9a2eed64cbb8759ad181c7b12bafeb181e1f89aeac7 MISC metadata.xml 348 BLAKE2B 6c3a4f4924ca11d41c0c7fdcf062dbfd43f23f1181a83d4154a4a36a015999786962adb716f751e046127d37d2b88649b2ea9968330a85ae8f9307a96c7d9f96 SHA512 75efcb39f67cb2dfe31846b08e9daa02845a07006fe2002f43feabee680dcc57bd41a0fed3bbfe9e184892a5adad64efd3ed83931a91b924739355ec689f5b00 diff --git a/media-libs/libmpdclient/libmpdclient-2.19.ebuild b/media-libs/libmpdclient/libmpdclient-2.19.ebuild new file mode 100644 index 000000000000..0a52798377ee --- /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 +} |