aom add to repo

This commit is contained in:
idriskalp
2020-01-12 01:41:35 +03:00
parent ca5dd019b0
commit 21ea6ceeea
2 changed files with 86 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("mkdir build_")
shelltools.cd("build_")
shelltools.system("cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0")
def build():
shelltools.cd("build_")
cmaketools.make()
def install():
shelltools.cd("build_")
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "CHANGELOG", "README.md")
+57
View File
@@ -0,0 +1,57 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>aom</Name>
<Homepage>https://aomedia.org/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Alliance for Open Media video codec</Summary>
<Description>aom is the AOMedia video encoder for AV1, an open source and royalty-free video codec. aom can save about 30% bitrate compared to VP9 and H.265 / HEVC, and about 50% over H.264, while retaining the same visual quality.</Description>
<Archive sha1sum="e621d7ecc8da8c8ab86ce50f0b5f51b7278167e8" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/aom-20200112.tar.xz</Archive>
<BuildDependencies>
<Dependency>ninja</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>aom</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>aom-devel</Name>
<Summary>Header files for aom.</Summary>
<RuntimeDependencies>
<Dependency release="current">aom</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-12</Date>
<Version>1.0.0_20200112</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>