Merge pull request #12085 from suvari/master
new package: zita-convolver
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
|
|
||||||
|
WorkDir = "zita-convolver-%s" % get.srcVERSION()
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.system("sed -e '/native/d; s/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' -i source/Makefile")
|
||||||
|
# autotools.configure()
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make("-C source")
|
||||||
|
|
||||||
|
#def check():
|
||||||
|
#autotools.make("check")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("-C source DESTDIR=%s PREFIX=/usr LIBDIR=/usr/lib" % get.installDIR())
|
||||||
|
pisitools.dodoc("COPYING", "README")
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
diff -urN zita-convolver-4.0.3.orig/source/Makefile zita-convolver-4.0.3/source/Makefile
|
||||||
|
--- zita-convolver-4.0.3.orig/source/Makefile 2018-08-26 16:35:37.000000000 +0300
|
||||||
|
+++ zita-convolver-4.0.3/source/Makefile 2019-04-13 22:32:29.558347119 +0300
|
||||||
|
@@ -33,8 +33,7 @@
|
||||||
|
|
||||||
|
CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
|
||||||
|
CPPFLAGS += -DENABLE_VECTOR_MODE
|
||||||
|
-CXXFLAGS += -fPIC -Wall -ffast-math -funroll-loops -O2
|
||||||
|
-CXXFLAGS += -march=native
|
||||||
|
+CXXFLAGS += -fPIC -Wall -ffast-math -funroll-loops
|
||||||
|
LDLFAGS +=
|
||||||
|
LDLIBS +=
|
||||||
|
|
||||||
|
@@ -56,8 +55,8 @@
|
||||||
|
install -d $(DESTDIR)$(LIBDIR)
|
||||||
|
install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(INCDIR)
|
||||||
|
install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)
|
||||||
|
- ldconfig
|
||||||
|
ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_SO)
|
||||||
|
+ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_MAJ)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(DESTDIR)$(INCDIR)/$(ZITA-CONVOLVER_H)
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>zita-convolver</Name>
|
||||||
|
<Homepage>https://github.com/jiixyj/zita-convolver</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPL3</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Icon>zita-convolver</Icon>
|
||||||
|
<Summary>A fast, partitioned convolution engine library.</Summary>
|
||||||
|
<Description>A fast, partitioned convolution engine library.</Description>
|
||||||
|
<Archive sha1sum="1ff8014d8cdc6f95ca1ca5529d82fc7ac08a69b0" type="tarbz2">https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-4.0.3.tar.bz2</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>fftw3-devel</Dependency>
|
||||||
|
<Dependency>glibc-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch>gentoo/zita-convolver-4.0.3-makefile.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>zita-convolver</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>fftw3</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libzita-convolver.so*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>zita-convolver-devel</Name>
|
||||||
|
<Summary>Development files for zita-convolver</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">zita-convolver</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2023-06-25</Date>
|
||||||
|
<Version>4.0.3</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>zita-convolver</Name>
|
||||||
|
<Summary xml:lang="tr">Hızlı, bölümlenmiş evrişim motoru kitaplığı.</Summary>
|
||||||
|
<Description xml:lang="tr">Hızlı, bölümlenmiş evrişim motoru kitaplığı.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user