mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
darktable: add opencl support
This commit is contained in:
parent
978397d358
commit
36e15996c4
@ -3,6 +3,7 @@
|
|||||||
, ilmbase, gtk3, intltool, lcms2, lensfun, libX11, libexif, libgphoto2, libjpeg
|
, ilmbase, gtk3, intltool, lcms2, lensfun, libX11, libexif, libgphoto2, libjpeg
|
||||||
, libpng, librsvg, libtiff, openexr, osm-gps-map, pkgconfig, sqlite, libxslt
|
, libpng, librsvg, libtiff, openexr, osm-gps-map, pkgconfig, sqlite, libxslt
|
||||||
, openjpeg, lua, pugixml, colord, colord-gtk, libwebp, libsecret, gnome3
|
, openjpeg, lua, pugixml, colord, colord-gtk, libwebp, libsecret, gnome3
|
||||||
|
, ocl-icd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -21,9 +22,9 @@ stdenv.mkDerivation rec {
|
|||||||
libgphoto2 libjpeg libpng librsvg libtiff openexr sqlite libxslt
|
libgphoto2 libjpeg libpng librsvg libtiff openexr sqlite libxslt
|
||||||
libsoup graphicsmagick json-glib openjpeg lua pugixml
|
libsoup graphicsmagick json-glib openjpeg lua pugixml
|
||||||
colord colord-gtk libwebp libsecret gnome3.adwaita-icon-theme
|
colord colord-gtk libwebp libsecret gnome3.adwaita-icon-theme
|
||||||
osm-gps-map
|
osm-gps-map ocl-icd
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_USERMANUAL=False"
|
"-DBUILD_USERMANUAL=False"
|
||||||
];
|
];
|
||||||
@ -34,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
# the wrappers:
|
# the wrappers:
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--prefix LD_LIBRARY_PATH ":" "$out/lib/darktable"
|
--prefix LD_LIBRARY_PATH ":" "$out/lib/darktable:${ocl-icd}/lib"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user