diff --git a/multimedia/plugin/component.xml b/multimedia/plugin/component.xml new file mode 100644 index 0000000000..d7d964b198 --- /dev/null +++ b/multimedia/plugin/component.xml @@ -0,0 +1,3 @@ + + multimedia.plugin + diff --git a/multimedia/plugin/ladspa-sdk/actions.py b/multimedia/plugin/ladspa-sdk/actions.py new file mode 100644 index 0000000000..bb8e52c489 --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/actions.py @@ -0,0 +1,31 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/old-licenses/gpl-3.0.txt + + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +WorkDir = "ladspa_sdk/src" + +def setup(): + pisitools.dosed("makefile", "-Werror", get.CFLAGS()) + +def build(): + autotools.make('CC="%s" \ + CXX="%s" \ + LD="%s" \ + targets' % (get.CC(), get.CXX(), get.LD())) + +def install(): + autotools.install('INSTALL_PLUGINS_DIR="/usr/lib/ladspa" \ + MKDIR_P="mkdir -p" \ + DESTDIR="%s"' % get.installDIR()) + + shelltools.cd("..") + pisitools.dohtml("doc/*.html") + pisitools.dodoc("doc/COPYING","doc/ladspa.h.txt") diff --git a/multimedia/plugin/ladspa-sdk/files/60ladspa b/multimedia/plugin/ladspa-sdk/files/60ladspa new file mode 100644 index 0000000000..c21178e98d --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/files/60ladspa @@ -0,0 +1 @@ +LADSPA_PATH=/usr/lib/ladspa diff --git a/multimedia/plugin/ladspa-sdk/files/asneeded.patch b/multimedia/plugin/ladspa-sdk/files/asneeded.patch new file mode 100644 index 0000000000..443505f487 --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/files/asneeded.patch @@ -0,0 +1,13 @@ +Index: makefile +=================================================================== +--- makefile.orig ++++ makefile +@@ -38,7 +38,7 @@ MKDIR_P = mkdirhier + + ../plugins/%.so: plugins/%.c ladspa.h + $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c +- $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared ++ $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared -lm + + ../plugins/%.so: plugins/%.cpp ladspa.h + $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp diff --git a/multimedia/plugin/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch b/multimedia/plugin/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch new file mode 100644 index 0000000000..d0808be917 --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch @@ -0,0 +1,17 @@ +--- plugins/sine.cpp ++++ plugins/sine.cpp +@@ -59,6 +59,15 @@ + + /*****************************************************************************/ + ++LADSPA_Handle instantiateSineOscillator(const LADSPA_Descriptor *, unsigned long SampleRate); ++void connectPortToSineOscillator(LADSPA_Handle Instance, unsigned long Port, LADSPA_Data * DataLocation); ++void activateSineOscillator(void * pvHandle); ++void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount); ++void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount); ++void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount); ++void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount); ++void cleanupSineOscillator(void *pvHandle); ++ + class SineOscillator { + private: diff --git a/multimedia/plugin/ladspa-sdk/files/notests.patch b/multimedia/plugin/ladspa-sdk/files/notests.patch new file mode 100644 index 0000000000..ee66ea7927 --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/files/notests.patch @@ -0,0 +1,18 @@ +diff -Nur ladspa_sdk-old/src/makefile ladspa_sdk/src/makefile +--- ladspa_sdk-old/src/makefile 2009-04-25 01:57:34.000000000 +0300 ++++ ladspa_sdk/src/makefile 2009-04-25 01:58:09.000000000 +0300 +@@ -57,12 +57,12 @@ + @echo --------------------------------------------- + @echo First listen to the white noise input signal: + @echo --------------------------------------------- +- -sndfile-play ../snd/noise.wav ++ @echo Disabled -sndfile-play ../snd/noise.wav + @echo ------------------------- + @echo Compare to plugin output. + @echo ------------------------- + @echo Should be a noise band around 6000Hz, repeated quietly after 1s. +- -sndfile-play /tmp/test.wav ++ @echo Disabled -sndfile-play /tmp/test.wav + @echo Test complete. + + install: targets diff --git a/multimedia/plugin/ladspa-sdk/files/properbuild.patch b/multimedia/plugin/ladspa-sdk/files/properbuild.patch new file mode 100644 index 0000000000..948ebf999b --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/files/properbuild.patch @@ -0,0 +1,91 @@ +diff -Nur ladspa_sdk-old/src/makefile ladspa_sdk/src/makefile +--- ladspa_sdk-old/src/makefile 2008-04-04 20:13:49.000000000 +0300 ++++ ladspa_sdk/src/makefile 2008-04-04 20:14:03.000000000 +0300 +@@ -13,10 +13,12 @@ + # GENERAL + # + ++CFLAGS = -Wall -Werror -O3 ++CXXFLAGS = -Wall -Werror -O3 ++ + INCLUDES = -I. +-LIBRARIES = -ldl -lm +-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC +-CXXFLAGS = $(CFLAGS) ++DYNAMIC_LD_LIBS = -ldl ++LIBRARIES = $(DYNAMIC_LD_LIBS) -lm + PLUGINS = ../plugins/amp.so \ + ../plugins/delay.so \ + ../plugins/filter.so \ +@@ -26,7 +28,8 @@ + ../bin/applyplugin \ + ../bin/listplugins + CC = cc +-CPP = c++ ++CXX = c++ ++MKDIR_P = mkdirhier + + ############################################################################### + # +@@ -34,12 +37,12 @@ + # + + ../plugins/%.so: plugins/%.c ladspa.h +- $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c +- $(LD) -o ../plugins/$*.so plugins/$*.o -shared ++ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c ++ $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared + + ../plugins/%.so: plugins/%.cpp ladspa.h +- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp +- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared ++ $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp ++ $(CXX) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared + + ############################################################################### + # +@@ -59,12 +62,12 @@ + @echo Test complete. + + install: targets +- -mkdirhier $(INSTALL_PLUGINS_DIR) +- -mkdirhier $(INSTALL_INCLUDE_DIR) +- -mkdirhier $(INSTALL_BINARY_DIR) +- cp ../plugins/* $(INSTALL_PLUGINS_DIR) +- cp ladspa.h $(INSTALL_INCLUDE_DIR) +- cp ../bin/* $(INSTALL_BINARY_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_PLUGINS_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_INCLUDE_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_BINARY_DIR) ++ cp ../plugins/* $(DESTDIR)$(INSTALL_PLUGINS_DIR) ++ cp ladspa.h $(DESTDIR)$(INSTALL_INCLUDE_DIR) ++ cp ../bin/* $(DESTDIR)$(INSTALL_BINARY_DIR) + + /tmp/test.wav: targets ../snd/noise.wav + ../bin/listplugins +@@ -90,19 +93,19 @@ + # + + ../bin/applyplugin: applyplugin.o load.o default.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/applyplugin \ +- applyplugin.o load.o default.o ++ applyplugin.o load.o default.o $(LIBRARIES) + + ../bin/analyseplugin: analyseplugin.o load.o default.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/analyseplugin \ +- analyseplugin.o load.o default.o ++ analyseplugin.o load.o default.o $(LIBRARIES) + + ../bin/listplugins: listplugins.o search.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/listplugins \ +- listplugins.o search.o ++ listplugins.o search.o $(LIBRARIES) + + ############################################################################### + # diff --git a/multimedia/plugin/ladspa-sdk/pspec.xml b/multimedia/plugin/ladspa-sdk/pspec.xml new file mode 100644 index 0000000000..3f5111110a --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/pspec.xml @@ -0,0 +1,72 @@ + + + + + ladspa-sdk + http://www.ladspa.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + The Linux Audio Developer's Simple Plugin API + The Linux Audio Developer's Simple Plugin API (LADSPA) attempts to give programmers the ability to write simple `plugin' audio processors in C/C++ and link them dynamically against a range of host applications + http://pkgs.fedoraproject.org/repo/pkgs/ladspa/ladspa_sdk_1.13.tgz/671be3e1021d0722cadc7fb27054628e/ladspa_sdk_1.13.tgz + + ladspa-sdk-1.12-gcc4.patch + properbuild.patch + asneeded.patch + notests.patch + + + + + ladspa-sdk + + /usr/bin + /usr/lib + /etc + /usr/share/doc/ladspa-sdk + + + 60ladspa + + + + + ladspa-sdk-devel + Development files for ladspa-sdk + + ladspa-sdk + + + /usr/include + /usr/share/doc/ladspa-sdk/html + + + + + + 2014-05-25 + 1.13 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2014-01-29 + 1.13 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2010-10-12 + 1.13 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/multimedia/plugin/ladspa-sdk/translations.xml b/multimedia/plugin/ladspa-sdk/translations.xml new file mode 100644 index 0000000000..525c0ac58d --- /dev/null +++ b/multimedia/plugin/ladspa-sdk/translations.xml @@ -0,0 +1,15 @@ + + + + ladspa-sdk + Ses geliştiricisinin temel eklenti kütüphanesi + ladspa, Linux üzerinde ses uygulamaları geliştiren programcıların temel ses işleme eklentileri geliştirmelerini ve bu eklentileri bir seri ses uygulaması ile birlikte kullanabilmelerini sağlar. + La Linux Audio Developer's Simple Plugin API (LADSPA - L'API de plugin (greffon) simple pour développeurs linux audio) tente de donner aux programmeurs la possibilité d'écrire en C/C++ des processeurs audio simples sous forme de plugin' et les lier dynamiquement à différentes applications hôte. + El Linux Audio Developer's Simple Plugin API (LADSPA) intenta facilitar a programadores la tarea de escribir procesadores simples de audio en C/C++ y enlazarlos dinámicamente con una gama de aplicaciones host. + + + + ladspa-sdk-devel + ladspa-sdk için geliştirme dosyaları + + diff --git a/multimedia/plugin/libchromaprint/actions.py b/multimedia/plugin/libchromaprint/actions.py new file mode 100644 index 0000000000..bccf7c0323 --- /dev/null +++ b/multimedia/plugin/libchromaprint/actions.py @@ -0,0 +1,20 @@ +#!/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 cmaketools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools + +def setup(): + cmaketools.configure("-DCMAKE_BUILD_TYPE=release", installPrefix="/usr") + +def build(): + cmaketools.make() + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("*txt") + \ No newline at end of file diff --git a/multimedia/plugin/libchromaprint/pspec.xml b/multimedia/plugin/libchromaprint/pspec.xml new file mode 100644 index 0000000000..99a4788f77 --- /dev/null +++ b/multimedia/plugin/libchromaprint/pspec.xml @@ -0,0 +1,82 @@ + + + + + libchromaprint + http://acoustid.org/chromaprint + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + multimedia.plugin + app:console + Chromaprint is the core component of the Acoustid project. + Chromaprint is the core component of the Acoustid project. It's a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. + https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.2.tar.gz + + ffmpeg-devel + + + + + libchromaprint + + ffmpeg + + + /usr/share + /usr/lib + + + + + libchromaprint-devel + libchromaprint için geliştirme dosyaları + + libchromaprint + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-12-18 + 1.2 + Version bump + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-05-25 + 1.1 + Rebuild. + Alihan Öztürk + alihan@pisilinux.org + + + 2013-11-25 + 1.1 + Version Bump + PisiLinux Community + admins@pisilinux.org + + + 2013-07-28 + 0.7 + Move pc files to devel pack, rebuild + PisiLinux Community + admins@pisilinux.org + + + 2012-12-17 + 0.7 + First release + Marcin Bojara + marcin@pisilinux.org + + + \ No newline at end of file diff --git a/multimedia/plugin/libchromaprint/translations.xml b/multimedia/plugin/libchromaprint/translations.xml new file mode 100644 index 0000000000..6635dcfeec --- /dev/null +++ b/multimedia/plugin/libchromaprint/translations.xml @@ -0,0 +1,13 @@ + + + + libchromaprint + Chromaprint is the core component of the Acoustid project. + Chromaprint is the core component of the Acoustid project. It's a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. + + + + libchromaprint-devel + libchromaprint için geliştirme dosyaları + +