Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : gmic | name : gmic | ||||
| version : 2.9.6 | version : 2.9.8 | ||||
| release : 44 | release : 46 | ||||
| source : | source : | ||||
| - https://gmic.eu/files/source/gmic_2.9.6.tar.gz : d22fe8515af16dcd050d09a0bc7127ec29f4795ce732a0c6c3eaf839356bc11a | - https://gmic.eu/files/source/gmic_2.9.8.tar.gz : 18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82 | ||||
| homepage : https://gmic.eu/ | 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 | ||||
| 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(Qt5UiTools) | - pkgconfig(Qt5UiTools) | ||||
| - pkgconfig(eigen3) | - pkgconfig(eigen3) | ||||
| - pkgconfig(fftw3) | - pkgconfig(fftw3) | ||||
| - pkgconfig(gimp-2.0) | - pkgconfig(gimp-2.0) | ||||
| - pkgconfig(hdf5) | |||||
| - pkgconfig(libcurl) | - pkgconfig(libcurl) | ||||
| - pkgconfig(libpng) | - pkgconfig(libpng) | ||||
| - pkgconfig(libtiff-4) | - pkgconfig(libtiff-4) | ||||
| - pkgconfig(libturbojpeg) | - pkgconfig(libturbojpeg) | ||||
| - pkgconfig(opencv4) | - pkgconfig(opencv4) | ||||
| - pkgconfig(xext) | - pkgconfig(xext) | ||||
| - hdf5-devel | |||||
| rundeps : | rundeps : | ||||
| - gimp : gmic | - gimp : gmic | ||||
| setup : | | |||||
| # Workaround : Parse error at "std" | |||||
| rm zart/.qmake.stash | |||||
| build : | | build : | | ||||
| # Build gmic | # Build gmic | ||||
| %cmake -B build -DENABLE_DYNAMIC_LINKING=ON \ | %cmake -B build -DENABLE_DYNAMIC_LINKING=ON \ | ||||
| -DBUILD_LIB_STATIC=OFF | -DBUILD_LIB_STATIC=OFF \ | ||||
| -DENABLE_OPENCV=ON | |||||
| %make -C build -j1 | %make -C build -j1 | ||||
| # Symlink so zart can be build with dynamic linking | # Symlink so the plugins can be build with dynamic linking | ||||
| ln -s ../build/libgmic.so src/libgmic.so | ln -s ../build/libgmic.so src/libgmic.so | ||||
| # Build gmic-qt gimp and krita plugins | # Build gmic-qt gimp and krita plugins | ||||
| pushd gmic-qt | pushd gmic-qt | ||||
| export LDFLAGS="$LDFLAGS -L../build" | export LDFLAGS="$LDFLAGS -L../build" | ||||
| %cmake -B build-qt -DENABLE_DYNAMIC_LINKING=ON \ | %cmake -B build-qt -DENABLE_DYNAMIC_LINKING=ON \ | ||||
| -DGMIC_PATH=$workdir/src \ | -DGMIC_PATH=$workdir/src \ | ||||
| -DGMIC_LIB_PATH=$workdir/build \ | -DGMIC_LIB_PATH=$workdir/build \ | ||||
| -DGMIC_QT_HOST=none | -DGMIC_QT_HOST=none | ||||
| %make -C build-qt -j1 | %make -C build-qt -j1 | ||||
| %cmake -B build-gimp -DENABLE_DYNAMIC_LINKING=ON \ | %cmake -B build-gimp -DENABLE_DYNAMIC_LINKING=ON \ | ||||
| -DGMIC_PATH=$workdir/src \ | -DGMIC_PATH=$workdir/src \ | ||||
| -DGMIC_LIB_PATH=$workdir/build \ | -DGMIC_LIB_PATH=$workdir/build \ | ||||
| -DGMIC_QT_HOST=gimp | -DGMIC_QT_HOST=gimp | ||||
| %make -C build-gimp -j1 | %make -C build-gimp -j1 | ||||
| %cmake -B build-krita -DENABLE_DYNAMIC_LINKING=ON \ | %cmake -B build-krita -DENABLE_DYNAMIC_LINKING=ON \ | ||||
| -DGMIC_PATH=$workdir/src \ | -DGMIC_PATH=$workdir/src \ | ||||
| -DGMIC_LIB_PATH=$workdir/build \ | -DGMIC_LIB_PATH=$workdir/build \ | ||||
| -DGMIC_QT_HOST=krita | -DGMIC_QT_HOST=krita | ||||
| %make -C build-krita -j1 | %make -C build-krita -j1 | ||||
| popd | popd | ||||
| # 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 build | %make_install -C build | ||||
| install -Dm00644 resources/gmic_cluts.gmz $installdir/usr/share/gmic/gmic_cluts.gmz | |||||
| %make_install -C gmic-qt/build-qt | %make_install -C gmic-qt/build-qt | ||||
| %make_install -C gmic-qt/build-gimp | %make_install -C gmic-qt/build-gimp | ||||
| %make_install -C gmic-qt/build-krita | %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.