Changeset View
Changeset View
Standalone View
Standalone View
graphics/digikam/Makefile
# Created by: Arjan van Leeuwen <avleeuwen@piwebs.com> | # Created by: Arjan van Leeuwen <avleeuwen@piwebs.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= digikam | PORTNAME= digikam | ||||
PORTVERSION= ${DIGIKAM_VER} | PORTVERSION= 5.5.0 | ||||
PORTREVISION= 2 | |||||
PORTEPOCH= 2 | PORTEPOCH= 2 | ||||
rakuco: This can be removed. | |||||
Not Done Inline Actionsreally? -- I thought PORTEPOCH has to stay for ever and ever? tcberner: really? -- I thought PORTEPOCH has to stay for ever and ever? | |||||
Not Done Inline ActionsOops, you're right. I thought the package name had changed, but indeed I guess PORTEPOCH needs to stay. I think it also makes sense to preserve the "Created by" line at the beginning in this case. rakuco: Oops, you're right. I thought the package name had changed, but indeed I guess `PORTEPOCH`… | |||||
Not Done Inline ActionsYes. The "Created by" line must never be removed without instruction by the original author. adamw: Yes. The "Created by" line must never be removed without instruction by the original author. | |||||
CATEGORIES= graphics kde | CATEGORIES= graphics kde | ||||
MASTER_SITES= KDE/stable/${PORTNAME} | |||||
DIST_SUBDIR= KDE/digikam/${PORTVERSION} | |||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= KDE4 digital photo management application | COMMENT= KDE digital photo management application | ||||
.include "${.CURDIR}/Makefile.common" | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:math/eigen3 | BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:math/eigen3 | ||||
LIB_DEPENDS= libtiff.so:graphics/tiff \ | LIB_DEPENDS= libKF5KFace.so:graphics/libkface \ | ||||
liblcms.so:graphics/lcms \ | libKF5KGeoMap.so:astro/libkgeomap \ | ||||
libpng.so:graphics/png \ | libKF5Sane.so:graphics/libksane \ | ||||
libboost_graph.so:devel/boost-libs \ | |||||
libexiv2.so:graphics/exiv2 \ | |||||
libexpat.so:textproc/expat2 \ | |||||
libgphoto2.so:graphics/libgphoto2 \ | |||||
libicalss.so:devel/libical \ | |||||
libjasper.so:graphics/jasper \ | libjasper.so:graphics/jasper \ | ||||
liblcms2.so:graphics/lcms2 \ | |||||
liblensfun.so:graphics/lensfun \ | liblensfun.so:graphics/lensfun \ | ||||
liblqr-1.so:graphics/liblqr-1 \ | liblqr-1.so:graphics/liblqr-1 \ | ||||
libkface.so:graphics/libkface \ | libopencv_contrib.so:graphics/opencv2 \ | ||||
libopencv_core.so:graphics/opencv2-core \ | |||||
libpgf.so:graphics/libpgf \ | libpgf.so:graphics/libpgf \ | ||||
libkgeomap.so:astro/libkgeomap \ | libpng.so:graphics/png \ | ||||
libboost_graph.so:devel/boost-libs | libtiff.so:graphics/tiff | ||||
USES+= pkgconfig shebangfix | USES= cmake:outsource compiler:c++11-lib jpeg kde:5 pkgconfig \ | ||||
USE_KDE+= libkdcraw libkexiv2 libkipi runtime_run | shebangfix tar:xz | ||||
USE_QT4+= sql-sqlite3_run | USE_GNOME= glib20 | ||||
USE_KDE= archive auth bookmarks codecs completion config \ | |||||
configwidgets coreaddons crash doctools ecm filemetadata5 \ | |||||
guiaddons i18n iconthemes itemviews jobwidgets kdelibs4support \ | |||||
kio libkipi marble notifications notifyconfig parts service \ | |||||
solid sonnet textwidgets threadweaver unitconversion \ | |||||
widgetsaddons windowsystem xmlgui | |||||
USE_QT5= concurrent core dbus gui network opengl printsupport sql \ | |||||
webkit widgets x11extras xml \ | |||||
sql-sqlite3_run \ | |||||
buildtools_build qmake_build | |||||
USE_XORG= ice sm x11 xext | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CMAKE_ARGS+= -DWITH_Sqlite2:BOOL=OFF | SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree | ||||
WRKSRC= ${WRKDIR}/${DISTNAME}/core | # Disable kipiplugins, as they are built in their own port: graphics/kipiplugins. | ||||
SHEBANG_FILES= data/scripts/digitaglinktree/digitaglinktree | # Remember to keep that port in sync with this one. | ||||
CMAKE_ARGS= -DDIGIKAMSC_COMPILE_DIGIKAM:BOOL=ON \ | |||||
-DDIGIKAMSC_COMPILE_KIPIPLUGINS:BOOL=OFF | |||||
OPTIONS_DEFINE= DOCS NLS GPHOTO2 PIMLIBS MYSQL | OPTIONS_DEFINE= DOCS MULTIMEDIA MYSQL NLS | ||||
OPTIONS_DEFAULT= GPHOTO2 PIMLIBS | OPTIONS_DEFAULT= ${OPTIONS_DEFINE} | ||||
NO_OPTIONS_SORT= yes | OPTIONS_SUB= yes | ||||
OPTIONS_SUB= yes # MYSQL | |||||
DOCS_RUN_DEPENDS= digikam-doc>=${DIGIKAM_VER}:graphics/digikam-kde4-doc | DOCS_CMAKE_BOOL= DIGIKAMSC_COMPILE_DOC | ||||
DOCS_USES= gettext | |||||
DOCS_USE= KDE=doctools | |||||
NLS_RUN_DEPENDS= digikam-l10n>=${DIGIKAM_VER}:graphics/digikam-kde4-l10n | MULTIMEDIA_DESC= Multimedia support | ||||
MULTIMEDIA_CMAKE_BOOL= ENABLE_MEDIAPLAYER | |||||
MULTIMEDIA_LIB_DEPENDS= libQtAV.so:multimedia/QtAV | |||||
GPHOTO2_DESC= Gphoto2 camera support | MYSQL_USE= MYSQL=server QT5=sql-mysql_run | ||||
GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 | MYSQL_CMAKE_BOOL= ENABLE_INTERNALMYSQL \ | ||||
GPHOTO2_CMAKE_ON= -DWITH_Gphoto2:BOOL=ON | ENABLE_MYSQLSUPPORT | ||||
GPHOTO2_CMAKE_OFF= -DWITH_Gphoto2:BOOL=OFF | MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ | ||||
-DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin | |||||
MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} | |||||
PIMLIBS_DESC= Address book support | NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO | ||||
PIMLIBS_USE= KDE=pimlibs baloo | NLS_USES= gettext | ||||
PIMLIBS_CMAKE_ON= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON | NLS_USE= KDE=i18n | ||||
PIMLIBS_CMAKE_OFF= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=OFF | |||||
MYSQL_USE= MYSQL=server QT4=sql-mysql_run | PLIST_SUB= SHLIB_VER="${PORTVERSION}" | ||||
MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} | |||||
MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ | |||||
-DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin \ | |||||
-DENABLE_INTERNALMYSQL:BOOL=ON \ | |||||
-DENABLE_MYSQLSUPPORT:BOOL=ON | |||||
MYSQL_CMAKE_OFF= -DENABLE_INTERNALMYSQL:BOOL=OFF \ | |||||
-DENABLE_MYSQLSUPPORT:BOOL=OFF | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
This can be removed.