Skip to contentSkip to conversation

package/pipewire: new package

PATCH New James Hilliard 2 participants 2 messages Aug 26, 2019 – Dec 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pipewire: new package

PipeWire is a server and user space API to deal with multimedia pipelines.

---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/pipewire/Config.in     |  9 +++++++++
 package/pipewire/pipewire.hash |  4 ++++
 package/pipewire/pipewire.mk   | 22 ++++++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/pipewire/Config.in
 create mode 100644 package/pipewire/pipewire.hash
 create mode 100644 package/pipewire/pipewire.mk
DEVELOPERS +1 -0
index 5fe244a570..ad62f0968e 100644
@@ -1074,6 +1074,7 @@ F:	configs/pine64_sopine_defconfig
 N:	James Hilliard <[email protected]>
 F:	package/lua-std-debug/
 F:	package/lua-std-normalize/
+F:	package/pipewire/
 F:	package/python-aioconsole/
 F:	package/python-aiodns/
 F:	package/python-aiohttp/
package/Config.in +1 -0
index 9f544f955c..2f6f222cf5 100644
@@ -1354,6 +1354,7 @@ menu "Graphics"
 	source "package/openjpeg/Config.in"
 	source "package/pango/Config.in"
 	source "package/pangomm/Config.in"
+	source "package/pipewire/Config.in"
 	source "package/pixman/Config.in"
 	source "package/poppler/Config.in"
 	source "package/powervr/Config.in"
package/pipewire/Config.in new file +9 -0
new file mode 100644
index 0000000000..34c01b92d9
@@ -0,0 +1,9 @@
+menuconfig BR2_PACKAGE_PIPEWIRE
+	bool "pipewire"
+	depends on BR2_PACKAGE_DBUS
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  PipeWire is a server and user space API to deal with multimedia
+	  pipelines.
+
+	  https://pipewire.org/
package/pipewire/pipewire.hash new file +4 -0
new file mode 100644
index 0000000000..692c322530
@@ -0,0 +1,4 @@
+# Locally calculated
+sha256 8592bcc2a83b078fee6cfb8560397cf2747346f28e88689197e780069b19cb17  pipewire-0.2.6.tar.gz
+sha256 88c0ca786c735a11e0eb508196d3aa1389fbaacb8d5de9adb5ccb15bcd4009d9  LICENSE
+sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861  LGPL
package/pipewire/pipewire.mk new file +22 -0
new file mode 100644
index 0000000000..88412b4b02
@@ -0,0 +1,22 @@
+################################################################################
+#
+# pipewire
+#
+################################################################################
+
+PIPEWIRE_VERSION = 0.2.6
+PIPEWIRE_SITE = $(call github,PipeWire,pipewire,$(PIPEWIRE_VERSION))
+PIPEWIRE_LICENSE = LGPL-2.1+
+PIPEWIRE_LICENSE_FILES = LICENSE LGPL
+PIPEWIRE_INSTALL_STAGING = YES
+PIPEWIRE_DEPENDENCIES = host-pkgconf dbus
+PIPEWIRE_CONF_OPTS = -Dgstreamer=disabled
+
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+PIPEWIRE_CONF_OPTS += -Dsystemd=true
+PIPEWIRE_DEPENDENCIES += systemd
+else
+PIPEWIRE_CONF_OPTS += -Dsystemd=false
+endif
+
+$(eval $(meson-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/pipewire: new package

Quoted 4 lines · On Sun, 25 Aug 2019 20:34:02 -0600 James Hilliard <[email protected]>…

PipeWire is a server and user space API to deal with multimedia pipelines.

Quoted 10 lines
---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/pipewire/Config.in     |  9 +++++++++
 package/pipewire/pipewire.hash |  4 ++++
 package/pipewire/pipewire.mk   | 22 ++++++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/pipewire/Config.in
 create mode 100644 package/pipewire/pipewire.hash
 create mode 100644 package/pipewire/pipewire.mk

I switched from a "depends on BR2_PACKAGE_DBUS" to a "select BR2_PACKAGE_DBUS", adding the necessary dependencies along the way. I also bumped to the latest version of pipewire, and applied.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com