aboutsummaryrefslogtreecommitdiff
path: root/graphics/digikam-kde4/Makefile.common
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-04-08 17:10:56 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-04-08 17:10:56 +0000
commite7ae0125df81fadd3e2ddfa76cf808fdfebbe843 (patch)
treeb81149ea12ce6a5f92464207866d518bb355ed3c /graphics/digikam-kde4/Makefile.common
parentf4de7e74148d628cfdcb794a6ac3edb300408848 (diff)
downloadports-e7ae0125df81fadd3e2ddfa76cf808fdfebbe843.tar.gz
ports-e7ae0125df81fadd3e2ddfa76cf808fdfebbe843.zip
Notes
Diffstat (limited to 'graphics/digikam-kde4/Makefile.common')
-rw-r--r--graphics/digikam-kde4/Makefile.common134
1 files changed, 130 insertions, 4 deletions
diff --git a/graphics/digikam-kde4/Makefile.common b/graphics/digikam-kde4/Makefile.common
index d580dea6621d..6a9f57172f41 100644
--- a/graphics/digikam-kde4/Makefile.common
+++ b/graphics/digikam-kde4/Makefile.common
@@ -3,24 +3,150 @@
# Make sure when DIGIKAM_VER is updated that the following ports are updated:
# astro/libkgeomap
# graphics/digikam-kde4
+# digikam-kde4-doc
+# digikam-kde4-l10n
+# graphics/kipi-plugin-*
# graphics/kipi-plugins-kde4
# graphics/libkface
+# graphics/libkipiplugins
# net/libkvkontakte
# net/libmediawiki
-DIGIKAM_VER= 2.9.0
-MASTER_SITES= SF/digikam/digikam/${DIGIKAM_VER}
+DIGIKAM_VER= 3.1.0
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= stable/digikam
+
+KIPI_PLUGINS_ALL= acquireimages \
+ advancedslideshow \
+ batchprocess \
+ calendar \
+ debianscreenshots \
+ dngconverter \
+ expoblending \
+ facebook \
+ flashexport \
+ flickrexport \
+ galleryexport \
+ gpssync \
+ htmlexport \
+ imageshackexport \
+ imageviewer \
+ imgurexport \
+ ipodexport \
+ jpeglossless \
+ kioexport \
+ kmlexport \
+ kopete \
+ mediawiki \
+ metadataedit \
+ panorama \
+ photolayoutseditor \
+ picasawebexport \
+ piwigoexport \
+ printimages \
+ rajceexport \
+ rawconverter \
+ removeredeyes \
+ sendimages \
+ shwup \
+ smug \
+ timeadjust \
+ videoslideshow \
+ vkontakte \
+ yandexfotki
+
+# libkipiplugins is special: it's not listed in KIPI_PLUGINS_ALL,
+# and every plugin depends on it
+libkipiplugins_DIR= common
+libkipiplugins_DESC= Common library for kipi plugins
+
+batchprocess_DIR= batchprocessimages
+kioexport_DIR= kioexportimport
+
+acquireimages_DESC= Acquire images using flat scanner
+advancedslideshow_DESC= Slide images with 2D and 3D effects using OpenGL
+batchprocess_DESC= Batch process images (convert, resize, rename, etc.)
+calendar_DESC= Create calendars
+# broken
+# dlnaexport_DESC= Export collection on DLNA network service
+debianscreenshots_DESC= Export images to Debian Screenshots web service
+dngconverter_DESC= Convert Raw Image to Digital NeGative
+expoblending_DESC= Create pseudo HDR image with a stack of bracketed images
+facebook_DESC= Import/export images to/from a remote Facebook web service
+flashexport_DESC= Export images to Flash using SimpleViewer
+flickrexport_DESC= Export images to a remote Flickr based web service
+gpssync_DESC= Geolocalize pictures
+galleryexport_DESC= Export images to a remote Gallery
+htmlexport_DESC= Export images collections into a static XHTML page
+imageshackexport_DESC= Export images to ImageShack web service
+imageviewer_DESC= Preview images using OpenGL
+imgurexport_DESC= Export images to ImgUr web service
+ipodexport_DESC= Export pictures to an Ipod device
+jpeglossless_DESC= Rotate/flip images without losing quality
+kioexport_DESC= Export images to remote computer using network protocol
+kmlexport_DESC= Create KML files to present images with coordinates
+kopete_DESC= Export images to an instant messaging contact
+mediawiki_DESC= Export images to Mediawiki based web service
+metadataedit_DESC= Edit EXIF, IPTC and XMP metadata
+panorama_DESC= Assemble panoramic photo automatically
+# not ready for production yet
+# photivointegration_DESC= Integration of the Photivo RAW-Processor
+photolayoutseditor_DESC=Assemble images together
+picasawebexport_DESC= Export images to a remote Picasa web service
+piwigoexport_DESC= Export images to a remote Piwigo (PHPWebGallery) server
+printimages_DESC= Print images in various format
+rajceexport_DESC= Export images to Rajce web service
+rawconverter_DESC= Convert Raw Image to JPEG/PNG/TIFF
+removeredeyes_DESC= Remove red eyes on image automatically
+sendimages_DESC= Send images by e-mail
+shwup_DESC= Export images to Shwup web service
+smug_DESC= Import/export images to/from a remote SmugMug web service
+timeadjust_DESC= Adjust date and time
+videoslideshow_DESC= Export images as Video Slide Show
+vkontakte_DESC= Export images to VKontakte web service
+# Requires https://bugs.kde.org/show_bug.cgi?id=217950
+# wallpaper_DESC= Set image as background on desktop
+yandexfotki_DESC= Export images to Yandex web service
+
+.if !defined(NO_BUILD)
DISTNAME= digikam-${DIGIKAM_VER}
LICENSE?= GPLv2
USE_BZIP2= yes
-USES= cmake
+USES+= cmake
USE_KDE4+= automoc4 kdehier kdeprefix kdelibs
USE_QT4+= qmake_build moc_build rcc_build uic_build
-USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
WRKSRC?= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME}
DISTINFO_FILE= ${.CURDIR}/../../graphics/digikam-kde4/distinfo
+
+. if defined(KIPI_PLUGIN)
+CONFLICTS_INSTALL= kipi-plugins-2.*
+
+DESCR= ${.CURDIR}/../../graphics/kipi-plugins-kde4/pkg-descr
+USE_PKGCONFIG= build
+
+.if ${KIPI_PLUGIN} != "libkipiplugins"
+EXTRA_PATCHES= ${.CURDIR}/../../graphics/kipi-plugins-kde4/files/extrapatch-CMakeLists.txt
+LIB_DEPENDS+= kipiplugins:${PORTSDIR}/graphics/libkipiplugins
+.endif
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/extra/kipi-plugins
+BUILD_WRKSRC= ${WRKSRC}/${${KIPI_PLUGIN}_DIR}
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+
+${KIPI_PLUGIN}_DIR?= ${KIPI_PLUGIN}
+
+post-configure: post-kipi-configure
+
+post-kipi-configure:
+ ${ECHO_CMD} '#define GITVERSION "unknown"' > ${WRKSRC}/common/libkipiplugins/gitversion.h
+.if ${KIPI_PLUGIN} != "libkipiplugins"
+ ${LN} -s ${KDE4_PREFIX}/lib/libkipiplugins.so ${WRKSRC}/lib/libkipiplugins.so
+.endif
+
+. endif # defined(KIPI_PLUGIN)
+.endif # !defined(NO_BUILD)