From patchwork Fri Apr 24 11:39:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1276327 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=20161025 header.b=SQpijVf9; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 497scZ4w0Tz9sSX for ; Fri, 24 Apr 2020 21:38:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0D2AA86F66; Fri, 24 Apr 2020 11:38:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdJ5sgeodeQj; Fri, 24 Apr 2020 11:38:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 787B086ED1; Fri, 24 Apr 2020 11:38:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 018911BF489 for ; Fri, 24 Apr 2020 11:38:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F250A86ED1 for ; Fri, 24 Apr 2020 11:38:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pkliCptXNhEm for ; Fri, 24 Apr 2020 11:38:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8F7EE84FB2 for ; Fri, 24 Apr 2020 11:38:17 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id t14so10362357wrw.12 for ; Fri, 24 Apr 2020 04:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UpIY5jkHPIFOsFQH6ZcurwKWYmseJ84KrGyc6qe59QE=; b=SQpijVf99RXSCbSvzJFiSceug6Ryz4OtraJ+Fbc8ReVhW9cOpxVDEGlSZ0HFOjypg+ FTqRA2lxxea/z0Y/8P6owE3qWMn402Z1BVA+AIaoBldt4AinjxGYudVKHA8/NI3swK9s JG47GBpEw8IiyfMqfADguBU1Jw85HNCc0NycHsLn06oLorxnvC/YgFE6d5u+5rekuIx7 XdW9BeItQxjcCkyqrzc3YOBEYIoh2vTk4zkgNN0HiQAUd5+XwnHbAw1f5TCBjiIalVL6 QceXtIIGBlFSgE4nuS/VzC+bHEnqsZ119t0drb/BSzzYPwadenaqX9tsMpPvHlfCqxIT Vomg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UpIY5jkHPIFOsFQH6ZcurwKWYmseJ84KrGyc6qe59QE=; b=deGW5oKagfNSYa6YGUFyxT1E+7rLgRMP2aW7KoYMgBey7JCNNzSD6M81ChQ+MGId0B a/5NR/kDJ1HTuC7srScw5Dp5PU90GLhce9jYcrMc0Vuv9y8NbPDQhIh6VRcmNWv87Xk1 xbb1Fr8jv37QojUKvsfDK3T5Qq0t3Ge3lkT2qnw8rl8EYry9EvtXgHVteeP/zeWDwBoM 6HObTXow2/xl4T/5iA3Q2oG4gA32iIQVmy0++VwICX3XGyFOryz22g7MAafJjXOSnNjz DKkfGuW2ybfNRqs57CNSWvtdRxXX4MRbEQOLpG9PFXL98Zsm9thdEwsVRRGc2x676Hw2 Ic4w== X-Gm-Message-State: AGi0PubvvZG+Q+rWnmdw4vyndo8MkYDraDyESUJtby4n6HeQYrX58uZ/ HN7C4JHb3KtpdipLfXS/37Sf+BIp X-Google-Smtp-Source: APiQypI3uisHpjtOl1qnGEF8FrlyXJkFXdHGMfIH7C3WxunPAfyJt0LEinDGN39XcPwAHsim2BenuQ== X-Received: by 2002:a05:6000:1203:: with SMTP id e3mr11506634wrx.229.1587728295717; Fri, 24 Apr 2020 04:38:15 -0700 (PDT) Received: from kali.home (lfbn-ren-1-403-35.w2-10.abo.wanadoo.fr. [2.10.23.35]) by smtp.gmail.com with ESMTPSA id 36sm8053639wrc.35.2020.04.24.04.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2020 04:38:14 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 24 Apr 2020 13:39:27 +0200 Message-Id: <20200424113928.213441-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency X-BeenThere: buildroot@busybox.net 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" sdl2 is an optional dependency (enabled by default) since version 2.1.0: https://github.com/FluidSynth/fluidsynth/commit/978283bbf0309191a441121b7ea867e41e329d3b Signed-off-by: Fabrice Fontaine --- package/fluidsynth/Config.in | 10 ++++++++++ package/fluidsynth/fluidsynth.mk | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index c1cb923489..9b4d05bbb9 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -86,6 +86,16 @@ comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS +config BR2_PACKAGE_FLUIDSYNTH_SDL2 + bool "sdl2" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_SDL2 + help + Enable SDL2 audio support. + +comment "SDL2 audio support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + comment "Misc options" config BR2_PACKAGE_FLUIDSYNTH_DBUS diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index 2bd792dbaf..98eb1ad30c 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -66,4 +66,11 @@ else FLUIDSYNTH_CONF_OPTS += -Denable-readline=0 endif +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y) +FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1 +FLUIDSYNTH_DEPENDENCIES += sdl2 +else +FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0 +endif + $(eval $(cmake-package)) From patchwork Fri Apr 24 11:39:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1276328 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=20161025 header.b=Yv2/+2Uc; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 497scf3BCgz9sSW for ; Fri, 24 Apr 2020 21:38:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F277386ED1; Fri, 24 Apr 2020 11:38:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8YZVW4h7Qci2; Fri, 24 Apr 2020 11:38:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8258986EEE; Fri, 24 Apr 2020 11:38:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 684671BF489 for ; Fri, 24 Apr 2020 11:38:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6596486F69 for ; Fri, 24 Apr 2020 11:38:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0iguCaiI1AUj for ; Fri, 24 Apr 2020 11:38:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F3B2E84FB2 for ; Fri, 24 Apr 2020 11:38:20 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id j2so10382534wrs.9 for ; Fri, 24 Apr 2020 04:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XT9SN/PXfni99CnB7Hrg7aW1ILKJ4ZD04LX0/aes5XQ=; b=Yv2/+2Uc6T5n5SnUeKSQQ/50+dtx6hFMnWwWhC+ND3oWfpP2FxkDOn61FAwtGkNc79 hYaf3XcwxBotFF0WiDtsT05fYWygXxnhLVhvLuFUXUVRDalJbJyvJV5zAWxuqjX1EJLp jU783DTUycbokRzxgyBjbZaD3In5i+MtkFIDMCrA7ovrPLRBMBf3IfXNyuUmulbjx8Vp HK+ZIJD5bD4cD0Ioj8X0bwzSn0voTDUrvwL7rqtCl1sKqNrJNf6XPfcVKUBm5JTy8tpF jNci+1wF1e1niqidNpe6bfF3yo3iLvG7LMM17Zw/JEJHtrDnslYP8gfAwaCEwtVrB85k Msmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XT9SN/PXfni99CnB7Hrg7aW1ILKJ4ZD04LX0/aes5XQ=; b=i3KTgP8/pVmexIkLhrlpnDDA4Y+0Lznz3YbDSnY8g/WOFqJAS6LX0JOedviDUAlwsu KgIB7NyIWTA6hz1IwMF/r/6pJrHz0CQD4Sn09ReHNE6OOL/448yVngfAUAouhMYi9BPE LM6o+2nnyUKCRjKtQpw5CBRPHIW8Z7XFED8WhxtSKt5jMTnR2gxVCgTPM02+XA13KVGp 7NOee+gUIAGtwmJMCI8GmgkUruqCWKrZrLph+ZY3LajtTUdPA9hw94duQELK1mgZ5+vr JouKvthETwEXTuR0T52rRZktTLUl86nRzZdc0U+qWwDMJam1IONP4HS/XeHPKgKkySZp NJzQ== X-Gm-Message-State: AGi0Puboo7H9t/FtmMbP274qqm/P3IugtT5TI158pcXdipchDZkF7aSk JPd/LCiHDazCR2ELNB8hWWXd7l1F X-Google-Smtp-Source: APiQypIMzc7Ei4SiB132xEIwXF5XkX3wnY3QFAelv3y0HERqx6MTn8udrsUYemQKcXeIuVpeeP9zxA== X-Received: by 2002:adf:f350:: with SMTP id e16mr10128356wrp.332.1587728299280; Fri, 24 Apr 2020 04:38:19 -0700 (PDT) Received: from kali.home (lfbn-ren-1-403-35.w2-10.abo.wanadoo.fr. [2.10.23.35]) by smtp.gmail.com with ESMTPSA id 36sm8053639wrc.35.2020.04.24.04.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2020 04:38:18 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 24 Apr 2020 13:39:28 +0200 Message-Id: <20200424113928.213441-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200424113928.213441-1-fontaine.fabrice@gmail.com> References: <20200424113928.213441-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd optional dependency X-BeenThere: buildroot@busybox.net 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" systemd is an optional dependency (enabled by default) since version 2.0.5 and https://github.com/FluidSynth/fluidsynth/commit/099369f8b7f39afe08b6a518195948b05a937af3 Signed-off-by: Fabrice Fontaine --- package/fluidsynth/fluidsynth.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index 98eb1ad30c..22ba59669c 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -73,4 +73,11 @@ else FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0 endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1 +FLUIDSYNTH_DEPENDENCIES += systemd +else +FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0 +endif + $(eval $(cmake-package))