commit:     549df4c2596606edad89b239da965f7b2e094668
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sat May  6 20:31:29 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> 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 <gjoandet <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> 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
+}

Reply via email to