libreplaygain: fix build

This commit is contained in:
suvari
2020-09-18 18:59:18 +03:00
parent 0c28400929
commit a5fba495cf
3 changed files with 18 additions and 12 deletions
+11 -7
View File
@@ -2,17 +2,21 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import cmaketools
def setup(): def setup():
autotools.configure() cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release")
def build(): def build():
autotools.make() cmaketools.make()
def check():
pass
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) #cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
cmaketools.install()
+5 -2
View File
@@ -15,6 +15,9 @@
<Archive sha1sum="7739b4b9cf46e0846663f707a9498a4db0345eaf" type="targz"> <Archive sha1sum="7739b4b9cf46e0846663f707a9498a4db0345eaf" type="targz">
https://files.musepack.net/source/libreplaygain_r475.tar.gz https://files.musepack.net/source/libreplaygain_r475.tar.gz
</Archive> </Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source> </Source>
<Package> <Package>
@@ -24,7 +27,7 @@
</Files> </Files>
</Package> </Package>
<Package> <!-- <Package>
<Name>libreplaygain-devel</Name> <Name>libreplaygain-devel</Name>
<Summary>Development files for libreplaygain</Summary> <Summary>Development files for libreplaygain</Summary>
<RuntimeDependencies> <RuntimeDependencies>
@@ -33,7 +36,7 @@
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
</Files> </Files>
</Package> </Package> -->
<History> <History>
<Update release="6"> <Update release="6">
+1 -2
View File
@@ -18,7 +18,7 @@
</Archive> </Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>libcue-devel</Dependency> <Dependency>libcue-devel</Dependency>
<Dependency>libreplaygain-devel</Dependency> <Dependency>libreplaygain</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">arch/configure.patch</Patch> <Patch level="1">arch/configure.patch</Patch>
@@ -70,4 +70,3 @@
</Update> </Update>
</History> </History>
</PISI> </PISI>