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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7650138334 for ; Thu, 17 Jan 2019 18:12:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09C70E09EC; Thu, 17 Jan 2019 18:12:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1CD2E09EC for ; Thu, 17 Jan 2019 18:12:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79891335C94 for ; Thu, 17 Jan 2019 18:12:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5391844B for ; Thu, 17 Jan 2019 18:12:36 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1547748725.510d7eb712901d372fba19bccc96e9d23855bae4.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencv/, media-libs/opencv/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/opencv/files/opencv-3.4.1-fix-build-with-va.patch media-libs/opencv/opencv-3.4.1-r5.ebuild X-VCS-Directories: media-libs/opencv/ media-libs/opencv/files/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 510d7eb712901d372fba19bccc96e9d23855bae4 X-VCS-Branch: master Date: Thu, 17 Jan 2019 18:12:36 +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: c5c256c7-f0ad-4a0a-8d7b-e7860d25378b X-Archives-Hash: 10a734e2e8cb9f312e7347ec92dbae5a commit: 510d7eb712901d372fba19bccc96e9d23855bae4 Author: Amy Liffey gentoo org> AuthorDate: Thu Jan 17 08:59:50 2019 +0000 Commit: Amy Liffey gentoo org> CommitDate: Thu Jan 17 18:12:05 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=510d7eb7 media-libs/opencv: add missing build dep Closes: https://bugs.gentoo.org/656576 Signed-off-by: Amy Liffey gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 .../files/opencv-3.4.1-fix-build-with-va.patch | 26 ++++++++++++++++++++++ media-libs/opencv/opencv-3.4.1-r5.ebuild | 4 +++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/media-libs/opencv/files/opencv-3.4.1-fix-build-with-va.patch b/media-libs/opencv/files/opencv-3.4.1-fix-build-with-va.patch new file mode 100644 index 00000000000..813eb7e4ae6 --- /dev/null +++ b/media-libs/opencv/files/opencv-3.4.1-fix-build-with-va.patch @@ -0,0 +1,26 @@ +From 20f5fa8e3e880bc8b2e5156e9f25f7fb756ed8e4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= +Date: Wed, 28 Feb 2018 19:21:31 +0000 +Subject: [PATCH] Fix build with VA + +This commit readd ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES} +that was missed in commit 2200e13c7193e0fe9db4b9f7c4bee3a7ef043909 + + diff --git a/samples/va_intel/CMakeLists.txt b/samples/va_intel/CMakeLists.txt + - ocv_target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS} ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES}) + + ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS}) +--- + samples/va_intel/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/samples/va_intel/CMakeLists.txt b/samples/va_intel/CMakeLists.txt +index af51dd32061..04f2ea5fd40 100644 +--- a/samples/va_intel/CMakeLists.txt ++++ b/samples/va_intel/CMakeLists.txt +@@ -17,5 +17,5 @@ ocv_include_modules_recurse(${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS}) + file(GLOB all_samples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp) + foreach(sample_filename ${all_samples}) + ocv_define_sample(tgt ${sample_filename} va_intel) +- ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS}) ++ ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS} ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES}) + endforeach() diff --git a/media-libs/opencv/opencv-3.4.1-r5.ebuild b/media-libs/opencv/opencv-3.4.1-r5.ebuild index 4b41ad5b750..45086698e73 100644 --- a/media-libs/opencv/opencv-3.4.1-r5.ebuild +++ b/media-libs/opencv/opencv-3.4.1-r5.ebuild @@ -105,7 +105,8 @@ DEPEND="${RDEPEND} virtual/pkgconfig[${MULTILIB_USEDEP}] contrib_dnn? ( dev-libs/cereal ) eigen? ( dev-cpp/eigen:3 ) - java? ( >=virtual/jdk-1.6 )" + java? ( >=virtual/jdk-1.6 ) + vaapi? ( x11-libs/libva )" MULTILIB_WRAPPED_HEADERS=( /usr/include/opencv2/cvconfig.h @@ -231,6 +232,7 @@ PATCHES=( "${FILESDIR}/${P}-python-lib-suffix-hack.patch" "${FILESDIR}/${P}-cuda-add-relaxed-constexpr.patch" "${FILESDIR}/${P}-remove-git-autodetect.patch" + "${FILESDIR}/${P}-fix-build-with-va.patch" # bug https://bugs.gentoo.org/656576 ) pkg_pretend() {