mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-plugins/frei0r-plugins: add 2.3.3
Long overdue bump after they moved their releases to GitHub. Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42011 Closes: https://github.com/gentoo/gentoo/pull/42011 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
29c2293e4f
commit
3e74e17dbe
@@ -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
|
||||
|
||||
@@ -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 <dan@dennedy.org>
|
||||
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)
|
||||
|
||||
55
media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild
Normal file
55
media-plugins/frei0r-plugins/frei0r-plugins-2.3.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user