app-misc/mat2: 0.11.0

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
Yury Martynov 2020-03-31 10:16:12 +03:00
parent 1cd6796855
commit 8ab4c53245
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 67 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST mat2-0.10.0.tar.gz 5720611 BLAKE2B 3aeb1b5fb1e5b39d5a59e84de48a1fefed8afff31d7ae2827324b9d54eab8a95f28f0e1de94d6c96ba250249531782f4a2cff4a82fdccc85da7382d00294fdaf SHA512 7434365766f5ba893b5b51e852d73af6b1dd562f3804e46b2aa5bf2097694d5465f0ddb5e401b157ed899a86caca2dd405424c5a7c86d66190cefd30eee3ba65
DIST mat2-0.10.1.tar.gz 5780327 BLAKE2B d8ffeb1c10409aa4fb93849e641c13bb65508441fb847db2a46f289becd33a160ac711c3c3fb302bfbacd5704acc9b15876a182916cf3d34bf8bb867836fe6b4 SHA512 ee6ec621b3e98cfcf2f341364f60d853be8aedbee88fd41d2cc97888ba7ee33f7610f165cdf140e0169fbdabd41ecafe80a30dab44dc9f2b1cb501973a8e403a
DIST mat2-0.11.0.tar.gz 10151787 BLAKE2B c55d04fe7d49e8515bc5bc3ebfad4c71ddec670e5efed9855545bc32374661bb92501fb5910a599f27d97a3089a44f983c983cb82572ab153602d38e39682164 SHA512 8396a32b409b83cc4158546f92d458bc8a62e5aabd2c452402ac6185c2efdeff8794a7e1e45a8e39e9eaba31e256a303ca0be38b65fd43f11e7b07d1ea8b2f06

View file

@ -0,0 +1,66 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="xml"
inherit desktop distutils-r1 xdg-utils
DESCRIPTION="A handy tool to trash your metadata"
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="dolphin ffmpeg +exif nautilus test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
test? ( exif ffmpeg )"
RESTRICT="!test? ( test )"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
app-text/poppler[introspection,cairo]
dev-libs/glib
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
exif? ( media-libs/exiftool )
gnome-base/librsvg:2[introspection]
ffmpeg? ( virtual/ffmpeg )
media-libs/mutagen[${PYTHON_USEDEP}]
nautilus? ( dev-python/nautilus-python )
x11-libs/gdk-pixbuf[introspection,jpeg,tiff]"
distutils_enable_tests unittest
python_install_all() {
distutils-r1_python_install_all
if use nautilus; then
insinto /usr/share/nautilus-python/extensions/
doins nautilus/mat2.py
fi
if use dolphin; then
insinto /usr/share/kservices5/ServiceMenus/
doins dolphin/mat2.desktop
fi
doicon -s 512 data/mat2.png
doicon -s scalable data/mat2.svg
doman doc/mat2.1
dodoc *.md doc/*.md
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}