commit:     762c8457775069cefacc18b357da0b7718a47334
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  2 19:32:11 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov  2 21:44:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762c8457

media-libs/libprojectm: Drop IUSE jack, pulseaudio, qt5

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

 .../libprojectm/libprojectm-3.1.12-r4.ebuild       | 60 ++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/media-libs/libprojectm/libprojectm-3.1.12-r4.ebuild 
b/media-libs/libprojectm/libprojectm-3.1.12-r4.ebuild
new file mode 100644
index 000000000000..dd80103112de
--- /dev/null
+++ b/media-libs/libprojectm/libprojectm-3.1.12-r4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV/_/-}"
+inherit autotools xdg
+
+DESCRIPTION="Graphical music visualization plugin similar to milkdrop"
+HOMEPAGE="https://github.com/projectM-visualizer/projectm";
+SRC_URI="https://github.com/projectM-visualizer/projectm/archive/v${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/projectm-${MY_PV}/"
+
+LICENSE="LGPL-2"
+SLOT="0/2"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
+IUSE="gles2 sdl"
+
+RDEPEND="
+       media-libs/glm
+       media-libs/libglvnd[X(+)]
+       sys-libs/zlib
+       sdl? ( >=media-libs/libsdl2-2.0.5 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-build/autoconf-archive
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}/${P}-missing-gl-header.patch" # bug 792204
+       "${FILESDIR}/${P}-cxx14.patch"
+       "${FILESDIR}/${PN}-3.1.12-drop-automagic-libcxx.patch"
+)
+
+src_prepare() {
+       default
+       # bug 940300
+       cp "${BROOT}"/usr/share/aclocal/ax_have_qt.m4 
m4/autoconf-archive/ax_have_qt.m4 || die
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               $(use_enable gles2 gles)
+               --disable-jack # bug #961970
+               --disable-pulseaudio # bug #961970
+               --disable-qt # bug #961970
+               $(use_enable sdl)
+               --enable-emscripten=no
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+       find "${ED}" -name '*.a' -delete || die
+}

Reply via email to