summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2010-11-08 21:29:51 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2010-11-08 21:29:51 +0000
commit72714af982a1030f9f2da6fa8f0cb4d95baff5b5 (patch)
tree6dd29e5ef29af5d9110d1f4ea9fb7c6a3ab4e28d /media-gfx
parentDepend on virtual/jpeg (diff)
downloadgentoo-2-72714af982a1030f9f2da6fa8f0cb4d95baff5b5.tar.gz
gentoo-2-72714af982a1030f9f2da6fa8f0cb4d95baff5b5.tar.bz2
gentoo-2-72714af982a1030f9f2da6fa8f0cb4d95baff5b5.zip
Depend on virtual/jpeg
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/digikam/ChangeLog8
-rw-r--r--media-gfx/digikam/digikam-1.2.0-r4.ebuild125
-rw-r--r--media-gfx/digikam/digikam-1.5.0.ebuild4
3 files changed, 134 insertions, 3 deletions
diff --git a/media-gfx/digikam/ChangeLog b/media-gfx/digikam/ChangeLog
index 26177b2705a7..06cad4dac167 100644
--- a/media-gfx/digikam/ChangeLog
+++ b/media-gfx/digikam/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/digikam
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.165 2010/11/04 00:19:47 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.166 2010/11/08 21:29:50 dilfridge Exp $
+
+*digikam-1.2.0-r4 (08 Nov 2010)
+
+ 08 Nov 2010; Andreas K. Huettel <dilfridge@gentoo.org>
+ +digikam-1.2.0-r4.ebuild, digikam-1.5.0.ebuild:
+ Depend on virtual/jpeg
04 Nov 2010; Andreas K. Huettel <dilfridge@gentoo.org>
-digikam-1.1.0-r1.ebuild, -files/digikam-1.1.0-libpgf.patch,
diff --git a/media-gfx/digikam/digikam-1.2.0-r4.ebuild b/media-gfx/digikam/digikam-1.2.0-r4.ebuild
new file mode 100644
index 000000000000..6effb8bebd0f
--- /dev/null
+++ b/media-gfx/digikam/digikam-1.2.0-r4.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-1.2.0-r4.ebuild,v 1.1 2010/11/08 21:29:51 dilfridge Exp $
+
+EAPI="2"
+
+KDE_LINGUAS="ar be bg ca cs da de el es et eu fa fi fr ga gl he hi is it ja km
+ko lt lv lb nds ne nl nn pa pl pt pt_BR ro ru se sk sl sv th tr uk vi zh_CN zh_TW"
+KMNAME="extragear/graphics"
+inherit kde4-base
+
+MY_P="${PN}-${PV/_/-}"
+
+DESCRIPTION="A digital photo management application for KDE."
+HOMEPAGE="http://www.digikam.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
+ handbook? ( mirror://gentoo/${PN}-doc-1.4.0.tar.bz2 )"
+
+LICENSE="GPL-2
+ handbook? ( FDL-1.2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="addressbook debug doc geolocation gphoto2 handbook lensfun semantic-desktop +thumbnails video"
+
+CDEPEND="
+ >=kde-base/kdelibs-${KDE_MINIMAL}[semantic-desktop?]
+ >=kde-base/libkdcraw-${KDE_MINIMAL}
+ >=kde-base/libkexiv2-${KDE_MINIMAL}
+ >=kde-base/libkipi-${KDE_MINIMAL}
+ >=kde-base/solid-${KDE_MINIMAL}
+ media-libs/jasper
+ virtual/jpeg
+ media-libs/lcms:0
+ media-libs/liblqr
+ media-libs/libpng
+ media-libs/tiff
+ media-libs/libpgf
+ >=media-plugins/kipi-plugins-1.2.0-r1
+ virtual/lapack
+ x11-libs/qt-gui[qt3support]
+ x11-libs/qt-sql[sqlite]
+ addressbook? ( >=kde-base/kdepimlibs-${KDE_MINIMAL} )
+ geolocation? ( >=kde-base/marble-${KDE_MINIMAL} )
+ gphoto2? ( media-libs/libgphoto2 )
+ lensfun? ( media-libs/lensfun )
+"
+RDEPEND="${CDEPEND}
+ >=kde-base/kreadconfig-${KDE_MINIMAL}
+ video? (
+ || (
+ >=kde-base/mplayerthumbs-${KDE_MINIMAL}
+ >=kde-base/ffmpegthumbs-${KDE_MINIMAL}
+ )
+ )
+"
+# gcc[fortran] is required since we cannot otherwise link to the lapack library
+# (the fun of unbundling)
+DEPEND="${CDEPEND}
+ sys-devel/gcc[fortran]
+ sys-devel/gettext
+ doc? (
+ app-doc/doxygen
+ virtual/latex-base
+ )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${P}"-{ratingwidget,libpgf-r3,docs-r3,lapack}.patch )
+
+src_prepare() {
+ if use handbook; then
+ mv "${WORKDIR}/${PN}"-1.4.0/* "${S}/" || die
+ else
+ mkdir doc || die
+ echo > doc/CMakeLists.txt || die
+ fi
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ local backend
+
+ use semantic-desktop && backend="Nepomuk" || backend="None"
+ # LQR = only allows to choose between bundled/external
+ mycmakeargs=(
+ -DWITH_LQR=ON
+ -DGWENVIEW_SEMANTICINFO_BACKEND=${backend}
+ $(cmake-utils_use_with addressbook KdepimLibs)
+ $(cmake-utils_use_build doc)
+ $(cmake-utils_use_with geolocation MarbleWidget)
+ $(cmake-utils_use_enable gphoto2 GPHOTO2)
+ $(cmake-utils_use_with gphoto2)
+ $(cmake-utils_use_with lensfun LensFun)
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ -DENABLE_THEMEDESIGNER=OFF
+ $(cmake-utils_use_enable thumbnails THUMBS_DB)
+ )
+
+ kde4-base_src_configure
+}
+
+src_install() {
+ kde4-base_src_install
+
+ if use doc; then
+ # install the api documentation
+ dodir /usr/share/doc/${PF}/html || die
+ insinto /usr/share/doc/${PF}/html
+ doins -r ${CMAKE_BUILD_DIR}/api/html/* || die
+ fi
+
+ if use handbook; then
+ dodoc readme-handbook.txt || die
+ fi
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ if use doc; then
+ elog The digikam api documentation has been installed at /usr/share/doc/${PF}/html
+ fi
+}
diff --git a/media-gfx/digikam/digikam-1.5.0.ebuild b/media-gfx/digikam/digikam-1.5.0.ebuild
index 7451a1f9adad..90b4a73184a5 100644
--- a/media-gfx/digikam/digikam-1.5.0.ebuild
+++ b/media-gfx/digikam/digikam-1.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-1.5.0.ebuild,v 1.3 2010/10/28 19:18:16 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-1.5.0.ebuild,v 1.4 2010/11/08 21:29:50 dilfridge Exp $
EAPI="2"
@@ -34,7 +34,7 @@ CDEPEND="
>=kde-base/libkipi-${KDE_MINIMAL}
>=kde-base/solid-${KDE_MINIMAL}
media-libs/jasper
- >=media-libs/jpeg-8
+ virtual/jpeg
media-libs/lcms:0
>=media-libs/lensfun-0.2.5
media-libs/liblqr