diff options
Diffstat (limited to 'x11/py-nwg-displays')
-rw-r--r-- | x11/py-nwg-displays/Makefile | 43 | ||||
-rw-r--r-- | x11/py-nwg-displays/distinfo | 3 | ||||
-rw-r--r-- | x11/py-nwg-displays/pkg-descr | 8 |
3 files changed, 54 insertions, 0 deletions
diff --git a/x11/py-nwg-displays/Makefile b/x11/py-nwg-displays/Makefile new file mode 100644 index 000000000000..5b7bd3a33e77 --- /dev/null +++ b/x11/py-nwg-displays/Makefile @@ -0,0 +1,43 @@ +PORTNAME= nwg-displays +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.26 +CATEGORIES= x11 wayland python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Output management utility for sway and Hyprland +WWW= https://github.com/nwg-piotr/nwg-displays + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}i3ipc>0:x11/py-i3ipc@${PY_FLAVOR} + +USES= gnome python shebangfix + +USE_GITHUB= yes +GH_ACCOUNT= nwg-piotr + +USE_GNOME= gtk30 pygobject3 +USE_PYTHON= autoplist concurrent distutils + +SHEBANG_FILES= nwg_displays/main.py + +PLIST_FILES= share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.svg +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg \ + ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ + ${STAGEDIR}${DESKTOPDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/x11/py-nwg-displays/distinfo b/x11/py-nwg-displays/distinfo new file mode 100644 index 000000000000..4e6430c6df99 --- /dev/null +++ b/x11/py-nwg-displays/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756369055 +SHA256 (nwg-piotr-nwg-displays-v0.3.26_GH0.tar.gz) = d9595196995f6295ffba1ed74ec038cecdc85c75cec6bafc67cb2b04ebbf0112 +SIZE (nwg-piotr-nwg-displays-v0.3.26_GH0.tar.gz) = 28440 diff --git a/x11/py-nwg-displays/pkg-descr b/x11/py-nwg-displays/pkg-descr new file mode 100644 index 000000000000..157e5a7ceb1b --- /dev/null +++ b/x11/py-nwg-displays/pkg-descr @@ -0,0 +1,8 @@ +Nwg-displays is an output management utility for sway and Hyprland +Wayland compositor, inspired by wdisplays and wlay. The program is +expected to: +- provide an intuitive GUI to manage multiple displays +- apply settings +- save outputs configuration to a text file +- save workspace -> output assignments to a text file +- support sway and Hyprland only |