From patchwork Sun Sep 12 22:04:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1527140 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=TDSxkE7X; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@lists.buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H73ZV2P34z9sXk for ; Mon, 13 Sep 2021 08:05:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9D7B360BF6; Sun, 12 Sep 2021 22:05:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l51X9MMOqxfP; Sun, 12 Sep 2021 22:05:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id A1B0060788; Sun, 12 Sep 2021 22:05:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 45C511BF3EF for ; Sun, 12 Sep 2021 22:05:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3430C401D6 for ; Sun, 12 Sep 2021 22:05:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mlT1FrKWva8 for ; Sun, 12 Sep 2021 22:05:13 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by smtp2.osuosl.org (Postfix) with ESMTPS id 220BD401C9 for ; Sun, 12 Sep 2021 22:05:12 +0000 (UTC) Received: by mail-il1-x132.google.com with SMTP id q14so8070628ils.5 for ; Sun, 12 Sep 2021 15:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Slgu+av6Ad2nb7C9PZlcLuKLxgZdXI8KKOI2mA+dcM0=; b=TDSxkE7XnALNBCqYl0g4T/7UL3RQNFeWix/dWdWig3N9hDJr94HJqhSU4KSvGWgq2y 279USiZZ6bq4MNXzKkUGnmkjrztGpA4nPuEHCPEz5TkO/15PMIrm4eGXsDGxd+u3UpVJ 9KvazT4VcrXc3Dl6MdcznKJNpZFtGV2m7Z3gC/x6+40qnDRPbMcFrjxbLeQD6JhpyG7L 9wHvZZEwun7EVrIGUFK4X8dvnSx35GWdufMaf5J0wMdJTKkCZb5vFmutm4dbFJi3U3g2 DoTYKN9x39pbGmzu4a4N096tXKIMVapYK000Kcy9KhLyDfWXc8qw7TimCTPq50JX5xfj aRpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Slgu+av6Ad2nb7C9PZlcLuKLxgZdXI8KKOI2mA+dcM0=; b=M3zt42BPAgUA0TzzOP0VRbdpwMoRW0N1lcVrl1AAiBICtmT2PKYxenr1pAB7cyCqLK 3m5fq9WOu5WEr25ZqKNhAWcBaqiw9EfpYUnTW/DyVmTABCtP38KdBqRz0+PWxj1UlkdZ c7fmkge5zUmFc3relm35H0zzAcWXhcnsq7ZmhenrwwDsMM3adIGLloPNKSUHp+bpK5ka Vc7S0jZ+ATaR0wq51t7thxewm8GBvhVPS8b852Sk72LWDjBlJpL0k4ggfbp6MirOyEL8 2DPAP+0jWmaOUZVqLvgpYyTDBmAgFK5EIXbOkDARTCN8WQ8k9mRrROugaW/CvLlPtJiW mMuA== X-Gm-Message-State: AOAM533dXO4obCdN50wRtqMh0JWf+FpC6xYECROAx824xFeE61gko0FD 8DXpjfCQ3X4VNqqn8ZSaSuz0rJsIdBg= X-Google-Smtp-Source: ABdhPJzkiwqo425Oo9QyqJjMdlTfgN97Rhxnmov+Ye278vfYxcLQ6r4ikTEA1r8Nl0KCq++sWxe0gg== X-Received: by 2002:a92:c5c2:: with SMTP id s2mr5837915ilt.278.1631484312024; Sun, 12 Sep 2021 15:05:12 -0700 (PDT) Received: from james-x399.localdomain (97-118-233-80.hlrn.qwest.net. [97.118.233.80]) by smtp.gmail.com with ESMTPSA id o5sm3270731ilk.88.2021.09.12.15.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 15:05:11 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sun, 12 Sep 2021 16:04:57 -0600 Message-Id: <20210912220457.1007342-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/wireplumber: new package X-BeenThere: buildroot@lists.buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , James Hilliard Errors-To: buildroot-bounces@lists.buildroot.org Sender: "buildroot" Signed-off-by: James Hilliard --- 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))