/[gentoo-x86]/media-plugins/kipi-plugins/kipi-plugins-2.6.0_rc.ebuild
Gentoo

Contents of /media-plugins/kipi-plugins/kipi-plugins-2.6.0_rc.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 7 19:28:44 2012 UTC (2 years, 1 month ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump; remove old, beta, and rc

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-2.6.0_rc.ebuild,v 1.1 2012/05/13 15:07:29 dilfridge Exp $
4
5 EAPI=4
6
7 OPENGL_REQUIRED="optional"
8
9 KDE_MINIMAL="4.7"
10
11 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
12 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
13 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
14 zh_CN zh_HK zh_TW zu"
15
16 KDE_HANDBOOK="optional"
17
18 inherit flag-o-matic kde4-base
19
20 MY_PV=${PV/_/-}
21 MY_P="digikam-software-compilation-${MY_PV}"
22
23 DESCRIPTION="Plugins for the KDE Image Plugin Interface"
24 HOMEPAGE="http://www.digikam.org/"
25 SRC_URI="mirror://sourceforge/digikam/digikam/${MY_PV}/${MY_P}.tar.bz2"
26
27 LICENSE="GPL-2
28 handbook? ( FDL-1.2 )"
29 KEYWORDS=""
30 SLOT="4"
31 IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki mjpeg panorama redeyes scanner vkontakte"
32
33 DEPEND="
34 $(add_kdebase_dep libkipi)
35 $(add_kdebase_dep libkdcraw)
36 $(add_kdebase_dep libkexiv2)
37 dev-libs/expat
38 dev-libs/libxml2
39 dev-libs/libxslt
40 dev-libs/qjson
41 gpssync? ( media-libs/libkgeomap )
42 media-libs/libpng
43 media-libs/tiff
44 virtual/jpeg
45 calendar? ( $(add_kdebase_dep kdepimlibs) )
46 crypt? ( app-crypt/qca:2 )
47 ipod? (
48 media-libs/libgpod
49 x11-libs/gtk+:2
50 mediawiki? ( >=media-libs/libmediawiki-2.6.0_rc )
51 )
52 panorama? ( dev-libs/boost )
53 redeyes? ( >=media-libs/opencv-2.2.0-r10 )
54 scanner? (
55 $(add_kdebase_dep libksane)
56 media-gfx/sane-backends
57 )
58 vkontakte? ( net-libs/libkvkontakte )
59 "
60 RDEPEND="${DEPEND}
61 cdr? ( app-cdr/k3b )
62 expoblending? ( media-gfx/hugin )
63 imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
64 mjpeg? ( media-video/mjpegtools )
65 panorama? (
66 media-gfx/enblend
67 >=media-gfx/hugin-2011.0.0
68 )
69 "
70
71 S=${WORKDIR}/${MY_P}/extra/${PN}
72
73 PATCHES=(
74 "${FILESDIR}/${PN}-2.6.0_beta3-options.patch"
75 )
76
77 src_prepare() {
78 # prepare the handbook
79 mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die
80 if use handbook; then
81 echo "add_subdirectory( doc )" >> CMakeLists.txt
82 fi
83
84 # prepare the translations
85 mv "${WORKDIR}/${MY_P}/po" po || die
86 find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} +
87 echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die
88 echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die
89 echo "add_subdirectory( po )" >> CMakeLists.txt
90
91 kde4-base_src_prepare
92 }
93
94 src_configure() {
95 # Remove flags -floop-block -floop-interchange
96 # -floop-strip-mine due to bug #305443.
97 filter-flags -floop-block
98 filter-flags -floop-interchange
99 filter-flags -floop-strip-mine
100
101 mycmakeargs+=(
102 $(cmake-utils_use_with ipod GLIB2)
103 $(cmake-utils_use_with ipod GObject)
104 $(cmake-utils_use_with ipod Gdk)
105 $(cmake-utils_use_with ipod Gpod)
106 $(cmake-utils_use_with calendar KdepimLibs)
107 $(cmake-utils_use_with gpssync KGeoMap)
108 $(cmake-utils_use_with mediawiki MEDIAWIKI)
109 $(cmake-utils_use_with redeyes OpenCV)
110 $(cmake-utils_use_with opengl OpenGL)
111 $(cmake-utils_use_with crypt QCA2)
112 $(cmake-utils_use_with scanner Sane)
113 $(cmake-utils_use_enable expoblending)
114 $(cmake-utils_use_enable panorama)
115 )
116
117 kde4-base_src_configure
118 }

  ViewVC Help
Powered by ViewVC 1.1.20