summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-06-18 15:26:54 +0200
committerMarek Szuba <marecki@gentoo.org>2020-06-18 18:29:04 +0200
commit3d0a1fedd1fc7d02a81179718903c097f7403887 (patch)
treedbfcdf65a3156e2e09c083ef3c3c822fff43ea5f /media-gfx/darktable/darktable-9999.ebuild
parentkde-apps/kcalutils: Restrict tests (diff)
downloadgentoo-3d0a1fedd1fc7d02a81179718903c097f7403887.tar.gz
gentoo-3d0a1fedd1fc7d02a81179718903c097f7403887.tar.bz2
gentoo-3d0a1fedd1fc7d02a81179718903c097f7403887.zip
media-gfx/darktable: allow enabling LTO in RawSpeed via USE=lto
Recommended by upstream but for now very much experimental on the Gentoo side and will almost certainly fall over for some compiler/linker combinations. Do let us know if that happens! Closes: https://bugs.gentoo.org/674762 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-gfx/darktable/darktable-9999.ebuild')
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 20617da3c0a4..6236b05ef1d7 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -16,7 +16,7 @@ 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
-nls opencl openmp openexr pax_kernel webp
+lto nls opencl openmp openexr pax_kernel webp
${LANGS// / l10n_}"
BDEPEND="
@@ -87,6 +87,7 @@ src_configure() {
local mycmakeargs=(
-DBUILD_PRINT=$(usex cups)
-DCUSTOM_CFLAGS=ON
+ -DRAWSPEED_ENABLE_LTO=$(usex lto)
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)
-DUSE_COLORD=$(usex colord)
-DUSE_FLICKR=$(usex flickr)