From nobody Sat May 18 17:15:51 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1598697774; cv=none; d=zohomail.com; s=zohoarc; b=dJqj22epu5Oj6Q3p0RDk8kMGRr56sxTBExbE5zdAAhm0JWUgqNl0OKMtdavH7dD5rB4IlktyXwT4a0ogVHXEPs2tYhdbCYVYZtwn0IY9YmMytYrvKWPypW3+xCXPZ9yzquBJJihVjhOqt+OAUkafaEstuewEXt0dLUkwu3PJtSU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598697774; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=QAEEpAtS3yXZI5vSlWObMpxEovUlllO56e2o8frO0hI=; b=Tx0z39/8EzHeNrTHIFH1GhhsSzxNM9q4S3yBtiSrlF4/hcU+8lEj9/qx1lp/EBKQBgA4Uc5stQ04XwDcz0HP1bDpE801YomdkxP2v22X1JVmVQhJ9aKfh01vz0d1A0o2ZsPPbZezJD6q7TdPxTcoVWy3XXk0WhJq63UCikKLHI8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1598697774015410.2133274400562; Sat, 29 Aug 2020 03:42:54 -0700 (PDT) Received: from localhost ([::1]:46180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kByJw-0002Zc-Vg for importer@patchew.org; Sat, 29 Aug 2020 06:42:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kByJD-0001tB-5C for qemu-devel@nongnu.org; Sat, 29 Aug 2020 06:42:07 -0400 Received: from mailout08.t-online.de ([194.25.134.20]:58618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kByJA-0007yn-U5 for qemu-devel@nongnu.org; Sat, 29 Aug 2020 06:42:06 -0400 Received: from fwd04.aul.t-online.de (fwd04.aul.t-online.de [172.20.26.149]) by mailout08.t-online.de (Postfix) with SMTP id 8104F411C908; Sat, 29 Aug 2020 12:42:01 +0200 (CEST) Received: from linpower.localnet (bNl1qiZ6QhY7rPjYlpJP7J565md+5zNtzzdyqaaH7C8EaEnh0TejTDht94QylqmQeG@[93.236.153.131]) by fwd04.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kByJ4-20FM5g0; Sat, 29 Aug 2020 12:41:58 +0200 Received: by linpower.localnet (Postfix, from userid 1000) id 443BD200637; Sat, 29 Aug 2020 12:41:58 +0200 (CEST) From: =?UTF-8?q?Volker=20R=C3=BCmelin?= To: Paolo Bonzini Subject: [PATCH] meson: fix SDL2_image detection Date: Sat, 29 Aug 2020 12:41:58 +0200 Message-Id: <20200829104158.7461-1-vr_qemu@t-online.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ID: bNl1qiZ6QhY7rPjYlpJP7J565md+5zNtzzdyqaaH7C8EaEnh0TejTDht94QylqmQeG X-TOI-EXPURGATEID: 150726::1598697718-00004F6D-F4CB8C37/0/0 CLEAN NORMAL X-TOI-MSGID: 2ea7af8c-6bbd-4832-88aa-cf000e6e2361 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=194.25.134.20; envelope-from=volker.ruemelin@t-online.de; helo=mailout08.t-online.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/29 06:42:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.26 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: QEMU Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Configure used to probe for SDL2_image in sdl_image_probe (). Meson should do the same. This fixes the following error on my system: Run-time dependency sdl2 found: YES 2.0.8 Found CMake: /usr/bin/cmake (3.17.0) Run-time dependency sdl-image found: NO (tried pkgconfig and cmake) ../qemu-master/meson.build:256:2: ERROR: Dependency "sdl-image" not found, tried pkgconfig and cmake A full log can be found at /home/ruemelin/rpmbuild/BUILD /qemu-5.1.50-build/meson-logs/meson-log.txt ERROR: meson setup failed Signed-off-by: Volker R=C3=BCmelin --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 74f8ea0c2e..8204878860 100644 --- a/meson.build +++ b/meson.build @@ -248,7 +248,7 @@ if sdl.found() # work around 2.0.8 bug sdl =3D declare_dependency(compile_args: '-Wno-undef', dependencies: sdl) - sdl_image =3D dependency('sdl-image', required: get_option('sdl_image'), + sdl_image =3D dependency('SDL2_image', required: get_option('sdl_image'), static: enable_static) else if get_option('sdl_image').enabled() --=20 2.26.2