Merge pull request #7546 from IdrisKalp/master

various packages
This commit is contained in:
Idris Kalp
2020-01-14 18:57:49 +03:00
committed by GitHub
28 changed files with 1423 additions and 20 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/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():
autotools.autoreconf("-vfi")
autotools.configure("--enable-static='no'")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
pisitools.dodoc("COPYING", "README.md", "ChangeLog")
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libzimg</Name>
<Homepage>https://github.com/sekrit-twc/zimg</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>WTFPL</License>
<IsA>library</IsA>
<Summary>Scaling, colorspace conversion, and dithering library</Summary>
<Description>The "z" library implements the commonly required image processing basics of scaling, colorspace conversion, and depth conversion.</Description>
<Archive sha1sum="58951dca1da1a57f35216f6d84b2c0c6f4e60195" type="targz">https://github.com/sekrit-twc/zimg/archive/release-2.9.2.tar.gz</Archive>
</Source>
<Package>
<Name>libzimg</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libzimg-devel</Name>
<Summary>Header files for libzimg.</Summary>
<RuntimeDependencies>
<Dependency release="current">libzimg</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>2.9.2</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
def build():
autotools.make("PREFIX='/usr'")
shelltools.system("sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE")
shelltools.system("sed -i '1,22s/^.\{,3\}//' LICENSE")
def install():
autotools.rawInstall("PREFIX='/usr' DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE")
+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ffnvcodec</Name>
<Homepage>https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>FFmpeg version of headers required to interface with Nvidias codec APIs</Summary>
<Description>FFmpeg version of headers required to interface with Nvidias codec APIs</Description>
<Archive sha1sum="f060706fabaf83e94bf9dfaa6848048f0753eaba" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/ffnvcodec-9.1.23.1.tar.xz</Archive>
</Source>
<Package>
<Name>ffnvcodec</Name>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>9.1.23.1</Version>
<Comment>First release</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+27
View File
@@ -0,0 +1,27 @@
#!/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():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--without-portaudiocpp")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
pisitools.dodoc("LICENSE", "README.md")
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libopenmpt</Name>
<Homepage>http://lib.openmpt.org/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A cross-platform C++ and C library to decode tracked music files (modules) into a raw PCM audio stream.</Summary>
<Description>A cross-platform C++ and C library to decode tracked music files (modules) into a raw PCM audio stream.</Description>
<Archive sha1sum="edd05d565950601c2bcb11e92d7dba95dd752a4e" type="targz">https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.4.11+release.autotools.tar.gz</Archive>
<BuildDependencies>
<Dependency>flac-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>mpg123-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>portaudio-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libopenmpt</Name>
<RuntimeDependencies>
<Dependency>flac</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libogg</Dependency>
<Dependency>mpg123</Dependency>
<Dependency>libvorbis</Dependency>
<Dependency>portaudio</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>pulseaudio-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libopenmpt-devel</Name>
<Summary>Header files for libopenmpt.</Summary>
<RuntimeDependencies>
<Dependency release="current">libopenmpt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>0.4.11</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+38
View File
@@ -0,0 +1,38 @@
#!/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_EXAMPLES='OFF' \
-DBUILD_SHARED_LIBS='ON' \
-DWITH_AVFFT='OFF' \
-DWITH_LSR_BINDINGS='ON' \
-DWITH_PFFFT='ON' \
-DWITH_OPENMP='ON'")
def build():
shelltools.cd("build_")
cmaketools.make()
def install():
shelltools.cd("build_")
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "COPYING.LGPL", "LICENCE", "NEWS", "README")
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libsoxr</Name>
<Homepage>http://sourceforge.net/p/soxr/wiki/Home/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<Summary>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Summary>
<Description>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Description>
<Archive sha1sum="32ea46b1a8c0c15f835422892d02fce8286aec3c" type="tarxz">https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz</Archive>
</Source>
<Package>
<Name>libsoxr</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>libgomp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libsoxr-devel</Name>
<Summary>Header files for libsoxr.</Summary>
<RuntimeDependencies>
<Dependency release="current">libsoxr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>0.1.3</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+26
View File
@@ -0,0 +1,26 @@
#!/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():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
pisitools.dodoc("ChangeLog", "COPYING", "README*")
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>shine</Name>
<Homepage>GPL2 </Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>GPL2 </License>
<IsA>library</IsA>
<Summary>Super fast fixed-point MP3 encoder</Summary>
<Description>shine is a blazing fast mp3 encoding library implemented in fixed-point arithmetic. The library can thus be used to performe super fast mp3 encoding on architectures without a FPU, such as armel, etc</Description>
<Archive sha1sum="c1421ce3331ad91b4c1e6bd7cd7fbda41d302d18" type="targz">https://github.com/toots/shine/releases/download/3.1.1/shine-3.1.1.tar.gz</Archive>
</Source>
<Package>
<Name>shine</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>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>shine-devel</Name>
<Summary>Header files for shine.</Summary>
<RuntimeDependencies>
<Dependency release="current">shine</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>3.1.1</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+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")
def build():
shelltools.cd("build_")
cmaketools.make()
def install():
shelltools.cd("build_")
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("..")
pisitools.dodoc("Changelog", "LICENSE", "README*")
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>vid.stab</Name>
<Homepage>http://www.rowetel.com/?page_id=452</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<Summary>Video stabilization library</Summary>
<Description>Video stabilization library</Description>
<Archive sha1sum="b3743fbaa1603422fb5a34026058aa07a255c83c" type="targz">https://github.com/georgmartius/vid.stab/archive/v1.1.0.tar.gz</Archive>
</Source>
<Package>
<Name>vid.stab</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>libgomp</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>vid.stab-devel</Name>
<Summary>Header files for vid.stab.</Summary>
<RuntimeDependencies>
<Dependency release="current">vid.stab</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.1.0</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
NoStrip=["/usr/lib"]
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s INSTALL_PREFIX=/usr" % get.installDIR())
pisitools.insinto("/usr/bin", "wrapper/vmafossexec")
pisitools.dodoc("CHANGELOG.md", "LICENSE", "NOTICE.md", "FAQ.md", "README.md")
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>vmaf</Name>
<Homepage>https://github.com/netflix/vmaf/</Homepage>
<Packager>
<Name>Idris KALP</Name>
<Email>idriskalp@gmail.com</Email>
</Packager>
<License>Apache</License>
<IsA>library</IsA>
<Summary>Perceptual video quality assessment algorithm based on multi-method fusion</Summary>
<Description>VMAF is a perceptual video quality assessment algorithm developed by Netflix. VMAF Development Kit (VDK) is a software package that contains the VMAF algorithm implementation, as well as a set of tools that allows a user to train and test a custom VMAF model.</Description>
<Archive sha1sum="c050ada8ec285c56d4d40e16f03e451787c0999e" type="targz">https://github.com/Netflix/vmaf/archive/v1.3.15.tar.gz</Archive>
</Source>
<Package>
<Name>vmaf</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>vmaf-devel</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-10-27</Date>
<Version>1.3.15</Version>
<Comment>First Release</Comment>
<Name>Idris KALP</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i -e 's|$(CC) -o $@ $(OBJCLI) $(LDFLAGS) -L. -lxavs|$(CC) -o $@ $(OBJCLI) -L. -lxavs $(LDFLAGS)|' Makefile")
shelltools.system("sed -i -e 's|xavs$(EXE): $(OBJCLI) $(SONAME)|xavs$(EXE): $(OBJCLI) $(SONAME) libxavs.a|' Makefile")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
@@ -0,0 +1,12 @@
--- xavs-0.1.55/configure~ 2011-11-24 10:42:06.000000000 +0100
+++ xavs-0.1.55/configure 2011-11-24 11:49:04.908528371 +0100
@@ -404,8 +404,7 @@ if [ "$pic" = "yes" ] ; then
fi
if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
- CFLAGS="$CFLAGS -s -fomit-frame-pointer"
- LDFLAGS="$LDFLAGS -s"
+ CFLAGS="$CFLAGS -fomit-frame-pointer"
fi
if [ "$debug" = "yes" ]; then
@@ -0,0 +1,38 @@
From 8300fbf4918bca2af1af2aee6a337815e90b51e1 Mon Sep 17 00:00:00 2001
From: Greg Nietsky <gregory@distrotech.co.za>
Date: Thu, 21 Nov 2013 12:11:32 +0200
Subject: [PATCH] Remove duplicate deffinitions
---
common/i386/cpu-a.asm | 1 -
common/i386/deblock_inter.asm | 2 --
2 files changed, 3 deletions(-)
diff --git a/common/i386/cpu-a.asm b/common/i386/cpu-a.asm
index ad883cf..cf6a4eb 100644
--- a/common/i386/cpu-a.asm
+++ b/common/i386/cpu-a.asm
@@ -37,7 +37,6 @@ SECTION .text
cglobal xavs_cpu_cpuid_test
cglobal xavs_cpu_cpuid
-cglobal xavs_emms
ALIGN 16
;-----------------------------------------------------------------------------
diff --git a/common/i386/deblock_inter.asm b/common/i386/deblock_inter.asm
index d6d7208..84e96f6 100644
--- a/common/i386/deblock_inter.asm
+++ b/common/i386/deblock_inter.asm
@@ -9,8 +9,6 @@ dw_4: times 8 dw 4
SECTION .text
-cglobal xavs_deblock_v_chroma_mmxext
-cglobal xavs_deblock_h_chroma_mmxext
; out: %4 = |%1-%2|>%3
--
2.6.2
@@ -0,0 +1,13 @@
--- xavs/Makefile.orig 2011-07-01 20:23:47.000000000 +0200
+++ xavs/Makefile 2011-07-01 21:16:09.407118004 +0200
@@ -59,8 +59,8 @@
$(SONAME): .depend $(OBJS) $(OBJASM)
$(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SOFLAGS) $(LDFLAGS)
-xavs$(EXE): $(OBJCLI) libxavs.a
- $(CC) -o $@ $+ $(LDFLAGS)
+xavs$(EXE): $(OBJCLI) $(SONAME)
+ $(CC) -o $@ $(OBJCLI) $(LDFLAGS) -L. -lxavs
xavsvfw.dll: libxavs.a $(wildcard vfw/*.c vfw/*.h)
make -C vfw/build/cygwin
@@ -0,0 +1,46 @@
From 358587b8a881bca4d933b7a1dd9471322b9f4bd7 Mon Sep 17 00:00:00 2001
From: Greg Nietsky <gregory@distrotech.co.za>
Date: Thu, 21 Nov 2013 12:05:25 +0200
Subject: [PATCH 1/2] Add support for x32 yasm
---
configure | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 2026833..e7c1ce3 100755
--- a/configure
+++ b/configure
@@ -155,6 +155,7 @@ host_cpu="${host%%-*}"
host="${host#*-}"
host_vendor="${host%%-*}"
host_os="${host#*-}"
+host_ver="${host_os#*-}"
case $host_os in
beos*)
@@ -191,6 +192,9 @@ case $host_os in
SYS="LINUX"
CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
LDFLAGS="$LDFLAGS -lm"
+ if [ "${host_ver}" == "gnux32" ];then
+ ABI="X32";
+ fi;
;;
cygwin*)
SYS="MINGW"
@@ -242,8 +246,10 @@ case $host_cpu in
LDFLAGS="$LDFLAGS -arch x86_64"
elif [ "$SYS" = MINGW ]; then
ASFLAGS="$ASFLAGS -f win32 -m amd64 -DPREFIX"
+ elif [ "$ABI" = X32 ]; then
+ ASFLAGS="$ASFLAGS -f elfx32 -m amd64"
else
- ASFLAGS="$ASFLAGS -f elf -m amd64"
+ ASFLAGS="$ASFLAGS -f elf64 -m amd64"
fi
;;
powerpc|powerpc64)
--
2.6.2
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xavs</Name>
<Homepage>http://xavs.sourceforge.net/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<Summary>XAVS is to implement high quality encoder and decoder of the Audio Video Standard of China (AVS).</Summary>
<Description>XAVS is to implement high quality encoder and decoder of the Audio Video Standard of China (AVS).</Description>
<Archive sha1sum="e5f71203a632ac2a97f67e86f77b00910853cd60" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/xavs-0.1.55.tar.xz</Archive>
<Patches>
<Patch level="1">xavs-dynamic-xavs.patch</Patch>
<Patch level="1">xavs-0.1.55-dont-strip-symbols.patch</Patch>
<Patch level="1">xavs-dup-asm.patch</Patch>
<Patch level="1">xavs-x32-yasm.patch</Patch>
</Patches>
</Source>
<Package>
<Name>xavs</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>xavs-devel</Name>
<Summary>Header files for xavs.</Summary>
<RuntimeDependencies>
<Dependency release="current">xavs</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>0.1.55</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>
+39
View File
@@ -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")
+54
View File
@@ -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>