Skip to contentSkip to conversation

package/serd: new package

PATCH Applied James Hilliard 2 participants 6 messages Jan 27, 2022 – Feb 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/5 package/serd: new package

---
 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/serd/Config.in |  8 ++++++++
 package/serd/serd.hash |  4 ++++
 package/serd/serd.mk   | 20 ++++++++++++++++++++
 5 files changed, 34 insertions(+)
 create mode 100644 package/serd/Config.in
 create mode 100644 package/serd/serd.hash
 create mode 100644 package/serd/serd.mk
DEVELOPERS +1 -0
index fe8de1916e..6e40b0e9ae 100644
@@ -1335,6 +1335,7 @@ F:	package/python-tomli/
 F:	package/python-weasyprint/
 F:	package/python-yarl/
 F:	package/python-zopfli/
+F:	package/serd/
 F:	package/zchunk/
 
 N:	James Knight <[email protected]>
package/Config.in +1 -0
index e4ca195beb..decf523821 100644
@@ -1720,6 +1720,7 @@ menu "JSON/XML"
 	source "package/rapidjson/Config.in"
 	source "package/rapidxml/Config.in"
 	source "package/raptor/Config.in"
+	source "package/serd/Config.in"
 	source "package/tinyxml/Config.in"
 	source "package/tinyxml2/Config.in"
 	source "package/valijson/Config.in"
package/serd/Config.in new file +8 -0
new file mode 100644
index 0000000000..7633a979e2
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_SERD
+	bool "serd"
+	help
+	  Serd is a lightweight C library for RDF syntax which
+	  supports reading and writing Turtle, TriG, NTriples, and
+	  NQuads.
+
+	  https://drobilla.net/software/serd.html
package/serd/serd.hash new file +4 -0
new file mode 100644
index 0000000000..d64a2aa271
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# http://download.drobilla.net/serd-0.30.10.tar.bz2.sig
+sha256  affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf  serd-0.30.10.tar.bz2
+sha256  e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0  COPYING
package/serd/serd.mk new file +20 -0
new file mode 100644
index 0000000000..85b16f6866
@@ -0,0 +1,20 @@
+################################################################################
+#
+# serd
+#
+################################################################################
+
+SERD_VERSION = 0.30.10
+SERD_SITE = https://download.drobilla.net
+SERD_SOURCE = serd-$(SERD_VERSION).tar.bz2
+SERD_LICENSE = ISC
+SERD_LICENSE_FILES = COPYING
+SERD_INSTALL_STAGING = YES
+
+SERD_CONF_OPTS += --largefile --no-coverage
+
+ifeq ($(BR2_STATIC_LIBS),y)
+SERD_CONF_OPTS += --static --no-shared --static-progs
+endif
+
+$(eval $(waf-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/5 package/sord: new package

---
 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/sord/Config.in |  8 ++++++++
 package/sord/sord.hash |  4 ++++
 package/sord/sord.mk   | 25 +++++++++++++++++++++++++
 5 files changed, 39 insertions(+)
 create mode 100644 package/sord/Config.in
 create mode 100644 package/sord/sord.hash
 create mode 100644 package/sord/sord.mk
DEVELOPERS +1 -0
index 6e40b0e9ae..0d70c676d5 100644
@@ -1336,6 +1336,7 @@ F:	package/python-weasyprint/
 F:	package/python-yarl/
 F:	package/python-zopfli/
 F:	package/serd/
+F:	package/sord/
 F:	package/zchunk/
 
 N:	James Knight <[email protected]>
package/Config.in +1 -0
index decf523821..aa700bc8d7 100644
@@ -1721,6 +1721,7 @@ menu "JSON/XML"
 	source "package/rapidxml/Config.in"
 	source "package/raptor/Config.in"
 	source "package/serd/Config.in"
+	source "package/sord/Config.in"
 	source "package/tinyxml/Config.in"
 	source "package/tinyxml2/Config.in"
 	source "package/valijson/Config.in"
package/sord/Config.in new file +8 -0
new file mode 100644
index 0000000000..91dfb41d0b
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_SORD
+	bool "sord"
+	select BR2_PACKAGE_SERD
+	help
+	  Sord is a lightweight C library for storing RDF data in
+	  memory.
+
+	  https://drobilla.net/software/sord.html
package/sord/sord.hash new file +4 -0
new file mode 100644
index 0000000000..af175f91f0
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# https://download.drobilla.net/sord-0.16.8.tar.bz2.asc
+sha256  7c289d2eaabf82fa6ac219107ce632d704672dcfb966e1a7ff0bbc4ce93f5e14  sord-0.16.8.tar.bz2
+sha256  e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0  COPYING
package/sord/sord.mk new file +25 -0
new file mode 100644
index 0000000000..f805805e9d
@@ -0,0 +1,25 @@
+################################################################################
+#
+# sord
+#
+################################################################################
+
+SORD_VERSION = 0.16.8
+SORD_SITE = https://download.drobilla.net
+SORD_SOURCE = sord-$(SORD_VERSION).tar.bz2
+SORD_LICENSE = ISC
+SORD_LICENSE_FILES = COPYING
+SORD_DEPENDENCIES = host-pkgconf serd
+SORD_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_PCRE),y)
+SORD_DEPENDENCIES += pcre
+endif
+
+SORD_CONF_OPTS += --no-coverage
+
+ifeq ($(BR2_STATIC_LIBS),y)
+SORD_CONF_OPTS += --static --no-shared --static-progs
+endif
+
+$(eval $(waf-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 3/5 package/lv2: new package

In reply to James Hilliard

---
Changes v1 -> v2:
- disable plugins for static build

---
 DEVELOPERS            |  1 +
 package/Config.in     |  1 +
 package/lv2/Config.in |  8 ++++++++
 package/lv2/lv2.hash  |  4 ++++
 package/lv2/lv2.mk    | 36 ++++++++++++++++++++++++++++++++++++
 5 files changed, 50 insertions(+)
 create mode 100644 package/lv2/Config.in
 create mode 100644 package/lv2/lv2.hash
 create mode 100644 package/lv2/lv2.mk
DEVELOPERS +1 -0
index 0d70c676d5..548570aa46 100644
@@ -1285,6 +1285,7 @@ F:	package/exfatprogs/
 F:	package/gensio/
 F:	package/lua-std-debug/
 F:	package/lua-std-normalize/
+F:	package/lv2/
 F:	package/pipewire/
 F:	package/python-aioconsole/
 F:	package/python-aiodns/
package/Config.in +1 -0
index aa700bc8d7..80d3f9ff3c 100644
@@ -1372,6 +1372,7 @@ menu "Audio/Sound"
 	source "package/libsoundtouch/Config.in"
 	source "package/libsoxr/Config.in"
 	source "package/libvorbis/Config.in"
+	source "package/lv2/Config.in"
 	source "package/mp4v2/Config.in"
 	source "package/openal/Config.in"
 	source "package/opencore-amr/Config.in"
package/lv2/Config.in new file +8 -0
new file mode 100644
index 0000000000..aeeb6d0451
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LV2
+	bool "lv2"
+	help
+	  LV2 is a plugin standard for audio systems. It defines
+	  a minimal yet extensible C API for plugin code and a
+	  format for plugin "bundles".
+
+	  https://lv2plug.in/
package/lv2/lv2.hash new file +4 -0
new file mode 100644
index 0000000000..ed21620bee
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# https://lv2plug.in/spec/lv2-1.18.2.tar.bz2.asc
+sha256  4e891fbc744c05855beb5dfa82e822b14917dd66e98f82b8230dbd1c7ab2e05e  lv2-1.18.2.tar.bz2
+sha256  0b0b07d852e3ce7fa04986e141f73001bd7f260683968f0a19e02dbcc4131aa6  COPYING
package/lv2/lv2.mk new file +36 -0
new file mode 100644
index 0000000000..13ffaa34b0
@@ -0,0 +1,36 @@
+################################################################################
+#
+# lv2
+#
+################################################################################
+
+LV2_VERSION = 1.18.2
+LV2_SITE = https://lv2plug.in/spec
+LV2_SOURCE = lv2-$(LV2_VERSION).tar.bz2
+LV2_LICENSE = ISC
+LV2_LICENSE_FILES = COPYING
+LV2_DEPENDENCIES = host-pkgconf
+LV2_INSTALL_STAGING = YES
+
+LV2_CONF_OPTS += \
+	--no-coverage \
+	--no-check-links \
+	--copy-headers
+
+ifeq ($(BR2_PACKAGE_CAIRO),y)
+LV2_DEPENDENCIES += cairo
+endif
+
+ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
+LV2_DEPENDENCIES += libsndfile
+endif
+
+ifeq ($(BR2_PACKAGE_LIBGTK2),y)
+LV2_DEPENDENCIES += libgtk2
+endif
+
+ifeq ($(BR2_STATIC_LIBS),y)
+LV2_CONF_OPTS += --no-plugins
+endif
+
+$(eval $(waf-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 4/5 package/sratom: new package

In reply to James Hilliard
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/sratom/Config.in   | 10 ++++++++++
 package/sratom/sratom.hash |  4 ++++
 package/sratom/sratom.mk   | 21 +++++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/sratom/Config.in
 create mode 100644 package/sratom/sratom.hash
 create mode 100644 package/sratom/sratom.mk
DEVELOPERS +1 -0
index 548570aa46..c4c46fc3bd 100644
@@ -1338,6 +1338,7 @@ F:	package/python-yarl/
 F:	package/python-zopfli/
 F:	package/serd/
 F:	package/sord/
+F:	package/sratom/
 F:	package/zchunk/
 
 N:	James Knight <[email protected]>
package/Config.in +1 -0
index 80d3f9ff3c..547620a266 100644
@@ -1383,6 +1383,7 @@ menu "Audio/Sound"
 	source "package/spandsp/Config.in"
 	source "package/speex/Config.in"
 	source "package/speexdsp/Config.in"
+	source "package/sratom/Config.in"
 	source "package/taglib/Config.in"
 	source "package/tinyalsa/Config.in"
 	source "package/tremor/Config.in"
package/sratom/Config.in new file +10 -0
new file mode 100644
index 0000000000..771e82073d
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SRATOM
+	bool "sratom"
+	select BR2_PACKAGE_LV2
+	select BR2_PACKAGE_SERD
+	select BR2_PACKAGE_SORD
+	help
+	  Sratom is a library for serialising LV2 atoms to and from
+	  RDF, particularly the Turtle syntax.
+
+	  https://drobilla.net/software/sratom.html
package/sratom/sratom.hash new file +4 -0
new file mode 100644
index 0000000000..64d460b2ea
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# https://download.drobilla.net/sratom-0.6.8.tar.bz2.asc
+sha256  3acb32b1adc5a2b7facdade2e0818bcd6c71f23f84a1ebc17815bb7a0d2d02df  sratom-0.6.8.tar.bz2
+sha256  3fc429d6b944fa20306357196a28bb4dd7c25e2d67edebec771f44de5bd7f9e8  COPYING
package/sratom/sratom.mk new file +21 -0
new file mode 100644
index 0000000000..e1e0f4e033
@@ -0,0 +1,21 @@
+################################################################################
+#
+# sratom
+#
+################################################################################
+
+SRATOM_VERSION = 0.6.8
+SRATOM_SITE = https://download.drobilla.net
+SRATOM_SOURCE = sratom-$(SRATOM_VERSION).tar.bz2
+SRATOM_LICENSE = ISC
+SRATOM_LICENSE_FILES = COPYING
+SRATOM_DEPENDENCIES = host-pkgconf lv2 serd sord
+SRATOM_INSTALL_STAGING = YES
+
+SRATOM_CONF_OPTS += --no-coverage
+
+ifeq ($(BR2_STATIC_LIBS),y)
+SRATOM_CONF_OPTS += --static --no-shared
+endif
+
+$(eval $(waf-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH v2 5/5 package/lilv: new package

In reply to James Hilliard

---
Changes v1 -> v2:
- require dynamic library support

---
 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/lilv/Config.in | 15 +++++++++++++++
 package/lilv/lilv.hash |  4 ++++
 package/lilv/lilv.mk   | 30 ++++++++++++++++++++++++++++++
 5 files changed, 51 insertions(+)
 create mode 100644 package/lilv/Config.in
 create mode 100644 package/lilv/lilv.hash
 create mode 100644 package/lilv/lilv.mk
DEVELOPERS +1 -0
index c4c46fc3bd..5bde1695e7 100644
@@ -1285,6 +1285,7 @@ F:	package/exfatprogs/
 F:	package/gensio/
 F:	package/lua-std-debug/
 F:	package/lua-std-normalize/
+F:	package/lilv/
 F:	package/lv2/
 F:	package/pipewire/
 F:	package/python-aioconsole/
package/Config.in +1 -0
index 547620a266..84a53577e7 100644
@@ -1372,6 +1372,7 @@ menu "Audio/Sound"
 	source "package/libsoundtouch/Config.in"
 	source "package/libsoxr/Config.in"
 	source "package/libvorbis/Config.in"
+	source "package/lilv/Config.in"
 	source "package/lv2/Config.in"
 	source "package/mp4v2/Config.in"
 	source "package/openal/Config.in"
package/lilv/Config.in new file +15 -0
new file mode 100644
index 0000000000..08d54bcf8b
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LILV
+	bool "lilv"
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_LV2
+	select BR2_PACKAGE_SERD
+	select BR2_PACKAGE_SORD
+	select BR2_PACKAGE_SRATOM
+	help
+	  Lilv is a C library to make the use of LV2 plugins as simple
+	  as possible for applications.
+
+	  https://drobilla.net/software/lilv.html
+
+comment "lilv needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
package/lilv/lilv.hash new file +4 -0
new file mode 100644
index 0000000000..afa20fc083
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# https://download.drobilla.net/lilv-0.24.12.tar.bz2.asc
+sha256  26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061  lilv-0.24.12.tar.bz2
+sha256  e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0  COPYING
package/lilv/lilv.mk new file +30 -0
new file mode 100644
index 0000000000..5f9186e66a
@@ -0,0 +1,30 @@
+################################################################################
+#
+# lilv
+#
+################################################################################
+
+LILV_VERSION = 0.24.12
+LILV_SITE = https://download.drobilla.net
+LILV_SOURCE = lilv-$(LILV_VERSION).tar.bz2
+LILV_LICENSE = ISC
+LILV_LICENSE_FILES = COPYING
+LILV_DEPENDENCIES = host-pkgconf lv2 serd sord sratom
+LILV_INSTALL_STAGING = YES
+
+LILV_CONF_OPTS += \
+	--dyn-manifest \
+	--no-bash-completion \
+	--no-coverage
+
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+LILV_DEPENDENCIES += python3
+else
+LILV_CONF_OPTS += --no-bindings
+endif
+
+ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
+LILV_DEPENDENCIES += libsndfile
+endif
+
+$(eval $(waf-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to James Hilliard
Quoted 1 line · James Hilliard

You didn't carry Gilles' Tested-by tags from v1, so I added those.

Applied to master, thanks.

Regards,
Arnout

Quoted 75 lines
---
  DEVELOPERS             |  1 +
  package/Config.in      |  1 +
  package/serd/Config.in |  8 ++++++++
  package/serd/serd.hash |  4 ++++
  package/serd/serd.mk   | 20 ++++++++++++++++++++
  5 files changed, 34 insertions(+)

create mode 100644 package/serd/Config.in
create mode 100644 package/serd/serd.hash
create mode 100644 package/serd/serd.mk

DEVELOPERS +1 -0
index fe8de1916e..6e40b0e9ae 100644
@@ -1335,6 +1335,7 @@ F:	package/python-tomli/
  F:	package/python-weasyprint/
  F:	package/python-yarl/
  F:	package/python-zopfli/
+F:	package/serd/
  F:	package/zchunk/
 
  N:	James Knight <[email protected]>
package/Config.in +1 -0
index e4ca195beb..decf523821 100644
@@ -1720,6 +1720,7 @@ menu "JSON/XML"
  	source "package/rapidjson/Config.in"
  	source "package/rapidxml/Config.in"
  	source "package/raptor/Config.in"
+	source "package/serd/Config.in"
  	source "package/tinyxml/Config.in"
  	source "package/tinyxml2/Config.in"
  	source "package/valijson/Config.in"
package/serd/Config.in new file +8 -0
new file mode 100644
index 0000000000..7633a979e2
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_SERD
+	bool "serd"
+	help
+	  Serd is a lightweight C library for RDF syntax which
+	  supports reading and writing Turtle, TriG, NTriples, and
+	  NQuads.
+
+	  https://drobilla.net/software/serd.html
package/serd/serd.hash new file +4 -0
new file mode 100644
index 0000000000..d64a2aa271
@@ -0,0 +1,4 @@
+# Locally calculated after checking signature
+# http://download.drobilla.net/serd-0.30.10.tar.bz2.sig
+sha256  affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf  serd-0.30.10.tar.bz2
+sha256  e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0  COPYING
package/serd/serd.mk new file +10 -0
new file mode 100644
index 0000000000..85b16f6866
@@ -0,0 +1,20 @@
+################################################################################
+#
+# serd
+#
+################################################################################
+
+SERD_VERSION = 0.30.10
+SERD_SITE = https://download.drobilla.net
+SERD_SOURCE = serd-$(SERD_VERSION).tar.bz2
+SERD_LICENSE = ISC

package/serd/serd.mk line 20

Quoted 10 lines
package/serd/serd.mk new file +10 -0
+SERD_LICENSE_FILES = COPYING
+SERD_INSTALL_STAGING = YES
+
+SERD_CONF_OPTS += --largefile --no-coverage
+
+ifeq ($(BR2_STATIC_LIBS),y)
+SERD_CONF_OPTS += --static --no-shared --static-progs
+endif
+
+$(eval $(waf-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot