summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-07-10 15:20:11 +0200
committerJohannes Huber <johu@gentoo.org>2016-07-10 15:20:26 +0200
commit294c54ad6e4bbbe8630ad87aeb2ff6315271ff1f (patch)
treec335a84ba8a23c8d666d1518983b5373391c373c /media-gfx
parentprofiles: Mask =media-gfx/digikam-5.0.0[addressbook] (diff)
downloadgentoo-294c54ad6e4bbbe8630ad87aeb2ff6315271ff1f.tar.gz
gentoo-294c54ad6e4bbbe8630ad87aeb2ff6315271ff1f.tar.bz2
gentoo-294c54ad6e4bbbe8630ad87aeb2ff6315271ff1f.zip
media-gfx/digikam: Version bump 5.0.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/digikam/Manifest1
-rw-r--r--media-gfx/digikam/digikam-5.0.0.ebuild133
-rw-r--r--media-gfx/digikam/metadata.xml28
3 files changed, 151 insertions, 11 deletions
diff --git a/media-gfx/digikam/Manifest b/media-gfx/digikam/Manifest
index 80b14ab87fe5..8a2bb84e342e 100644
--- a/media-gfx/digikam/Manifest
+++ b/media-gfx/digikam/Manifest
@@ -1,2 +1,3 @@
DIST digikam-4.14.0.tar.bz2 59805228 SHA256 9d7bcb689d8c29be2e81976f0a043220f442a24f2071284044e7f1a799a7fdad SHA512 3029e9b67d9d055bd9aee0d6d01e87950702e026f9f44b513155946ba087ec58b300f945a035a418afae45365ed007d8db6a1a90ed1d391e5e0e4cb679168ccf WHIRLPOOL 35a3caedc9a4799f161b26b3b4df51da18a31be50a8a6da5b12a339a353755d73a47f103099087e3dc8e6926f65ae19638efea3585c86f72173a086056bf48ce
DIST digikam-4.4.0.tar.bz2 68871203 SHA256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9 SHA512 4992fad1e574fc44eac53f3ac8d4ab78ccbf8e04beb54a211a9afc20af1efb6f8bacedea07e403f490e7f70a74ed5ac02d4f9b939dfaf25f64a4a9bda0a7d94a WHIRLPOOL 7a05ab9926227232a1cf52bf68da45b849b982e840b171f702610acce85a1ce8e59967a02e845a0ef19c316daee835861573aca40dc7b28422cf7d6d56119e2c
+DIST digikam-5.0.0.tar.xz 62980708 SHA256 b0b4fb7f55101830b8a49d804f622f80e82386d1597cb1b94e6d2f287ab33d9f SHA512 99cd961b2261a76a2743ecabfb64195b941dc20f8fc57318cef9ca6e34ca9bd5c944c6019aa92b493316db47385a98f0f77fa04fcbd20ac0e3b01a03936eddfb WHIRLPOOL c15d19da31c7ba0679475fca7dc9f9b60104fee9f55a7b41b4b655e37d910d0bc963ebfd87a241ef5536ef4a0c362be42e6c5b054ee5a46998bee54ef8ad41f3
diff --git a/media-gfx/digikam/digikam-5.0.0.ebuild b/media-gfx/digikam/digikam-5.0.0.ebuild
new file mode 100644
index 000000000000..6b24996ec782
--- /dev/null
+++ b/media-gfx/digikam/digikam-5.0.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ KDE_TEST=true
+fi
+inherit kde5
+
+DESCRIPTION="Digital photo management application"
+HOMEPAGE="https://www.digikam.org/"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="addressbook gphoto2 kipi lensfun marble semantic-desktop mysql scanner video X"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+
+ MY_PV=${PV/_/-}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_BRANCH=stable
+ [[ ${PV} =~ beta[0-9]$ ]] && SRC_BRANCH=unstable
+ SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.xz"
+
+ S="${WORKDIR}/${MY_P}/core"
+
+fi
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_kdeapps_dep libkexiv2)
+ $(add_qt_dep qtconcurrent)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtsql 'mysql?')
+ $(add_qt_dep qtwebkit)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-libs/boost[threads]
+ dev-libs/expat
+ >=media-gfx/exiv2-0.24:=
+ media-libs/jasper
+ media-libs/lcms:2
+ media-libs/liblqr
+ >=media-libs/libpgf-6.12.27
+ media-libs/libpng:0=
+ >=media-libs/opencv-3.0.0:=
+ media-libs/tiff:0
+ virtual/jpeg:0
+ addressbook? (
+ $(add_kdeapps_dep akonadi-contact)
+ $(add_kdeapps_dep kcontacts)
+ )
+ scanner? ( $(add_kdeapps_dep libksane) )
+ gphoto2? ( media-libs/libgphoto2:= )
+ kipi? ( $(add_kdeapps_dep libkipi '' '16.03.80') )
+ lensfun? ( media-libs/lensfun )
+ marble? (
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep kitemmodels)
+ $(add_kdeapps_dep marble)
+ )
+ semantic-desktop? ( $(add_frameworks_dep kfilemetadata) )
+ mysql? ( virtual/mysql )
+ video? ( $(add_qt_dep qtmultimedia 'widgets') )
+ X? (
+ $(add_qt_dep qtx11extras)
+ x11-libs/libX11
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-cpp/eigen:3
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ media-plugins/kipi-plugins:5
+ !media-gfx/digikam:4
+"
+
+RESTRICT=test
+# bug 366505
+
+src_prepare() {
+ undetect_lib() {
+ local _use=${1}
+ local _name=${2}
+ [[ -z ${_name} ]] && _name=$(echo ${_use} | sed 's/./\U&/g')
+ use $_use || \
+ sed -i -e "/DETECT_LIB${_name}/d" CMakeLists.txt || die
+ }
+
+ undetect_lib kipi
+ undetect_lib scanner KSANE
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ # LQR = only allows to choose between bundled/external
+ local mycmakeargs=(
+ -DENABLE_OPENCV3=ON
+ -DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook)
+ -DENABLE_KFILEMETADATASUPPORT=$(usex semantic-desktop)
+ -DENABLE_MYSQLSUPPORT=$(usex mysql)
+ -DENABLE_MEDIAPLAYER=$(usex video)
+ $(cmake-utils_use_find_package gphoto2 Gphoto2)
+ $(cmake-utils_use_find_package lensfun LensFun)
+ $(cmake-utils_use_find_package marble Marble)
+ $(cmake-utils_use_find_package X X11)
+ )
+
+ kde5_src_configure
+}
diff --git a/media-gfx/digikam/metadata.xml b/media-gfx/digikam/metadata.xml
index a993fece576c..76eae513bf9e 100644
--- a/media-gfx/digikam/metadata.xml
+++ b/media-gfx/digikam/metadata.xml
@@ -1,15 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person"><email>dilfridge@gentoo.org</email></maintainer>
-<maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
-</maintainer>
-<use>
- <flag name="addressbook">Add support for kdepim</flag>
- <flag name="themedesigner">Build the digikam theme designer</flag>
- <flag name="thumbnails">Enable thumbnails database support</flag>
- <flag name="video">Pull in mplayerthumbs to enable video thumbnails</flag>
-</use>
+ <maintainer type="person">
+ <email>dilfridge@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="addressbook">Enable akonadi contact integration</flag>
+ <flag name="kipi">Enable support for <pkg>media-plugins/kipi-plugins</pkg></flag>
+ <flag name="lensfun">Enable support for <pkg>media-libs/lensfun</pkg></flag>
+ <flag name="marble">Enable support for geolocation using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="semantic-desktop">Enable <pkg>kde-frameworks/kfilemetadata</pkg> support</flag>
+ <flag name="themedesigner">Build the digikam theme designer</flag>
+ <flag name="thumbnails">Enable thumbnails database support</flag>
+ <flag name="video">Enable video player support</flag>
+ </use>
</pkgmetadata>