Import babl-0.0.20

Babl is a dynamic, any to any, pixel format conversion library. It
provides conversions between the myriad of buffer types images can be
stored in. Babl doesn't only help with existing pixel formats, but also
facilitates creation of new and uncommon ones.
Features:
 * Tiny API in normal use
 * Planar and linear buffers
 * Thread safe processing
 * Extendable formats, color models, components and datatypes
 * Reference 64bit floating point conversions for data types and color
   models

ok jasper@
This commit is contained in:
ajacoutot 2008-04-10 14:11:43 +00:00
parent 9e72ef3db9
commit 747b9149d0
5 changed files with 84 additions and 0 deletions

40
graphics/babl/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/10 14:11:43 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= dynamic pixel format conversion library
V= 0.0.20
DISTNAME= babl-${V}
CATEGORIES= graphics devel
SHARED_LIBS= babl-0.0 0.0 # .20.0
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://gegl.org/babl/
# GPLv3/LGPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.gtk.org/pub/babl/${V:R}/
WANTLIB= m
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-static
pre-configure:
@perl -pi -e 's,!!LIBbabl-0.0_VERSION!!,${LIBbabl-0.0_VERSION},g' \
${WRKSRC}/extensions/Makefile.in
.include <bsd.port.mk>

5
graphics/babl/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (babl-0.0.20.tar.bz2) = 2/Z7MzsIEt/g0PBXhksPmg==
RMD160 (babl-0.0.20.tar.bz2) = e3hHhnHS07ebd9RZ4wQeetK9YUg=
SHA1 (babl-0.0.20.tar.bz2) = rDrCXD13vByBK2ToQ8rHQoelBog=
SHA256 (babl-0.0.20.tar.bz2) = jZQsVwNRoZ/KxZspa2CCu8J21+rURlm/j9At+DVnNJY=
SIZE (babl-0.0.20.tar.bz2) = 393851

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-extensions_Makefile_in,v 1.1.1.1 2008/04/10 14:11:43 ajacoutot Exp $
--- extensions/Makefile.in.orig Thu Apr 10 10:41:08 2008
+++ extensions/Makefile.in Thu Apr 10 10:42:05 2008
@@ -201,7 +201,7 @@ CFILES = $(wildcard $(srcdir)/*.c)
SOBJS = $(subst $(srcdir)/,,$(CFILES:.c=$(SHREXT)))
INSTALLED_ITEMS = $(subst $(srcdir),$(ext_dir),$(CFILES:.c=$(SHREXT)))
EXTRA_DIST = $(wildcard *.[ch])
-@OS_WIN32_FALSE@LDADD = $(top_builddir)/babl/.libs/libbabl-$(BABL_API_VERSION)$(SHREXT) $(MATH_LIB)
+@OS_WIN32_FALSE@LDADD = $(top_builddir)/babl/.libs/libbabl-$(BABL_API_VERSION)$(SHREXT).!!LIBbabl-0.0_VERSION!! $(MATH_LIB)
@OS_WIN32_TRUE@LDADD = $(no-undefined) $(libbabldlla) $(MATH_LIB)
ext_dir = $(DESTDIR)$(libdir)/babl-@BABL_API_VERSION@
all: all-am

11
graphics/babl/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
Babl is a dynamic, any to any, pixel format conversion library. It
provides conversions between the myriad of buffer types images can be
stored in. Babl doesn't only help with existing pixel formats, but also
facilitates creation of new and uncommon ones.
Features:
* Tiny API in normal use
* Planar and linear buffers
* Thread safe processing
* Extendable formats, color models, components and datatypes
* Reference 64bit floating point conversions for data types and color
models

16
graphics/babl/pkg/PLIST Normal file
View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/10 14:11:43 ajacoutot Exp $
include/babl-0.0/
include/babl-0.0/babl/
include/babl-0.0/babl/babl-classes.h
include/babl-0.0/babl/babl.h
lib/babl-0.0/
lib/babl-0.0/CIE-Lab.so
lib/babl-0.0/gegl-fixups.so
lib/babl-0.0/gggl-lies.so
lib/babl-0.0/gggl.so
lib/babl-0.0/gimp-8bit.so
lib/babl-0.0/naive-CMYK.so
lib/libbabl-0.0.la
@lib lib/libbabl-0.0.so.${LIBbabl-0.0_VERSION}
lib/pkgconfig/
lib/pkgconfig/babl.pc