summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/ncmpc/Manifest1
-rw-r--r--media-sound/ncmpc/ncmpc-0.31.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest
index 32fb44fc22e5..33dfacfc4fdb 100644
--- a/media-sound/ncmpc/Manifest
+++ b/media-sound/ncmpc/Manifest
@@ -1,2 +1,3 @@
DIST ncmpc-0.27.tar.xz 302636 BLAKE2B 95cedfdcd93d011aa21b773c3a91a20cf9c816dfa421e95802b6cc73e39d39e80bed7734764caf8e29102df6b734dcc0c64be6ef3060de8ac590dc1229b63fd4 SHA512 255b5529a5eae14d89d9419dfb06d91c50b68a9e05f2e124fc07035e2a4619c7b6801c08d52c639d934b50f939cf1dc58f3c5265805ce8eeeba211803108f663
DIST ncmpc-0.30.tar.xz 245212 BLAKE2B 9e64188ec5d209a682f10587c033d1e958501ed84660bc8cc0a00ff3650a1509464e48431240eebe4a061dc154acbc7d6f552cb48b208107ecdc5c0e6807d9ee SHA512 bc92c51c78f7919eb6b5cebaac8bda1231701fd9011fcadd6da8bbc5cc16e5dbe30d33d6e2f7d4cc07399299bcd3de572c9516f90d0376212771fd2c3af8afc7
+DIST ncmpc-0.31.tar.xz 249816 BLAKE2B c9c42fc1ba5cb79cab9a9cc86831ba8ca82bb57981885be81b218d57f529ac7ca9adfbb0de1e0bc7dca8215ecf5fdae1481b73ff6d0dfb69c2020390d0c6a1a2 SHA512 0d3fed08f54afd9aef6342928a3f3b63a973d86ec6510f54c59271316aad856cd1a493e193f676971d90c40ef26486789e8580f2df528bd031251265c48a5eac
diff --git a/media-sound/ncmpc/ncmpc-0.31.ebuild b/media-sound/ncmpc/ncmpc-0.31.ebuild
new file mode 100644
index 000000000000..737d9ce04b02
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.31.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 tcp"
+
+RDEPEND="dev-libs/glib:2
+ media-libs/libmpdclient
+ sys-libs/ncurses:0=[unicode]
+ lirc? ( app-misc/lirc )"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx
+ app-doc/doxygen )
+ virtual/pkgconfig"
+
+DOCS=( doc/. AUTHORS README.rst )
+
+src_prepare() {
+ default
+ sed -i -e '/'-Wl,--gc-sections'./d' meson.build || die "sed failed"
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dcurses=ncursesw
+ -Dcolors=ncursesw
+ -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 true false)
+ -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 true false)
+ -Dmultibyte=$(usex nls true false)
+ -Dnls=$(usex nls true false)
+ -Dlirc=$(usex lirc true false)
+ -Dmouse=$(usex mouse true false)
+ -Dtcp=$(usex tcp true false)
+ )
+ meson_src_configure
+}