libreplaygain: fix build
This commit is contained in:
@@ -2,17 +2,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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 get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
autotools.configure()
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
cmaketools.make()
|
||||
|
||||
def check():
|
||||
pass
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
cmaketools.install()
|
||||
@@ -15,6 +15,9 @@
|
||||
<Archive sha1sum="7739b4b9cf46e0846663f707a9498a4db0345eaf" type="targz">
|
||||
https://files.musepack.net/source/libreplaygain_r475.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -24,7 +27,7 @@
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<!-- <Package>
|
||||
<Name>libreplaygain-devel</Name>
|
||||
<Summary>Development files for libreplaygain</Summary>
|
||||
<RuntimeDependencies>
|
||||
@@ -33,7 +36,7 @@
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
</Package> -->
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libcue-devel</Dependency>
|
||||
<Dependency>libreplaygain-devel</Dependency>
|
||||
<Dependency>libreplaygain</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">arch/configure.patch</Patch>
|
||||
@@ -69,5 +69,4 @@
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user