diff --git a/net-p2p/syncthing-gtk/Manifest b/net-p2p/syncthing-gtk/Manifest new file mode 100644 index 0000000..df6962f --- /dev/null +++ b/net-p2p/syncthing-gtk/Manifest @@ -0,0 +1 @@ +DIST syncthing-gtk-0.9.4.5.tar.gz 755007 BLAKE2B e114bd4f36301a54148a2fb53339825cc1c1213c58953604decfe97941872ef330c2d70eb4f7c1cb4047d28f6a6c11cf5ebae48f4280be33e26ec03e8d33788c SHA512 25d3c111651c02a5d6d281ae04710b3c54f50d944cc1a72d3d94493e897b9bd432ae2e6dc782d7f0c17b12b3ba86ff30f8654bd46161a3a832d14e8c86c9cba7 diff --git a/net-p2p/syncthing-gtk/syncthing-gtk-0.9.4.5-r2.ebuild b/net-p2p/syncthing-gtk/syncthing-gtk-0.9.4.5-r2.ebuild new file mode 100644 index 0000000..ecd8934 --- /dev/null +++ b/net-p2p/syncthing-gtk/syncthing-gtk-0.9.4.5-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Source: Written from scratch for sunset-repo overlay + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=true +PYTHON_COMPAT=( python3_{8..12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="GTK3 & Python GUI for syncthing" +HOMEPAGE="https://github.com/syncthing-gtk/syncthing-gtk" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" + +DEPEND="${PYTHON_DEPS} + x11-libs/gtk+:3 + libnotify? ( x11-libs/libnotify ) + $(python_gen_cond_dep ' + dev-python/pygobject[cairo,${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/bcrypt[${PYTHON_USEDEP}] + ')" +RDEPEND="${DEPEND} + sys-process/psmisc + net-p2p/syncthing + $(python_gen_cond_dep ' + dev-python/six[${PYTHON_USEDEP}] + ')" +BDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ')" + +IUSE="+libnotify" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_postinst() { + optfeature "Caja file manager integration" dev-python/python-caja + optfeature "Nautilus file manager integration" dev-python/nautilus-python + optfeature "Gnome file manager integration" gnome-extra/gnome-shell-extension-appindicator +}