commit:     a6e6a880c2983eb5fa114a550e69ffdfab43fcbe
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 20 19:39:26 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 20:37:48 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e6a880

media-sound/vimpc: add 0.09.2_p20230330, drop IUSE boost

It is broken with boost-1.89, upstream was not seen since the last commit
in 2023.

Closes: https://bugs.gentoo.org/969010
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/vimpc/Manifest                      |  1 +
 media-sound/vimpc/vimpc-0.09.2_p20230330.ebuild | 57 +++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/media-sound/vimpc/Manifest b/media-sound/vimpc/Manifest
index ff5febe87074..91e00d2a67e1 100644
--- a/media-sound/vimpc/Manifest
+++ b/media-sound/vimpc/Manifest
@@ -1 +1,2 @@
 DIST vimpc-0.09.2.tar.gz 452593 BLAKE2B 
b6cbeab32318e723d7be114255fba7360fa2608d03bde6b2186d47b1cb8e74b4369d0d2b1d683cf5668232bf4581e9acb79d726308b18ff0d82122aa979f81a1
 SHA512 
456e2d2c0510273c071b24c2dd8f90b73d40a0b02565c00ea986a78f1231cb26fb053ce5b0d1476647c813b84684e400c21948086299e445ffd651c2af46d4c9
+DIST vimpc-0.09.2_p20230330-95ad78d1.tar.gz 454098 BLAKE2B 
ab9594201b034c065b39c24c30cf275746edb9d46b9cff5e2f7665de6e285864fb8289d20457bdf990d274c0a9930155a77319b2a8c783f23c3ba8c08773fffd
 SHA512 
df19aca227c2a4c821482a7f8c4d92c1f83ba79b8aca8ece26df3bef25cc8482195e5ab3332aa67b2598809eb533f2f94c38ed05fdf36aa7593f602451c2cd33

diff --git a/media-sound/vimpc/vimpc-0.09.2_p20230330.ebuild 
b/media-sound/vimpc/vimpc-0.09.2_p20230330.ebuild
new file mode 100644
index 000000000000..a326092f922b
--- /dev/null
+++ b/media-sound/vimpc/vimpc-0.09.2_p20230330.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="ncurses based mpd client with vi-like key bindings"
+HOMEPAGE="https://github.com/boysetsfrog/vimpc";
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/boysetsfrog/${PN}.git";
+       inherit git-r3
+else
+       COMMIT=95ad78d112316a1c290a480481fd1f8abf50b59b
+       if [[ -n ${COMMIT} ]] ; then
+               
SRC_URI="https://github.com/boysetsfrog/${PN}/archive/${COMMIT}.tar.gz -> 
${P}-${COMMIT:0:8}.tar.gz"
+               S="${WORKDIR}/${PN}-${COMMIT}"
+       else
+               
SRC_URI="https://github.com/boysetsfrog/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+               KEYWORDS="~amd64 ~x86"
+       fi
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="taglib"
+
+RDEPEND="
+       dev-libs/libpcre
+       media-libs/libmpdclient
+       taglib? ( media-libs/taglib:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+       default
+       rm m4/m4_ax_boost* || die
+       eautoreconf
+}
+
+src_configure() {
+       # Tests here seem to make cppunit linked into the main vimpc binary
+       # Not clear how to run them either
+       econf \
+               --disable-boost \
+               --disable-test \
+               $(use_enable taglib)
+}
+
+src_install() {
+       local DOCS=( AUTHORS README.md doc/vimpcrc.example )
+       default
+
+       # vimpc will look for help.txt
+       docompress -x /usr/share/doc/${PF}/help.txt
+}

Reply via email to