Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11/wlopm: Wayland output power management
wlopm - Wayland output power management Simple client implementing zwlr-output-power-management-v1. WWW: https://git.sr.ht/~leon_plickat/wlopm PR: 275141
- Loading branch information
1 parent
e893333
commit e167afd
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
PORTNAME= wlopm | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.1.0 | ||
CATEGORIES= x11 wayland | ||
MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ | ||
DISTNAME= ${DISTVERSIONFULL} | ||
DIST_SUBDIR= ${PORTNAME} | ||
|
||
MAINTAINER= tino.engel@mail.de | ||
COMMENT= Wayland output power management | ||
WWW= https://git.sr.ht/~leon_plickat/wlopm | ||
|
||
LICENSE= GPLv3 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= wayland-scanner:graphics/wayland | ||
LIB_DEPENDS= libwayland-client.so:graphics/wayland | ||
|
||
USES= gmake localbase:ldflags | ||
|
||
ALL_TARGET= wlopm | ||
CFLAGS+= -Wno-strict-prototypes | ||
LIBS= -lwayland-client | ||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONFULL} | ||
|
||
PLIST_FILES= bin/wlopm \ | ||
share/man/man1/wlopm.1.gz | ||
|
||
do-install: | ||
${INSTALL_PROGRAM} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm | ||
${INSTALL_MAN} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1700117590 | ||
SHA256 (wlopm/v0.1.0.tar.gz) = f9a7ec03a412e602420ab11d0eea872f6d30dfe5cfee93cd3d0289e4fbbb3aa1 | ||
SIZE (wlopm/v0.1.0.tar.gz) = 19004 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Makefile.orig 2023-11-18 08:35:21 UTC | ||
+++ Makefile | ||
@@ -4,7 +4,7 @@ PREFIX=/usr/local | ||
BINDIR=$(PREFIX)/bin | ||
MANDIR=$(PREFIX)/share/man | ||
|
||
-CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result | ||
+CFLAGS+=-Wall -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result | ||
LIBS=-lwayland-client | ||
OBJ=wlopm.o wlr-output-power-management-unstable-v1.o | ||
GEN=wlr-output-power-management-unstable-v1.c wlr-output-power-management-unstable-v1.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
wlopm - Wayland output power management | ||
|
||
Simple client for switching displays in Wayland on and off. |