From 6259e8d32e1583f3c802f6e0698380182358514b Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 18 Sep 2020 21:22:44 +0300 Subject: [PATCH 1/2] fix musepack build. --- multimedia/sound/libreplaygain/actions.py | 30 +++++++++++++++++------ multimedia/sound/libreplaygain/pspec.xml | 10 ++++---- multimedia/sound/musepack/actions.py | 1 + 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/multimedia/sound/libreplaygain/actions.py b/multimedia/sound/libreplaygain/actions.py index d3b573cdd4..eb896813e1 100644 --- a/multimedia/sound/libreplaygain/actions.py +++ b/multimedia/sound/libreplaygain/actions.py @@ -2,21 +2,35 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/copyleft/gpl.txt. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt +#from pisi.actionsapi import shelltools +#from pisi.actionsapi import cmaketools from pisi.actionsapi import pisitools -from pisi.actionsapi import cmaketools +from pisi.actionsapi import autotools +from pisi.actionsapi import get + +j = "-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + " def setup(): - cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release") +# cmaketools.configure(j) + autotools.autoreconf("-fiv") + autotools.configure("--enable-mpcchap --disable-static") def build(): - cmaketools.make() +# cmaketools.make() + autotools.make() def check(): - pass + pass def install(): - #cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - cmaketools.install() \ No newline at end of file +# cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) +# cmaketools.install() + +# shelltools.cd("include") +# pisitools.insinto("/usr/include", "replaygain") + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + diff --git a/multimedia/sound/libreplaygain/pspec.xml b/multimedia/sound/libreplaygain/pspec.xml index fc03569be3..bd5c6a91bb 100644 --- a/multimedia/sound/libreplaygain/pspec.xml +++ b/multimedia/sound/libreplaygain/pspec.xml @@ -15,9 +15,9 @@ https://files.musepack.net/source/libreplaygain_r475.tar.gz - - cmake - + + + @@ -27,7 +27,7 @@ - + diff --git a/multimedia/sound/musepack/actions.py b/multimedia/sound/musepack/actions.py index ecad681a4e..7b3386b6b6 100644 --- a/multimedia/sound/musepack/actions.py +++ b/multimedia/sound/musepack/actions.py @@ -8,6 +8,7 @@ from pisi.actionsapi import autotools from pisi.actionsapi import get def setup(): + autotools.autoreconf("-fiv") autotools.configure("--enable-mpcchap --disable-static") def build(): From aa0dcb2ad5c1179251229f69f5115435a23c41ed Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 18 Sep 2020 21:27:37 +0300 Subject: [PATCH 2/2] libreplaygain-devel. --- multimedia/sound/musepack/pspec.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/multimedia/sound/musepack/pspec.xml b/multimedia/sound/musepack/pspec.xml index d1fecd2cb7..6ebd3449c9 100644 --- a/multimedia/sound/musepack/pspec.xml +++ b/multimedia/sound/musepack/pspec.xml @@ -18,7 +18,7 @@ libcue-devel - libreplaygain + libreplaygain-devel arch/configure.patch @@ -69,4 +69,5 @@ admins@pisilinux.org - \ No newline at end of file + +