New port: devel/color: C++ header-only library for color conversion and manipulation

This commit is contained in:
Yuri Victorovich 2021-01-13 08:39:53 +00:00
parent edfcb3031e
commit c634b1416a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561441
5 changed files with 1992 additions and 0 deletions

View file

@ -369,6 +369,7 @@
SUBDIR += codesearch-py
SUBDIR += codeworker
SUBDIR += collada-dom
SUBDIR += color
SUBDIR += colorgcc
SUBDIR += colormake
SUBDIR += commit-patch

23
devel/color/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= color
DISTVERSION= g20200911
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only library for color conversion and manipulation
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/license.txt
USE_GITHUB= yes
GH_ACCOUNT= dmilos
GH_TAGNAME= 2016cd4
NO_BUILD= yes
NO_ARCH= yes
do-install:
cd ${WRKSRC}/src && ${COPYTREE_SHARE} color ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>

3
devel/color/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1610526287
SHA256 (dmilos-color-g20200911-2016cd4_GH0.tar.gz) = 4d3366591b0ba8e53aad8a9689d7b949b397c80b55a697c9a6e079c0abf1af64
SIZE (dmilos-color-g20200911-2016cd4_GH0.tar.gz) = 4836905

22
devel/color/pkg-descr Normal file
View file

@ -0,0 +1,22 @@
Key features:
* No virtual functions
* Minimal memory footprint
* Ability to copy array/vector of colors with memcpy, memmove and initialize
with memset.
* Conversions from/to different models ( and its formats ).
* Headers only
One file to include to start the fun
By using del or rm it is reducible in to only two of them.
* No third parties
* No additional binaries
* Out of the box ready
No need to recompile or start some install process.
* Color models:
* GRAY,
* RGB, CMY, CMYK,
* HSI, HSL, HSV, HWB,
* YIQ, YUV(BT.601, BT.709), YCgCo, YPbPr(BT.601, BT.709, BT.2020),
* XYZ(sRGB, D65, 2deg), LAB( CIE, Hunter), LUV, LMS (von Kries D65,
von Kries E, BFD, MCAT02), xyY, LabCH, LuvCH
WWW: https://github.com/dmilos/color

1943
devel/color/pkg-plist Normal file

File diff suppressed because it is too large Load diff