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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA554139694 for ; Wed, 28 Jun 2017 11:19:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25CF9E0843; Wed, 28 Jun 2017 11:19:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E714CE0843 for ; Wed, 28 Jun 2017 11:19:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D203341741 for ; Wed, 28 Jun 2017 11:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9BD27466 for ; Wed, 28 Jun 2017 11:19:24 +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: <1498648734.3701f4f7f33e9a686bf00e292f64a7d7738abc3f.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.6.1.ebuild X-VCS-Directories: media-plugins/frei0r-plugins/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 3701f4f7f33e9a686bf00e292f64a7d7738abc3f X-VCS-Branch: master Date: Wed, 28 Jun 2017 11:19:24 +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-Archives-Salt: 35b126d7-2e11-4d12-b251-e3aa0f74a9fb X-Archives-Hash: 3ac7638b35ea63cbe0d10de860e70fff commit: 3701f4f7f33e9a686bf00e292f64a7d7738abc3f Author: Alexis Ballier gentoo org> AuthorDate: Wed Jun 28 11:18:54 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Jun 28 11:18:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3701f4f7 media-plugins/frei0r-plugins: bump to 1.6.1 Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-plugins/frei0r-plugins/Manifest | 1 + .../frei0r-plugins/frei0r-plugins-1.6.1.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest index 82273b1119b..8b69c3b32b3 100644 --- a/media-plugins/frei0r-plugins/Manifest +++ b/media-plugins/frei0r-plugins/Manifest @@ -1,2 +1,3 @@ DIST frei0r-plugins-1.5.0.tar.gz 1519006 SHA256 781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60 SHA512 9be0384421ff5ac9000dcda9acefb5cb2b6dc05ea72d9771fae990cb5fad4424dcef8dd15c1e5031a89169f914af8c7a30e47934ad007a3bc0150f3c005bc6bf WHIRLPOOL c582118da0d832edd10bf3e4473edb5ff352d67d723d84381befda0cee7deaaeb5f200b5db49603055d620921669d9e0346a7654db2f12e8d922419e7456eaf3 DIST frei0r-plugins-1.6.0.tar.gz 1090145 SHA256 ab2d7254f3a822944252f6c85453eeb8b38fd9368e087034c8d47d68fe6e36fe SHA512 0736c3e874d9406777e9dd1d7010e6ddd87c656df6d803d2dc689e1d6ee0d053aaaab5991484b58d142f14fe52f8dc51a31d2a6604f06d567fbb3414cb62645d WHIRLPOOL eecbf00dc9cfc9929b6a550e39a0e938b096a221b7b30213e616528c3c3a1a8bf78cd4765a5d40d03196fe1a00040d089490ed35aa6a9fab5b33333b728e7420 +DIST frei0r-plugins-1.6.1.tar.gz 1103969 SHA256 e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e SHA512 843790389e6de83817d1c3744a91d3365864bb0c22cf6598707ccba5ec8933f6209434011cde1303e16edd89f6cde2f22aa1fb6eca3548d892a2c77332c44aac WHIRLPOOL 4b05f48d2ee0cdab6af16a2c3ff656e1bf764ad495214ea6653b20b9df6a1104ca40c86f25abddd7b4a1c3f015294986022a3026c824c67b7d099b0bedf2e5cc diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild new file mode 100644 index 00000000000..6c92b93da41 --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="A minimalistic plugin API for video effects" +HOMEPAGE="http://www.dyne.org/software/frei0r/" +SRC_URI="http://files.dyne.org/frei0r/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc +facedetect +scale0tilt" + +RDEPEND="x11-libs/cairo + facedetect? ( >=media-libs/opencv-2.3.0:= ) + scale0tilt? ( >=media-libs/gavl-1.2.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt ) + +src_prepare() { + cmake-utils_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-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + pushd doc + doxygen || die + popd + fi +} + +src_install() { + cmake-utils_src_install + + use doc && dodoc -r doc/html +}