mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
43 lines
1.0 KiB
Bash
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
|