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 0E1A2139695 for ; Thu, 1 Jun 2017 09:09:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A340E0E3A; Thu, 1 Jun 2017 09:09:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E966EE0E87 for ; Thu, 1 Jun 2017 09:09:28 +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 A7461341774 for ; Thu, 1 Jun 2017 09:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4344A746D for ; Thu, 1 Jun 2017 09:09:26 +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: <1496307951.fd11105f8b8bb6327d2693f22b4c12ed08795238.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.0.ebuild X-VCS-Directories: media-plugins/frei0r-plugins/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: fd11105f8b8bb6327d2693f22b4c12ed08795238 X-VCS-Branch: master Date: Thu, 1 Jun 2017 09:09:26 +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: 08940737-a7ad-403f-b7e5-c586c7ccd993 X-Archives-Hash: 63ead69895fc72f7e8c2ac7df771d033 commit: fd11105f8b8bb6327d2693f22b4c12ed08795238 Author: Alexis Ballier gentoo org> AuthorDate: Thu Jun 1 09:05:51 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Jun 1 09:05:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd11105f media-plugins/frei0r-plugins: bump to 1.6.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-plugins/frei0r-plugins/Manifest | 1 + .../frei0r-plugins/frei0r-plugins-1.6.0.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest index 300026122b8..82273b1119b 100644 --- a/media-plugins/frei0r-plugins/Manifest +++ b/media-plugins/frei0r-plugins/Manifest @@ -1 +1,2 @@ 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 diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.6.0.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.0.ebuild new file mode 100644 index 00000000000..6c92b93da41 --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.0.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 +}