Skip to contentSkip to conversation

package/libasplib: bump version

PATCH New Bernd Kuhls 2 participants 3 messages Jan 1, 2017 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/libasplib: bump version

libasplib now contains modules, we enable only those for the moment which do not need external dependencies. We are not in a hurry to fully support all features of this package because the upcoming Kodi release 17.x-Krypton will not carry any ADSP add-ons:
https://github.com/xbmc/repo-binary-addons/commit/db3b767309df25daae4f01f01dba85ca7b3464b0

-DASPLIB_MODULES_TO_BUILD=some looks hackish because the default is to enable all modules:
https://github.com/AchimTuran/asplib/blob/master/CMakeLists.txt#L35

But -DASPLIB_MODULES_TO_BUILD=OFF does not disable the build of all modules as well because of
https://github.com/AchimTuran/asplib/blob/master/asplib_modules/CMakeLists.txt#L19
so I added "some" as fake value.

---
 package/libasplib/libasplib.hash |  2 +-
 package/libasplib/libasplib.mk   | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
package/libasplib/libasplib.hash +1 -1
index bbd027dda..76534e528 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 ccc2718c79a8d684317cc1987ede88b198e1602df47d0f18f03d474eda00af9c libasplib-f7219142e790a329b002a94f3db943abcb183739.tar.gz
+sha256 68e117348fa17592dde7672477e927119a0e477103ced1d3a57d92e30880a147  libasplib-be7fac89218a84b75f7598e3d76625ece99296f2.tar.gz
package/libasplib/libasplib.mk +9 -1
index 41aeaeb8a..038fc389e 100644
@@ -4,10 +4,18 @@
 #
 ################################################################################
 
-LIBASPLIB_VERSION = f7219142e790a329b002a94f3db943abcb183739
+LIBASPLIB_VERSION = be7fac89218a84b75f7598e3d76625ece99296f2
 LIBASPLIB_SITE = $(call github,AchimTuran,asplib,$(LIBASPLIB_VERSION))
 LIBASPLIB_LICENSE = GPLv3+
 LIBASPLIB_LICENSE_FILES = LICENSE
 LIBASPLIB_INSTALL_STAGING = YES
 
+LIBASPLIB_CONF_OPTS = \
+	-DASPLIB_MODULES_TO_BUILD=some \
+	-DBUILD_BIQUAD=ON \
+	-DBUILD_IIR=ON \
+	-DBUILD_LOGGER=ON \
+	-DBUILD_SIGNALS=ON \
+	-DBUILD_TIMER=ON
+
 $(eval $(cmake-package))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 package/libasplib: fix build error on m68k

Patch written by Waldemar Brodkorb:
http://lists.busybox.net/pipermail/buildroot/2016-November/177726.html

This patch however did not work: "Unfortunately libasplib cmake infrastructure ignores my CMAKE_CXX_FLAGS."

To make this patch work libasplib needed to be bumped because the cmake infrastructure was updated back in August 2016 which fixed the problem:
https://github.com/AchimTuran/asplib/commit/6326d1f5e8dad9fd9947b7f4688ddddda91e9e9e

---
 package/libasplib/libasplib.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libasplib/libasplib.mk +7 -0
index 038fc389e..b3b1fdb30 100644
@@ -18,4 +18,11 @@ LIBASPLIB_CONF_OPTS = \
 	-DBUILD_SIGNALS=ON \
 	-DBUILD_TIMER=ON
 
+# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
+ifeq ($(BR2_m68k_cf),y)
+LIBASPLIB_CXXFLAGS += -fno-dwarf2-cfi-asm
+endif
+
+LIBASPLIB_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(LIBASPLIB_CXXFLAGS)"
+
 $(eval $(cmake-package))
Signature · 1 line
2.11.0
#2 lore raw

PATCH 1/2 package/libasplib: bump version

In reply to Bernd Kuhls

Hello,

Quoted 15 lines · Bernd Kuhls

libasplib now contains modules, we enable only those for the moment which do not need external dependencies. We are not in a hurry to fully support all features of this package because the upcoming Kodi release 17.x-Krypton will not carry any ADSP add-ons:
https://github.com/xbmc/repo-binary-addons/commit/db3b767309df25daae4f01f01dba85ca7b3464b0

-DASPLIB_MODULES_TO_BUILD=some looks hackish because the default is to enable all modules:
https://github.com/AchimTuran/asplib/blob/master/CMakeLists.txt#L35

But -DASPLIB_MODULES_TO_BUILD=OFF does not disable the build of all modules as well because of
https://github.com/AchimTuran/asplib/blob/master/asplib_modules/CMakeLists.txt#L19
so I added "some" as fake value.

Quoted 5 lines
---
 package/libasplib/libasplib.hash |  2 +-
 package/libasplib/libasplib.mk   | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

Both patches applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com