Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new package: www-apps/webapp-manager #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions www-apps/webapp-manager/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST 1.2.8.tar.gz 92216 BLAKE2B 1df3f9299c3a4fdba7dec60bd0797b4d9e4a263e80771f329e13fbab0b39aca8658730227c3afdd67580ba49a9eb53b157d0c6e0af9ae6846bd82913627c57c1 SHA512 08094aedb0bf4099a5b52627882ef93fddfa77f94c98777e82f6bbc15d4b6e383b79b0d9692b440baf5e4d9fc22d44130e5f5d8390625e813b852c4b397b0dc0
12 changes: 12 additions & 0 deletions www-apps/webapp-manager/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>MadQueenSaph</name>
</maintainer>
<upstream>
<remote-id type="github">linuxmint/webapp-manager</remote-id>
<bugs-to>https://github.com/linuxmint/webapp-manager/issues</bugs-to>
</upstream>
</pkgmetadata>
46 changes: 46 additions & 0 deletions www-apps/webapp-manager/webapp-manager-1.2.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit xdg-utils gnome2-utils

DESCRIPTION="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"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-python/beautifulsoup4
dev-python/configobj
dev-python/pygobject
dev-python/pillow
dev-python/setproctitle
dev-python/tldextract
gnome-base/dconf
x11-libs/xapp"
# build-time deps that need to be binary compatible with system
DEPEND="${DEPEND}"

# build-time deps executed during emerge process
BDEPEND="virtual/pkgconfig"

src_install() {
cp -r etc usr "${ED}"
}

pkg_preinst() {
gnome2_schemas_savelist
}

pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
}

pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
}