Add Webapp Manager from Linux Mint

This commit is contained in:
Sheldon Lee 2023-06-06 05:45:19 +01:00
parent 741d29edd0
commit 1c27e44ecc
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST webapp-manager-1.2.9.tar.gz 92856 BLAKE2B 7fe20c948801360c9908f59d9c69c8c135ce1a92f1ee66ccab8c807218a0d577e333d406ba75f002f0e7eb7ec19a7055dd8a725408c1898af49992c2ea9e13ce SHA512 1ec81b934039a1dfe7b0515e8654247a8ebbc3209451ee63786b265be2a39001bb2d03993bef985ff852a8a12550c7065cc37d8731496ea613f3a32fe362417c

View File

@ -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
}