glue around dcraw for use in kde programs, dependency of digikam 0.9.2

This commit is contained in:
espie 2007-06-28 15:07:44 +00:00
parent 9dcbac16f6
commit 40d85de993
5 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/28 15:07:44 espie Exp $
COMMENT= grab raw data from digital cameras
CATEGORIES= graphics devel
HOMEPAGE= http://www.kipi-plugins.org/drupal/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kipi/}
DISTNAME= libkdcraw-0.1.1
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS += kdcraw 0.0 # .1.0
MODULES= x11/kde
MODKDE_VERSION= 3.5.7
SHARED_ONLY= Yes
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.61
CONFIGURE_ARGS= ${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV} \
CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
USE_GMAKE= Yes
SEPARATE_BUILD= simple
LIB_DEPENDS+= lcms::graphics/lcms \
DCOP,kdecore,kdefx,kdeui::x11/kde/libs3
RUN_DEPENDS= ::graphics/dcraw
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xrender c jpeg m png pthread
WANTLIB += util z art_lgpl_2 iconv idn
# GPL
PERMIT_DISTFILES_CDROM=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_FTP=Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libkdcraw-0.1.1.tar.bz2) = RhCHRKfYsLmw6qlzfF4fug==
RMD160 (libkdcraw-0.1.1.tar.bz2) = U4g+PNuDOnVoxNsrHNZwKF4DzZI=
SHA1 (libkdcraw-0.1.1.tar.bz2) = ZBTSn+hlrQRlDiUVfQWUgbQh8bY=
SHA256 (libkdcraw-0.1.1.tar.bz2) = 3pWzjUR4MQA3LwNbwrNWVQZ86dj9OL3L1bk2qAdjZIU=
SIZE (libkdcraw-0.1.1.tar.bz2) = 548111

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2007/06/28 15:07:44 espie Exp $
--- configure.in.orig Wed Jun 13 02:01:45 2007
+++ configure.in Thu Jun 28 12:05:34 2007
@@ -113,7 +113,7 @@ have_lcms='no'
if test "$have_lcms_header" = 'yes'
then
saved_libs=$LIBS
- LIBS="$LIBS -llcms"
+ LIBS="$LIBS -llcms -lm"
AC_TRY_LINK([
#define inline __inline /* gcc is in ansi mode */
#include LCMS_HEADER
@@ -123,7 +123,7 @@ choke!
], [
cmsOpenProfileFromFile("foo", "r");
],
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
LIBS=$saved_libs
fi

View File

@ -0,0 +1,4 @@
libkdcraw is a C++ interface around the dcraw binary program used to decode RAW
picture files. The library documentation is available on header files.
This library is used by kipi-plugins, digiKam and others kipi host programs.

View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/28 15:07:44 espie Exp $
include/libkdcraw/
include/libkdcraw/dcrawbinary.h
include/libkdcraw/dcrawinfocontainer.h
include/libkdcraw/dcrawsettingswidget.h
include/libkdcraw/kdcraw.h
include/libkdcraw/libkdcraw_export.h
include/libkdcraw/rawdecodingsettings.h
include/libkdcraw/rawfiles.h
include/libkdcraw/version.h
lib/libkdcraw.la
@lib lib/libkdcraw.so.${LIBkdcraw_VERSION}
lib/libkdcraw1/
lib/libkdcraw1/kdcraw
lib/pkgconfig/libkdcraw.pc
share/icons/
share/icons/hicolor/
share/icons/hicolor/128x128/
share/icons/hicolor/128x128/apps/
share/icons/hicolor/128x128/apps/kdcraw.png
share/icons/hicolor/32x32/
share/icons/hicolor/32x32/apps/
share/icons/hicolor/32x32/apps/kdcraw.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/kdcraw.png
share/icons/hicolor/64x64/
share/icons/hicolor/64x64/apps/
share/icons/hicolor/64x64/apps/kdcraw.png