Skip to content

Commit 2210c39

Browse files
committed
Update lv2 libs for newer buildroot
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 70b695d commit 2210c39

19 files changed

Lines changed: 189 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
config BR2_PACKAGE_LILV
2+
bool "lilv"
3+
depends on !BR2_STATIC_LIBS
4+
select BR2_PACKAGE_LV2
5+
select BR2_PACKAGE_SERD
6+
select BR2_PACKAGE_SORD
7+
select BR2_PACKAGE_SRATOM
8+
help
9+
Lilv is a C library to make the use of LV2 plugins as simple
10+
as possible for applications.
11+
12+
https://drobilla.net/software/lilv.html
13+
14+
comment "lilv needs a toolchain w/ dynamic library"
15+
depends on BR2_STATIC_LIBS
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This custom package exists because the original is outdated.
2+
Can be dropped once we update buildroot.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
################################################################################
2+
#
3+
# lilv
4+
#
5+
################################################################################
6+
7+
LILV_VERSION = 0.26.4
8+
LILV_SITE = https://download.drobilla.net
9+
LILV_SOURCE = lilv-$(LILV_VERSION).tar.xz
10+
LILV_LICENSE = ISC
11+
LILV_LICENSE_FILES = COPYING
12+
LILV_DEPENDENCIES = host-pkgconf lv2 serd sord sratom
13+
LILV_INSTALL_STAGING = YES
14+
15+
LILV_CONF_OPTS += \
16+
-Dbindings_cpp=disabled \
17+
-Dbindings_py=disabled \
18+
-Ddocs=disabled \
19+
-Ddynmanifest=disabled \
20+
-Dhtml=disabled \
21+
-Dlint=false \
22+
-Dsinglehtml=disabled \
23+
-Dtests=disabled
24+
25+
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
26+
LILV_DEPENDENCIES += libsndfile
27+
endif
28+
29+
$(eval $(meson-package))
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config BR2_PACKAGE_LV2
2+
bool "lv2"
3+
help
4+
LV2 is a plugin standard for audio systems. It defines
5+
a minimal yet extensible C API for plugin code and a
6+
format for plugin "bundles".
7+
8+
https://lv2plug.in/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This custom package exists because we do not want the example LV2 plugins,
2+
which cannot be disabled in upstream buildroot.
3+
So we tweak the build to ensure they are always off.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Locally calculated after checking signature
2+
# https://lv2plug.in/spec/lv2-1.18.10.tar.xz.sig
3+
sha256 78c51bcf21b54e58bb6329accbb4dae03b2ed79b520f9a01e734bd9de530953f lv2-1.18.10.tar.xz
4+
sha256 1e6bb175e193608b767ff25a4ed68b82c4db599491cf0d2694435cf60e9a4841 COPYING
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
################################################################################
2+
#
3+
# lv2
4+
#
5+
################################################################################
6+
7+
LV2_VERSION = 1.18.10
8+
LV2_SITE = https://lv2plug.in/spec
9+
LV2_SOURCE = lv2-$(LV2_VERSION).tar.xz
10+
LV2_LICENSE = ISC
11+
LV2_LICENSE_FILES = COPYING
12+
LV2_DEPENDENCIES = host-pkgconf
13+
LV2_INSTALL_STAGING = YES
14+
15+
LV2_CONF_OPTS += \
16+
-Ddocs=disabled \
17+
-Dtests=disabled
18+
19+
# always off
20+
LV2_CONF_OPTS += -Dplugins=disabled
21+
22+
$(eval $(meson-package))
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config BR2_PACKAGE_SERD
2+
bool "serd"
3+
help
4+
Serd is a lightweight C library for RDF syntax which
5+
supports reading and writing Turtle, TriG, NTriples, and
6+
NQuads.
7+
8+
https://drobilla.net/software/serd.html
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This custom package exists because the original is outdated.
2+
Can be dropped once we update buildroot.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
################################################################################
2+
#
3+
# serd
4+
#
5+
################################################################################
6+
7+
SERD_VERSION = 0.32.8
8+
SERD_SITE = https://download.drobilla.net
9+
SERD_SOURCE = serd-$(SERD_VERSION).tar.xz
10+
SERD_LICENSE = ISC
11+
SERD_LICENSE_FILES = COPYING
12+
SERD_INSTALL_STAGING = YES
13+
14+
SERD_CONF_OPTS += -Ddocs=disabled -Dstatic=false -Dtests=disabled
15+
16+
$(eval $(meson-package))

0 commit comments

Comments
 (0)