From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-992990-garchives=archives.gentoo.org@lists.gentoo.org> 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 CFCB7138806 for <garchives@archives.gentoo.org>; Mon, 25 Dec 2017 23:14:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC7C8E0BEF; Mon, 25 Dec 2017 23:14:23 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2E6CE0BEF for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 23:14:23 +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 8777933D4A6 for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 23:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABDB2747C for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 23:14:18 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1514243619.d3b9000b9cf5b1d1bdee9f02999289692befd6b1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lensfun/lensfun-0.3.2-r1.ebuild X-VCS-Directories: media-libs/lensfun/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d3b9000b9cf5b1d1bdee9f02999289692befd6b1 X-VCS-Branch: master Date: Mon, 25 Dec 2017 23:14:18 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ef7fd5b3-a44a-4058-89d6-a3b1103b6d7c X-Archives-Hash: b569c248e239e23152ce1be86b2ae05e commit: d3b9000b9cf5b1d1bdee9f02999289692befd6b1 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Dec 25 23:09:01 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Dec 25 23:13:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b9000b media-libs/lensfun: Fix cmake flags, bump to EAPI 6 Thanks-to: Alexander Miller <alex.miller <AT> gmx.de> Closes: https://bugs.gentoo.org/629578 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-libs/lensfun/lensfun-0.3.2-r1.ebuild | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild new file mode 100644 index 00000000000..3085e81fe23 --- /dev/null +++ b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit python-single-r1 cmake-utils + +DESCRIPTION="Library for rectifying and simulating photographic lens distortions" +HOMEPAGE="http://lensfun.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.40 + media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + dev-python/docutils + )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DOCS=( README.md docs/mounts.txt ChangeLog ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html + -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) + -DSETUP_PY_INSTALL_PREFIX="${ED}"/usr + -DBUILD_LENSTOOL=ON + -DBUILD_STATIC=OFF + -DBUILD_DOC=$(usex doc) + -DBUILD_FOR_SSE=$(usex cpu_flags_x86_sse) + -DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2) + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}