libprojectM: fix build

This commit is contained in:
suvari
2025-05-21 17:34:01 +03:00
parent 20806d7580
commit cf8414d441
2 changed files with 23 additions and 18 deletions
+11 -11
View File
@@ -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())
+12 -7
View File
@@ -12,8 +12,9 @@
<IsA>library</IsA>
<Summary>An advanced MilkDrop-compatible music visualization library</Summary>
<Description>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.</Description>
<Archive sha1sum="b95a509975a5389a0935cb704260e200d69500f1" type="targz">https://github.com/projectM-visualizer/projectm/archive/refs/tags/v4.1.4.tar.gz</Archive>
<Archive sha1sum="fb1a386e2758d55d3a0b7d1268a15f3cd8da7ff1" type="targz">https://github.com/projectM-visualizer/projectm/releases/download/v4.1.4/libprojectM-4.1.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libsdl2-devel</Dependency>
@@ -38,6 +39,8 @@
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/projectM/</Path>
<Path fileType="library">/usr/lib/libprojectM.so*</Path>
<Path fileType="library">/usr/lib/libprojectM-4.so*</Path>
<Path fileType="library">/usr/lib/libprojectM-4-playlist.so*</Path>
</Files>
</Package>
@@ -45,16 +48,18 @@
<Name>libprojectM-devel</Name>
<Summary>Development files for libprojectM</Summary>
<RuntimeDependencies>
<Dependency>libglvnd-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">libprojectM</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib/cmake</Path>
</Files>
</Package>
<Package>
<!-- <Package>
<Name>libprojectM-sdl</Name>
<Summary>ProjectM support for sdl</Summary>
<RuntimeDependencies>
@@ -82,15 +87,15 @@
<Path fileType="executable">/usr/bin/projectM-pulseaudio</Path>
<Path fileType="data">/usr/share/applications/projectM-pulseaudio.desktop</Path>
</Files>
</Package>
</Package> -->
<History>
<Update release="2">
<Date>2025-04-30</Date>
<Date>2025-05-21</Date>
<Version>4.1.4</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2022-01-09</Date>