Files
guru/app-misc/mat2/mat2-0.11.0.ebuild
Andrew Ammerlaan 1eecfb74b4 */*: drop py3_6
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-09-26 11:18:18 +02:00

43 lines
1.0 KiB
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{7,8})
PYTHON_REQ_USE="xml"
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+exif sandbox video"
REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( exif video )"
RDEPEND="${PYTHON_DEPS}
media-libs/mutagen:0[${PYTHON_USEDEP}]
dev-python/pycairo:0[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
gnome-base/librsvg:2[introspection]
x11-libs/gdk-pixbuf:2[introspection]
app-text/poppler[introspection]
exif? ( media-libs/exiftool:* )
sandbox? ( sys-apps/bubblewrap )
video? ( media-video/ffmpeg:* )
"
DEPEND="${RDEPEND}
test? (
media-video/ffmpeg[mp3,vorbis]
x11-libs/gdk-pixbuf:2[jpeg,tiff]
)"
distutils_enable_tests unittest