From 1c27e44ecc77a4f2d18543399e140ebaaa3adfda Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 6 Jun 2023 05:45:19 +0100 Subject: [PATCH] Add Webapp Manager from Linux Mint --- app-misc/webapp-manager/Manifest | 1 + .../webapp-manager-1.2.9.ebuild | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 app-misc/webapp-manager/Manifest create mode 100644 app-misc/webapp-manager/webapp-manager-1.2.9.ebuild diff --git a/app-misc/webapp-manager/Manifest b/app-misc/webapp-manager/Manifest new file mode 100644 index 0000000..9e3a6f7 --- /dev/null +++ b/app-misc/webapp-manager/Manifest @@ -0,0 +1 @@ +DIST webapp-manager-1.2.9.tar.gz 92856 BLAKE2B 7fe20c948801360c9908f59d9c69c8c135ce1a92f1ee66ccab8c807218a0d577e333d406ba75f002f0e7eb7ec19a7055dd8a725408c1898af49992c2ea9e13ce SHA512 1ec81b934039a1dfe7b0515e8654247a8ebbc3209451ee63786b265be2a39001bb2d03993bef985ff852a8a12550c7065cc37d8731496ea613f3a32fe362417c diff --git a/app-misc/webapp-manager/webapp-manager-1.2.9.ebuild b/app-misc/webapp-manager/webapp-manager-1.2.9.ebuild new file mode 100644 index 0000000..8ca49d8 --- /dev/null +++ b/app-misc/webapp-manager/webapp-manager-1.2.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils xdg + +DESCRIPTION="A Linux Mint application to run websites as if they were apps." +HOMEPAGE="https://github.com/linuxmint/webapp-manager" +SRC_URI="https://github.com/linuxmint/webapp-manager/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-python/setproctitle + dev-python/tldextract + dev-python/pillow + dev-python/beautifulsoup4 + dev-python/configobj + x11-libs/xapp +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + insinto / + doins -r etc + + insinto /usr + doins -r usr/share + + exeinto /usr/bin + doexe usr/bin/webapp-manager + + exeinto /usr/lib/webapp-manager + doexe usr/lib/webapp-manager/common.py + doexe usr/lib/webapp-manager/webapp-manager.py +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}