diff options
Diffstat (limited to 'media-sound/ncmpc')
-rw-r--r-- | media-sound/ncmpc/Manifest | 2 | ||||
-rw-r--r-- | media-sound/ncmpc/ncmpc-0.50.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest index f7dd0d1c13e8..3d70ddb0cdf2 100644 --- a/media-sound/ncmpc/Manifest +++ b/media-sound/ncmpc/Manifest @@ -1,3 +1,5 @@ DIST ncmpc-0.49.tar.xz 296012 BLAKE2B c87c07bcf107e20224982a99fdedb09468ed510f7e6138e6e35386c636bdf62a3fd79e609670f7931966e3be09de668d1119ade950f2b8e4cd7c546d47a405be SHA512 9913f08d90b229af59c8da0ac737445661dc69f0174f996dedbd0c9d9c4833004dbd9319f6bc08dc8b35a191ae167c090a3f31b43167e1918c5fad8f044a4c17 +DIST ncmpc-0.50.tar.xz 312508 BLAKE2B 5e1d2a52a9cfee9ba92e1ea390a3ff80ed26be662e1a12bee1f1a6e84a10043f5a546bd2d09a38753b244427fcc415f30de4fe369fb19fe45681f9d81b7e9844 SHA512 c59351e553169a4ebf6b7086083838fd1295eb2fcc5d352e622a086a487b8cb7b36e565dbbe02e7924233ef530ce4b74fab79e5dfaa4ad4b57bf472eb74fc839 EBUILD ncmpc-0.49.ebuild 2044 BLAKE2B e824a938e137e3c2355fed621e5eb168e209d1f30a5f762af6a4bac9a97411bafe676bba978ef7d391ebd7adfdf2ca36a6de918dd12d08d963e98c6d555f64a2 SHA512 f64286d2e532db3f8461acf6b7bc126b968c1a50137167b455fd1329a469cdfa53e82b16e57b7c331503492cbf4308a92a4d80eeb1559c111fff5639195e9c6d +EBUILD ncmpc-0.50.ebuild 2048 BLAKE2B f2d6fb426304113149547ef1373429ff858abec16349affa1bb66010fd6083014507b0bcbfe3f0d79a72bbe4b5a329af4237208188a8309dba79e9ff71675d0d SHA512 b9e43d38923074eb7b8b00e352e1777d95d41fd996af5551c5ba8276cc1595f12f4f5a6f9bab2324b791c95b75d52ef123af189167601af5a4c9c97772fb3172 MISC metadata.xml 948 BLAKE2B 712f8c8832f3c6ff6c35609c2042ae62f00b59753ebd648457c919d78f03297b646fc704331e6a605018115fd25ed3752cb5ff41d12c2b072d7929d7357d5e14 SHA512 231ff1ad361ee547df64e26ab6a37bfcddcc373e8e8421e0bc8e594547c844fe3c73fa7d8aa3fb7594f4c2b83b91bb2f52a1268f711a6c8a2a295cdf94f59d72 diff --git a/media-sound/ncmpc/ncmpc-0.50.ebuild b/media-sound/ncmpc/ncmpc-0.50.ebuild new file mode 100644 index 000000000000..85aebc139068 --- /dev/null +++ b/media-sound/ncmpc/ncmpc-0.50.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 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 test" +RESTRICT="!test? ( test )" + +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_use test) + ) + + meson_src_configure +} |