From 0b98e23e7594d12d19b88e48ddd9b37d1f5a5c18 Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Tue, 27 Mar 2018 07:10:14 +0200 Subject: media-plugins/kipi-plugins: Version bump 5.9.0 Bug: https://bugs.gentoo.org/650546 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- media-plugins/kipi-plugins/Manifest | 1 + .../kipi-plugins/kipi-plugins-5.9.0.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 media-plugins/kipi-plugins/kipi-plugins-5.9.0.ebuild diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest index 76ae04101322..d23807cfbbd6 100644 --- a/media-plugins/kipi-plugins/Manifest +++ b/media-plugins/kipi-plugins/Manifest @@ -1 +1,2 @@ DIST digikam-5.7.0.tar.xz 123315064 BLAKE2B 0879b25e674e39d204038ab629dec36757ae034e3dd7e9a0a3700f9703272c4a972a21c1db5a42c6c294247a1226b1cb9a8b980bb90cdcc12e0cd752459273ef SHA512 626c9854311c637b994325237f171adce3dba39159fb336dfe95f1de287e2d08a3aaddd611eea87e8018047d331aff252b555c382cfbe1d8e14413c51a3849f4 +DIST digikam-5.9.0.tar.xz 132931184 BLAKE2B cfbcbae8471c9c00bdf846d13bbc1ce3fbbd2ee4cc86500d011f9e15c1a21d7799638f94708794e8bc36a200df455667f9df8fcefdc38aaa00060630807d11cb SHA512 f6134a957dcd11343e34f0bc90f5560a28ed205c47d2ffd76a5418a4c63f76706045e9179c47f1448304b59081051b524f7a6847c3c1dcee4673047ce5d90e63 diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.9.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.9.0.ebuild new file mode 100644 index 000000000000..5a19db42937a --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-5.9.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 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 +} -- cgit v1.2.3-65-gdbad