Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2019 21:46:10 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514618 - in head/sysutils: . opencorsairlink opencorsairlink/files
Message-ID:  <201910162146.x9GLkAHT027005@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Wed Oct 16 21:46:10 2019
New Revision: 514618
URL: https://svnweb.freebsd.org/changeset/ports/514618

Log:
  add sysutils/opencorsairlink
  
  OpenCorsairLink is an utility that interacts with CorsairLink products.

Added:
  head/sysutils/opencorsairlink/
  head/sysutils/opencorsairlink/Makefile   (contents, props changed)
  head/sysutils/opencorsairlink/distinfo   (contents, props changed)
  head/sysutils/opencorsairlink/files/
  head/sysutils/opencorsairlink/files/patch-Makefile   (contents, props changed)
  head/sysutils/opencorsairlink/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Oct 16 21:46:01 2019	(r514617)
+++ head/sysutils/Makefile	Wed Oct 16 21:46:10 2019	(r514618)
@@ -755,6 +755,7 @@
     SUBDIR += ohmu
     SUBDIR += omnibackup
     SUBDIR += open
+    SUBDIR += opencorsairlink
     SUBDIR += openipmi
     SUBDIR += openupsd
     SUBDIR += openzfs

Added: head/sysutils/opencorsairlink/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/opencorsairlink/Makefile	Wed Oct 16 21:46:10 2019	(r514618)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	OpenCorsairLink
+DISTVERSION=	g20191001
+CATEGORIES=	sysutils
+
+MAINTAINER=	lifanov@FreeBSD.org
+COMMENT=	Support for CorsairLink Devices
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=	gmake pkgconfig
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	audiohacked
+GH_TAGNAME=	4234f4f
+
+PLIST_FILES=	bin/${PORTNAME}
+
+MAKE_ENV=	GIT_VERSION=${GH_TAGNAME}
+
+post-stage:
+	${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.elf ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/sysutils/opencorsairlink/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/opencorsairlink/distinfo	Wed Oct 16 21:46:10 2019	(r514618)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1571261580
+SHA256 (audiohacked-OpenCorsairLink-g20191001-4234f4f_GH0.tar.gz) = 885ff3cc97db00eba7f59c64251aea3a5132a24a3e8a62b1a17fecc99123170f
+SIZE (audiohacked-OpenCorsairLink-g20191001-4234f4f_GH0.tar.gz) = 148932

Added: head/sysutils/opencorsairlink/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/opencorsairlink/files/patch-Makefile	Wed Oct 16 21:46:10 2019	(r514618)
@@ -0,0 +1,14 @@
+--- Makefile.orig	2019-10-02 19:43:17 UTC
++++ Makefile
+@@ -32,9 +32,9 @@ LDFLAGS ?= -lm
+ CFLAGS += $(shell pkg-config --cflags libusb-1.0)
+ LDFLAGS += $(shell pkg-config --libs libusb-1.0)
+ 
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ 
+-GIT_VERSION := $(shell git describe --abbrev=4 --always --tags)
++GIT_VERSION ?= $(shell git describe --abbrev=4 --always --tags)
+ CFLAGS += -DVERSION=\"v0.9.0.0-$(GIT_VERSION)\"
+ 
+ ####################################################################################################

Added: head/sysutils/opencorsairlink/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/opencorsairlink/pkg-descr	Wed Oct 16 21:46:10 2019	(r514618)
@@ -0,0 +1,4 @@
+OpenCorsairLink is a status & control utility that
+interacts with CorsairLink products.
+
+WWW: https://github.com/audiohacked/OpenCorsairLink



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910162146.x9GLkAHT027005>