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 70A9815ACFC for ; Sat, 6 May 2023 23:03:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFD78E07FE; Sat, 6 May 2023 23:03:37 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CEE2E07FE for ; Sat, 6 May 2023 23:03:37 +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 5F442340D43 for ; Sat, 6 May 2023 23:03:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F25D78AC for ; Sat, 6 May 2023 23:03:34 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1683414210.549df4c2596606edad89b239da965f7b2e094668.mattst88@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.14.1.ebuild X-VCS-Directories: media-libs/gexiv2/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 549df4c2596606edad89b239da965f7b2e094668 X-VCS-Branch: master Date: Sat, 6 May 2023 23:03:34 +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: ee121d3a-3c0f-442f-8e96-6d39d83e3651 X-Archives-Hash: eb8f69dea1a588278c6a59a65d48483a commit: 549df4c2596606edad89b239da965f7b2e094668 Author: Guillermo Joandet gmail com> AuthorDate: Sat May 6 20:31:29 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat May 6 23:03:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549df4c2 media-libs/gexiv2: Version bump to 0.14.1 Closes: https://github.com/gentoo/gentoo/pull/30903 Signed-off-by: Guillermo Joandet gmail.com> Signed-off-by: Matt Turner gentoo.org> media-libs/gexiv2/Manifest | 1 + media-libs/gexiv2/gexiv2-0.14.1.ebuild | 77 ++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest index 55cf83623a16..bc962176c1a2 100644 --- a/media-libs/gexiv2/Manifest +++ b/media-libs/gexiv2/Manifest @@ -1 +1,2 @@ DIST gexiv2-0.14.0.tar.xz 387288 BLAKE2B bdbb4547486a248cd9c6559276ebac20d3af5211474b86eb6ebfb3a8c76670ff7c2d162435e0cbcb270f96c64f5bc1eedc2d63c021b65f57e1ad9ec8cf9a4bf8 SHA512 d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50 +DIST gexiv2-0.14.1.tar.xz 387604 BLAKE2B 5939e377d8b20cfa0c000b1fb0311a0a904acb35b5cbb7841e9def80b20b79f42393524e761fa0d20dba5095b55b46a712759569eb869b832190f7448896de82 SHA512 f510e49c0b2633bcc370ca21af0822032f04f5d5b57c7f76807797601b0a98b7749fdf68df37a405c9d90734adf75282a3dad59c24830874f64f7bd33152052d diff --git a/media-libs/gexiv2/gexiv2-0.14.1.ebuild b/media-libs/gexiv2/gexiv2-0.14.1.ebuild new file mode 100644 index 000000000000..3d6e9af9775e --- /dev/null +++ b/media-libs/gexiv2/gexiv2-0.14.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit gnome.org meson python-r1 vala + +DESCRIPTION="GObject-based wrapper around the Exiv2 library" +HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gexiv2.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="LGPL-2.1+ GPL-2" +SLOT="0" +IUSE="gtk-doc +introspection python test +vala" +REQUIRED_USE=" + python? ( introspection ${PYTHON_REQUIRED_USE} ) + test? ( python introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=media-gfx/exiv2-0.26:= + >=dev-libs/glib-2.46.0:2 + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( + dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 + ) + test? ( media-gfx/exiv2[xmp] ) + virtual/pkgconfig + vala? ( $(vala_depend) ) +" +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use test tests) + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use vala vapi) + -Dtools=false # requires vala, freshly promoted tool that some other distros don't ship yet either + # Prevents installation of python modules (uses install_data from meson + # which does not optimize the modules) + -Dpython3=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use python ; then + python_moduleinto gi/overrides/ + python_foreach_impl python_domodule GExiv2.py + python_foreach_impl python_optimize + fi +}