summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2011-09-14 12:59:27 +0000
committerDane Smith <c1pher@gentoo.org>2011-09-14 12:59:27 +0000
commitdae08ac57b5403696ef6bc43f2a084555fcba228 (patch)
tree2e55bb1cae79ae67f295683d43f7192d7267c542 /media-gfx/darktable
parentDrop cupsddk dependency, bug #336475 (diff)
downloadgentoo-2-dae08ac57b5403696ef6bc43f2a084555fcba228.tar.gz
gentoo-2-dae08ac57b5403696ef6bc43f2a084555fcba228.tar.bz2
gentoo-2-dae08ac57b5403696ef6bc43f2a084555fcba228.zip
media-gfx/darktable: Revision bump. Disable use of OpenCL. Fixes issues with some modules not loading.
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r--media-gfx/darktable/ChangeLog9
-rw-r--r--media-gfx/darktable/darktable-0.9.2-r2.ebuild95
2 files changed, 103 insertions, 1 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog
index dd54baa0f677..f35ef9252e42 100644
--- a/media-gfx/darktable/ChangeLog
+++ b/media-gfx/darktable/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/darktable
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.8 2011/08/29 03:50:48 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.9 2011/09/14 12:59:27 c1pher Exp $
+
+*darktable-0.9.2-r2 (14 Sep 2011)
+
+ 14 Sep 2011; Dane Smith <c1pher@gentoo.org> +darktable-0.9.2-r2.ebuild:
+ Revision bump.
+ Disable the use of OpenCL during compilation.
+ Fixes issues with some modules not loading when it isn't present.
29 Aug 2011; Tim Harder <radhermit@gentoo.org> -darktable-0.9.1-r1.ebuild,
-files/darktable-0.9.1-system-libraw.patch, -darktable-0.9.2.ebuild,
diff --git a/media-gfx/darktable/darktable-0.9.2-r2.ebuild b/media-gfx/darktable/darktable-0.9.2-r2.ebuild
new file mode 100644
index 000000000000..b1020436e987
--- /dev/null
+++ b/media-gfx/darktable/darktable-0.9.2-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-0.9.2-r2.ebuild,v 1.1 2011/09/14 12:59:27 c1pher Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit gnome2 cmake-utils
+
+DESCRIPTION="A virtual lighttable and darkroom for photographers"
+HOMEPAGE="http://darktable.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="debug flickr gnome gphoto2 kde nls openmp +rawspeed +slideshow"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-libs/libxml2:2
+ flickr? ( media-libs/flickcurl )
+ gnome? (
+ gnome-base/gconf
+ gnome-base/gnome-keyring
+ )
+ gnome-base/librsvg:2
+ gphoto2? ( media-libs/libgphoto2 )
+ kde? ( dev-libs/dbus-glib )
+ media-gfx/exiv2
+ media-libs/lcms:2
+ >=media-libs/lensfun-0.2.3
+ media-libs/libpng
+ >=media-libs/libraw-0.13.4[demosaic]
+ media-libs/openexr
+ media-libs/tiff
+ net-misc/curl
+ slideshow? (
+ media-libs/libsdl
+ virtual/opengl
+ )
+ virtual/jpeg
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )
+ openmp? ( >=sys-devel/gcc-4.4[openmp] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-system-libraw.patch
+ "${FILESDIR}"/${PN}-0.9.1-no-rawspeed.patch
+ "${FILESDIR}"/${PN}-0.9-cflags.patch
+)
+
+src_prepare() {
+ base_src_prepare
+ sed -i -e "s:\(/share/doc/\)darktable:\1${PF}:" \
+ -e "s:LICENSE::" doc/CMakeLists.txt || die
+}
+
+src_configure() {
+ local myconf
+ if use gnome ; then
+ myconf="-DDONT_INSTALL_GCONF_SCHEMAS=OFF"
+ else
+ myconf="-DDONT_INSTALL_GCONF_SCHEMAS=ON"
+ fi
+
+ use debug && CMAKE_BUILD_TYPE=Debug
+
+ mycmakeargs=(
+ $(cmake-utils_use_use flickr FLICKR)
+ $(cmake-utils_use_use gnome GCONF_BACKEND)
+ $(cmake-utils_use_use gnome GNOME_KEYRING)
+ $(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
+ $(cmake-utils_use_use kde KWALLET)
+ $(cmake-utils_use_use nls NLS)
+ $(cmake-utils_use_use openmp OPENMP)
+ $(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
+ $(cmake-utils_use_build slideshow SLIDESHOW)
+ ${myconf}
+ -DUSE_OPENCL=OFF
+ -DINSTALL_IOP_EXPERIMENTAL=ON
+ -DINSTALL_IOP_LEGACY=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+ cmake-utils_src_install
+ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+}