summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-01-04 02:03:34 -0600
committerTim Harder <radhermit@gentoo.org>2019-01-04 02:05:28 -0600
commita85c0a9e6cf9df4838f7bb1f21037c93bc95011f (patch)
treeaff656e3eb26508170527acf21a95b4a9d633a68
parentx11-terms/xterm: Remove 333 (diff)
downloadgentoo-a85c0a9e6cf9df4838f7bb1f21037c93bc95011f.tar.gz
gentoo-a85c0a9e6cf9df4838f7bb1f21037c93bc95011f.tar.bz2
gentoo-a85c0a9e6cf9df4838f7bb1f21037c93bc95011f.zip
media-sound/ncmpc: version bump to 0.33
Closes: https://bugs.gentoo.org/671942 Signed-off-by: Tim Harder <radhermit@gentoo.org>
-rw-r--r--media-sound/ncmpc/Manifest1
-rw-r--r--media-sound/ncmpc/ncmpc-0.33.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest
index 4ec89f312950..d8fd186e008c 100644
--- a/media-sound/ncmpc/Manifest
+++ b/media-sound/ncmpc/Manifest
@@ -1 +1,2 @@
DIST ncmpc-0.31.tar.xz 249816 BLAKE2B c9c42fc1ba5cb79cab9a9cc86831ba8ca82bb57981885be81b218d57f529ac7ca9adfbb0de1e0bc7dca8215ecf5fdae1481b73ff6d0dfb69c2020390d0c6a1a2 SHA512 0d3fed08f54afd9aef6342928a3f3b63a973d86ec6510f54c59271316aad856cd1a493e193f676971d90c40ef26486789e8580f2df528bd031251265c48a5eac
+DIST ncmpc-0.33.tar.xz 226344 BLAKE2B d52fdcb17adda1d3d61645715029552804edbf8ed95d2f19e0a25ba11f66cf0e7921748aebceb63e8e32b8d31fbc2d387dfbed6bd5c6a735d5ffa4b17d9b4fa3 SHA512 47730003c9a8ad5b6e682de4b4d3c8882d3266659fcd73ea131d1bba3d6b4d9ac66bb1a3522d63cb238ca9e22d8035907b9d7621a0b5106763770b17325f53b9
diff --git a/media-sound/ncmpc/ncmpc-0.33.ebuild b/media-sound/ncmpc/ncmpc-0.33.ebuild
new file mode 100644
index 000000000000..5aa8337eea5c
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.33.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="A ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="https://www.musicpd.org/clients/ncmpc/ https://github.com/MusicPlayerDaemon/ncmpc"
+SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+artist-screen async-connect chat-screen doc +help-screen key-screen lirc lyrics-screen outputs-screen search-screen +song-screen +mouse nls pcre"
+
+RDEPEND="
+ >=media-libs/libmpdclient-2.9
+ sys-libs/ncurses:0=[unicode]
+ lirc? ( app-misc/lirc )
+ pcre? ( dev-libs/libpcre )
+"
+
+DEPEND="${RDEPEND}
+ >=dev-util/meson-0.47
+ >=dev-libs/boost-1.62
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )
+"
+
+src_prepare() {
+ default
+
+ # use correct docdir and don't install license file
+ sed \
+ -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
+ -e "s/'COPYING', //" \
+ -i meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dcurses=ncursesw
+ -Dcolors=true
+ -Dmini=false
+ -Dlyrics_plugin_dir="${EPREFIX}/usr/$(get_libdir)/ncmpc/lyrics"
+ -Dartist_screen=$(usex artist-screen true false)
+ -Dasync_connect=$(usex async-connect true false)
+ -Dchat_screen=$(usex chat-screen true false)
+ -Ddocumentation=$(usex doc enabled disabled)
+ -Dhelp_screen=$(usex help-screen true false)
+ -Dkey_screen=$(usex key-screen true false)
+ -Dlyrics_screen=$(usex lyrics-screen true false)
+ -Doutputs_screen=$(usex outputs-screen true false)
+ -Dsearch_screen=$(usex search-screen true false)
+ -Dsong_screen=$(usex song-screen true false)
+ -Dlocale=$(usex nls enabled disabled)
+ -Dmultibyte=$(usex nls true false)
+ -Dnls=$(usex nls enabled disabled)
+ -Dlirc=$(usex lirc enabled disabled)
+ -Dmouse=$(usex mouse enabled disabled)
+ -Dregex=$(usex pcre enabled disabled)
+ )
+
+ meson_src_configure
+}