libopusenc:moved from contrib
This commit is contained in:
@@ -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")
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libopusenc</Name>
|
||||
<Homepage>http://www.opus-codec.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Packager>
|
||||
<PartOf>multimedia.misc</PartOf>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for encoding .opus audio files and live streams.</Summary>
|
||||
<Description>The libopusenc libraries provide a high-level API for encoding .opus files. libopusenc depends only on libopus.</Description>
|
||||
<Archive sha1sum="0f107876925141fe1a8840f4d602d5b0771be105" type="targz">https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>libopus-32bit</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc</Name>
|
||||
<Summary>Library for encoding .opus audio files and live streams.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libopus</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-devel</Name>
|
||||
<Summary>Development files for libopusenc</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libopusenc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-docs</Name>
|
||||
<Summary>document files for libopusenc</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libopusenc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libopusenc</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libopusenc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-06-24</Date>
|
||||
<Version>0.2.1</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
<Name>fury</Name>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libopusenc</Name>
|
||||
<Summary xml:lang="tr">Opus biçemindeki ses ve canlı yayınları kodlayabilmek için kitaplık.</Summary>
|
||||
<Description xml:lang="tr">libopusenc, Opus biçemindeki ses ve canlı yayınları kodlayabilmek için kitaplık sunar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-docs</Name>
|
||||
<Summary xml:lang="tr">libopusenc için belgelendirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">libopusenc-docs, libopusenc için belgelendirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-devel</Name>
|
||||
<Summary xml:lang="tr">libopusenc için geliştirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">libopusenc-devel, libopusenc için geliştirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libopusenc-32bit</Name>
|
||||
<Summary xml:lang="tr">libopusenc için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
<Description xml:lang="tr">libopusenc-32bit, libopusenc için 32-bit paylaşımlı kitaplıklar sunar.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user