summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/darktable/ChangeLog6
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild14
-rw-r--r--media-gfx/darktable/metadata.xml1
3 files changed, 16 insertions, 5 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog
index 57119004cad9..6e8bff16fa48 100644
--- a/media-gfx/darktable/ChangeLog
+++ b/media-gfx/darktable/ChangeLog
@@ -1,6 +1,10 @@
# 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.31 2012/12/10 22:14:06 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.32 2012/12/19 19:15:46 radhermit Exp $
+
+ 19 Dec 2012; Tim Harder <radhermit@gentoo.org> darktable-9999.ebuild,
+ metadata.xml:
+ Add graphicsmagick and jpeg2k use flags.
10 Dec 2012; Tim Harder <radhermit@gentoo.org> +darktable-9999.ebuild:
Re-add live ebuild.
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 02d45f08a563..b5966c3a8b81 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -1,10 +1,10 @@
# 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-9999.ebuild,v 1.3 2012/12/10 22:14:06 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.4 2012/12/19 19:15:46 radhermit Exp $
EAPI="5"
-inherit cmake-utils toolchain-funcs gnome2-utils git-2
+inherit cmake-utils toolchain-funcs gnome2-utils git-2 eutils
EGIT_REPO_URI="git://github.com/darktable-org/darktable.git"
@@ -14,7 +14,8 @@ HOMEPAGE="http://www.darktable.org/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-IUSE="colord facebook flickr geo gnome-keyring gphoto2 kde nls opencl openmp +rawspeed +slideshow"
+IUSE="colord facebook flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
+nls opencl openmp +rawspeed +slideshow"
RDEPEND="
dev-db/sqlite:3
@@ -26,6 +27,8 @@ RDEPEND="
gnome-keyring? ( gnome-base/gnome-keyring )
gnome-base/librsvg:2
gphoto2? ( media-libs/libgphoto2 )
+ graphicsmagick? ( media-gfx/graphicsmagick )
+ jpeg2k? ( media-libs/openjpeg )
kde? (
dev-libs/dbus-glib
kde-base/kwalletd
@@ -58,10 +61,11 @@ pkg_pretend() {
}
src_prepare() {
- base_src_prepare
sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
-e "s:LICENSE::" \
-i doc/CMakeLists.txt || die
+
+ epatch_user
}
src_configure() {
@@ -72,6 +76,8 @@ src_configure() {
$(cmake-utils_use_use geo GEO)
$(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
+ $(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
+ $(cmake-utils_use_use jpeg2k OPENJPEG)
$(cmake-utils_use_use kde KWALLET)
$(cmake-utils_use_use nls NLS)
$(cmake-utils_use_use opencl OPENCL)
diff --git a/media-gfx/darktable/metadata.xml b/media-gfx/darktable/metadata.xml
index 740feab7b89e..e78c0b77cb72 100644
--- a/media-gfx/darktable/metadata.xml
+++ b/media-gfx/darktable/metadata.xml
@@ -8,6 +8,7 @@
</maintainer>
<use>
<flag name="colord">Support color management using <pkg>x11-misc/colord</pkg></flag>
+ <flag name="graphicsmagick">Use <pkg>media-gfx/graphicsmagick</pkg> for image importing</flag>
<flag name="facebook">Add support for uploading photos to facebook</flag>
<flag name="flickr">Add support for uploading photos to flickr</flag>
<flag name="geo">Enable geotagging support</flag>