commit: b96a22e4e081ef3c7ea6ec5f4f11e81b6b4d0caf Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Tue Oct 8 12:39:40 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Tue Oct 8 12:39:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b96a22e4
gui-apps/nwg-displays: add 0.3.21 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> gui-apps/nwg-displays/Manifest | 1 + gui-apps/nwg-displays/nwg-displays-0.3.21.ebuild | 39 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/gui-apps/nwg-displays/Manifest b/gui-apps/nwg-displays/Manifest index 3d7057d81..8621f2005 100644 --- a/gui-apps/nwg-displays/Manifest +++ b/gui-apps/nwg-displays/Manifest @@ -1 +1,2 @@ DIST nwg-displays-0.3.20.tar.gz 24733 BLAKE2B 2ab24ba7fc35c2f725731483410cd7ceb343ba47d42d1382af2e2cfed95053c9ef1e11bef824ef4a8e3cb95821cada1c30cf3c10668ea7acdbd98f6216a2a248 SHA512 de8585d0ab35fbceb34a78de1cb8e93b6decee5ac1f7969835abe503dd25dbcbf03feb527e1cb2b700d5a56e63a8e0e65fec625691bd9bf10a77b7cf05d6eeb4 +DIST nwg-displays-0.3.21.tar.gz 24747 BLAKE2B 63bd906cd3f5a7d28c408b1354e542cb0f25f7f4e798d1c75d6d873ce5a5b3ae171c56012d0854aa30e85e76e3d2b683f08bbb256164ed2cad37a4a7ae4a69f1 SHA512 fd9e7f6c1c164fe168687c981c265cd0c598984c270e5b42b29d7f9c9e513e82bfd4548e82b2583a0fa5f0310dcdff0fbcaca02108789e845232c4d33fa4aed6 diff --git a/gui-apps/nwg-displays/nwg-displays-0.3.21.ebuild b/gui-apps/nwg-displays/nwg-displays-0.3.21.ebuild new file mode 100644 index 000000000..8fbe309ca --- /dev/null +++ b/gui-apps/nwg-displays/nwg-displays-0.3.21.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit desktop distutils-r1 optfeature xdg-utils + +DESCRIPTION="Output management utility for sway and Hyprland" +HOMEPAGE="https://github.com/nwg-piotr/nwg-displays" +SRC_URI="https://github.com/nwg-piotr/nwg-displays/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pygobject:3[${PYTHON_USEDEP}] + gui-apps/wlr-randr + gui-libs/gtk-layer-shell[introspection] + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" + +python_install_all() { + distutils-r1_python_install_all + domenu nwg-displays.desktop + doicon nwg-displays.svg +} + +pkg_postinst() { + xdg_desktop_database_update + + optfeature "i3 support" dev-python/i3ipc +} + +pkg_postrm() { + xdg_desktop_database_update +}