From ba5a7413b6b444bb8f6822c86672d6047f08a1bb Mon Sep 17 00:00:00 2001 From: Tino Engel Date: Thu, 16 Nov 2023 22:27:12 +0100 Subject: [PATCH] new port x11/wlopm --- x11/wlopm/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ x11/wlopm/distinfo | 3 +++ x11/wlopm/pkg-descr | 3 +++ 3 files changed, 44 insertions(+) create mode 100644 x11/wlopm/Makefile create mode 100644 x11/wlopm/distinfo create mode 100644 x11/wlopm/pkg-descr diff --git a/x11/wlopm/Makefile b/x11/wlopm/Makefile new file mode 100644 index 000000000000..7eb10a1f2070 --- /dev/null +++ b/x11/wlopm/Makefile @@ -0,0 +1,38 @@ +PORTNAME= wlopm +PORTVERSION= 0.1.0 +DISTVERSIONPREFIX= v +CATEGORIES= x11 wayland +MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ +DISTFILES= ${DISTVERSIONFULL}${EXTRACT_SUFX} +DIST_SUBDIR= wlopm + +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 +USE_GCC= yes + +ALL_TARGET= wlopm + +CFLAGS+= -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter \ + -Wconversion -Wformat-security -Wformat -Wsign-conversion \ + -Wfloat-conversion -Wunused-result -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +LIBS= -lwayland-client + +PLIST_FILES= bin/wlopm \ + share/man/man1/wlopm.1.gz + +do-install: + ${INSTALL} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm + ${INSTALL_DATA} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 + +.include diff --git a/x11/wlopm/distinfo b/x11/wlopm/distinfo new file mode 100644 index 000000000000..fbeda9111949 --- /dev/null +++ b/x11/wlopm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700117590 +SHA256 (wlopm/v0.1.0.tar.gz) = f9a7ec03a412e602420ab11d0eea872f6d30dfe5cfee93cd3d0289e4fbbb3aa1 +SIZE (wlopm/v0.1.0.tar.gz) = 19004 diff --git a/x11/wlopm/pkg-descr b/x11/wlopm/pkg-descr new file mode 100644 index 000000000000..79f99f28dcea --- /dev/null +++ b/x11/wlopm/pkg-descr @@ -0,0 +1,3 @@ +wlopm - Wayland output power management + +Simple client implementing zwlr-output-power-management-v1. -- 2.42.1