summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-06-18 18:22:13 +0200
committerMarek Szuba <marecki@gentoo.org>2020-06-18 18:29:17 +0200
commit6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4 (patch)
treeb663f069790c2c33c07f950327bed7f30d68dd50 /media-gfx/darktable
parentmedia-gfx/darktable-9999: add dev-python/jsonschema to BDEPEND (diff)
downloadgentoo-6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4.tar.gz
gentoo-6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4.tar.bz2
gentoo-6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4.zip
media-gfx/darktable: allow installation of base-curve and noise-profile tools
...via, unsurprisingly, USE=tools. Closes: https://bugs.gentoo.org/465068 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r--media-gfx/darktable/darktable-3.0.2-r1.ebuild6
-rw-r--r--media-gfx/darktable/darktable-3.0.2.ebuild6
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild6
-rw-r--r--media-gfx/darktable/metadata.xml1
4 files changed, 13 insertions, 6 deletions
diff --git a/media-gfx/darktable/darktable-3.0.2-r1.ebuild b/media-gfx/darktable/darktable-3.0.2-r1.ebuild
index b864fc88f761..0fe3792386c9 100644
--- a/media-gfx/darktable/darktable-3.0.2-r1.ebuild
+++ b/media-gfx/darktable/darktable-3.0.2-r1.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86"
LANGS=" ca cs da de es fr he hu it ja nb nl pl ru sl"
# TODO add lua once dev-lang/lua-5.2 is unmasked
IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
-lto nls opencl openmp openexr pax_kernel webp
-${LANGS// / l10n_}"
+ lto nls opencl openmp openexr pax_kernel tools webp
+ ${LANGS// / l10n_}"
BDEPEND="
dev-util/intltool
@@ -98,6 +98,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_CURVE_TOOLS=$(usex tools)
+ -DBUILD_NOISE_TOOLS=$(usex tools)
-DBUILD_PRINT=$(usex cups)
-DCUSTOM_CFLAGS=ON
-DRAWSPEED_ENABLE_LTO=$(usex lto)
diff --git a/media-gfx/darktable/darktable-3.0.2.ebuild b/media-gfx/darktable/darktable-3.0.2.ebuild
index c0116fa643b7..ce899c81d6f0 100644
--- a/media-gfx/darktable/darktable-3.0.2.ebuild
+++ b/media-gfx/darktable/darktable-3.0.2.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86"
LANGS=" ca cs da de es fr he hu it ja nb nl pl ru sl"
# TODO add lua once dev-lang/lua-5.2 is unmasked
IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
-nls opencl openmp openexr pax_kernel webp
-${LANGS// / l10n_}"
+ nls opencl openmp openexr pax_kernel tools webp
+ ${LANGS// / l10n_}"
BDEPEND="
dev-util/intltool
@@ -98,6 +98,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_CURVE_TOOLS=$(usex tools)
+ -DBUILD_NOISE_TOOLS=$(usex tools)
-DBUILD_PRINT=$(usex cups)
-DCUSTOM_CFLAGS=ON
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 51c861a79a3a..22a9ddc6a119 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -16,8 +16,8 @@ SLOT="0"
LANGS=" af ca cs da de el es fi fr gl he hu it ja nb nl pl pt-BR pt-PT ro ru sk sl sq sv th uk zh-CN zh-TW"
# TODO add lua once dev-lang/lua-5.2 is unmasked
IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
-lto nls opencl openmp openexr pax_kernel webp
-${LANGS// / l10n_}"
+ lto nls opencl openmp openexr pax_kernel tools webp
+ ${LANGS// / l10n_}"
BDEPEND=">=dev-python/jsonschema-3.2.0
dev-util/intltool
@@ -91,6 +91,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DBUILD_PRINT=$(usex cups)
+ -DBUILD_CURVE_TOOLS=$(usex tools)
+ -DBUILD_NOISE_TOOLS=$(usex tools)
-DCUSTOM_CFLAGS=ON
-DRAWSPEED_ENABLE_LTO=$(usex lto)
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)
diff --git a/media-gfx/darktable/metadata.xml b/media-gfx/darktable/metadata.xml
index 859703428322..6b1a4945a2b2 100644
--- a/media-gfx/darktable/metadata.xml
+++ b/media-gfx/darktable/metadata.xml
@@ -12,6 +12,7 @@
<flag name="lto">Enable link-time optimisations in the RawSpeed library</flag>
<flag name="opencl">Enable opencl support</flag>
<flag name="pax_kernel">Triggers paxmarking of main darktable binary</flag>
+ <flag name="tools">Install tools for generating base curves and noise profiles</flag>
</use>
<upstream>
<remote-id type="github">darktable-org/darktable</remote-id>