mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
commit
5c0f64561b
3 changed files with 20 additions and 17 deletions
|
|
@ -1 +1 @@
|
||||||
DIST mat2-0.13.3.tar.gz 11782599 BLAKE2B 26ace57f5ac8ba2444a389615cb89f30e27a89f2e704620dcf0e0999f9643d7b46f6a920ead1ee747c1ac7f818cdb3fe0dcd3acf3b370545414aefd7e1c3850c SHA512 48405de214b69e6d6fe818580ce758817632a4a3ab6cc6b73e7c13d0db2d5cd75a4ffffab22ce1b5dc73a6cc03da9436e44e290f74700027277ec18db023a6fb
|
DIST mat2-0.14.0.gh.tar.gz 11544055 BLAKE2B dd209912f659ee95c1d26051003152c09dc97d45680c608dd73b0b3a001411ace437745ce3c465d55461c47cf13e30cfdba533fdf9bdb4e749b8db666616c589 SHA512 7b1f2bab7879e0ac3e60d07c3003ce8b7565c927bb658a7f34c062ee45b2a67f2830a55b518c77e953c80ca2296fed2567b70660c7c0394386616de2d0bc82cc
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
@ -10,14 +10,14 @@ PYTHON_COMPAT=( python3_{12..14} )
|
||||||
inherit desktop distutils-r1 xdg-utils
|
inherit desktop distutils-r1 xdg-utils
|
||||||
|
|
||||||
DESCRIPTION="A handy tool to trash your metadata"
|
DESCRIPTION="A handy tool to trash your metadata"
|
||||||
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
|
HOMEPAGE="https://github.com/jvoisin/mat2"
|
||||||
SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
|
SRC_URI="https://github.com/jvoisin/mat2/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~x86"
|
||||||
|
|
||||||
IUSE="dolphin ffmpeg +exif nautilus test"
|
IUSE="dolphin ffmpeg +exif test"
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||||
test? ( exif ffmpeg )"
|
test? ( exif ffmpeg )"
|
||||||
|
|
||||||
|
|
@ -34,13 +34,14 @@ RDEPEND="${DEPEND}
|
||||||
exif? ( media-libs/exiftool )
|
exif? ( media-libs/exiftool )
|
||||||
gnome-base/librsvg:2[introspection]
|
gnome-base/librsvg:2[introspection]
|
||||||
ffmpeg? ( media-video/ffmpeg )
|
ffmpeg? ( media-video/ffmpeg )
|
||||||
nautilus? ( dev-python/nautilus-python )
|
|
||||||
x11-libs/gdk-pixbuf[introspection,jpeg,tiff]"
|
x11-libs/gdk-pixbuf[introspection,jpeg,tiff]"
|
||||||
|
|
||||||
|
# nautilus? ( dev-python/nautilus-python )
|
||||||
|
|
||||||
distutils_enable_tests unittest
|
distutils_enable_tests unittest
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
eapply "${FILESDIR}/pyproject.patch"
|
# eapply "${FILESDIR}/pyproject.patch"
|
||||||
sed -i "s|CURRENT_VERSION|${PV}|" pyproject.toml || die
|
sed -i "s|CURRENT_VERSION|${PV}|" pyproject.toml || die
|
||||||
|
|
||||||
distutils-r1_src_prepare
|
distutils-r1_src_prepare
|
||||||
|
|
@ -49,13 +50,13 @@ src_prepare() {
|
||||||
python_install_all() {
|
python_install_all() {
|
||||||
distutils-r1_python_install_all
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
if use nautilus; then
|
# if use nautilus; then
|
||||||
insinto /usr/share/nautilus-python/extensions/
|
# insinto /usr/share/nautilus-python/extensions/
|
||||||
doins nautilus/mat2.py
|
# doins nautilus/mat2.py
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if use dolphin; then
|
if use dolphin; then
|
||||||
insinto /usr/share/kservices5/ServiceMenus/
|
insinto /usr/share/kio/servicemenus
|
||||||
doins dolphin/mat2.desktop
|
doins dolphin/mat2.desktop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -2,11 +2,13 @@
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<maintainer type="person">
|
||||||
<email>email@linxon.ru</email>
|
<email>unknown@pentoo.ch</email>
|
||||||
<name>Yury Martynov</name>
|
<name>Author Unknown</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="nautilus">Enable nautilus extension</flag>
|
<flag name="dolphin">add contextual menu for Plasma</flag>
|
||||||
<flag name="dolphin">Enable dolphin extension</flag>
|
|
||||||
</use>
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">jvoisin/mat2</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue