diff options
author | pav <pav@FreeBSD.org> | 2004-12-12 07:09:01 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-12 07:09:01 +0800 |
commit | ef731b1c17bab966fd4ed21c70a680098c6934e8 (patch) | |
tree | bb7978a174ef88c384057dff9b00387f24bf170e /graphics/libggigcp | |
parent | 4424b4ed9502174452386617ab75667176381010 (diff) | |
download | freebsd-ports-gnome-ef731b1c17bab966fd4ed21c70a680098c6934e8.tar.gz freebsd-ports-gnome-ef731b1c17bab966fd4ed21c70a680098c6934e8.tar.zst freebsd-ports-gnome-ef731b1c17bab966fd4ed21c70a680098c6934e8.zip |
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>
Diffstat (limited to 'graphics/libggigcp')
-rw-r--r-- | graphics/libggigcp/Makefile | 72 | ||||
-rw-r--r-- | graphics/libggigcp/distinfo | 2 | ||||
-rw-r--r-- | graphics/libggigcp/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/libggigcp/pkg-plist | 17 |
4 files changed, 96 insertions, 0 deletions
diff --git a/graphics/libggigcp/Makefile b/graphics/libggigcp/Makefile new file mode 100644 index 000000000000..9c94e6c30818 --- /dev/null +++ b/graphics/libggigcp/Makefile @@ -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> diff --git a/graphics/libggigcp/distinfo b/graphics/libggigcp/distinfo new file mode 100644 index 000000000000..2aa83f419ed6 --- /dev/null +++ b/graphics/libggigcp/distinfo @@ -0,0 +1,2 @@ +MD5 (libggigcp-0.9.0.src.tar.bz2) = 4a69cc560c7d34a6dfcb66b977af9021 +SIZE (libggigcp-0.9.0.src.tar.bz2) = 269974 diff --git a/graphics/libggigcp/pkg-descr b/graphics/libggigcp/pkg-descr new file mode 100644 index 000000000000..47affee0f195 --- /dev/null +++ b/graphics/libggigcp/pkg-descr @@ -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/ diff --git a/graphics/libggigcp/pkg-plist b/graphics/libggigcp/pkg-plist new file mode 100644 index 000000000000..7546bdc1cacd --- /dev/null +++ b/graphics/libggigcp/pkg-plist @@ -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 |