Merge pull request #18541 from 4fury-c3440d8-2/upwork

xavs2.
This commit is contained in:
Kamil ATLI
2026-04-15 15:52:53 +03:00
committed by GitHub
3 changed files with 66 additions and 57 deletions
+22 -23
View File
@@ -2,38 +2,37 @@
# -*- coding: utf-8 -*-
#
# 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
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():
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 \
")
autotools.rawConfigure(y)
def build():
shelltools.cd("build/linux")
autotools.make()
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")
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), argument = 'install-{cli,lib-shared}')
pisitools.dodoc("../../COPYING")
Executable → Regular
+43 -33
View File
@@ -5,50 +5,60 @@
<Name>xavs2</Name>
<Homepage>https://github.com/pkuvcl/xavs2/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<License>GPLv2</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>
<BuildDependencies>
<Dependency>yasm</Dependency>
</BuildDependencies>
<Archive sha1sum="63ce05ada64a656bcd6b4a7d3b2a5b6ed36ecee6" type="targz">https://github.com/pkuvcl/xavs2/archive/1.4/xavs2-1.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>nasm</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>xavs2</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<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>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</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">
<Date>2020-01-14</Date>
<Version>1.3</Version>
<Comment>First release.</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
<Version>1.3</Version>
<Comment>First release.</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+1 -1
View File
@@ -50,7 +50,7 @@
<History>
<Update release="3">
<Date>2026-06-14</Date>
<Date>2026-04-14</Date>
<Version>5.3.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>