From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D357158020 for ; Thu, 10 Nov 2022 15:17:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 849A7E09E5; Thu, 10 Nov 2022 15:17:05 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 693BBE09E5 for ; Thu, 10 Nov 2022 15:17:05 +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 6D0DC33FE2A for ; Thu, 10 Nov 2022 15:17:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7D2B6D2 for ; Thu, 10 Nov 2022 15:17:02 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1668093414.67b00689aba5b35c10c403ba41c566c3246d2eb5.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/frei0r-plugins/Manifest media-plugins/frei0r-plugins/frei0r-plugins-1.8.0.ebuild X-VCS-Directories: media-plugins/frei0r-plugins/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 67b00689aba5b35c10c403ba41c566c3246d2eb5 X-VCS-Branch: master Date: Thu, 10 Nov 2022 15:17:02 +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: 80f39078-ef94-41fe-9951-320aac50e2c1 X-Archives-Hash: 6f66a6f0f333602090cb46eccb82c1eb commit: 67b00689aba5b35c10c403ba41c566c3246d2eb5 Author: Alexis Ballier gentoo org> AuthorDate: Thu Nov 10 15:11:46 2022 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Nov 10 15:16:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b00689 media-plugins/frei0r-plugins: bump to 1.8.0 Signed-off-by: Alexis Ballier gentoo.org> media-plugins/frei0r-plugins/Manifest | 1 + .../frei0r-plugins/frei0r-plugins-1.8.0.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest index 87d7d18b69a0..7704bcd2d43a 100644 --- a/media-plugins/frei0r-plugins/Manifest +++ b/media-plugins/frei0r-plugins/Manifest @@ -1 +1,2 @@ DIST frei0r-plugins-1.7.0.tar.gz 1214323 BLAKE2B 1b571361ced6dfc29c5b487ee78664995aab615b89ac9a0839254c5fc17ddc7147cf9eb7c2d6df33f518fa96b9761a185dba420037e6c9cdf7d0e70416aab76c SHA512 8c80e8e0ce8c302e633ea1f6ff4e2a141fd7a8bcb7fce25dc7f1f6521be11258a3efa1074c224c7323e6a17bc405413385be193a5c787e2f276252b50477ebce +DIST frei0r-plugins-1.8.0.tar.gz 823119 BLAKE2B 079017e0ff0ef08cf4b35ae18832191bacbdd01922c634adaad3b81f36af60548abe27fc3c2704c23f977dc8ab5554dc874886ddfa1766bbcd6bcadaa3f964da SHA512 b9933b5e46da6e6b4ae242ec48b3ca4e51fb21d7924fd83375bf6628437b194697dd2bff43a42220bd5e6bc4c50b0352480d6986956f110eb966e1005b51dc35 diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.8.0.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.8.0.ebuild new file mode 100644 index 000000000000..9630fdd9fb68 --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.8.0.ebuild @@ -0,0 +1,53 @@ +# 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 ) + +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 +}