summaryrefslogtreecommitdiff
path: root/media-sound/ncmpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-07 11:29:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-07 11:29:55 +0100
commita17b25a10359070f9527893d861369d378021aa9 (patch)
tree02188942c1da9eb507b509fbd36c9b7a5aff86c8 /media-sound/ncmpc
parentefbb52742172c497c5245486906aade0fb6220e8 (diff)
gentoo auto-resync : 07:04:2023 - 11:29:55
Diffstat (limited to 'media-sound/ncmpc')
-rw-r--r--media-sound/ncmpc/Manifest2
-rw-r--r--media-sound/ncmpc/ncmpc-0.48.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest
index 314bb4124c0f..4e1d03817b90 100644
--- a/media-sound/ncmpc/Manifest
+++ b/media-sound/ncmpc/Manifest
@@ -1,3 +1,5 @@
DIST ncmpc-0.47.tar.xz 291400 BLAKE2B 4b9e5bcc435b6064c054ad84000986942a699993e78decb26b73b4f3ec8d261e4e752e11d40ed5bdcbaab260b37f1a59b99708be05ade44973fee3f2b1e6d9d1 SHA512 6c9990ca9a0781eef67fae8b20ceec5fc00177b1db2b08cfdf122dd1f61f87a92030baadcaac154d73ddee622c963481d4e37d46f76a4ef21e51d4f18a6f3e6a
+DIST ncmpc-0.48.tar.xz 296320 BLAKE2B ee25298af9d50eff646d74aa8908358a3df7b5ca7cf0666b6d3d31027e66d1219c2a48c5097e160d728db2965e2113a0915accac0d97f246d6e75152a2c9a1b3 SHA512 71739fefe696402d4a594a0c931bae0d6fc26f2b7203c51b3d6664c703276ad55f32ea247e1100224a3072386b6de067c1c2e43aa8b6cfac564f7f215ec11f7b
EBUILD ncmpc-0.47.ebuild 1992 BLAKE2B 58f10c1dc03f805e1a2c7c8cd3d5fe3bb6e4ec2016bbe62dd346b49e9d55305406eea81e079264e6458091e552c558e3466a0806a8be1e6c3bc7d2af7c5f6443 SHA512 66079bbc69e337527e79533cd65068f846ce72cf68ae452b5fbe37509b59f6a7ad3d3493ed2ea08b455788ab484e195b5adce3c3312416414916f25bfb28833d
+EBUILD ncmpc-0.48.ebuild 1996 BLAKE2B f2278313fd21247f8b9d64d8ae6f4a957a00f11063e8484f85ab6094dc7e27ae62f45357c4a5343e4ac327776cbe2d8d835a4c24aacdd9858f2664654385f370 SHA512 2c5b4cfc2d78d9664b5ba82e3ee7b02b9dd491d395ed221a6bb5497e91504201dc94e008d857fdcd54b47cf69d1d558f42f00aef4b7ad80dbdcf242046f06743
MISC metadata.xml 948 BLAKE2B 712f8c8832f3c6ff6c35609c2042ae62f00b59753ebd648457c919d78f03297b646fc704331e6a605018115fd25ed3752cb5ff41d12c2b072d7929d7357d5e14 SHA512 231ff1ad361ee547df64e26ab6a37bfcddcc373e8e8421e0bc8e594547c844fe3c73fa7d8aa3fb7594f4c2b83b91bb2f52a1268f711a6c8a2a295cdf94f59d72
diff --git a/media-sound/ncmpc/ncmpc-0.48.ebuild b/media-sound/ncmpc/ncmpc-0.48.ebuild
new file mode 100644
index 000000000000..998167917c7c
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.48.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+ sys-libs/ncurses:=[unicode(+)]
+ lirc? ( app-misc/lirc )
+ pcre? ( dev-libs/libpcre2 )
+"
+DEPEND="${RDEPEND}"
+
+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
+}