diff --git a/multimedia/sound/zita-convolver/actions.py b/multimedia/sound/zita-convolver/actions.py new file mode 100644 index 0000000000..05d2e4e335 --- /dev/null +++ b/multimedia/sound/zita-convolver/actions.py @@ -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") diff --git a/multimedia/sound/zita-convolver/files/gentoo/zita-convolver-4.0.3-makefile.patch b/multimedia/sound/zita-convolver/files/gentoo/zita-convolver-4.0.3-makefile.patch new file mode 100644 index 0000000000..625fa5554e --- /dev/null +++ b/multimedia/sound/zita-convolver/files/gentoo/zita-convolver-4.0.3-makefile.patch @@ -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) diff --git a/multimedia/sound/zita-convolver/pspec.xml b/multimedia/sound/zita-convolver/pspec.xml new file mode 100644 index 0000000000..73fbc5e0d6 --- /dev/null +++ b/multimedia/sound/zita-convolver/pspec.xml @@ -0,0 +1,59 @@ + + + + + zita-convolver + https://github.com/jiixyj/zita-convolver + + Mustafa Cinasal + muscnsl@gmail.com + + GPL3 + library + zita-convolver + A fast, partitioned convolution engine library. + A fast, partitioned convolution engine library. + https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-4.0.3.tar.bz2 + + fftw3-devel + glibc-devel + + + gentoo/zita-convolver-4.0.3-makefile.patch + + + + + zita-convolver + + fftw3 + libgcc + + + /usr/lib/libzita-convolver.so* + /usr/share/doc + + + + + zita-convolver-devel + Development files for zita-convolver + + zita-convolver + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2023-06-25 + 4.0.3 + First release + Kamil Atlı + suvari@pisilinux.org + + + diff --git a/multimedia/sound/zita-convolver/translations.xml b/multimedia/sound/zita-convolver/translations.xml new file mode 100644 index 0000000000..fb4078d16d --- /dev/null +++ b/multimedia/sound/zita-convolver/translations.xml @@ -0,0 +1,8 @@ + + + + zita-convolver + Hızlı, bölümlenmiş evrişim motoru kitaplığı. + Hızlı, bölümlenmiş evrişim motoru kitaplığı. + +