mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gmic: Set CMAKE_EXE_LINKER_FLAGS.
* gnu/packages/image-processing.scm (gmic)<#:configure-flags>: Pass "-DCMAKE_EXE_LINKER_FLAGS". <#:phases>: Delete the 'set-LDFLAGS phase. (gmic-qt, gmic-qt-gimp)[arguments]<#:configure-flags>: Delete "-DGMIC_LIB_PATH". Change-Id: If4f76263ca9bbadd4a67a6c2ec91839d60fa0bd2
This commit is contained in:
parent
7daa3b0615
commit
b4782435b2
1 changed files with 9 additions and 19 deletions
|
@ -843,15 +843,9 @@ due to its architecture which automatically parallelises the image workflows.")
|
|||
#:tests? #f ;there are no tests
|
||||
#:configure-flags #~(list "-DBUILD_LIB_STATIC=OFF"
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"
|
||||
"-DENABLE_LTO=ON")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'set-LDFLAGS
|
||||
(lambda _
|
||||
(setenv "LDFLAGS"
|
||||
(string-append
|
||||
"-Wl,-rpath="
|
||||
#$output "/lib")))))))
|
||||
(string-append "-DCMAKE_EXE_LINKER_FLAGS="
|
||||
"-Wl,-rpath=" #$output "/lib")
|
||||
"-DENABLE_LTO=ON")))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
|
@ -883,13 +877,11 @@ including 2D color images.")
|
|||
(substitute-keyword-arguments (package-arguments gmic)
|
||||
((#:configure-flags _)
|
||||
#~(list "-DGMIC_QT_HOST=none"
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"
|
||||
(string-append "-DGMIC_LIB_PATH="
|
||||
#$(this-package-input "gmic") "/lib")))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'qt-chdir
|
||||
(lambda _ (chdir "gmic-qt") #t))))))
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"))
|
||||
((#:phases phases '%standard-phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'qt-chdir
|
||||
(lambda _ (chdir "gmic-qt")))))))
|
||||
(native-inputs
|
||||
(list pkg-config qttools-5))
|
||||
(inputs
|
||||
|
@ -910,9 +902,7 @@ including 2D color images.")
|
|||
(substitute-keyword-arguments (package-arguments gmic-qt)
|
||||
((#:configure-flags flags)
|
||||
#~(list "-DGMIC_QT_HOST=gimp"
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"
|
||||
(string-append "-DGMIC_LIB_PATH="
|
||||
#$(this-package-input "gmic") "/lib")))))
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"))))
|
||||
(synopsis "GIMP plugin for the G'MIC image processing framework")))
|
||||
|
||||
(define-public nip2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue