* [Buildroot] [PATCH 1/1] package/wireplumber: new package
@ 2021-09-12 22:04 James Hilliard
2021-09-21 20:42 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2021-09-12 22:04 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan, James Hilliard
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/Config.in | 1 +
package/wireplumber/Config.in | 22 ++++++++++++++++
package/wireplumber/wireplumber.hash | 3 +++
package/wireplumber/wireplumber.mk | 39 ++++++++++++++++++++++++++++
4 files changed, 65 insertions(+)
create mode 100644 package/wireplumber/Config.in
create mode 100644 package/wireplumber/wireplumber.hash
create mode 100644 package/wireplumber/wireplumber.mk
diff --git a/package/Config.in b/package/Config.in
index 899b493180..f2f80da3ff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1539,6 +1539,7 @@ menu "Graphics"
source "package/waylandpp/Config.in"
source "package/webkitgtk/Config.in"
source "package/webp/Config.in"
+ source "package/wireplumber/Config.in"
source "package/wlroots/Config.in"
source "package/woff2/Config.in"
source "package/wpebackend-fdo/Config.in"
diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
new file mode 100644
index 0000000000..6528a2e102
--- /dev/null
+++ b/package/wireplumber/Config.in
@@ -0,0 +1,22 @@
+config BR2_PACKAGE_WIREPLUMBER
+ bool "wireplumber"
+ depends on BR2_PACKAGE_PIPEWIRE
+ depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+ depends on BR2_USE_MMU # libglib2
+ select BR2_PACKAGE_LIBGLIB2
+ help
+ WirePlumber is a modular session / policy manager for
+ PipeWire and a GObject-based high-level library that
+ wraps PipeWire’s API, providing convenience for writing
+ the daemon’s modules as well as external tools for
+ managing PipeWire.
+
+ https://pipewire.pages.freedesktop.org/wireplumber/
+
+comment "wireplumber needs a toolchain w/ wchar, threads and Lua >= 5.3"
+ depends on BR2_PACKAGE_PIPEWIRE
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ (!BR2_PACKAGE_LUA_5_3 && !BR2_PACKAGE_LUA_5_4)
diff --git a/package/wireplumber/wireplumber.hash b/package/wireplumber/wireplumber.hash
new file mode 100644
index 0000000000..561fcc2e5e
--- /dev/null
+++ b/package/wireplumber/wireplumber.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 41f174eaae5a630e195001fdd580918fa5143a71edceb050b320f85a8e65e53b wireplumber-0.4.2.tar.bz2
+sha256 ff2eb9af5b05d92ac3a38cffcad27582ef555a31ff1781e1c1d4e087f77c9c81 LICENSE
diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk
new file mode 100644
index 0000000000..2dab6042ea
--- /dev/null
+++ b/package/wireplumber/wireplumber.mk
@@ -0,0 +1,39 @@
+################################################################################
+#
+# wireplumber
+#
+################################################################################
+
+WIREPLUMBER_VERSION = 0.4.2
+WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2
+WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION)
+WIREPLUMBER_LICENSE = MIT
+WIREPLUMBER_LICENSE_FILES = LICENSE
+WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua
+
+WIREPLUMBER_CONF_OPTS = \
+ -Ddoc=disabled \
+ -Dsystem-lua=true \
+ -Dsystem-lua-version=
+
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+WIREPLUMBER_DEPENDENCIES += gobject-introspection
+WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled
+else
+WIREPLUMBER_CONF_OPTS += -Dintrospection=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+WIREPLUMBER_DEPENDENCIES += systemd
+WIREPLUMBER_CONF_OPTS += \
+ -Dsystemd=enabled \
+ -Dsystemd-system-service=true \
+ -Dsystemd-user-service=true
+else
+WIREPLUMBER_CONF_OPTS += \
+ -Dsystemd=disabled \
+ -Dsystemd-system-service=false \
+ -Dsystemd-user-service=false
+endif
+
+$(eval $(meson-package))
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/wireplumber: new package
2021-09-12 22:04 [Buildroot] [PATCH 1/1] package/wireplumber: new package James Hilliard
@ 2021-09-21 20:42 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-09-21 20:42 UTC (permalink / raw)
To: James Hilliard, buildroot; +Cc: Eric Le Bihan
On 13/09/2021 00:04, James Hilliard wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/Config.in | 1 +
> package/wireplumber/Config.in | 22 ++++++++++++++++
> package/wireplumber/wireplumber.hash | 3 +++
> package/wireplumber/wireplumber.mk | 39 ++++++++++++++++++++++++++++
> 4 files changed, 65 insertions(+)
> create mode 100644 package/wireplumber/Config.in
> create mode 100644 package/wireplumber/wireplumber.hash
> create mode 100644 package/wireplumber/wireplumber.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 899b493180..f2f80da3ff 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1539,6 +1539,7 @@ menu "Graphics"
> source "package/waylandpp/Config.in"
> source "package/webkitgtk/Config.in"
> source "package/webp/Config.in"
> + source "package/wireplumber/Config.in"
> source "package/wlroots/Config.in"
> source "package/woff2/Config.in"
> source "package/wpebackend-fdo/Config.in"
> diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
> new file mode 100644
> index 0000000000..6528a2e102
> --- /dev/null
> +++ b/package/wireplumber/Config.in
> @@ -0,0 +1,22 @@
> +config BR2_PACKAGE_WIREPLUMBER
> + bool "wireplumber"
> + depends on BR2_PACKAGE_PIPEWIRE
> + depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
> + depends on BR2_USE_WCHAR # libglib2
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> + depends on BR2_USE_MMU # libglib2
> + select BR2_PACKAGE_LIBGLIB2
> + help
> + WirePlumber is a modular session / policy manager for
> + PipeWire and a GObject-based high-level library that
> + wraps PipeWire’s API, providing convenience for writing
> + the daemon’s modules as well as external tools for
> + managing PipeWire.
> +
> + https://pipewire.pages.freedesktop.org/wireplumber/
> +
> +comment "wireplumber needs a toolchain w/ wchar, threads and Lua >= 5.3"
> + depends on BR2_PACKAGE_PIPEWIRE
> + depends on BR2_USE_MMU
> + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
> + (!BR2_PACKAGE_LUA_5_3 && !BR2_PACKAGE_LUA_5_4)
> diff --git a/package/wireplumber/wireplumber.hash b/package/wireplumber/wireplumber.hash
> new file mode 100644
> index 0000000000..561fcc2e5e
> --- /dev/null
> +++ b/package/wireplumber/wireplumber.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256 41f174eaae5a630e195001fdd580918fa5143a71edceb050b320f85a8e65e53b wireplumber-0.4.2.tar.bz2
> +sha256 ff2eb9af5b05d92ac3a38cffcad27582ef555a31ff1781e1c1d4e087f77c9c81 LICENSE
> diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk
> new file mode 100644
> index 0000000000..2dab6042ea
> --- /dev/null
> +++ b/package/wireplumber/wireplumber.mk
> @@ -0,0 +1,39 @@
> +################################################################################
> +#
> +# wireplumber
> +#
> +################################################################################
> +
> +WIREPLUMBER_VERSION = 0.4.2
> +WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2
> +WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION)
> +WIREPLUMBER_LICENSE = MIT
> +WIREPLUMBER_LICENSE_FILES = LICENSE
> +WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua
> +
> +WIREPLUMBER_CONF_OPTS = \
> + -Ddoc=disabled \
> + -Dsystem-lua=true \
> + -Dsystem-lua-version=
> +
> +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
> +WIREPLUMBER_DEPENDENCIES += gobject-introspection
> +WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled
> +else
> +WIREPLUMBER_CONF_OPTS += -Dintrospection=disabled
> +endif
> +
> +ifeq ($(BR2_PACKAGE_SYSTEMD),y)
> +WIREPLUMBER_DEPENDENCIES += systemd
> +WIREPLUMBER_CONF_OPTS += \
> + -Dsystemd=enabled \
> + -Dsystemd-system-service=true \
> + -Dsystemd-user-service=true
> +else
> +WIREPLUMBER_CONF_OPTS += \
> + -Dsystemd=disabled \
> + -Dsystemd-system-service=false \
> + -Dsystemd-user-service=false
> +endif
> +
> +$(eval $(meson-package))
>
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-21 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 22:04 [Buildroot] [PATCH 1/1] package/wireplumber: new package James Hilliard
2021-09-21 20:42 ` Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.