Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : gmic | name : gmic | ||||
| version : 2.8.4 | version : 2.9.1 | ||||
| release : 38 | release : 39 | ||||
| source : | source : | ||||
| - https://gmic.eu/files/source/gmic_2.8.4.tar.gz : b2a279bdf981595b30d8d7828fabf9a620cde06eae8db345a8cddf2160c25379 | - https://gmic.eu/files/source/gmic_2.9.1.tar.gz : 50c9dd418b8d0e80c703c2e2b179b6049343567483d37d9ff6c642c6ede95d8d | ||||
| homepage : https://gmic.eu/ | |||||
| license : | license : | ||||
| - CECILL-2.1 | - CECILL-2.1 | ||||
| - CECILL-C | - CECILL-C | ||||
| component : | component : | ||||
| - multimedia.graphics | - multimedia.graphics | ||||
| - gimp : multimedia.graphics | - gimp : multimedia.graphics | ||||
| homepage : https://gmic.eu/ | |||||
| summary : | summary : | ||||
| - GREYC's Magic for Image Computing | - GREYC's Magic for Image Computing | ||||
| - gimp : G'MIC plugin for GIMP | - gimp : G'MIC plugin for GIMP | ||||
| description: | | description: | | ||||
| G'MIC is a full-featured open-source framework for image processing, distributed under the CeCILL free software licenses (LGPL-like and/or GPL-compatible). It provides several different user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, hence including 2d color images. | G'MIC is a full-featured open-source framework for image processing, distributed under the CeCILL free software licenses (LGPL-like and/or GPL-compatible). It provides several different user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, hence including 2d color images. | ||||
| patterns : | patterns : | ||||
| - gimp : /usr/lib64/gimp | - gimp : /usr/lib64/gimp | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(GraphicsMagick) | - pkgconfig(GraphicsMagick) | ||||
| - pkgconfig(OpenEXR) | - pkgconfig(OpenEXR) | ||||
| - pkgconfig(Qt5Core) | - pkgconfig(Qt5UiTools) | ||||
| - pkgconfig(eigen3) | - pkgconfig(eigen3) | ||||
| - pkgconfig(fftw3) | - pkgconfig(fftw3) | ||||
| - pkgconfig(gimp-2.0) | - pkgconfig(gimp-2.0) | ||||
| - pkgconfig(libcurl) | - pkgconfig(libcurl) | ||||
| - pkgconfig(libpng) | - pkgconfig(libpng) | ||||
| - pkgconfig(libtiff-4) | - pkgconfig(libtiff-4) | ||||
| - pkgconfig(libturbojpeg) | - pkgconfig(libturbojpeg) | ||||
| - pkgconfig(opencv) | - pkgconfig(opencv) | ||||
| - pkgconfig(xext) | - pkgconfig(xext) | ||||
| - hdf5-devel | - hdf5-devel | ||||
| rundeps : | rundeps : | ||||
| - gimp : gmic | - gimp : gmic | ||||
| build : | | setup : | | ||||
| # Workaround : Parse error at "std" | # Workaround : Parse error at "std" | ||||
| rm zart/.qmake.stash | rm zart/.qmake.stash | ||||
| build : | | |||||
| # Build gmic | |||||
| %cmake -B build -DENABLE_DYNAMIC_LINKING=ON \ | |||||
| -DBUILD_LIB_STATIC=OFF | |||||
| %make -C build -j1 | |||||
| # Symlink so zart can be build with dynamic linking | |||||
| ln -s ../build/libgmic.so src/libgmic.so | |||||
| # Build gmic-qt gimp and krita plugins | |||||
| pushd gmic-qt | |||||
| export LDFLAGS="$LDFLAGS -L../build" | |||||
| %cmake -B build-qt -DENABLE_DYNAMIC_LINKING=ON \ | |||||
| -DGMIC_PATH=$workdir/src \ | |||||
| -DGMIC_LIB_PATH=$workdir/build \ | |||||
| -DGMIC_QT_HOST=none | |||||
| %make -C build-qt -j1 | |||||
| %cmake -B build-gimp -DENABLE_DYNAMIC_LINKING=ON \ | |||||
| -DGMIC_PATH=$workdir/src \ | |||||
| -DGMIC_LIB_PATH=$workdir/build \ | |||||
| -DGMIC_QT_HOST=gimp | |||||
| %make -C build-gimp -j1 | |||||
| %cmake -B build-krita -DENABLE_DYNAMIC_LINKING=ON \ | |||||
| -DGMIC_PATH=$workdir/src \ | |||||
| -DGMIC_LIB_PATH=$workdir/build \ | |||||
| -DGMIC_QT_HOST=krita | |||||
| %make -C build-krita -j1 | |||||
| popd | |||||
| %make -C src all -j1 | # Build Zart | ||||
| pushd zart | |||||
| %qmake zart.pro \ | |||||
| GMIC_DYNAMIC_LINKING=on \ | |||||
| GMIC_PATH=$workdir/src \ | |||||
| GMIC_LIB_PATH=$workdir/build | |||||
| %make | |||||
| popd | |||||
| install : | | install : | | ||||
| %make_install -C src | %make_install -C build | ||||
| %make_install -C gmic-qt/build-qt | |||||
| %make_install -C gmic-qt/build-gimp | |||||
| %make_install -C gmic-qt/build-krita | |||||
| cd zart | |||||
| %make_install INSTALL_ROOT="$installdir" | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.