Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/
Date: Fri, 19 Aug 2022 08:14:19
Message-Id: 1660896818.169a7082da233c393660606341b0a91a03dc9246.asturm@gentoo
1 commit: 169a7082da233c393660606341b0a91a03dc9246
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 14:33:09 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 08:13:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169a7082
7
8 media-plugins/frei0r-plugins: drop 1.7.0-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../frei0r-plugins/frei0r-plugins-1.7.0-r1.ebuild | 63 ----------------------
13 1 file changed, 63 deletions(-)
14
15 diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r1.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r1.ebuild
16 deleted file mode 100644
17 index 6a183eec5984..000000000000
18 --- a/media-plugins/frei0r-plugins/frei0r-plugins-1.7.0-r1.ebuild
19 +++ /dev/null
20 @@ -1,63 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -CMAKE_ECLASS=cmake
27 -inherit cmake-multilib
28 -
29 -DESCRIPTION="A minimalistic plugin API for video effects"
30 -HOMEPAGE="https://www.dyne.org/software/frei0r/"
31 -SRC_URI="https://files.dyne.org/frei0r/releases/${P}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 ~riscv x86"
36 -IUSE="doc +facedetect +scale0tilt"
37 -
38 -RDEPEND="x11-libs/cairo[${MULTILIB_USEDEP}]
39 - facedetect? ( >=media-libs/opencv-2.3.0:=[contribdnn,features2d,${MULTILIB_USEDEP}] )
40 - scale0tilt? ( >=media-libs/gavl-1.2.0[${MULTILIB_USEDEP}] )"
41 -DEPEND="${RDEPEND}"
42 -BDEPEND="
43 - virtual/pkgconfig
44 - doc? ( app-doc/doxygen )"
45 -
46 -DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt )
47 -PATCHES=( "${FILESDIR}/ocv4.patch" )
48 -
49 -src_prepare() {
50 - cmake_src_prepare
51 -
52 - local f=CMakeLists.txt
53 -
54 - sed -i \
55 - -e '/set(CMAKE_C_FLAGS/d' \
56 - -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
57 - ${f} || die
58 -
59 - # https://bugs.gentoo.org/418243
60 - sed -i \
61 - -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
62 - src/filter/*/${f} || die
63 -}
64 -
65 -src_configure() {
66 - cmake-multilib_src_configure \
67 - "-DWITHOUT_OPENCV=$(usex !facedetect)" \
68 - "-DWITHOUT_GAVL=$(usex !scale0tilt)"
69 -}
70 -
71 -src_compile() {
72 - cmake-multilib_src_compile
73 -
74 - if use doc; then
75 - pushd doc
76 - doxygen || die
77 - popd
78 - fi
79 -}
80 -
81 -multilib_src_install_all() {
82 - use doc && dodoc -r doc/html
83 -}