From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/
Date: Sun, 20 Feb 2022 01:07:31 +0000 (UTC) [thread overview]
Message-ID: <1645318956.95eb103649422aac003018f55f76b8a606f1850e.sam@gentoo> (raw)
commit: 95eb103649422aac003018f55f76b8a606f1850e
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 19 14:33:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 01:02:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95eb1036
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)
Closes: https://bugs.gentoo.org/833768
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../frei0r-plugins/frei0r-plugins-1.7.0-r2.ebuild | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
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
+}
next reply other threads:[~2022-02-20 1:07 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 1:07 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-19 3:47 [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/ Matt Jolly
2023-06-13 18:04 Arthur Zamarin
2023-06-13 18:03 Arthur Zamarin
2023-03-04 6:13 Arthur Zamarin
2023-03-04 5:49 Arthur Zamarin
2022-12-03 4:47 WANG Xuerui
2022-11-10 15:17 Alexis Ballier
2022-08-19 8:14 Andreas Sturmlechner
2022-08-19 5:52 Andreas Sturmlechner
2022-08-17 15:39 Sam James
2022-08-17 14:30 Sam James
2022-08-17 14:29 Sam James
2021-08-24 21:02 Marek Szuba
2021-02-14 20:30 Andreas Sturmlechner
2021-02-14 20:30 Andreas Sturmlechner
2021-01-03 19:40 Sam James
2021-01-01 5:46 Sam James
2021-01-01 3:13 Sam James
2020-01-26 10:26 Georgy Yakovlev
2018-10-04 19:46 Andreas Sturmlechner
2018-10-04 19:46 Andreas Sturmlechner
2018-07-21 15:08 Mikle Kolyada
2018-07-20 22:40 Thomas Deutschmann
2018-05-13 19:20 Aaron Bauman
2017-07-11 8:41 Alexis Ballier
2017-06-28 11:19 Alexis Ballier
2017-06-01 9:09 Alexis Ballier
2017-05-26 12:54 Alexis Ballier
2017-04-17 9:26 Alexis Ballier
2017-02-12 18:03 Johannes Huber
2017-02-12 17:01 Agostino Sarubbo
2017-02-04 11:47 Jeroen Roovers
2017-01-31 11:43 Agostino Sarubbo
2017-01-31 9:13 Agostino Sarubbo
2017-01-30 15:01 Johannes Huber
2016-08-29 16:04 Alexis Ballier
2015-11-05 15:51 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1645318956.95eb103649422aac003018f55f76b8a606f1850e.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox