From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 906BC158011 for ; Wed, 31 Aug 2022 19:33:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0DFFE0864; Wed, 31 Aug 2022 19:33:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A0FF2E0831 for ; Wed, 31 Aug 2022 19:33:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 8A923340824 for ; Wed, 31 Aug 2022 19:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE12759E for ; Wed, 31 Aug 2022 19:33:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661974423.1ee936b10508ee7bf8454a0eb203fbf88daa6228.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/libva-utils/files/, media-video/libva-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/libva-utils/files/libva-utils-2.15.0-fix-threads-option.patch media-video/libva-utils/libva-utils-2.15.0.ebuild X-VCS-Directories: media-video/libva-utils/ media-video/libva-utils/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ee936b10508ee7bf8454a0eb203fbf88daa6228 X-VCS-Branch: master Date: Wed, 31 Aug 2022 19:33:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2387f3f0-2f0d-49fd-b242-98281985bdb8 X-Archives-Hash: f07004b118e29d69d575053db8ff9a89 commit: 1ee936b10508ee7bf8454a0eb203fbf88daa6228 Author: Sam James gentoo org> AuthorDate: Wed Aug 31 19:16:37 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 31 19:33:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee936b1 media-video/libva-utils: fix build w/ USE=-examples Closes: https://bugs.gentoo.org/835508 Signed-off-by: Sam James gentoo.org> .../libva-utils-2.15.0-fix-threads-option.patch | 29 ++++++++++++++++++++++ media-video/libva-utils/libva-utils-2.15.0.ebuild | 4 +++ 2 files changed, 33 insertions(+) diff --git a/media-video/libva-utils/files/libva-utils-2.15.0-fix-threads-option.patch b/media-video/libva-utils/files/libva-utils-2.15.0-fix-threads-option.patch new file mode 100644 index 000000000000..4683dcbdd557 --- /dev/null +++ b/media-video/libva-utils/files/libva-utils-2.15.0-fix-threads-option.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/835508 +https://github.com/intel/libva-utils/pull/261 + +From 83fb9c9bbda86f1bd224b20b082aff6e9f3d6ff6 Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Fri, 18 Mar 2022 10:52:29 -0700 +Subject: [PATCH] meson: Search for threads in top-level meson.build + +In Gentoo we allow disabling the tools and putsuface separately, so +moving the threads check out of the encode subdirectory helps. +--- a/encode/meson.build ++++ b/encode/meson.build +@@ -1,4 +1,3 @@ +-threads = dependency('threads') + m = c.find_library('m') + + +--- a/meson.build ++++ b/meson.build +@@ -10,6 +10,8 @@ project('libva-utils', 'c', 'cpp', + + c = meson.get_compiler('c') + ++threads = dependency('threads') ++ + libva_dep = dependency('libva', version: '>= 1.1.0') + + libva_utils_flags = [ '-Wno-unused-parameter', + diff --git a/media-video/libva-utils/libva-utils-2.15.0.ebuild b/media-video/libva-utils/libva-utils-2.15.0.ebuild index 428cc77cbc2d..19188e469b1f 100644 --- a/media-video/libva-utils/libva-utils-2.15.0.ebuild +++ b/media-video/libva-utils/libva-utils-2.15.0.ebuild @@ -38,6 +38,10 @@ fi RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${P}-fix-threads-option.patch +) + src_prepare() { default