diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-05 09:19:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-05 09:19:42 +0100 |
commit | a14be3350a832e70959d0b2386bc43c3b95f82e1 (patch) | |
tree | a0bd34e3c1e8ca9489d08f257a5f29171d4bfe7f /media-sound/ncmpc | |
parent | 9d86a2177f8ea7e726ba388e4ee28007def4d4ac (diff) |
gentoo auto-resync : 05:08:2023 - 09:19:42
Diffstat (limited to 'media-sound/ncmpc')
-rw-r--r-- | media-sound/ncmpc/Manifest | 2 | ||||
-rw-r--r-- | media-sound/ncmpc/ncmpc-0.49.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest index ac8e07b46f08..0a677fae13b8 100644 --- a/media-sound/ncmpc/Manifest +++ b/media-sound/ncmpc/Manifest @@ -1,3 +1,5 @@ DIST ncmpc-0.48.tar.xz 296320 BLAKE2B ee25298af9d50eff646d74aa8908358a3df7b5ca7cf0666b6d3d31027e66d1219c2a48c5097e160d728db2965e2113a0915accac0d97f246d6e75152a2c9a1b3 SHA512 71739fefe696402d4a594a0c931bae0d6fc26f2b7203c51b3d6664c703276ad55f32ea247e1100224a3072386b6de067c1c2e43aa8b6cfac564f7f215ec11f7b +DIST ncmpc-0.49.tar.xz 296012 BLAKE2B c87c07bcf107e20224982a99fdedb09468ed510f7e6138e6e35386c636bdf62a3fd79e609670f7931966e3be09de668d1119ade950f2b8e4cd7c546d47a405be SHA512 9913f08d90b229af59c8da0ac737445661dc69f0174f996dedbd0c9d9c4833004dbd9319f6bc08dc8b35a191ae167c090a3f31b43167e1918c5fad8f044a4c17 EBUILD ncmpc-0.48.ebuild 2044 BLAKE2B e824a938e137e3c2355fed621e5eb168e209d1f30a5f762af6a4bac9a97411bafe676bba978ef7d391ebd7adfdf2ca36a6de918dd12d08d963e98c6d555f64a2 SHA512 f64286d2e532db3f8461acf6b7bc126b968c1a50137167b455fd1329a469cdfa53e82b16e57b7c331503492cbf4308a92a4d80eeb1559c111fff5639195e9c6d +EBUILD ncmpc-0.49.ebuild 2048 BLAKE2B 1990a7c8ba22e7039201f089ccf77b4e09fbede3a9eaffb0bffd883e8e874187b83eb6383602588de7e0f5fa8923f85fe5280324417f8238b1874460a189429d SHA512 224363bac68c1c60b0a4ec6b2e749ac2f209ebb8adff35c950638fd98df8872947b835f05c927c0c3db8e90d0adce3a3d38a69dbc958f83f979fe80cc4aec1d3 MISC metadata.xml 948 BLAKE2B 712f8c8832f3c6ff6c35609c2042ae62f00b59753ebd648457c919d78f03297b646fc704331e6a605018115fd25ed3752cb5ff41d12c2b072d7929d7357d5e14 SHA512 231ff1ad361ee547df64e26ab6a37bfcddcc373e8e8421e0bc8e594547c844fe3c73fa7d8aa3fb7594f4c2b83b91bb2f52a1268f711a6c8a2a295cdf94f59d72 diff --git a/media-sound/ncmpc/ncmpc-0.49.ebuild b/media-sound/ncmpc/ncmpc-0.49.ebuild new file mode 100644 index 000000000000..3b96020c8c58 --- /dev/null +++ b/media-sound/ncmpc/ncmpc-0.49.ebuild @@ -0,0 +1,69 @@ +# 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 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 +} |