From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8197E158083 for ; Tue, 24 Sep 2024 07:51:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B518A2BC03C; Tue, 24 Sep 2024 07:51:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 94D2F2BC03C for ; Tue, 24 Sep 2024 07:51:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF10D3434E2 for ; Tue, 24 Sep 2024 07:51:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51D741ACF for ; Tue, 24 Sep 2024 07:51:08 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1727164266.76e0082541bbc616092ca73073df124e90549a1d.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ncmpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/ncmpc/Manifest media-sound/ncmpc/ncmpc-0.51.ebuild X-VCS-Directories: media-sound/ncmpc/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 76e0082541bbc616092ca73073df124e90549a1d X-VCS-Branch: master Date: Tue, 24 Sep 2024 07:51:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e91813eb-f45c-40f8-9c5d-1c404c527aae X-Archives-Hash: ef7a0ea90d38d08892ae43864eb39167 commit: 76e0082541bbc616092ca73073df124e90549a1d Author: Miroslav Šulc gentoo org> AuthorDate: Tue Sep 24 07:51:01 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Sep 24 07:51:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e00825 media-sound/ncmpc: bump to 0.51 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/ncmpc/Manifest | 1 + media-sound/ncmpc/ncmpc-0.51.ebuild | 69 +++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest index c26c77676e8f..e533dc3d5fb1 100644 --- a/media-sound/ncmpc/Manifest +++ b/media-sound/ncmpc/Manifest @@ -1,2 +1,3 @@ DIST ncmpc-0.49.tar.xz 296012 BLAKE2B c87c07bcf107e20224982a99fdedb09468ed510f7e6138e6e35386c636bdf62a3fd79e609670f7931966e3be09de668d1119ade950f2b8e4cd7c546d47a405be SHA512 9913f08d90b229af59c8da0ac737445661dc69f0174f996dedbd0c9d9c4833004dbd9319f6bc08dc8b35a191ae167c090a3f31b43167e1918c5fad8f044a4c17 DIST ncmpc-0.50.tar.xz 312508 BLAKE2B 5e1d2a52a9cfee9ba92e1ea390a3ff80ed26be662e1a12bee1f1a6e84a10043f5a546bd2d09a38753b244427fcc415f30de4fe369fb19fe45681f9d81b7e9844 SHA512 c59351e553169a4ebf6b7086083838fd1295eb2fcc5d352e622a086a487b8cb7b36e565dbbe02e7924233ef530ce4b74fab79e5dfaa4ad4b57bf472eb74fc839 +DIST ncmpc-0.51.tar.xz 312732 BLAKE2B 54ebc71068701542aa6caf1632e4bd0d9517ef2fef81436dc085ff258427e34997643161a4be9f0c930255d0a6acefafbabcb8c1f317829cf805b758c3ff5d5b SHA512 a739f880e94a63d5052722c5fa7ed1c3e77ca0dee8f2fdc7ce1885a6e29e08029159bc4c31ef238f326285e26dbd24083bc0f30f462ee5ba3476fbb9ec61e055 diff --git a/media-sound/ncmpc/ncmpc-0.51.ebuild b/media-sound/ncmpc/ncmpc-0.51.ebuild new file mode 100644 index 000000000000..85aebc139068 --- /dev/null +++ b/media-sound/ncmpc/ncmpc-0.51.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 +}