From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 608AE1584AD for ; Sun, 11 May 2025 00:36:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4B55A34318B for ; Sun, 11 May 2025 00:36:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7ECAA1103DE; Sun, 11 May 2025 00:35:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 785F91103DE for ; Sun, 11 May 2025 00:35:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3045134302E for ; Sun, 11 May 2025 00:35:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47FE1283B for ; Sun, 11 May 2025 00:35:48 +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: <1746923309.3e74e17dbeda1e722618672a95165eb28fffa6d1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/files/, media-plugins/frei0r-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/frei0r-plugins/Manifest media-plugins/frei0r-plugins/files/frei0r-plugins-2.3.3-cmake4.patch media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild X-VCS-Directories: media-plugins/frei0r-plugins/ media-plugins/frei0r-plugins/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3e74e17dbeda1e722618672a95165eb28fffa6d1 X-VCS-Branch: master Date: Sun, 11 May 2025 00:35:48 +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: 379e959d-b264-4dc0-b2d2-4a38dc4deafb X-Archives-Hash: 9b22f78b5c5e6f63f692d428b1bb40c3 commit: 3e74e17dbeda1e722618672a95165eb28fffa6d1 Author: Alfred Wingate protonmail com> AuthorDate: Fri May 9 19:33:46 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 11 00:28:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e74e17d media-plugins/frei0r-plugins: add 2.3.3 Long overdue bump after they moved their releases to GitHub. Signed-off-by: Alfred Wingate protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42011 Closes: https://github.com/gentoo/gentoo/pull/42011 Signed-off-by: Sam James gentoo.org> media-plugins/frei0r-plugins/Manifest | 1 + .../files/frei0r-plugins-2.3.3-cmake4.patch | 21 +++++++++ .../frei0r-plugins/frei0r-plugins-2.3.3.ebuild | 55 ++++++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest index 84b10b02b5a3..1906bb74faa0 100644 --- a/media-plugins/frei0r-plugins/Manifest +++ b/media-plugins/frei0r-plugins/Manifest @@ -1 +1,2 @@ DIST frei0r-plugins-1.8.0.tar.gz 823119 BLAKE2B 079017e0ff0ef08cf4b35ae18832191bacbdd01922c634adaad3b81f36af60548abe27fc3c2704c23f977dc8ab5554dc874886ddfa1766bbcd6bcadaa3f964da SHA512 b9933b5e46da6e6b4ae242ec48b3ca4e51fb21d7924fd83375bf6628437b194697dd2bff43a42220bd5e6bc4c50b0352480d6986956f110eb966e1005b51dc35 +DIST frei0r-plugins-2.3.3.tar.gz 921452 BLAKE2B dcf1d4eabd767428656802252ee5c7b51d23618dcbe3f7dab6f6268d28781fd994ac69276553910670e9a438557e7d200b16ce16a6df0d44469bbc1e7580823f SHA512 4f1b7b098563b38379821a81b19e2f9722512827e6ef986e5bac836e4406ce23f7cb486fd882646a372044555a897c3532c4fa733f2e5797613c3b65aff4b015 diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-2.3.3-cmake4.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-2.3.3-cmake4.patch new file mode 100644 index 000000000000..0334a1c11229 --- /dev/null +++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-2.3.3-cmake4.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/951350 +https://github.com/dyne/frei0r/commit/31efba74b26c161125c6c41d381dcf3f6207a728 +https://github.com/dyne/frei0r/pull/205 + +From 31efba74b26c161125c6c41d381dcf3f6207a728 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Wed, 2 Apr 2025 14:04:17 -0700 +Subject: [PATCH] Fix configuring with CMake version 4 + +See https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and- +removed-features + +> Compatibility with versions of CMake older than 3.5 has been removed. +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 3.1) ++cmake_minimum_required (VERSION 3.5) + + list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) + diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild new file mode 100644 index 000000000000..6be5efd186ab --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="doc" +inherit cmake-multilib docs + +DESCRIPTION="A minimalistic plugin API for video effects" +HOMEPAGE="https://www.dyne.org/software/frei0r/" +SRC_URI="https://github.com/dyne/frei0r/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/frei0r-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc +facedetect +scale0tilt" + +RDEPEND="x11-libs/cairo[${MULTILIB_USEDEP}] + facedetect? ( >=media-libs/opencv-2.3.0:=[contrib,contribdnn,features2d,${MULTILIB_USEDEP}] ) + scale0tilt? ( >=media-libs/gavl-1.2.0[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen[dot] ) +" + +DOCS=( AUTHORS.md README.md ) + +PATCHES=( + "${FILESDIR}"/frei0r-plugins-2.3.3-cmake4.patch +) + +src_prepare() { + cmake_src_prepare + + # https://bugs.gentoo.org/418243 + sed -i \ + -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \ + src/filter/*/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DWITHOUT_OPENCV=$(usex !facedetect) + -DWITHOUT_GAVL=$(usex !scale0tilt) + ) + cmake-multilib_src_configure +} + +src_compile() { + cmake-multilib_src_compile + use doc && docs_compile +}