x11/openrgb: New port

PR:	263815
This commit is contained in:
Vidar Karlsen 2022-05-06 14:05:11 +02:00 committed by Neel Chauhan
parent 14283c778f
commit 6ef20e1815
5 changed files with 53 additions and 0 deletions

View file

@ -266,6 +266,7 @@
SUBDIR += nwg-look
SUBDIR += nwg-menu
SUBDIR += nxcomp
SUBDIR += openrgb
SUBDIR += p5-Clipboard
SUBDIR += p5-X11-GUITest
SUBDIR += p5-X11-IdleTime

35
x11/openrgb/Makefile Normal file
View file

@ -0,0 +1,35 @@
PORTNAME= openrgb
PORTVERSION= 0.7.20220505
CATEGORIES= x11
MAINTAINER= vidar@karlsen.tech
COMMENT= Software to control a multitude of (a)RGB devices
LICENSE= GPLv2
BUILD_DEPENDS= git>0:devel/git \
hidapi>0:comms/hidapi \
mbedtls>0:security/mbedtls \
qt5-qmake>0:devel/qt5-qmake
LIB_DEPENDS= libGL.so:graphics/libglvnd \
libhidapi.so:comms/hidapi \
libmbedcrypto.so:security/mbedtls \
libmbedtls.so:security/mbedtls \
libmbedx509.so:security/mbedtls
USES= gmake gl qmake qt:5
USE_GITLAB= yes
GL_ACCOUNT= CalcProgrammer1
GL_PROJECT= OpenRGB
GL_COMMIT= 817d5d55dfb2baf932effe9fec9c557ad1529eb9
USE_GL= gl
USE_QT= buildtools core gui widgets
PLIST_FILES= bin/openrgb
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/openrgb ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

3
x11/openrgb/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1651760910
SHA256 (CalcProgrammer1-OpenRGB-817d5d55dfb2baf932effe9fec9c557ad1529eb9_GL0.tar.gz) = fdc25136ccbd97c793f170fff14b45a9195136fe46e8f8c594048e786a97fe3d
SIZE (CalcProgrammer1-OpenRGB-817d5d55dfb2baf932effe9fec9c557ad1529eb9_GL0.tar.gz) = 29236808

View file

@ -0,0 +1,11 @@
--- OpenRGB.pro.orig 2022-05-05 02:48:58 UTC
+++ OpenRGB.pro
@@ -40,7 +40,7 @@ TEMPLATE = app
# Automatically generated build information #
#-----------------------------------------------------------------------------------------------#
win32:BUILDDATE = $$system(date /t)
-unix:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
+unix:BUILDDATE = $$system(date -R)
GIT_COMMIT_ID = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ rev-parse HEAD)
GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
GIT_BRANCH = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)

3
x11/openrgb/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
Open source RGB lighting control that doesn't depend on manufacturer software.
WWW: https://openrgb.org