Adding packages for Gentoo Guru Maint

This commit is contained in:
Gerben Jan Dijkman
2021-07-24 03:49:41 +02:00
parent 613a4ee3cd
commit 3f583ffcab
41 changed files with 655 additions and 1446 deletions

View File

@@ -0,0 +1 @@
DIST portfolio-0.9.10.tar.gz 406682 BLAKE2B 988619fc37d7215e923959a3155c2268e6d61c93d7b1e3ece9f3ce1ea1afa45930f44ad4cd85cba71c018c18939f7585a48ab84e908359efdf378fdb646dd02c SHA512 5182c88bc5d00f8f307cf6c23f636a1e4d9fdd79e662cd6a1cb90c80380b9108df0fe5f07f6dd79df40fa14a57dbeeafb324a83961e399d07b5c6bef0007558d

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<longdescription lang="en">
A minimalist file manager for those who want to use Linux mobile devices.
</longdescription>
<upstream>
<doc>https://github.com/tchx84/Portfolio</doc>
<bugs-to>https://github.com/tchx84/Portfolio/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit gnome2-utils meson python-single-r1 xdg
DESCRIPTION="A minimalist file manager for those who want to use Linux mobile devices"
HOMEPAGE="https://github.com/tchx84/Portfolio"
SRC_URI="https://github.com/tchx84/Portfolio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
gui-libs/libhandy
x11-libs/gtk+
"
S="${WORKDIR}"/Portfolio-"${PV}"
src_prepare() {
default
# shebang fixing craziness
sed -i -e 's|\@PYTHON\@|/usr/bin/python|' src/dev.tchx84.Portfolio.in
}
src_install() {
meson_src_install
python_optimize "${ED}"/usr/lib/
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}