mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
media-sound/ncmpc: add 0.54
Also restrict older versions to libfm <12.2.0 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST ncmpc-0.51.tar.xz 312732 BLAKE2B 54ebc71068701542aa6caf1632e4bd0d9517ef2fef81436dc085ff258427e34997643161a4be9f0c930255d0a6acefafbabcb8c1f317829cf805b758c3ff5d5b SHA512 a739f880e94a63d5052722c5fa7ed1c3e77ca0dee8f2fdc7ce1885a6e29e08029159bc4c31ef238f326285e26dbd24083bc0f30f462ee5ba3476fbb9ec61e055
|
||||
DIST ncmpc-0.52.tar.xz 319580 BLAKE2B f9bbed6ef57e5207d6d979ec4512e79451f8413b6c33566a8b92241b793a584137773bad7c125363f38b03fee58b83ab742b33fb5ca5304ebcb254a4ad13fe78 SHA512 bc3eaef9e1d8e760578fbcc10f26a62cafc6d94ceed07457ffc7cacdc2f49c13910acd8265b5b574d295cd54c4c7b391a2824493ea47967a2702c908e415c17d
|
||||
DIST ncmpc-0.54.tar.xz 326676 BLAKE2B e185fb4a63de1282c33435da9c6255ed15218b1bb1391c4b9a1d871459896a569dca1d0e18b2a666cd414aed147d82d616d528e8c82e1a1a8d67af55b1edc4eb SHA512 54ce46988198b5c0a9c14b341bc9b5d0a1fdef97532c89ca0bfc9b95eb954dca954f0b8d973b5697feb4146d80c536c2d64b7e54ff53a48987c532ae31c833ac
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -20,7 +20,7 @@ BDEPEND="
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libfmt
|
||||
<dev-libs/libfmt-12.2.0
|
||||
media-libs/libmpdclient
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
lirc? ( app-misc/lirc )
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -20,7 +20,7 @@ BDEPEND="
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libfmt:=
|
||||
<dev-libs/libfmt-12.2.0:=
|
||||
media-libs/libmpdclient:=
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
lirc? ( app-misc/lirc )
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2026 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 +colors doc +help-screen key-screen +library-screen lirc lyrics-screen +mouse nls outputs-screen pcre search-screen +song-screen test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libfmt:=
|
||||
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
|
||||
-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)
|
||||
-Dlocale=$(usex nls enabled disabled)
|
||||
-Dlyrics_screen=$(usex lyrics-screen true false)
|
||||
-Dmultibyte=$(usex nls true false)
|
||||
-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_feature lirc)
|
||||
$(meson_feature mouse)
|
||||
$(meson_feature nls)
|
||||
$(meson_use colors)
|
||||
$(meson_use test)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user