mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=(python3_{7..9})
|
|
PYTHON_REQ_USE="xml"
|
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
|
|
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}
|
|
app-text/poppler[introspection]
|
|
dev-python/pycairo:0[${PYTHON_USEDEP}]
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
gnome-base/librsvg:2[introspection]
|
|
media-libs/mutagen:0[${PYTHON_USEDEP}]
|
|
x11-libs/gdk-pixbuf:2[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
|