summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-07-14 14:35:52 -0300
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-14 23:13:35 +0200
commit8320f84ba6f153021d3c99c7ac85800294e3bc93 (patch)
treeeb6fb0e08cf79c38cd65033e067c24a6f8b09740 /packages
parent37f226c5b502c32f9427c763c012589eadb2cdb4 (diff)
downloadembtoolkit-8320f84ba6f153021d3c99c7ac85800294e3bc93.tar.gz
embtoolkit-8320f84ba6f153021d3c99c7ac85800294e3bc93.tar.bz2
embtoolkit-8320f84ba6f153021d3c99c7ac85800294e3bc93.tar.xz
Packages/audio: New ladspa v1.13
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com> Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/audio/audio.kconfig3
-rw-r--r--packages/audio/audio.mk3
-rw-r--r--packages/audio/ladspa/ladspa.kconfig47
-rw-r--r--packages/audio/ladspa/ladspa.mk37
4 files changed, 90 insertions, 0 deletions
diff --git a/packages/audio/audio.kconfig b/packages/audio/audio.kconfig
index 1f303aa..a093e1a 100644
--- a/packages/audio/audio.kconfig
+++ b/packages/audio/audio.kconfig
@@ -23,6 +23,9 @@
# \date May 2014
################################################################################
+# ladspa
+source packages/audio/ladspa/ladspa.kconfig
+
# libsndfile
source packages/audio/libsndfile/libsndfile.kconfig
diff --git a/packages/audio/audio.mk b/packages/audio/audio.mk
index 3b96a29..953c756 100644
--- a/packages/audio/audio.mk
+++ b/packages/audio/audio.mk
@@ -25,6 +25,9 @@
embtk_pkgincdir := packages/audio
+# ladspa
+$(call embtk_include_pkg,ladspa)
+
# libsndfile
$(call embtk_include_pkg,libsndfile)
diff --git a/packages/audio/ladspa/ladspa.kconfig b/packages/audio/ladspa/ladspa.kconfig
new file mode 100644
index 0000000..7229016
--- /dev/null
+++ b/packages/audio/ladspa/ladspa.kconfig
@@ -0,0 +1,47 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2010-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file ladspa.kconfig
+# \brief ladspa.kconfig of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Jul 2014
+################################################################################
+
+config EMBTK_HAVE_LADSPA
+ bool "Have ladspa"
+ help
+ LADSPA is a standard that allows software audio processors and effects
+ to be plugged into a wide range of audio synthesis and recording packages.
+
+choice
+ prompt "ladspa version to use"
+ depends on EMBTK_HAVE_LADSPA
+ help
+ ladspa version to use
+
+ config EMBTK_LADSPA_VERSION_1_13
+ bool "ladspa-1.13"
+endchoice
+
+config EMBTK_LADSPA_VERSION_STRING
+ string
+ default "1.13" if EMBTK_LADSPA_VERSION_1_13
+
+config EMBTK_LADSPA_NEED_PATCH
+ bool
diff --git a/packages/audio/ladspa/ladspa.mk b/packages/audio/ladspa/ladspa.mk
new file mode 100644
index 0000000..2a459cb
--- /dev/null
+++ b/packages/audio/ladspa/ladspa.mk
@@ -0,0 +1,37 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file ladspa.mk
+# \brief ladspa.mk of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Jul 2014
+################################################################################
+
+LADSPA_NAME := ladspa
+LADSPA_VERSION := $(call embtk_get_pkgversion,ladspa)
+LADSPA_SITE := http://www.ladspa.org/download
+LADSPA_PACKAGE := ladspa_sdk_$(LADSPA_VERSION).tgz
+LADSPA_SRC_DIR := $(embtk_pkgb)/ladspa_sdk
+LADSPA_BUILD_DIR := $(embtk_pkgb)/ladspa_sdk
+
+LADSPA_INCLUDES := ladspa.h
+
+define embtk_install_ladspa
+ cp $(LADSPA_BUILD_DIR)/src/ladspa.h $(embtk_sysroot)/usr/include
+endef