Files
guru/app-misc/mat2/mat2-0.12.4.ebuild
Anna (cybertailor) Vyalkova 901344f1f1 app-misc/mat2: enable py3.10
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-05-31 00:25:56 +05:00

44 lines
1.1 KiB
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=(python3_{8..10})
PYTHON_REQ_USE="xml"
inherit distutils-r1 optfeature
DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
SRC_URI="https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/pycairo:0[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
media-libs/mutagen:0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
media-libs/exiftool:*
media-video/ffmpeg[mp3,vorbis]
x11-libs/gdk-pixbuf:2[jpeg,tiff]
)
"
DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
distutils_enable_tests unittest
pkg_postinst() {
optfeature "PDF support" "app-text/poppler[introspection]"
optfeature "SVG support" "gnome-base/librsvg:2[introspection]"
optfeature "image support" "x11-libs/gdk-pixbuf:2[introspection]"
optfeature "misc file format support" media-libs/exiftool
optfeature "sandboxing" sys-apps/bubblewrap
optfeature "video support" media-video/ffmpeg
}