From d47f40c1b9ec133655a1fd55d3a66e2a6e7de3cb Mon Sep 17 00:00:00 2001 From: Ricardo Crudo Date: Sat, 17 May 2014 14:21:38 -0300 Subject: Packages/audio: New lilv v0.18.0 Signed-off-by: Ricardo Crudo Signed-off-by: Abdoulaye Walsimou Gaye --- packages/audio/audio.kconfig | 7 +++-- packages/audio/audio.mk | 7 +++-- packages/audio/lilv/lilv.kconfig | 59 ++++++++++++++++++++++++++++++++++++++++ packages/audio/lilv/lilv.mk | 49 +++++++++++++++++++++++++++++++++ 4 files changed, 118 insertions(+), 4 deletions(-) create mode 100644 packages/audio/lilv/lilv.kconfig create mode 100644 packages/audio/lilv/lilv.mk diff --git a/packages/audio/audio.kconfig b/packages/audio/audio.kconfig index 59b45a7..1f303aa 100644 --- a/packages/audio/audio.kconfig +++ b/packages/audio/audio.kconfig @@ -17,8 +17,8 @@ # ################################################################################ # -# \file misc.kconfig -# \brief misc.kconfig of Embtoolkit +# \file audio.kconfig +# \brief audio.kconfig of Embtoolkit # \author GAYE Abdoulaye Walsimou, # \date May 2014 ################################################################################ @@ -26,5 +26,8 @@ # libsndfile source packages/audio/libsndfile/libsndfile.kconfig +# lilv +source packages/audio/lilv/lilv.kconfig + # lv2 source packages/audio/lv2/lv2.kconfig diff --git a/packages/audio/audio.mk b/packages/audio/audio.mk index 4a40ef2..3b96a29 100644 --- a/packages/audio/audio.mk +++ b/packages/audio/audio.mk @@ -17,8 +17,8 @@ # ################################################################################ # -# \file misc.mk -# \brief misc.mk of Embtoolkit +# \file audio.mk +# \brief audio.mk of Embtoolkit # \author Abdoulaye Walsimou GAYE # \date May 2014 ################################################################################ @@ -28,5 +28,8 @@ embtk_pkgincdir := packages/audio # libsndfile $(call embtk_include_pkg,libsndfile) +# lilv +$(call embtk_include_pkg,lilv) + # lv2 $(call embtk_include_pkg,lv2) diff --git a/packages/audio/lilv/lilv.kconfig b/packages/audio/lilv/lilv.kconfig new file mode 100644 index 0000000..f3920f3 --- /dev/null +++ b/packages/audio/lilv/lilv.kconfig @@ -0,0 +1,59 @@ +################################################################################ +# 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 lilv.kconfig +# \brief lilv.kconfig of Embtoolkit. +# \author Ricardo Crudo +# \date May 2014 +################################################################################ + +config EMBTK_HAVE_LILV + bool "Have lilv" + select EMBTK_HAVE_LV2 + select EMBTK_HAVE_SERD + select EMBTK_HAVE_SORD + select EMBTK_HAVE_SRATOM + help + Lilv is a C library to make the use of LV2 plugins as simple as possible + for applications. Lilv is the successor to SLV2, rewritten to be + significantly faster and have minimal dependencies. It is stable, + well-tested software (the included test suite covers over 90% of the + code) in use by several applications. + +choice + prompt "lilv version to use" + depends on EMBTK_HAVE_LILV + help + lilv version to use + + config EMBTK_LILV_VERSION_0_18_0 + bool "lilv-0.18.0" +endchoice + +config EMBTK_LILV_USE_WAF + bool + default y + select EMBTK_HOST_HAVE_WAF + +config EMBTK_LILV_VERSION_STRING + string + default "0.18.0" if EMBTK_LILV_VERSION_0_18_0 + +config EMBTK_LILV_NEED_PATCH + bool diff --git a/packages/audio/lilv/lilv.mk b/packages/audio/lilv/lilv.mk new file mode 100644 index 0000000..549b6f2 --- /dev/null +++ b/packages/audio/lilv/lilv.mk @@ -0,0 +1,49 @@ +################################################################################ +# 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 lilv.mk +# \brief lilv.mk of Embtoolkit. +# \author Ricardo Crudo +# \date May 2014 +################################################################################ + +LILV_NAME := lilv +LILV_VERSION := $(call embtk_get_pkgversion,lilv) +LILV_SITE := http://download.drobilla.net +LILV_PACKAGE := lilv-$(LILV_VERSION).tar.bz2 +LILV_SRC_DIR := $(embtk_pkgb)/lilv-$(LILV_VERSION) +LILV_BUILD_DIR := $(embtk_pkgb)/lilv-$(LILV_VERSION) + +LILV_DEPS := lv2_install serd_install sord_install sratom_install + +LILV_BINS := lv2* lilv-bench +LILV_INCLUDES := lilv-0 +LILV_LIBS := liblilv* +LILV_PKGCONFIGS := lilv-0.pc + +LILV_CONFIGURE_OPTS := --default-lv2-path=~/.lv2 + +# FIXME: uses python2 to execute the waf due a bug with waflib and python 3.4.0 +define embtk_beforeinstall_lilv + cp $(LILV_SRC_DIR)/waf $(LILV_SRC_DIR)/waf.bak + sed -e 's;env[[:space:]]python;env python2;' \ + < $(LILV_SRC_DIR)/waf > $(LILV_SRC_DIR)/waf.new + mv $(LILV_SRC_DIR)/waf.new $(LILV_SRC_DIR)/waf + chmod +x $(LILV_SRC_DIR)/waf +endef -- cgit v1.2.3