summaryrefslogtreecommitdiff
path: root/media-sound/ncmpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /media-sound/ncmpc
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'media-sound/ncmpc')
-rw-r--r--media-sound/ncmpc/Manifest2
-rw-r--r--media-sound/ncmpc/ncmpc-0.39.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest
index b6fb25c20edb..5984e5b597ad 100644
--- a/media-sound/ncmpc/Manifest
+++ b/media-sound/ncmpc/Manifest
@@ -1,3 +1,5 @@
DIST ncmpc-0.34.tar.xz 227892 BLAKE2B 19d9d9abe3d85cb2567a222c8ce108889d4517272e2bb82f4064ef76af68d610ff4c7516102b976f66380e0e3d3ee7ed00023116cb6b2d1628e3d38796705a09 SHA512 e206cc2d61799a97edf1182de4cee1c0fa447bd1fac136dc48670cb624a7efc903c693b0c541fbc00fcb94e055c83be1ca6370386c99131a1b571f47b67c35f4
+DIST ncmpc-0.39.tar.xz 242968 BLAKE2B 1b270ed52aa884cecd3e1ce60bb2ed628ef79480697f388b48a09e0f22068dbbb7623b01171e5cfae9556446e404530f93c84ca3c3d5cc481c8431f37786c2f4 SHA512 bfadc58bf8b66bff08608f561f689a50fd412b87975998ce23751fd312fa009eeba4b48b4afe96391b2ecb184c00c366262e9b96e24d2ce2ab2af6a4002721d9
EBUILD ncmpc-0.34.ebuild 2019 BLAKE2B ee88c9f5ad907768299060708e08e40a8dbaa89e53216bb250baf8b576a107af68aa13e27d7e7c16a6ae537d62dc9bbd6149cf40590bf45369cf4498bfe9ccd6 SHA512 a573e412cbfc51bbbe3b1f1a38b95521cc22e151247c2f78cf67e63b3aa46e1a19926954b68fbdcdda8fad441b224e9a67100885c2f183e6ba2101fd2757d76d
+EBUILD ncmpc-0.39.ebuild 2023 BLAKE2B e59c9883bab2ea245c4ffea0c1b714ac914fc91af2840762d99994e8e175c0c577153eef3e447dc8f5aa0d3635d39c98e0c7b26d318e8216e1ef6dae9111d814 SHA512 b78020dc31e6edf60c8ee017b406bd61ce6985a2067dfe01de15a66dd84e153f2fea76e6e0cc492bfddd97d5a3afc4b03372419d3bf2320d05e1617b8c3fc8c6
MISC metadata.xml 947 BLAKE2B de28ab3a9263d21b8a2727fb80a70467d4c086c18712bcc6ee51c434f512a7daab42832728a150a677a4552f36950038e08076fd2c1eaf0ec5c2f7e82408efed SHA512 19a555b3375402a4ff9931e2d1c17bb3146d963f3c4665216e9e63deb61b99313267eb9e3815aa9f6d3f4dabee1734131b9ee71ff41562b7e9aa881fe10b1760
diff --git a/media-sound/ncmpc/ncmpc-0.39.ebuild b/media-sound/ncmpc/ncmpc-0.39.ebuild
new file mode 100644
index 000000000000..cad4074e5d6f
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.39.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="https://www.musicpd.org/clients/ncmpc/ https://github.com/MusicPlayerDaemon/ncmpc"
+SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="async-connect chat-screen doc +help-screen key-screen +library-screen lirc lyrics-screen +mouse nls outputs-screen pcre search-screen +song-screen"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )
+"
+RDEPEND="
+ >=media-libs/libmpdclient-2.9
+ sys-libs/ncurses:0=[unicode]
+ lirc? ( app-misc/lirc )
+ pcre? ( dev-libs/libpcre )
+"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.62
+"
+
+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
+
+ # use correct (html) docdir
+ sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \
+ -i doc/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dcurses=ncursesw
+ -Dcolors=true
+ -Dmini=false
+ -Dlyrics_plugin_dir="${EPREFIX}/usr/$(get_libdir)/ncmpc/lyrics"
+ -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)
+ -Dlibrary_screen=$(usex library-screen true false)
+ -Dlirc=$(usex lirc enabled disabled)
+ -Dlocale=$(usex nls enabled disabled)
+ -Dlyrics_screen=$(usex lyrics-screen true false)
+ -Dmouse=$(usex mouse enabled disabled)
+ -Dmultibyte=$(usex nls true false)
+ -Dnls=$(usex nls enabled disabled)
+ -Doutputs_screen=$(usex outputs-screen true false)
+ -Dregex=$(usex pcre enabled disabled)
+ -Dsearch_screen=$(usex search-screen true false)
+ -Dsong_screen=$(usex song-screen true false)
+ )
+
+ meson_src_configure
+}