summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-09-03 15:31:34 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-09-03 15:31:34 +0300
commit82ff71541bfb1548bea04a35ab0876946a0d50a8 (patch)
treedebf861f6185ed2453ad5c4a5968a47b73f9062a /media-libs
parentsys-apps/less: Version bump (v534) (diff)
downloadgentoo-82ff71541bfb1548bea04a35ab0876946a0d50a8.tar.gz
gentoo-82ff71541bfb1548bea04a35ab0876946a0d50a8.tar.bz2
gentoo-82ff71541bfb1548bea04a35ab0876946a0d50a8.zip
media-libs/libmpdclient: Version bump (v2.15)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmpdclient/Manifest1
-rw-r--r--media-libs/libmpdclient/libmpdclient-2.15.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/libmpdclient/Manifest b/media-libs/libmpdclient/Manifest
index 9525c530fde..b4d05d7e6f0 100644
--- a/media-libs/libmpdclient/Manifest
+++ b/media-libs/libmpdclient/Manifest
@@ -2,3 +2,4 @@ DIST libmpdclient-2.10.tar.xz 261792 BLAKE2B e8200d1a8db0370417924a92a83cd7c51d7
DIST libmpdclient-2.11.tar.xz 274836 BLAKE2B 2a3cf2a5dddb6586edc9bf28752b8575dab51e37aa13aee138ef239ca741bba844c1ec6fdf09727f25be073b3909250bb22a34602a0bf8b0d61ab4bcf09a8566 SHA512 0503db31262acfb871578278d6526e12ee2ffbbe414425ab5ebac61f27da8ad4503d948b4d192421d301bd0a29b9b460f195e82a44608f984697a8aa47b2eb9b
DIST libmpdclient-2.13.tar.xz 56964 BLAKE2B fdd393543ac3c15572a6f6d56ec0113dae301c90e852620ef4e17ac6bee1a26eb20580859ea59cb78d6ff7b5b9fc9e5374d407e017c35bf767a824fc7a6612df SHA512 a2aa4e1e4fcb4ab390a0a38e745e59a9764c40bfcd07d449fdc7fef7b0c5fc0c2e795ef545b6fa6d62c00861d306cab41ea43011510ad1e3a60603873a3c1b28
DIST libmpdclient-2.14.tar.xz 58268 BLAKE2B 0152b34cc29e5c3c96136f00ea5ff3dc1d60f64ab6e8aab2b6ada0fa2d90742b32025be85e12703057a00014d72c035177de03345f9c16e151242a26eee9e314 SHA512 50bf27a739ca784d5f182cc90b24fad4dbc35752e455c1ce7c2fcda78342bac5480927af199c7f790feff136dc1fe16e4eb19803ba5760ec508ba65c9737e13a
+DIST libmpdclient-2.15.tar.xz 59212 BLAKE2B 35ca605681c98d1aa97fb9ef11b8a29244cab7ccb3d5743b5f7e49e4dc3ef28b8c14534ee793af4a76ea5dcb01487804d9f08d6ecaf6d7b80c5b37bf157408db SHA512 244b89f4976b62b41c95263479771162d9c059808aa143efc9fa0a092e110b9be98ce1ab2bb1ae100b15019df826b9a8e510e3819e3fd89f6d664deea3c6260a
diff --git a/media-libs/libmpdclient/libmpdclient-2.15.ebuild b/media-libs/libmpdclient/libmpdclient-2.15.ebuild
new file mode 100644
index 00000000000..70d69fc459d
--- /dev/null
+++ b/media-libs/libmpdclient/libmpdclient-2.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson
+
+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 ~ppc ~ppc64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND=""
+DEPEND="
+ doc? ( app-doc/doxygen )
+ test? ( dev-libs/check )
+"
+
+src_prepare() {
+ default
+
+ sed -i "s:@top_srcdir@:.:" 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
+ use doc || rm -rf "${ED}"/usr/share/doc/${PF}/html
+}