commit:     cf2dac57ecb8150a360b3f48883cae19e64eeb7f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Dec 30 12:44:02 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Dec 30 12:44:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf2dac57

app-misc/mat2: add 0.13.4

Bug: https://bugs.gentoo.org/890393
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-misc/mat2/Manifest           |  2 ++
 app-misc/mat2/mat2-0.13.4.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/app-misc/mat2/Manifest b/app-misc/mat2/Manifest
index 6c0f1191ec..980916b801 100644
--- a/app-misc/mat2/Manifest
+++ b/app-misc/mat2/Manifest
@@ -1,2 +1,4 @@
 DIST mat2-0.13.3.tar.gz 11782599 BLAKE2B 
26ace57f5ac8ba2444a389615cb89f30e27a89f2e704620dcf0e0999f9643d7b46f6a920ead1ee747c1ac7f818cdb3fe0dcd3acf3b370545414aefd7e1c3850c
 SHA512 
48405de214b69e6d6fe818580ce758817632a4a3ab6cc6b73e7c13d0db2d5cd75a4ffffab22ce1b5dc73a6cc03da9436e44e290f74700027277ec18db023a6fb
 DIST mat2-0.13.3.tar.gz.asc 833 BLAKE2B 
9e1fdd6b714f020e16b3660f535ef1b1a150220011922f50a67cd1dce7ed8c704a7c1537e3304d38a5a2b3b42affa1c46a1bb6afd342ef4247dcbec2e1e68ebc
 SHA512 
d6de8d3675892407da58171c71f65785df6d946842cda23b12a6d9c253a89d9885c83857f3e7bd05309490f3c4e482c2eeef567e2fdc650d9ac772cf91da9e8e
+DIST mat2-0.13.4.tar.gz 11782937 BLAKE2B 
cab400479bbf312979e11f00bccf02e0e330455651dcdef239507c511b4101cb8b39af5f9dfdc1df9f1bcedc3dda3276c7cf598491c0ff0fc1f365f540fdb7a6
 SHA512 
75c08c9c52a82f9983e799c2aeef0da8324d1c92ac32fb748a68063ec7b28569692082aceacf7161d24db0e8a988357c423b6e17ca5c0f934309c9791c41ab18
+DIST mat2-0.13.4.tar.gz.asc 833 BLAKE2B 
5e108396ca5d52c88e714b3f66f2e36fd900089be0820facdfed02ba44f879a02e4f510d9f28c53ac2d1a01e678f69062a72a6aca2508ceb844620d06ea4cd78
 SHA512 
380c7ef948aea2af1b0e4c56b69848f365db0967678dbf8881d1a33fd8050523c11b7648a676636ee68190cb640a37e41b60aa6f9f604e7cf1b6f0044fc54c98

diff --git a/app-misc/mat2/mat2-0.13.4.ebuild b/app-misc/mat2/mat2-0.13.4.ebuild
new file mode 100644
index 0000000000..6a4bf820ae
--- /dev/null
+++ b/app-misc/mat2/mat2-0.13.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature verify-sig
+
+DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
+HOMEPAGE="https://0xacab.org/jvoisin/mat2";
+SIG_UPLOAD_HASH="95d1f3782dfc731545fd9b467c594cb2"
+SRC_URI="
+       https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz
+       verify-sig? ( 
https://0xacab.org/jvoisin/${PN}/uploads/${SIG_UPLOAD_HASH}/${P}.tar.gz.asc )
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Fixed in bbd5b2817c9d64013e2f5ed670aca8d4738bb484
+RESTRICT="test"
+
+RDEPEND="
+       app-text/poppler[introspection,cairo]
+       dev-libs/glib:2
+       dev-python/pycairo:0[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+       gnome-base/librsvg[introspection]
+       media-libs/mutagen:0[${PYTHON_USEDEP}]
+       x11-libs/gdk-pixbuf:2[introspection,jpeg,tiff]
+"
+BDEPEND="
+       verify-sig? ( >sec-keys/openpgp-keys-jvoisin-20200714 )
+       test? (
+               media-libs/exiftool:*
+               media-video/ffmpeg[mp3,vorbis]
+       )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jvoisin.asc
+
+DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
+
+distutils_enable_tests unittest
+
+src_test() {
+       # Double sandboxing is not possible
+       if ! has usersandbox ${FEATURES}; then
+               distutils-r1_src_test
+       fi
+       return 0
+}
+
+pkg_postinst() {
+       optfeature "misc file format support" media-libs/exiftool
+       optfeature "sandboxing" sys-apps/bubblewrap
+       optfeature "video support" media-video/ffmpeg
+}

Reply via email to