diff --git a/multimedia/misc/libopusenc/actions.py b/multimedia/misc/libopusenc/actions.py new file mode 100644 index 0000000000..02dffabf4e --- /dev/null +++ b/multimedia/misc/libopusenc/actions.py @@ -0,0 +1,34 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 2 +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + options = "--disable-static" + + if get.buildTYPE() == "_emul32": + options += \ + "\ + --libdir=/usr/lib32 \ + " + shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") + + autotools.configure(options) + + # fix unused direct dependency analysis + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + if get.buildTYPE() != "_emul32": + pisitools.dodoc("AUTHORS", "COPYING", "README.md") \ No newline at end of file diff --git a/multimedia/misc/libopusenc/pspec.xml b/multimedia/misc/libopusenc/pspec.xml new file mode 100644 index 0000000000..4fc9469996 --- /dev/null +++ b/multimedia/misc/libopusenc/pspec.xml @@ -0,0 +1,82 @@ + + + + + libopusenc + http://www.opus-codec.org/ + + fury + wascheme@tuta.io + + multimedia.misc + BSD + library + Library for encoding .opus audio files and live streams. + The libopusenc libraries provide a high-level API for encoding .opus files. libopusenc depends only on libopus. + https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz + + libopus-devel + libopus-32bit + doxygen + + + + + libopusenc + Library for encoding .opus audio files and live streams. + + libopus + + + /usr/lib + /usr/share + + + + + libopusenc-devel + Development files for libopusenc + + libopusenc + + + /usr/lib32/pkgconfig + /usr/lib/pkgconfig + /usr/include + + + + + libopusenc-docs + document files for libopusenc + + libopusenc + + + /usr/share/doc/ + + + + + libopusenc-32bit + emul32 + 32-bit shared libraries for libopusenc + emul32 + + libopusenc + + + /usr/lib32 + + + + + + 2019-06-24 + 0.2.1 + First build. + wascheme@tuta.io + fury + + + \ No newline at end of file diff --git a/multimedia/misc/libopusenc/translations.xml b/multimedia/misc/libopusenc/translations.xml new file mode 100644 index 0000000000..b1d08bd427 --- /dev/null +++ b/multimedia/misc/libopusenc/translations.xml @@ -0,0 +1,26 @@ + + + + libopusenc + Opus biçemindeki ses ve canlı yayınları kodlayabilmek için kitaplık. + libopusenc, Opus biçemindeki ses ve canlı yayınları kodlayabilmek için kitaplık sunar. + + + + libopusenc-docs + libopusenc için belgelendirme dosyaları + libopusenc-docs, libopusenc için belgelendirme dosyalarını içerir. + + + + libopusenc-devel + libopusenc için geliştirme dosyaları + libopusenc-devel, libopusenc için geliştirme dosyalarını içerir. + + + + libopusenc-32bit + libopusenc için 32-bit paylaşımlı kitaplıklar + libopusenc-32bit, libopusenc için 32-bit paylaşımlı kitaplıklar sunar. + + \ No newline at end of file