From bdc23ef4231c4c4f5c415fd53e08ab25673ac631 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Mon, 9 Aug 2021 15:26:38 +0200 Subject: [PATCH] Version bump --- gnome-extra/portfolio/Manifest | 1 + gnome-extra/portfolio/portfolio-0.9.12.ebuild | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 gnome-extra/portfolio/portfolio-0.9.12.ebuild diff --git a/gnome-extra/portfolio/Manifest b/gnome-extra/portfolio/Manifest index 76dd69e..2a18786 100644 --- a/gnome-extra/portfolio/Manifest +++ b/gnome-extra/portfolio/Manifest @@ -1 +1,2 @@ DIST portfolio-0.9.10.tar.gz 406682 BLAKE2B 988619fc37d7215e923959a3155c2268e6d61c93d7b1e3ece9f3ce1ea1afa45930f44ad4cd85cba71c018c18939f7585a48ab84e908359efdf378fdb646dd02c SHA512 5182c88bc5d00f8f307cf6c23f636a1e4d9fdd79e662cd6a1cb90c80380b9108df0fe5f07f6dd79df40fa14a57dbeeafb324a83961e399d07b5c6bef0007558d +DIST portfolio-0.9.12.tar.gz 435111 BLAKE2B 0094dc94ab091f7355d68233ed80dc300348fe135a916247e20408e3e516633e433323040c6531cb599321673bc84c1c7e19a53cef7dac3cfab197ac5ff05e4c SHA512 a86f1f4d730f3ef374a70715783103e1221653d2c39e420a9803c59afa67f159ae4d1680f260571566fbd95566542898b2d13adf55d897c949f43ad5d395d3e2 diff --git a/gnome-extra/portfolio/portfolio-0.9.12.ebuild b/gnome-extra/portfolio/portfolio-0.9.12.ebuild new file mode 100644 index 0000000..9ba4756 --- /dev/null +++ b/gnome-extra/portfolio/portfolio-0.9.12.ebuild @@ -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 +}