libreplaygain: fix build
This commit is contained in:
@@ -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()
|
||||||
@@ -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">
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -69,5 +69,4 @@
|
|||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Update>
|
</Update>
|
||||||
</History>
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|
||||||
Reference in New Issue
Block a user