summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-06-24 13:15:18 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-06-24 13:15:22 +1000
commitb098f0bdc3e491e2e599fd94e660c001b5e13cc9 (patch)
tree2f5bd4b875c054829c4ce611e4ec62bfc4bdaa29 /media-plugins/kipi-plugins
parentprofiles/hardened: remove obsolete package.use.stable.mask (diff)
downloadgentoo-b098f0bdc3e491e2e599fd94e660c001b5e13cc9.tar.gz
gentoo-b098f0bdc3e491e2e599fd94e660c001b5e13cc9.tar.bz2
gentoo-b098f0bdc3e491e2e599fd94e660c001b5e13cc9.zip
media-plugins/kipi-plugins: version bump 5.6.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
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.6.0.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest
index 0ccca3cbdd0..085d5348886 100644
--- a/media-plugins/kipi-plugins/Manifest
+++ b/media-plugins/kipi-plugins/Manifest
@@ -1 +1,2 @@
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
diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.6.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.6.0.ebuild
new file mode 100644
index 00000000000..5bcd38bc4ad
--- /dev/null
+++ b/media-plugins/kipi-plugins/kipi-plugins-5.6.0.ebuild
@@ -0,0 +1,83 @@
+# 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+"
+KEYWORDS="~amd64 ~x86"
+IUSE="flashexport mediawiki +remotestorage vkontakte"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ MY_PV="${PV/_/-}"
+ MY_P="digikam-${MY_PV}"
+
+ if [[ ${PV} =~ beta[0-9]$ ]]; then
+ SRC_BRANCH="unstable"
+ else
+ SRC_BRANCH="stable"
+ fi
+
+ 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
+}