summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-09-06 20:44:12 +0200
committerJohannes Huber <johu@gentoo.org>2017-09-06 20:50:19 +0200
commitfcfe5fd0694c591e423acf9f3df46c7d34e0651b (patch)
tree4c2cc3c44cda279b1d2fb157ae0fb4d11c0a72cc /media-plugins/kipi-plugins
parentwww-client/opera: Version bump. (diff)
downloadgentoo-fcfe5fd0694c591e423acf9f3df46c7d34e0651b.tar.gz
gentoo-fcfe5fd0694c591e423acf9f3df46c7d34e0651b.tar.bz2
gentoo-fcfe5fd0694c591e423acf9f3df46c7d34e0651b.zip
media-plugins/kipi-plugins: Version bump 5.7.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-plugins/kipi-plugins')
-rw-r--r--media-plugins/kipi-plugins/Manifest1
-rw-r--r--media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest
index 085d53488866..8bc66589753d 100644
--- a/media-plugins/kipi-plugins/Manifest
+++ b/media-plugins/kipi-plugins/Manifest
@@ -1,2 +1,3 @@
DIST digikam-5.5.0.tar.xz 129499600 SHA256 df9cbf1b8dbfb9235cebc97e77c02fcb1498c5a905c7fd3b9fb42fd7accc6252 SHA512 3c64774916d4804d932009ba3753d387ecf31e9e3d435c580497d3badb6cc3e57ab5ef1a2334a23379d0987d96dd107be4f01adbb63039f4510aa94ac6d71344 WHIRLPOOL e67b444975ad37e939b2f62bba949bcafb41eee2975470daa02e4ffdd62c6c792b6656edf4811daead52fdc1bf064951fbec7b687192e5d5ee542d5d706140be
DIST digikam-5.6.0.tar.xz 166913492 SHA256 65bdd3f15668e314b852d523a0bf95da32450f31fcfda60da62e57d4622a663c SHA512 015024aaff6193ca29072f7340d62982b50467d84b69bac38f60319eaf771ce2a570a514e62fefc54f194b0c27df0c36980b1eed3433023a2d8290f24cc8905d WHIRLPOOL a8af3ac8e71cc2205027b9151cba9e57a266d590e7f26bd21f691cabd9b07212043d116d4f95fb2680e3e03a6884a58dc553bb3339fc59b3e9fc927432d0272f
+DIST digikam-5.7.0.tar.xz 123315064 SHA256 3605ffb5b6e8fbd6b725e5075f74f505d7edee7531789c2882d11df2d20150f5 SHA512 626c9854311c637b994325237f171adce3dba39159fb336dfe95f1de287e2d08a3aaddd611eea87e8018047d331aff252b555c382cfbe1d8e14413c51a3849f4 WHIRLPOOL b452919ce9bcf8ccc8434586ace23b96b68b76f49d7229d418b2dc5883e9646c79fb99ecd660d732b8d96efc3a49b70d218756b09a3f16ef9f7f2b174679be70
diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild
new file mode 100644
index 000000000000..8f69d808059c
--- /dev/null
+++ b/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Plugins for the KDE Image Plugin Interface"
+HOMEPAGE="https://www.digikam.org/"
+
+LICENSE="GPL-2+"
+IUSE="flashexport mediawiki +remotestorage vkontakte"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ KEYWORDS="~amd64 ~x86"
+ if [[ ${PV} =~ beta[0-9]$ ]]; then
+ SRC_BRANCH="unstable"
+ else
+ SRC_BRANCH="stable"
+ fi
+
+ MY_PV="${PV/_/-}"
+ MY_P="digikam-${MY_PV}"
+ SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.xz"
+ S="${WORKDIR}/${MY_P}/extra/${PN}"
+fi
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_kdeapps_dep libkipi '' '' '5=')
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ $(add_qt_dep qtxmlpatterns)
+ flashexport? ( $(add_frameworks_dep karchive) )
+ mediawiki? ( net-libs/libmediawiki:5 )
+ remotestorage? ( $(add_frameworks_dep kio) )
+ vkontakte? ( net-libs/libkvkontakte:5 )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_qt_dep qtconcurrent)
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ !media-plugins/kipi-plugins:4
+"
+
+src_prepare() {
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ if [[ ${SRC_BRANCH} = stable ]]; then
+ # prepare the translations
+ mv "${WORKDIR}/${MY_P}/po" po || die
+ find po -name "*.po" -and -not -name "kipiplugin*.po" -delete || die
+ echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die
+ echo "add_subdirectory( po )" >> CMakeLists.txt || die
+ fi
+ fi
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package flashexport KF5Archive)
+ $(cmake-utils_use_find_package mediawiki KF5MediaWiki)
+ -DENABLE_KIO=$(usex remotestorage)
+ $(cmake-utils_use_find_package vkontakte KF5Vkontakte)
+ )
+
+ kde5_src_configure
+}