From 8320f84ba6f153021d3c99c7ac85800294e3bc93 Mon Sep 17 00:00:00 2001 From: Ricardo Crudo Date: Mon, 14 Jul 2014 14:35:52 -0300 Subject: Packages/audio: New ladspa v1.13 Signed-off-by: Ricardo Crudo Signed-off-by: Abdoulaye Walsimou Gaye --- packages/audio/audio.kconfig | 3 +++ packages/audio/audio.mk | 3 +++ packages/audio/ladspa/ladspa.kconfig | 47 ++++++++++++++++++++++++++++++++++++ packages/audio/ladspa/ladspa.mk | 37 ++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 packages/audio/ladspa/ladspa.kconfig create mode 100644 packages/audio/ladspa/ladspa.mk 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 . +# +################################################################################ +# +# \file ladspa.kconfig +# \brief ladspa.kconfig of Embtoolkit. +# \author Ricardo Crudo +# \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 . +# +################################################################################ +# +# \file ladspa.mk +# \brief ladspa.mk of Embtoolkit. +# \author Ricardo Crudo +# \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 -- cgit v1.2.3