diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-02-20 20:13:15 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-02-20 20:13:15 +0000 |
commit | 088377dcde85eb028d3200b5e1dbbab4f683c1e8 (patch) | |
tree | 56f5fe143357b8de234aa0f6cf635aa47f37d436 /media-plugins | |
parent | ia64/sparc stable wrt #258940 (diff) | |
download | gentoo-2-088377dcde85eb028d3200b5e1dbbab4f683c1e8.tar.gz gentoo-2-088377dcde85eb028d3200b5e1dbbab4f683c1e8.tar.bz2 gentoo-2-088377dcde85eb028d3200b5e1dbbab4f683c1e8.zip |
Initial commit of kipi-plugins for KDE4. Fixes bug #259390
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/kipi-plugins/ChangeLog | 9 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/files/playbackwidget-qt45.patch | 33 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/kipi-plugins-0.2.0_rc2.ebuild | 82 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/metadata.xml | 5 |
4 files changed, 128 insertions, 1 deletions
diff --git a/media-plugins/kipi-plugins/ChangeLog b/media-plugins/kipi-plugins/ChangeLog index 159385a5dead..9bd0f90b5d64 100644 --- a/media-plugins/kipi-plugins/ChangeLog +++ b/media-plugins/kipi-plugins/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/kipi-plugins # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/ChangeLog,v 1.44 2009/02/12 01:51:19 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/ChangeLog,v 1.45 2009/02/20 20:13:15 hwoarang Exp $ + +*kipi-plugins-0.2.0_rc2 (20 Feb 2009) + + 20 Feb 2009; Markos Chandras <hwoarang@gentoo.org> + +files/playbackwidget-qt45.patch, metadata.xml, + +kipi-plugins-0.2.0_rc2.ebuild: + Initial commit of kipi-plugins for KDE4. Fixes bug #259390 12 Feb 2009; Carsten Lohrke <carlo@gentoo.org> kipi-plugins-0.1.4-r2.ebuild, kipi-plugins-0.1.7.ebuild: diff --git a/media-plugins/kipi-plugins/files/playbackwidget-qt45.patch b/media-plugins/kipi-plugins/files/playbackwidget-qt45.patch new file mode 100644 index 000000000000..e49c729ae37d --- /dev/null +++ b/media-plugins/kipi-plugins/files/playbackwidget-qt45.patch @@ -0,0 +1,33 @@ +Index: advancedslideshow/playbackwidget.ui +=================================================================== +--- advancedslideshow/playbackwidget.ui (revisione 926484) ++++ advancedslideshow/playbackwidget.ui (copia locale) +@@ -107,7 +107,7 @@ + </layout> + </item> + <item> +- <widget class="Phonon::VolumeSlider" native="1" name="m_volumeSlider" > ++ <widget class="VolSlider" native="1" name="m_volumeSlider" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > + <horstretch>0</horstretch> +@@ -132,9 +132,9 @@ + </widget> + <customwidgets> + <customwidget> +- <class>Phonon::VolumeSlider</class> ++ <class>VolSlider</class> + <extends>QWidget</extends> +- <header location="global" >Phonon/VolumeSlider</header> ++ <header>volslider.h</header> + <container>1</container> + </customwidget> + </customwidgets> +Index: volslider.h +=================================================================== +--- advancedslideshow/volslider.h (revisione 0) ++++ advancedslideshow/volslider.h (revisione 0) +@@ -0,0 +1,3 @@ ++#include <Phonon/VolumeSlider> ++ ++typedef class Phonon::VolumeSlider VolSlider; diff --git a/media-plugins/kipi-plugins/kipi-plugins-0.2.0_rc2.ebuild b/media-plugins/kipi-plugins/kipi-plugins-0.2.0_rc2.ebuild new file mode 100644 index 000000000000..0da335677289 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-0.2.0_rc2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-0.2.0_rc2.ebuild,v 1.1 2009/02/20 20:13:15 hwoarang Exp $ + +EAPI="2" + +KDE_MINIMAL="4.2" +OPENGL_REQUIRED="optional" +KDE_LINGUAS="ar be ca cs da de el es et fr ga gl hi is it ja km lv ms nb nds nl +nn oc pa pl pt pt_BR ro ru se sk sv th tr uk zn_CN" +inherit kde4-base + +MY_P="${P/_/-}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface (libkipi)." +HOMEPAGE="http://www.kipi-plugins.org" +SRC_URI="mirror://sourceforge/kipi/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="cdr calendar debug +imagemagick ipod mjpeg redeyes scanner" +SLOT="2" + +DEPEND=" + >=dev-libs/expat-2.0.1 + dev-libs/libxml2 + dev-libs/libxslt + >=kde-base/libkdcraw-${KDE_MINIMAL}[kdeprefix=] + >=kde-base/libkexiv2-${KDE_MINIMAL}[kdeprefix=] + >=kde-base/libkipi-${KDE_MINIMAL}[kdeprefix=] + media-libs/jpeg + media-libs/libpng + >=media-libs/tiff-3.5 + calendar? ( >=kde-base/kdepimlibs-${KDE_MINIMAL}[kdeprefix=] ) + ipod? ( media-libs/libgpod ) + opengl? ( virtual/opengl ) + redeyes? ( media-libs/opencv ) + scanner? ( + media-gfx/sane-backends + >=kde-base/libksane-${KDE_MINIMAL}[kdeprefix=] + ) +" +RDEPEND="${DEPEND} + cdr? ( app-cdr/k3b ) + imagemagick? ( media-gfx/imagemagick ) + mjpeg? ( media-video/mjpegtools ) +" + +#bug #259390 +PATCHES=( + "${FILESDIR}/playbackwidget-qt45.patch" +) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + # This Plugin hard depends on libksane, deactivate it if use flag scanner is + # not set. + if ! use scanner; then + sed -i \ + -e '/acquireimages/ s:^:#DONOTCOMPILE :' \ + "${S}"/CMakeLists.txt || die "Sed deactivating scanner support failed." + fi + + # Fix linking + sed -i \ + -e '/KDE4_KDEUI_LIBS/ c\\${KDE4_KIO_LIBS}'\ + "${S}"/common/libkipiplugins/CMakeLists.txt \ + || die "Sed fixing kipi linking failed." + + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with scanner Sane) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with redeyes OpenCV)" + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/metadata.xml b/media-plugins/kipi-plugins/metadata.xml index 8d1e86a9cefb..86dc7a275199 100644 --- a/media-plugins/kipi-plugins/metadata.xml +++ b/media-plugins/kipi-plugins/metadata.xml @@ -2,4 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>kde</herd> +<use> + <flag name="mjpeg">Add mjpeg suppport</flag> + <flag name="redeyes">Add redeyes removal suppport</flag> + <flag name="linguas_zn_CN">Add zn_CN lingua suppport</flag> +</use> </pkgmetadata> |