freebsd-ports/graphics/digikam-kde4/Makefile
Max Brazhnikov 0b496e4787 - Update digiKam and Kipi Plugins to 4.2.0
- New ports for exporting images to Dropbox and Google Drive:
	graphics/kipi-plugin-dropbox
	graphics/kipi-plugin-googledrive

Excerpt from area51 commit logs:
------------------------------------------------------------------------
r10303 | jhale | 2014-09-19 04:04:57 +0000 (Fri, 19 Sep 2014) | 13 lines

- Update digikam and friends to 4.2.0
- Drop "Enable" from Digikam options descriptions
- For kipi-plugins, only extract what we need to reduce extraction time
  and file I/O

------------------------------------------------------------------------
r10183 | makc | 2014-07-18 22:07:34 +0000 (Fri, 18 Jul 2014) | 21 lines

Update DigiKam and Kipi plugins to 4.1.0. This incomplete update is based
on the patch submitted by Oleg Sidorkin <osidorkin@gmail.com> via
kde-freebsd mailing list.

astro/libkgeomap:
- Don't build demo application and thus remove dependence on libkexiv2
- Add build dependency on boost headers

graphics/kipi-plugin-gpssync
- Add build dependency on boost headers
2015-01-27 21:04:30 +00:00

59 lines
1.9 KiB
Makefile

# Created by: Arjan van Leeuwen <avleeuwen@piwebs.com>
# $FreeBSD$
PORTNAME= digikam
PORTVERSION= ${DIGIKAM_VER}
PORTEPOCH= 2
CATEGORIES= graphics kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE4 digital photo management application
.include "${.CURDIR}/Makefile.common"
BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:${PORTSDIR}/math/eigen3
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
liblcms.so:${PORTSDIR}/graphics/lcms \
libpng.so:${PORTSDIR}/graphics/png \
libjasper.so:${PORTSDIR}/graphics/jasper \
liblensfun.so:${PORTSDIR}/graphics/lensfun \
liblqr-1.so:${PORTSDIR}/graphics/liblqr-1 \
libkface.so:${PORTSDIR}/graphics/libkface \
libpgf.so:${PORTSDIR}/graphics/libpgf \
libkgeomap.so:${PORTSDIR}/astro/libkgeomap \
libboost_graph.so:${PORTSDIR}/devel/boost-libs
USES+= pkgconfig shebangfix
USE_KDE4+= libkdcraw libkexiv2 libkipi
USE_QT4+= sql-sqlite3_run
USE_LDCONFIG= yes
CMAKE_ARGS+= -DWITH_Sqlite2:BOOL=OFF
WRKSRC= ${WRKDIR}/${DISTNAME}/core
SHEBANG_FILES= utilities/scripts/digitaglinktree/digitaglinktree
OPTIONS_DEFINE= DOCS NLS GPHOTO2 PIMLIBS MYSQL
OPTIONS_DEFAULT= GPHOTO2 PIMLIBS
NO_OPTIONS_SORT= yes
OPTIONS_SUB= yes # MYSQL
DOCS_RUN_DEPENDS= digikam-doc>=${DIGIKAM_VER}:${PORTSDIR}/graphics/digikam-kde4-doc
NLS_RUN_DEPENDS= digikam-l10n>=${DIGIKAM_VER}:${PORTSDIR}/graphics/digikam-kde4-l10n
GPHOTO2_DESC= Gphoto2 camera support
GPHOTO2_LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
GPHOTO2_CMAKE_OFF= -DWITH_Gphoto2:BOOL=OFF
PIMLIBS_DESC= Address book support
PIMLIBS_USE= KDE4=pimlibs
PIMLIBS_CMAKE_ON= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON
PIMLIBS_CMAKE_OFF= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=OFF
MYSQL_USE= MYSQL=server QT4=sql-mysql_run
MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${PORTSDIR}/${_MYSQL_SERVER}
MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \
-DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin
MYSQL_CMAKE_OFF= -DENABLE_INTERNALMYSQL:BOOL=OFF
.include <bsd.port.mk>