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 B0C51138334 for ; Sat, 29 Dec 2018 11:23:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 621B3E0957; Sat, 29 Dec 2018 11:23: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 1AA44E0957 for ; Sat, 29 Dec 2018 11:23:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3C29D335C58 for ; Sat, 29 Dec 2018 11:23:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA73D4CE for ; Sat, 29 Dec 2018 11:23:18 +0000 (UTC) From: "Andreas Sturmlechner" 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" Message-ID: <1546082583.7179568e7aee7437ac2b20e8c8521f5c58bbe5d3.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gexiv2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/gexiv2/Manifest media-libs/gexiv2/gexiv2-0.10.9.ebuild X-VCS-Directories: media-libs/gexiv2/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7179568e7aee7437ac2b20e8c8521f5c58bbe5d3 X-VCS-Branch: master Date: Sat, 29 Dec 2018 11:23:18 +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: 27a2d169-70e7-48c0-9aad-4e735c852c61 X-Archives-Hash: db7924ca2e223b5a1f7aa0a726a136af commit: 7179568e7aee7437ac2b20e8c8521f5c58bbe5d3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 29 11:15:10 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 29 11:23:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7179568e media-libs/gexiv2: 0.10.9 version bump, EAPI-7 bump Cleanup and sort DEPENDs Drop obsolete eclass Closes: https://bugs.gentoo.org/673722 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/gexiv2/Manifest | 1 + media-libs/gexiv2/gexiv2-0.10.9.ebuild | 69 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest index 826c429aa40..01458e8b3ec 100644 --- a/media-libs/gexiv2/Manifest +++ b/media-libs/gexiv2/Manifest @@ -1 +1,2 @@ DIST gexiv2-0.10.8.tar.xz 634696 BLAKE2B 182cda3bac5b3211e5ef8267628a86cc496c0242f25c5cd94ed9eab81c7460022373f3bb794c976fd0b9a10e49f9ca7109521ac6f99bbe7a4e0306a31db899da SHA512 4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286 +DIST gexiv2-0.10.9.tar.xz 380348 BLAKE2B 6e1479f1a4ac74f622f71eb554c42a5170091d6b1b790962ef415eab4b2528dececa2f2f7147cc662fa00503ec66766294f7efd9401bae4771e72c56724398ec SHA512 40683ce341c5eb09ad67a4a25ad14a791247a5b5f459acba424815e98d5797b0a7fb338fb4d4f1c234147c9268abe34570698fd4259cb80f7f7af76af0f0fba3 diff --git a/media-libs/gexiv2/gexiv2-0.10.9.ebuild b/media-libs/gexiv2/gexiv2-0.10.9.ebuild new file mode 100644 index 00000000000..02c3359c1ca --- /dev/null +++ b/media-libs/gexiv2/gexiv2-0.10.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +MY_PV=$(ver_cut 1-2) +inherit autotools python-r1 toolchain-funcs vala xdg-utils + +DESCRIPTION="GObject-based wrapper around the Exiv2 library" +HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2" +SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="introspection python static-libs test vala" + +REQUIRED_USE=" + python? ( introspection ${PYTHON_REQUIRED_USE} ) + test? ( python introspection ) + vala? ( introspection ) +" + +RDEPEND="${PYTHON_DEPS} + dev-libs/glib:2 + media-gfx/exiv2:= + introspection? ( dev-libs/gobject-introspection:= ) + vala? ( $(vala_depend) ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/gobject-introspection-common + virtual/pkgconfig + test? ( + dev-python/pygobject + media-gfx/exiv2[xmp] + ) +" + +src_prepare() { + xdg_environment_reset + tc-export CXX + use vala && vala_src_prepare + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable introspection) \ + $(use_enable static-libs static) \ + $(use_enable vala) +} + +src_install() { + emake DESTDIR="${D}" LIB="$(get_libdir)" install + einstalldocs + + if use python ; then + python_moduleinto gi/overrides/ + python_foreach_impl python_domodule GExiv2.py + fi + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +}