Add libggigcp, a libggi extension for advanced color and palette handling. It
adds features for conversion between different color spaces such as RGBA, YUV, HSV and CMYK and some manipulation functions like brightness. PR: ports/74824 Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
This commit is contained in:
parent
80f7b97693
commit
a2c608fbf4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123785
@ -244,6 +244,7 @@
|
||||
SUBDIR += libfpx
|
||||
SUBDIR += libgdgeda
|
||||
SUBDIR += libggi
|
||||
SUBDIR += libggigcp
|
||||
SUBDIR += libggimisc
|
||||
SUBDIR += libggiwmh
|
||||
SUBDIR += libglut
|
||||
|
72
graphics/libggigcp/Makefile
Normal file
72
graphics/libggigcp/Makefile
Normal file
@ -0,0 +1,72 @@
|
||||
# New ports collection makefile for: libggigcp
|
||||
# Date created: 7 December 2004
|
||||
# Whom: antoine.brodin@laposte.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libggigcp
|
||||
PORTVERSION= 0.9.0
|
||||
CATEGORIES= graphics devel
|
||||
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.1/ \
|
||||
${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ggi
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
||||
MAINTAINER= antoine.brodin@laposte.net
|
||||
COMMENT= A libggi extension for advanced color and palette handling
|
||||
|
||||
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USE_BZIP2= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN3= gcpBlendColor.3 \
|
||||
gcpGetLuminance.3 \
|
||||
gcpGetRGBAGamma.3 \
|
||||
gcpInit.3 \
|
||||
gcpMapRGBAColor.3 \
|
||||
gcpSetColorfulPalette.3 \
|
||||
gcpSetIntensity.3 \
|
||||
gcpSetRGBAPalette.3 \
|
||||
gcpUnmapRGBAPixel.3 \
|
||||
gcp_pixel.3
|
||||
MAN7= libggigcp.7
|
||||
MLINKS= gcpGetRGBAGamma.3 gcpGetCMYKGamma.3 \
|
||||
- gcpGetCMYKGammaMap.3 - gcpGetHSVGamma.3 \
|
||||
- gcpGetHSVGammaMap.3 - gcpGetRGBAGammaMap.3 \
|
||||
- gcpGetYCCGamma.3 - gcpGetYCCGammaMap.3 \
|
||||
- gcpGetYUVGamma.3 - gcpGetYUVGammaMap.3 \
|
||||
- gcpSetCMYKGamma.3 - gcpSetCMYKGammaMap.3 \
|
||||
- gcpSetHSVGamma.3 - gcpSetHSVGammaMap.3 \
|
||||
- gcpSetRGBAGamma.3 - gcpSetRGBAGammaMap.3 \
|
||||
- gcpSetYCCGamma.3 - gcpSetYCCGammaMap.3 \
|
||||
- gcpSetYUVGamma.3 - gcpSetYUVGammaMap.3 \
|
||||
gcpInit.3 gcpAttach.3 \
|
||||
- gcpDetach.3 - gcpExit.3 \
|
||||
gcpMapRGBAColor.3 gcpMapCMYKColor.3 \
|
||||
- gcpMapHSVColor.3 - gcpMapYCCColor.3 \
|
||||
- gcpMapYUVColor.3 - gcpPackCMYKColors.3 \
|
||||
- gcpPackHSVColors.3 - gcpPackRGBAColors.3 \
|
||||
- gcpPackYCCColors.3 - gcpPackYUVColors.3 \
|
||||
gcpSetIntensity.3 gcpGetIntensity.3 \
|
||||
gcpSetRGBAPalette.3 gcpGetCMYKPalette.3 \
|
||||
- gcpGetHSVPalette.3 - gcpGetRGBAPalette.3 \
|
||||
- gcpGetYCCPalette.3 - gcpGetYUVPalette.3 \
|
||||
- gcpSetCMYKPalette.3 - gcpSetHSVPalette.3 \
|
||||
- gcpSetYCCPalette.3 - gcpSetYUVPalette.3 \
|
||||
gcpUnmapRGBAPixel.3 gcpUnmapCMYKPixel.3 \
|
||||
- gcpUnmapHSVPixel.3 - gcpUnmapYCCPixel.3 \
|
||||
- gcpUnmapYUVPixel.3 - gcpUnpackCMYKPixels.3 \
|
||||
- gcpUnpackHSVPixels.3 - gcpUnpackRGBAPixels.3 \
|
||||
- gcpUnpackYCCPixels.3 - gcpUnpackYUVPixels.3 \
|
||||
gcp_pixel.3 gcp_CMYKcolor.3 \
|
||||
- gcp_HSVcolor.3 - gcp_RGBAcolor.3 \
|
||||
- gcp_YCCcolor.3 - gcp_YUVcolor.3
|
||||
|
||||
post-install:
|
||||
@${CP} ${WRKSRC}/libggigcp.conf ${PREFIX}/etc/ggi/libggigcp.conf.dist
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/libggigcp/distinfo
Normal file
2
graphics/libggigcp/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (libggigcp-0.9.0.src.tar.bz2) = 4a69cc560c7d34a6dfcb66b977af9021
|
||||
SIZE (libggigcp-0.9.0.src.tar.bz2) = 269974
|
5
graphics/libggigcp/pkg-descr
Normal file
5
graphics/libggigcp/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
libggigcp is a libggi extension for advanced color and palette handling.
|
||||
It adds features for conversion between different color spaces such as RGBA,
|
||||
YUV, HSV and CMYK and some manipulation functions like brightness.
|
||||
|
||||
WWW: http://www.ggi-project.org/
|
17
graphics/libggigcp/pkg-plist
Normal file
17
graphics/libggigcp/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
@unexec if cmp -s %D/etc/ggi/libggigcp.conf %D/etc/ggi/libggigcp.conf.dist; then rm -f %D/etc/ggi/libggigcp.conf; fi
|
||||
etc/ggi/libggigcp.conf.dist
|
||||
@exec [ -f %B/libggigcp.conf ] || cp %B/%f %B/libggigcp.conf
|
||||
include/ggi/gcp-defs.h
|
||||
include/ggi/gcp.h
|
||||
include/ggi/internal/gcp.h
|
||||
lib/ggi/gcp/default/color_gcp.la
|
||||
lib/ggi/gcp/default/color_gcp.so
|
||||
lib/libggigcp.la
|
||||
lib/libggigcp.so
|
||||
lib/libggigcp.so.0
|
||||
@dirrm etc/ggi
|
||||
@dirrm include/ggi/internal
|
||||
@dirrm include/ggi
|
||||
@dirrm lib/ggi/gcp/default
|
||||
@dirrm lib/ggi/gcp
|
||||
@dirrm lib/ggi
|
Loading…
Reference in New Issue
Block a user