From a5fba495cf17ab8d72ba4c815da476b2b4904b9b Mon Sep 17 00:00:00 2001 From: suvari Date: Fri, 18 Sep 2020 18:59:18 +0300 Subject: [PATCH] libreplaygain: fix build --- multimedia/sound/libreplaygain/actions.py | 18 +++++++++++------- multimedia/sound/libreplaygain/pspec.xml | 7 +++++-- multimedia/sound/musepack/pspec.xml | 5 ++--- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/multimedia/sound/libreplaygain/actions.py b/multimedia/sound/libreplaygain/actions.py index babf9ee1ee..d3b573cdd4 100644 --- a/multimedia/sound/libreplaygain/actions.py +++ b/multimedia/sound/libreplaygain/actions.py @@ -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() \ No newline at end of file diff --git a/multimedia/sound/libreplaygain/pspec.xml b/multimedia/sound/libreplaygain/pspec.xml index 70efae1ddc..fc03569be3 100644 --- a/multimedia/sound/libreplaygain/pspec.xml +++ b/multimedia/sound/libreplaygain/pspec.xml @@ -15,6 +15,9 @@ https://files.musepack.net/source/libreplaygain_r475.tar.gz + + cmake + @@ -24,7 +27,7 @@ - + diff --git a/multimedia/sound/musepack/pspec.xml b/multimedia/sound/musepack/pspec.xml index 6ebd3449c9..d1fecd2cb7 100644 --- a/multimedia/sound/musepack/pspec.xml +++ b/multimedia/sound/musepack/pspec.xml @@ -18,7 +18,7 @@ libcue-devel - libreplaygain-devel + libreplaygain arch/configure.patch @@ -69,5 +69,4 @@ admins@pisilinux.org - - + \ No newline at end of file