xavs2.
This commit is contained in:
Executable → Regular
+22
-23
@@ -2,38 +2,37 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import cmaketools
|
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
NoStrip=["/usr/lib"]
|
WorkDir = "build/linux"
|
||||||
|
|
||||||
|
y = ''.join([
|
||||||
|
' --prefix=/usr',
|
||||||
|
' --extra-ldflags="-Wl,-z,noexecstack"',
|
||||||
|
' --extra-cflags="-Wno-incompatible-pointer-types -Wno-implicit-function-declaration"',
|
||||||
|
' --chroma-format="all"',
|
||||||
|
' --enable-pic',
|
||||||
|
' --enable-shared',
|
||||||
|
# ' --disable-asm',
|
||||||
|
' --disable-avs',
|
||||||
|
' --disable-swscale',
|
||||||
|
' --disable-lavf',
|
||||||
|
' --disable-ffms',
|
||||||
|
' --disable-gpac',
|
||||||
|
' --disable-lsmash '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.cd("build/linux")
|
autotools.rawConfigure(y)
|
||||||
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():
|
def build():
|
||||||
shelltools.cd("build/linux")
|
autotools.make()
|
||||||
autotools.make()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("build/linux")
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), argument = 'install-{cli,lib-shared}')
|
||||||
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
|
||||||
pisitools.remove("/usr/lib/libxavs2.a")
|
|
||||||
shelltools.cd("../..")
|
|
||||||
pisitools.dodoc("COPYING", "README.md")
|
|
||||||
|
|
||||||
|
pisitools.dodoc("../../COPYING")
|
||||||
|
|||||||
Executable → Regular
+43
-33
@@ -5,50 +5,60 @@
|
|||||||
<Name>xavs2</Name>
|
<Name>xavs2</Name>
|
||||||
<Homepage>https://github.com/pkuvcl/xavs2/</Homepage>
|
<Homepage>https://github.com/pkuvcl/xavs2/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Mathias Freire</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>mathiasfreire45@gmail.com</Email>
|
<Email>admin@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPL</License>
|
<License>GPLv2</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Open-Source encoder of AVS2-P2/IEEE1857.4 video coding standard</Summary>
|
<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>
|
<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>
|
<Archive sha1sum="63ce05ada64a656bcd6b4a7d3b2a5b6ed36ecee6" type="targz">https://github.com/pkuvcl/xavs2/archive/1.4/xavs2-1.4.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>yasm</Dependency>
|
<Dependency>nasm</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch level="1"></Patch> -->
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>xavs2</Name>
|
<Name>xavs2</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</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>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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="2">
|
||||||
|
<Date>2026-04-14</Date>
|
||||||
|
<Version>1.4</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>İdris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="1">
|
<Update release="1">
|
||||||
<Date>2020-01-14</Date>
|
<Date>2020-01-14</Date>
|
||||||
<Version>1.3</Version>
|
<Version>1.3</Version>
|
||||||
<Comment>First release.</Comment>
|
<Comment>First release.</Comment>
|
||||||
<Name>İdris Kalp</Name>
|
<Name>İdris Kalp</Name>
|
||||||
<Email>idriskalp@gmail.com</Email>
|
<Email>idriskalp@gmail.com</Email>
|
||||||
</Update>
|
</Update>
|
||||||
</History>
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="3">
|
<Update release="3">
|
||||||
<Date>2026-06-14</Date>
|
<Date>2026-04-14</Date>
|
||||||
<Version>5.3.1</Version>
|
<Version>5.3.1</Version>
|
||||||
<Comment>Version bump.</Comment>
|
<Comment>Version bump.</Comment>
|
||||||
<Name>Mustafa Cinasal</Name>
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user