mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 15:10:16 -05:00
gnu: darktable: Add dependency on libavif, ocl-icd.
* gnu/packages/photo.scm (darktable)[inputs]: Add libavif, ocl-icd. [arguments]: Set LD_LIBRARY_PATH for OpenCL. [supported-systems]: Remove i686 which is not supported anymore. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c49025480e
commit
9db1b3786f
1 changed files with 16 additions and 10 deletions
|
@ -512,7 +512,11 @@ (define-public darktable
|
||||||
;; For GtkFileChooserDialog.
|
;; For GtkFileChooserDialog.
|
||||||
`("GSETTINGS_SCHEMA_DIR" =
|
`("GSETTINGS_SCHEMA_DIR" =
|
||||||
(,(string-append (assoc-ref inputs "gtk+")
|
(,(string-append (assoc-ref inputs "gtk+")
|
||||||
"/share/glib-2.0/schemas"))))
|
"/share/glib-2.0/schemas")))
|
||||||
|
;; For libOpenCL.so.
|
||||||
|
`("LD_LIBRARY_PATH" =
|
||||||
|
(,(string-append (assoc-ref inputs "ocl-icd")
|
||||||
|
"/lib"))))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("clang" ,clang-9)
|
`(("clang" ,clang-9)
|
||||||
|
@ -543,6 +547,7 @@ (define-public darktable
|
||||||
("lcms" ,lcms)
|
("lcms" ,lcms)
|
||||||
("lensfun" ,lensfun) ;optional, for the lens distortion plugin
|
("lensfun" ,lensfun) ;optional, for the lens distortion plugin
|
||||||
("libgphoto2" ,libgphoto2) ;optional, for camera tethering
|
("libgphoto2" ,libgphoto2) ;optional, for camera tethering
|
||||||
|
("libavif" ,libavif) ;optional, for AVIF support
|
||||||
("libjpeg" ,libjpeg-turbo)
|
("libjpeg" ,libjpeg-turbo)
|
||||||
("libomp" ,libomp)
|
("libomp" ,libomp)
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
|
@ -554,6 +559,7 @@ (define-public darktable
|
||||||
("libxml2" ,libxml2)
|
("libxml2" ,libxml2)
|
||||||
("libxslt" ,libxslt)
|
("libxslt" ,libxslt)
|
||||||
("lua" ,lua) ;optional, for plugins
|
("lua" ,lua) ;optional, for plugins
|
||||||
|
("ocl-icd" ,ocl-icd) ;optional, for OpenCL support
|
||||||
("openexr" ,openexr) ;optional, for EXR import/export
|
("openexr" ,openexr) ;optional, for EXR import/export
|
||||||
("openjpeg" ,openjpeg) ;optional, for JPEG2000 export
|
("openjpeg" ,openjpeg) ;optional, for JPEG2000 export
|
||||||
("osm-gps-map" ,osm-gps-map) ;optional, for geotagging view
|
("osm-gps-map" ,osm-gps-map) ;optional, for geotagging view
|
||||||
|
@ -567,7 +573,7 @@ (define-public darktable
|
||||||
them through a zoomable lighttable and enables you to develop raw images
|
them through a zoomable lighttable and enables you to develop raw images
|
||||||
and enhance them.")
|
and enhance them.")
|
||||||
;; See src/is_supported_platform.h for supported platforms.
|
;; See src/is_supported_platform.h for supported platforms.
|
||||||
(supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux"))
|
(supported-systems '("x86_64-linux" "aarch64-linux"))
|
||||||
(license (list license:gpl3+ ;; Darktable itself.
|
(license (list license:gpl3+ ;; Darktable itself.
|
||||||
license:lgpl2.1+)))) ;; Rawspeed library.
|
license:lgpl2.1+)))) ;; Rawspeed library.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue