From cf8414d441e1ec76a536473dc202cd77e191930e Mon Sep 17 00:00:00 2001 From: suvari Date: Wed, 21 May 2025 17:34:01 +0300 Subject: [PATCH] libprojectM: fix build --- multimedia/video/libprojectM/actions.py | 22 +++++++++++----------- multimedia/video/libprojectM/pspec.xml | 19 ++++++++++++------- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/multimedia/video/libprojectM/actions.py b/multimedia/video/libprojectM/actions.py index 904ed5ae61..923d277792 100644 --- a/multimedia/video/libprojectM/actions.py +++ b/multimedia/video/libprojectM/actions.py @@ -4,22 +4,22 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import get -from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools from pisi.actionsapi import pisitools +from pisi.actionsapi import get def setup(): - #autotools.autoreconf("-vif") - autotools.configure("--prefix=/usr --disable-static --enable-gles --enable-sdl --enable-threading --enable-qt") - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + shelltools.makedirs("build") + shelltools.cd("build") + + cmaketools.configure(sourceDir="..") def build(): - autotools.make() - -#def check(): - #autotools.make("check") + cmaketools.make("-C build") def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("README*", "COPYING", "LICENSE*") - pisitools.dodoc("README*") + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/multimedia/video/libprojectM/pspec.xml b/multimedia/video/libprojectM/pspec.xml index 83fd182ed4..8c03265f2b 100644 --- a/multimedia/video/libprojectM/pspec.xml +++ b/multimedia/video/libprojectM/pspec.xml @@ -12,8 +12,9 @@ library An advanced MilkDrop-compatible music visualization library libprojectM is an iterative music visualization library which uses OpenGL for hardware acceleration. It is a reimplementation of Winamp visualization plug-in MilkDrop which uses 3D graphics hardware, combined with iterative image-based rendering techniques and compatible with MilkDrop presets. - https://github.com/projectM-visualizer/projectm/archive/refs/tags/v4.1.4.tar.gz + https://github.com/projectM-visualizer/projectm/releases/download/v4.1.4/libprojectM-4.1.4.tar.gz + git cmake mesa-devel libsdl2-devel @@ -38,6 +39,8 @@ /usr/share/doc /usr/share/projectM/ /usr/lib/libprojectM.so* + /usr/lib/libprojectM-4.so* + /usr/lib/libprojectM-4-playlist.so* @@ -45,16 +48,18 @@ libprojectM-devel Development files for libprojectM + libglvnd-devel qt5-base-devel libprojectM /usr/include /usr/lib/pkgconfig + /usr/lib/cmake - + - 2025-04-30 + 2025-05-21 4.1.4 - Release Bump - Pisi Linux Community - admin@pisilinux.org + Version bump + Kamil Atlı + suvari@pisilinux.org 2022-01-09