summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-08-01 07:27:18 +0000
committerTim Harder <radhermit@gentoo.org>2012-08-01 07:27:18 +0000
commita28bec46128b24c9c0a456b35329be7a7d168081 (patch)
tree66814ba8e56a15328702d148167425e9227ca81a /media-gfx
parentRequire xerces-c with USE=icu. Reported by dabbott. (diff)
downloadgentoo-2-a28bec46128b24c9c0a456b35329be7a7d168081.tar.gz
gentoo-2-a28bec46128b24c9c0a456b35329be7a7d168081.tar.bz2
gentoo-2-a28bec46128b24c9c0a456b35329be7a7d168081.zip
Version bump.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/darktable/ChangeLog7
-rw-r--r--media-gfx/darktable/darktable-1.0.5.ebuild98
2 files changed, 104 insertions, 1 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog
index 5a278b1982fa..25e616643b44 100644
--- a/media-gfx/darktable/ChangeLog
+++ b/media-gfx/darktable/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/darktable
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.18 2012/06/08 06:32:18 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.19 2012/08/01 07:27:18 radhermit Exp $
+
+*darktable-1.0.5 (01 Aug 2012)
+
+ 01 Aug 2012; Tim Harder <radhermit@gentoo.org> +darktable-1.0.5.ebuild:
+ Version bump.
08 Jun 2012; Tim Harder <radhermit@gentoo.org> -darktable-0.9.3.ebuild,
-files/darktable-0.9.3-cflags.patch:
diff --git a/media-gfx/darktable/darktable-1.0.5.ebuild b/media-gfx/darktable/darktable-1.0.5.ebuild
new file mode 100644
index 000000000000..bc675ded2cb1
--- /dev/null
+++ b/media-gfx/darktable/darktable-1.0.5.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.0.5.ebuild,v 1.1 2012/08/01 07:27:18 radhermit Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils cmake-utils toolchain-funcs
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug flickr gnome gphoto2 kde nls opencl openmp +rawspeed +slideshow video_cards_nvidia"
+
+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[xmp]
+ 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
+ opencl? ( virtual/opencl )
+ slideshow? (
+ media-libs/libsdl
+ virtual/opengl
+ )
+ virtual/jpeg
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.3-system-libraw.patch
+ "${FILESDIR}"/${PN}-0.9.3-no-rawspeed.patch
+ "${FILESDIR}"/${PN}-0.9.3-opencl-kernels.patch
+ "${FILESDIR}"/${PN}-1.0.4-cflags.patch
+)
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+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
+ myconf="-DDONT_INSTALL_GCONF_SCHEMAS=$(usex gnome OFF ON)"
+ myconf+=" -DUSE_OPENCL=$(usex opencl ON OFF)"
+
+ 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}
+ -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
+}