From patchwork Fri Jan 10 22:02:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1221451 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.138; helo=whitealder.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=V9r2eoeD; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47vcS01f1bz9sR8 for ; Sat, 11 Jan 2020 09:03:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E6894877AD; Fri, 10 Jan 2020 22:03:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1zLt7PMseP-o; Fri, 10 Jan 2020 22:03:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CDF85877C9; Fri, 10 Jan 2020 22:03:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4C4911BF616 for ; Fri, 10 Jan 2020 22:03:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 438A5877C9 for ; Fri, 10 Jan 2020 22:03:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ADAk3cGgt+gU for ; Fri, 10 Jan 2020 22:03:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by whitealder.osuosl.org (Postfix) with ESMTPS id AD148877AD for ; Fri, 10 Jan 2020 22:03:05 +0000 (UTC) Received: by mail-wr1-f49.google.com with SMTP id g17so3229066wro.2 for ; Fri, 10 Jan 2020 14:03:05 -0800 (PST) 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=HNJZhQRu19+LEHTOyZCvMQk1We4EzKm8ppYlsGp9Oeg=; b=V9r2eoeDD1kHCNZokIBhKstMWU4DhOuG1szQ4fxhNADhK2Y2XC5eJX7iO+593KmOmY EXgwG6d1/OifL/utzFK3CQVi16GrGytl/ECyx0JqQ3i67Dqq88ChJA2Cyal8yP7Dl7tg Mti4aK6TO47cYuIX+WmKSUiSLSxjqtB3MlEVmIkHPnLabgWAuJwsYAPiNCB/l+vV1ViZ digmozdhdhV2am4whM5y+5VYugDJwF94P8Cp3xRmBsIm/Hlv08mXDijkF8n5rNOhynIT aM5wRdT9pubIPyyhZiuBOiFlilaYZgwZG0zA1JZJCIAPlzoCoB1BMkZfX3vuPXooYWD2 dRxg== 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=HNJZhQRu19+LEHTOyZCvMQk1We4EzKm8ppYlsGp9Oeg=; b=Tq9jfHymnPBcGNMPY9Jkqkl/B/K5/US5GuXsj6ceabQTIUyPIlvYafGeJPa6chee0I Yf1FtGeipQsg5KdhninEbFM2IyO363bl3JM1uzPftixnyji19JRrmunfNGbEkRQWdOug xszYOgZtLoa23PXfm/c9c5hh217ipxHPewfe4JQ3o9yaKKMkBMWqrg7Q4WDsWF8k9GX9 ZQdd6JaHHo5+Hs4E9tvO4NSTKI0gxtwU0SBpf2XlyGSHgeWCZ/JcXlo80uhlpGZ5XJL7 /dgSHWlpMlEcIGQJ2L1yisdHzgopJ84IC0VQ/th6H0JiKz/Yw5iEnskGlqyeQ6m75hUK 0f0Q== X-Gm-Message-State: APjAAAXHy/tdwGebQW+pZd1JhnLpdNoVOYlzGg09+HujLGhXvNRQRajU 1CuEpjCq6aACMIbEh6crcmnAYxG+ X-Google-Smtp-Source: APXvYqy1xUWgb6ewGne/fXujKf3dMFBF9aNzjkRQL3+RLIu0sXgWjpFoUEl+h2x7twoRyEl+4j6H+Q== X-Received: by 2002:adf:f103:: with SMTP id r3mr5339597wro.295.1578693783831; Fri, 10 Jan 2020 14:03:03 -0800 (PST) Received: from kali.home (lfbn-ren-1-602-70.w81-53.abo.wanadoo.fr. [81.53.179.70]) by smtp.gmail.com with ESMTPSA id 2sm3646595wrq.31.2020.01.10.14.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2020 14:03:03 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 10 Jan 2020 23:02:38 +0100 Message-Id: <20200110220239.196975-4-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200110220239.196975-1-fontaine.fabrice@gmail.com> References: <20200110220239.196975-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5] package/sdl2_mixer: add optional fluidsynth 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: Bernd Kuhls , Simon Dawson , Fabrice Fontaine , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- package/sdl2_mixer/sdl2_mixer.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package/sdl2_mixer/sdl2_mixer.mk b/package/sdl2_mixer/sdl2_mixer.mk index 198333854e..34bba5772d 100644 --- a/package/sdl2_mixer/sdl2_mixer.mk +++ b/package/sdl2_mixer/sdl2_mixer.mk @@ -12,9 +12,7 @@ SDL2_MIXER_LICENSE_FILES = COPYING.txt SDL2_MIXER_INSTALL_STAGING = YES SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf -SDL2_MIXER_CONF_OPTS = \ - --disable-music-midi-fluidsynth \ - --disable-music-mp3 +SDL2_MIXER_CONF_OPTS = --disable-music-mp3 ifeq ($(BR2_PACKAGE_FLAC),y) SDL2_MIXER_CONF_OPTS += --enable-music-flac @@ -23,6 +21,13 @@ else SDL2_MIXER_CONF_OPTS += --disable-music-flac endif +ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y) +SDL2_MIXER_CONF_OPTS += --enable-music-midi-fluidsynth +SDL2_MIXER_DEPENDENCIES += fluidsynth +else +SDL2_MIXER_CONF_OPTS += --disable-music-midi-fluidsynth +endif + ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) SDL2_MIXER_CONF_OPTS += --enable-music-mod-modplug SDL2_MIXER_DEPENDENCIES += libmodplug