diff --git a/x11-misc/safeeyes/Manifest b/x11-misc/safeeyes/Manifest index b2af48219c2f..d5077b0ad3d2 100644 --- a/x11-misc/safeeyes/Manifest +++ b/x11-misc/safeeyes/Manifest @@ -1 +1,2 @@ DIST safeeyes-3.2.0.tar.gz 337410 BLAKE2B 065e25cd71719d62715fecbd76ae879f54e77fa720ff17937f72e2b6ff296348e7deb4837ae0a610bb4d8a9069e5aba560115a169acd96ac76154d39c2955308 SHA512 b1c1b31be23832481e3b9ef11b869183e395ef5c2d610338e42bc5731de687726c48d1afa69e52f414b36833a2c1fa34f9fb8357eec92a325a99a3f81874b3ae +DIST safeeyes-3.3.0.tar.gz 339320 BLAKE2B f88d5c55e96b674779d7fe995d83b072dc1b96a4132c4219f8ca9026c1e59d73bf35e2e62f90f8673dc4a4afea4f2df5f79058405e33d209ea6b1dd7e368d51f SHA512 6b34428248127adf8cccb875b07934dd6449f827d02e2aae8edca64b5bf291258f54b7fedaf96a26520fa3907f815a87356210700d882d5b859667387e154070 diff --git a/x11-misc/safeeyes/safeeyes-3.3.0.ebuild b/x11-misc/safeeyes/safeeyes-3.3.0.ebuild new file mode 100644 index 000000000000..28a833510b3d --- /dev/null +++ b/x11-misc/safeeyes/safeeyes-3.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="tk" # for site-packages/Xlib/ext/randr.py +DISTUTILS_USE_PEP517=setuptools + +inherit desktop xdg distutils-r1 pypi + +DESCRIPTION="Linux alternative to EyeLeo" +HOMEPAGE="https://github.com/slgobinath/SafeEyes" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + gui-libs/gtk:4[introspection] + dev-libs/libayatana-appindicator + dev-python/babel[${PYTHON_USEDEP}] + dev-python/croniter[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + media-sound/alsa-utils + x11-apps/xprop + x11-libs/gtk+:3[introspection] + x11-libs/libnotify[introspection] + x11-misc/xprintidle + " + +python_install() { + distutils-r1_python_install + + insinto /usr/share/icons/ + doins -r safeeyes/platform/icons/hicolor + + domenu safeeyes/platform/io.github.slgobinath.SafeEyes.desktop || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}