public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: media-plugins/kipi-plugins/
Date: Thu, 25 Feb 2016 09:13:42 +0000 (UTC)	[thread overview]
Message-ID: <1456391611.61e168e25ad2678d6c19234be603b149deb1424e.kensington@gentoo> (raw)

commit:     61e168e25ad2678d6c19234be603b149deb1424e
Author:     Felix Leif Keppmann <felix.leif <AT> keppmann <DOT> de>
AuthorDate: Wed Feb 24 23:05:00 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 09:13:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=61e168e2

media-plugins/kipi-plugins: version bump to 5.0.0_beta4

Ebuild for beta version of Kipi Plugins 5 along with Digikam 5.

 .../kipi-plugins/kipi-plugins-5.0.0_beta4.ebuild   | 141 +++++++++++++++++++++
 1 file changed, 141 insertions(+)

diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.0.0_beta4.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.0.0_beta4.ebuild
new file mode 100644
index 0000000..d013c64
--- /dev/null
+++ b/media-plugins/kipi-plugins/kipi-plugins-5.0.0_beta4.ebuild
@@ -0,0 +1,141 @@
+# 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_HANDBOOK=true
+	KDE_TEST=true
+fi
+
+inherit kde5
+
+DESCRIPTION="Plugins for the KDE Image Plugin Interface"
+HOMEPAGE="http://www.digikam.org/"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+IUSE="calendar expoblending flashexport mediawiki panorama phonon viewers vkontakte"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+
+	MY_PV=${PV/_/-}
+	MY_P="digikam-${MY_PV}"
+
+	SRC_BRANCH=stable
+	[[ ${PV} =~ beta[0-9]$ ]] && SRC_BRANCH=unstable
+	SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.bz2"
+
+	S=${WORKDIR}/${MY_P}/extra/${PN}
+
+fi
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtconcurrent)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtprintsupport)
+	$(add_qt_dep qtsvg)
+	$(add_qt_dep qtwebkit)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	$(add_qt_dep qtxmlpatterns)
+	kde-apps/libkipi:5=
+	calendar? ( $(add_kdeapps_dep kcalcore) )
+	flashexport? ( $(add_frameworks_dep karchive) )
+	mediawiki? ( net-libs/libmediawiki:5 )
+	panorama? ( $(add_frameworks_dep threadweaver) )
+	phonon? ( media-libs/phonon[qt5] )
+	viewers? (
+		$(add_qt_dep qtopengl)
+		x11-libs/libX11
+		x11-libs/libXrandr
+		virtual/opengl
+	)
+	vkontakte? ( net-libs/libkvkontakte:5 )
+"
+
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	panorama? (
+		sys-devel/bison
+		sys-devel/flex
+	)
+"
+
+RDEPEND="${COMMON_DEPEND}
+	!media-plugins/kipi-plugins:4
+	expoblending? ( media-gfx/hugin )
+	panorama? (
+		media-gfx/enblend
+		media-gfx/hugin
+	)
+"
+
+RESTRICT=test
+
+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 mediawiki
+	undetect_lib vkontakte KVKONTAKTE
+
+	sed -i -e "/add_subdirectory(expoblending)/ s/^/#DONT/" CMakeLists.txt || die
+
+	if [[ ${KDE_BUILD_TYPE} != live ]]; then
+		# prepare the handbook
+		mv "${WORKDIR}"/${MY_P}/doc/${PN} "${S}"/doc || die
+
+		if use handbook; then
+			echo "add_subdirectory( doc )" >> CMakeLists.txt || die
+		fi
+
+		if [[ ${SRC_BRANCH} != unstable ]]; 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(Msgfmt REQUIRED)" >> CMakeLists.txt || 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 calendar KF5CalendarCore)
+		$(cmake-utils_use_find_package flashexport KF5Archive)
+		$(cmake-utils_use_find_package panorama BISON)
+		$(cmake-utils_use_find_package panorama FLEX)
+		$(cmake-utils_use_find_package panorama KF5ThreadWeaver)
+		$(cmake-utils_use_find_package phonon Phonon4Qt5)
+		$(cmake-utils_use_find_package viewers OpenGL)
+		$(cmake-utils_use_find_package viewers Qt5OpenGL)
+		$(cmake-utils_use_find_package viewers X11)
+	)
+
+	kde5_src_configure
+
+}


             reply	other threads:[~2016-02-25  9:13 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25  9:13 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-08 18:04 [gentoo-commits] proj/kde:master commit in: media-plugins/kipi-plugins/ Andreas Sturmlechner
2019-02-17 11:11 Andreas Sturmlechner
2018-12-23 17:19 Andreas Sturmlechner
2017-09-06 18:50 Johannes Huber
2016-12-23 10:11 Johannes Huber
2016-11-26 16:17 Michael Palimaka
2016-10-20 18:57 Michael Palimaka
2016-10-20 18:57 Michael Palimaka
2016-10-20 18:57 Michael Palimaka
2016-09-21 16:52 Michael Palimaka
2016-08-10 17:27 Michael Palimaka
2016-08-10 15:36 Michael Palimaka
2016-07-10 11:03 Johannes Huber
2016-07-07 20:05 Michael Palimaka
2016-07-07 19:57 Michael Palimaka
2016-04-28 11:21 Johannes Huber
2016-04-12 17:56 Johannes Huber
2016-02-01 12:59 Michael Palimaka
2015-10-16 18:24 Michael Palimaka
2015-10-15 16:46 Michael Palimaka
2015-10-15  8:14 Michael Palimaka
2015-10-05 20:26 Manuel Rüger
2015-09-08  2:50 Michael Palimaka
2015-08-08  8:03 Johannes Huber
2015-08-08  7:54 Johannes Huber
2015-04-22 15:52 Michael Palimaka
2012-12-29 15:30 Andreas Hüttel
2012-11-12 23:57 Andreas Hüttel
2012-11-11 18:37 Andreas Hüttel
2011-07-02 18:32 Andreas Hüttel
2011-06-03 21:18 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456391611.61e168e25ad2678d6c19234be603b149deb1424e.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox