diff --git a/multimedia/misc/libopus/actions.py b/multimedia/misc/libopus/actions.py index b65cc1b250..39dbd1ee90 100644 --- a/multimedia/misc/libopus/actions.py +++ b/multimedia/misc/libopus/actions.py @@ -1,19 +1,28 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/copyleft/gpl.txt. +# Licensed under the GNU General Public License, version 2 +# See the file http://www.gnu.org/copyleft/gpl.txt +from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools -from pisi.actionsapi import get - +from pisi.actionsapi import shelltools def setup(): - autotools.autoreconf("-vif") - autotools.configure("--enable-custom-modes \ - --disable-static \ - --disable-doc") + autotools.autoreconf("-fiv") + options = "\ + --disable-static \ + " + + if get.buildTYPE() == "_emul32": + options += " --libdir=/usr/lib32 \ + " + shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") + + autotools.configure(options) + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): autotools.make() @@ -21,4 +30,6 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("COPYING", "ChangeLog", "README") + + if get.buildTYPE() == "_emul32": + pisitools.dodoc("README", "NEWS", "AUTHORS") diff --git a/multimedia/misc/libopus/pspec.xml b/multimedia/misc/libopus/pspec.xml index 5a258896cb..bce235d1f7 100644 --- a/multimedia/misc/libopus/pspec.xml +++ b/multimedia/misc/libopus/pspec.xml @@ -13,6 +13,9 @@ Opus is a totally open, royalty-free, highly versatile audio codec Opus is unmatched for interactive speech and music transmission over the Internet, but is also intended for storage and streaming applications. It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec. http://downloads.xiph.org/releases/opus/opus-1.2.1.tar.gz + + doxygen + @@ -33,6 +36,7 @@ /usr/include /usr/lib/pkgconfig + /usr/lib32/pkgconfig @@ -46,8 +50,28 @@ /usr/share/doc/ + + + libopus-32bit + emul32 + 32-bit shared libraries for libopus + emul32 + + libopus + + + /usr/lib32 + + + + 2018-08-16 + 1.2.1 + Rebuild 32bit. + Pisi Linux Community + admin@pisilinux.org + 2018-08-01 1.2.1