aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <geekboy72@gmail.com>2012-08-10 14:25:13 -0400
committerChris Reffett <geekboy72@gmail.com>2012-08-10 14:26:53 -0400
commit70cc7f8e0c2f6353d6cee398c1b76dd4ef24e60e (patch)
treee53648a1bf1b206ab352729daf157ed80dd33341 /media-plugins
parent[media-libs/libmediawiki] Add version 2.8.0 for testing (diff)
downloadkde-70cc7f8e0c2f6353d6cee398c1b76dd4ef24e60e.tar.gz
kde-70cc7f8e0c2f6353d6cee398c1b76dd4ef24e60e.tar.bz2
kde-70cc7f8e0c2f6353d6cee398c1b76dd4ef24e60e.zip
[media-plugins/kipi-plugins] Add version 2.8.0 for testing
(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kipi-plugins/Manifest1
-rw-r--r--media-plugins/kipi-plugins/files/kipi-plugins-1.7.0-expoblending.patch16
-rw-r--r--media-plugins/kipi-plugins/files/kipi-plugins-2.2.0-panorama.patch16
-rw-r--r--media-plugins/kipi-plugins/files/kipi-plugins-2.6.0_beta3-options.patch31
-rw-r--r--media-plugins/kipi-plugins/kipi-plugins-2.8.0.ebuild118
-rw-r--r--media-plugins/kipi-plugins/metadata.xml21
6 files changed, 203 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest
new file mode 100644
index 0000000000..c51ab7b8bf
--- /dev/null
+++ b/media-plugins/kipi-plugins/Manifest
@@ -0,0 +1 @@
+DIST digikam-2.8.0.tar.bz2 56897743 SHA256 93f1f577cbf5a0f3ca56244b76e4eecc0c445fe4cede51b301aa63db1c0508bc SHA512 256a4ab52c650da0eb01b87ad4b29b7409017a4686bdabac9598569e2b94986ab62c162e135491ded8fd056844a8052d452e28cb410b96ae54bc9659a2bcf25a WHIRLPOOL daa6a16ae786a99dd169d400d6d0cab806999660bc379a78cec7e87904a281dae14097b5ed40ada7aa4f57720e8099b2765da922710c98ba4dbf6e6021d3f6d6
diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-1.7.0-expoblending.patch b/media-plugins/kipi-plugins/files/kipi-plugins-1.7.0-expoblending.patch
new file mode 100644
index 0000000000..3f7fdf68c6
--- /dev/null
+++ b/media-plugins/kipi-plugins/files/kipi-plugins-1.7.0-expoblending.patch
@@ -0,0 +1,16 @@
+diff -ruN kipi-plugins-1.7.0.orig/CMakeLists.txt kipi-plugins-1.7.0/CMakeLists.txt
+--- kipi-plugins-1.7.0.orig/CMakeLists.txt 2010-12-19 10:44:04.000000000 +0100
++++ kipi-plugins-1.7.0/CMakeLists.txt 2010-12-28 18:11:40.000000000 +0100
+@@ -358,7 +358,11 @@
+ ADD_SUBDIRECTORY(smug)
+ ADD_SUBDIRECTORY(facebook)
+ ADD_SUBDIRECTORY(printimages)
+- ADD_SUBDIRECTORY(expoblending)
++
++ IF(ENABLE_expoblending)
++ ADD_SUBDIRECTORY(expoblending)
++ ENDIF(ENABLE_expoblending)
++
+ ADD_SUBDIRECTORY(kopete)
+
+ # Plugins which are optional depencies.
diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-2.2.0-panorama.patch b/media-plugins/kipi-plugins/files/kipi-plugins-2.2.0-panorama.patch
new file mode 100644
index 0000000000..fbe832a64b
--- /dev/null
+++ b/media-plugins/kipi-plugins/files/kipi-plugins-2.2.0-panorama.patch
@@ -0,0 +1,16 @@
+diff -ruN digikam-2.2.0.orig/extra/kipi-plugins/CMakeLists.txt digikam-2.2.0/extra/kipi-plugins/CMakeLists.txt
+--- digikam-2.2.0.orig/extra/kipi-plugins/CMakeLists.txt 2011-10-03 12:34:09.000000000 +0200
++++ digikam-2.2.0/extra/kipi-plugins/CMakeLists.txt 2011-11-05 20:14:23.000000000 +0100
+@@ -389,7 +389,11 @@
+ ADD_SUBDIRECTORY(batchprocessimages)
+ ADD_SUBDIRECTORY(rajceexport)
+ ADD_SUBDIRECTORY(kmlexport)
+- ADD_SUBDIRECTORY(panorama)
++
++ IF(ENABLE_panorama)
++ ADD_SUBDIRECTORY(panorama)
++ ENDIF(ENABLE_panorama)
++
+ ADD_SUBDIRECTORY(photolayoutseditor)
+
+ # Plugins which are optional depencies.
diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-2.6.0_beta3-options.patch b/media-plugins/kipi-plugins/files/kipi-plugins-2.6.0_beta3-options.patch
new file mode 100644
index 0000000000..86733b15cb
--- /dev/null
+++ b/media-plugins/kipi-plugins/files/kipi-plugins-2.6.0_beta3-options.patch
@@ -0,0 +1,31 @@
+diff -ruN digikam-2.6.0-beta3.orig/extra/kipi-plugins/CMakeLists.txt digikam-2.6.0-beta3/extra/kipi-plugins/CMakeLists.txt
+--- digikam-2.6.0-beta3.orig/extra/kipi-plugins/CMakeLists.txt 2012-04-01 12:54:26.000000000 +0200
++++ digikam-2.6.0-beta3/extra/kipi-plugins/CMakeLists.txt 2012-04-08 18:50:53.918419219 +0200
+@@ -391,7 +391,11 @@
+ ADD_SUBDIRECTORY(picasawebexport)
+ ADD_SUBDIRECTORY(smug)
+ ADD_SUBDIRECTORY(printimages)
+- ADD_SUBDIRECTORY(expoblending)
++
++ IF(ENABLE_expoblending)
++ ADD_SUBDIRECTORY(expoblending)
++ ENDIF(ENABLE_expoblending)
++
+ ADD_SUBDIRECTORY(kopete)
+ ADD_SUBDIRECTORY(batchprocessimages)
+ ADD_SUBDIRECTORY(rajceexport)
+@@ -457,9 +461,11 @@
+ ADD_SUBDIRECTORY(mediawiki)
+ ENDIF(MEDIAWIKI_FOUND)
+
+- IF(Boost_FOUND)
+- ADD_SUBDIRECTORY(panorama)
+- ENDIF(Boost_FOUND)
++ IF(ENABLE_panorama)
++ IF(Boost_FOUND)
++ ADD_SUBDIRECTORY(panorama)
++ ENDIF(Boost_FOUND)
++ ENDIF(ENABLE_panorama)
+
+ # Laurent Montel : wallpaper is currently disabled. Waiting new api with KDE 4.2
+ #
diff --git a/media-plugins/kipi-plugins/kipi-plugins-2.8.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-2.8.0.ebuild
new file mode 100644
index 0000000000..3ffdbce78f
--- /dev/null
+++ b/media-plugins/kipi-plugins/kipi-plugins-2.8.0.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-2.7.0.ebuild,v 1.1 2012/07/09 20:45:31 dilfridge Exp $
+
+EAPI=4
+
+OPENGL_REQUIRED="optional"
+
+KDE_MINIMAL="4.7"
+
+KDE_LINGUAS="ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fo fr fy ga
+gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi mk mn ms mt nb nds ne nl nn
+nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv ta te tg th tr tt uk uz ven vi wa xh
+zh_CN zh_HK zh_TW zu"
+
+KDE_HANDBOOK="optional"
+
+inherit flag-o-matic kde4-base
+
+MY_PV=${PV/_/-}
+MY_P="digikam-${MY_PV}"
+
+DESCRIPTION="Plugins for the KDE Image Plugin Interface"
+HOMEPAGE="http://www.digikam.org/"
+SRC_URI="mirror://sourceforge/digikam/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2
+ handbook? ( FDL-1.2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki mjpeg panorama redeyes scanner vkontakte"
+
+DEPEND="
+ $(add_kdebase_dep libkipi)
+ $(add_kdebase_dep libkdcraw)
+ $(add_kdebase_dep libkexiv2)
+ dev-libs/expat
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/qjson
+ gpssync? ( media-libs/libkgeomap )
+ media-libs/libpng
+ media-libs/tiff
+ virtual/jpeg
+ calendar? ( $(add_kdebase_dep kdepimlibs) )
+ crypt? ( app-crypt/qca:2 )
+ ipod? (
+ media-libs/libgpod
+ x11-libs/gtk+:2
+ mediawiki? ( >=media-libs/libmediawiki-2.6.0 )
+ )
+ panorama? ( dev-libs/boost )
+ redeyes? ( media-libs/opencv )
+ scanner? (
+ $(add_kdebase_dep libksane)
+ media-gfx/sane-backends
+ )
+ vkontakte? ( net-libs/libkvkontakte )
+"
+RDEPEND="${DEPEND}
+ cdr? ( app-cdr/k3b )
+ expoblending? ( media-gfx/hugin )
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ mjpeg? ( media-video/mjpegtools )
+ panorama? (
+ media-gfx/enblend
+ >=media-gfx/hugin-2011.0.0
+ )
+"
+
+S=${WORKDIR}/${MY_P}/extra/${PN}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.6.0_beta3-options.patch"
+)
+
+src_prepare() {
+ # prepare the handbook
+ mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die
+ if use handbook; then
+ echo "add_subdirectory( doc )" >> CMakeLists.txt
+ fi
+
+ # prepare the translations
+ mv "${WORKDIR}/${MY_P}/po" po || die
+ find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} +
+ echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die
+ echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die
+ echo "add_subdirectory( po )" >> CMakeLists.txt
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ # Remove flags -floop-block -floop-interchange
+ # -floop-strip-mine due to bug #305443.
+ filter-flags -floop-block
+ filter-flags -floop-interchange
+ filter-flags -floop-strip-mine
+
+ mycmakeargs+=(
+ $(cmake-utils_use_with ipod GLIB2)
+ $(cmake-utils_use_with ipod GObject)
+ $(cmake-utils_use_with ipod Gdk)
+ $(cmake-utils_use_with ipod Gpod)
+ $(cmake-utils_use_with calendar KdepimLibs)
+ $(cmake-utils_use_with gpssync KGeoMap)
+ $(cmake-utils_use_with mediawiki MEDIAWIKI)
+ $(cmake-utils_use_with redeyes OpenCV)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with crypt QCA2)
+ $(cmake-utils_use_with scanner KSane)
+ $(cmake-utils_use_enable expoblending)
+ $(cmake-utils_use_enable panorama)
+ )
+
+ kde4-base_src_configure
+}
diff --git a/media-plugins/kipi-plugins/metadata.xml b/media-plugins/kipi-plugins/metadata.xml
new file mode 100644
index 0000000000..43e1fb6201
--- /dev/null
+++ b/media-plugins/kipi-plugins/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>dilfridge@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="expoblending">Build the expoblending plugin, which requires media-gfx/hugin</flag>
+ <flag name="gpssync">Build the gpssync plugin, which requires media-lib/libkgeomap and thereby marble</flag>
+ <flag name="mediawiki">Build the mediawiki export plugin</flag>
+ <flag name="mjpeg">Add mjpeg suppport</flag>
+ <flag name="panorama">Pull in dependencies needed by panorama plugin</flag>
+ <flag name="redeyes">Add redeyes removal suppport</flag>
+ <flag name="vkontakte">Build plugin for vkontakte.ru</flag>
+ <flag name="linguas_ha">Hausa translation</flag>
+ <flag name="linguas_mi">Maori translation</flag>
+ <flag name="linguas_tt">?? translation</flag>
+ <flag name="linguas_ven">Venda translation</flag>
+ </use>
+</pkgmetadata>