xavs2 add to repo
This commit is contained in:
Executable
+39
@@ -0,0 +1,39 @@
|
||||
#!/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
|
||||
|
||||
NoStrip=["/usr/lib"]
|
||||
|
||||
def setup():
|
||||
shelltools.cd("build/linux")
|
||||
autotools.rawConfigure("--prefix=/usr \
|
||||
--extra-ldflags='-Wl,-z,noexecstack' \
|
||||
--chroma-format='all' \
|
||||
--enable-shared \
|
||||
--enable-lto \
|
||||
--enable-pic \
|
||||
--disable-swscale \
|
||||
--disable-lavf \
|
||||
--disable-ffms \
|
||||
--disable-gpac \
|
||||
")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build/linux")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build/linux")
|
||||
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||
pisitools.remove("/usr/lib/libxavs2.a")
|
||||
shelltools.cd("../..")
|
||||
pisitools.dodoc("COPYING", "README.md")
|
||||
|
||||
Executable
+54
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xavs2</Name>
|
||||
<Homepage>https://github.com/pkuvcl/xavs2/</Homepage>
|
||||
<Packager>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPL</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Open-Source encoder of AVS2-P2/IEEE1857.4 video coding standard</Summary>
|
||||
<Description>Open-Source encoder of AVS2-P2/IEEE1857.4 video coding standard</Description>
|
||||
<Archive sha1sum="4e128fc1851fccdc0abae677ff48cefb0664b040" type="targz">https://github.com/pkuvcl/xavs2/archive/1.3.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xavs2</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>xavs2-devel</Name>
|
||||
<Summary>Header files for xavs2.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">xavs2</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-14</Date>
|
||||
<Version>1.3</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user