Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 765473 Details for
Bug 833768
media-plugins/frei0r-plugins-1.7.0-r1 has automagic dependency on OpenCV (PATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes the bug
0001-media-plugins-frei0r-plugins-fix-CMake-flags-not-bei.patch (text/plain), 2.18 KB, created by
Anna Vyalkova
on 2022-02-19 14:42:39 UTC
(
hide
)
Description:
patch that fixes the bug
Filename:
MIME Type:
Creator:
Anna Vyalkova
Created:
2022-02-19 14:42:39 UTC
Size:
2.18 KB
patch
obsolete
>From c8914256c34bd1fea44b8989e1bbdcb2fc52a0fc Mon Sep 17 00:00:00 2001 >From: Anna Vyalkova <cyber+gentoo@sysrq.in> >Date: Sat, 19 Feb 2022 19:33:00 +0500 >Subject: [PATCH] media-plugins/frei0r-plugins: fix CMake flags not being > passed > >Other changes: > >* update EAPI 7 -> 8 >* use docs.eclass >* remove pkgconfig build dependency (it's a rdep of cmake) > >Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> >--- > .../frei0r-plugins-1.7.0-r2.ebuild | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r2.ebuild > >diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r2.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r2.ebuild >new file mode 100644 >index 000000000000..1b3d854afda5 >--- /dev/null >+++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r2.ebuild >@@ -0,0 +1,54 @@ >+# Copyright 1999-2022 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://files.dyne.org/frei0r/releases/${P}.tar.gz" >+ >+LICENSE="GPL-2" >+SLOT="0" >+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" >+IUSE="doc +facedetect +scale0tilt" >+ >+RDEPEND="x11-libs/cairo[${MULTILIB_USEDEP}] >+ facedetect? ( >=media-libs/opencv-2.3.0:=[contribdnn,features2d,${MULTILIB_USEDEP}] ) >+ scale0tilt? ( >=media-libs/gavl-1.2.0[${MULTILIB_USEDEP}] )" >+DEPEND="${RDEPEND}" >+ >+DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt ) >+PATCHES=( "${FILESDIR}/ocv4.patch" ) >+ >+src_prepare() { >+ cmake_src_prepare >+ >+ local f=CMakeLists.txt >+ >+ sed -i \ >+ -e '/set(CMAKE_C_FLAGS/d' \ >+ -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \ >+ ${f} || die >+ >+ # https://bugs.gentoo.org/418243 >+ sed -i \ >+ -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \ >+ src/filter/*/${f} || 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 >+} >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833768
:
765470
|
765471
|
765472
| 765473