Merge pull request #16697 from suvari/master

libprojectM: fix build
This commit is contained in:
Kamil ATLI
2025-05-21 17:34:44 +03:00
committed by GitHub
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. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup(): def setup():
#autotools.autoreconf("-vif") shelltools.makedirs("build")
autotools.configure("--prefix=/usr --disable-static --enable-gles --enable-sdl --enable-threading --enable-qt") shelltools.cd("build")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
cmaketools.configure(sourceDir="..")
def build(): def build():
autotools.make() cmaketools.make("-C build")
#def check():
#autotools.make("check")
def install(): 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> <IsA>library</IsA>
<Summary>An advanced MilkDrop-compatible music visualization library</Summary> <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> <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> <BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>mesa-devel</Dependency> <Dependency>mesa-devel</Dependency>
<Dependency>libsdl2-devel</Dependency> <Dependency>libsdl2-devel</Dependency>
@@ -38,6 +39,8 @@
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/projectM/</Path> <Path fileType="data">/usr/share/projectM/</Path>
<Path fileType="library">/usr/lib/libprojectM.so*</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> </Files>
</Package> </Package>
@@ -45,16 +48,18 @@
<Name>libprojectM-devel</Name> <Name>libprojectM-devel</Name>
<Summary>Development files for libprojectM</Summary> <Summary>Development files for libprojectM</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libglvnd-devel</Dependency>
<Dependency>qt5-base-devel</Dependency> <Dependency>qt5-base-devel</Dependency>
<Dependency release="current">libprojectM</Dependency> <Dependency release="current">libprojectM</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib/cmake</Path>
</Files> </Files>
</Package> </Package>
<Package> <!-- <Package>
<Name>libprojectM-sdl</Name> <Name>libprojectM-sdl</Name>
<Summary>ProjectM support for sdl</Summary> <Summary>ProjectM support for sdl</Summary>
<RuntimeDependencies> <RuntimeDependencies>
@@ -82,15 +87,15 @@
<Path fileType="executable">/usr/bin/projectM-pulseaudio</Path> <Path fileType="executable">/usr/bin/projectM-pulseaudio</Path>
<Path fileType="data">/usr/share/applications/projectM-pulseaudio.desktop</Path> <Path fileType="data">/usr/share/applications/projectM-pulseaudio.desktop</Path>
</Files> </Files>
</Package> </Package> -->
<History> <History>
<Update release="2"> <Update release="2">
<Date>2025-04-30</Date> <Date>2025-05-21</Date>
<Version>4.1.4</Version> <Version>4.1.4</Version>
<Comment>Release Bump</Comment> <Comment>Version bump</Comment>
<Name>Pisi Linux Community</Name> <Name>Kamil Atlı</Name>
<Email>admin@pisilinux.org</Email> <Email>suvari@pisilinux.org</Email>
</Update> </Update>
<Update release="1"> <Update release="1">
<Date>2022-01-09</Date> <Date>2022-01-09</Date>