Warning, /graphics/krita/packaging/linux/flatpak/org.kde.krita-stable.yaml is written in an unsupported language. File is not indexed.

0001 app-id: org.kde.krita-stable
0002 runtime: org.kde.Platform
0003 runtime-version: '5.12'
0004 sdk: org.kde.Sdk
0005 command: krita
0006 rename-icon: krita
0007 rename-desktop-file: org.kde.krita.desktop
0008 desktop-file-name-suffix: stable
0009 finish-args:
0010   - --share=ipc
0011   - --socket=x11
0012   - --share=network
0013   - --device=dri
0014   - --socket=pulseaudio
0015   - --filesystem=host
0016   - --filesystem=xdg-config/kdeglobals:ro
0017   - --env=PYTHONPATH=/app/lib/python3/dist-packages
0018   - --env=TMPDIR=/var/tmp
0019 cleanup:
0020   - /include
0021   - /lib/pkgconfig
0022   - /lib/cmake
0023   - /share/aclocal
0024   - /share/pkgconfig
0025   - /share/info
0026   - /share/man
0027   - /cmake
0028   - '*.a'
0029   - '*.la'
0030   - '*.cmake'
0031 modules:
0032   - name: sip
0033     buildsystem: simple
0034     build-commands:
0035       - python3 configure.py
0036         --bindir=/app/bin
0037         --destdir=/app/lib/python3/dist-packages
0038         --incdir=/app/include/python3
0039         --sipdir=/app/share/sip
0040         --stubsdir=/app/lib/python3/dist-packages
0041         --sip-module=PyQt5.sip
0042       - make -j $FLATPAK_BUILDER_N_JOBS
0043       - make install
0044     cleanup:
0045       - /bin
0046     sources:
0047       - type: archive
0048         url: https://www.riverbankcomputing.com/static/Downloads/sip/4.19.17/sip-4.19.17.tar.gz
0049         sha256: 12bcd8f4d5feefc105bc075d12c5090ee783f7380728563c91b8b95d0ec45df3
0050 
0051   - name: pyqt
0052     buildsystem: simple
0053     build-commands:
0054       - python3 configure.py
0055         --confirm-license
0056         --sip-incdir=/app/include/python3
0057         --bindir=/app/bin
0058         --destdir=/app/lib/python3/dist-packages
0059         --designer-plugindir=/app/lib/plugins/designer
0060         --qml-plugindir=/app/lib/plugins/PyQt5
0061         --sipdir=/app/share/sip
0062         --stubsdir=/app/lib/python3/dist-packages/PyQt5
0063       - make -j $FLATPAK_BUILDER_N_JOBS
0064       - make install
0065     cleanup:
0066       - /bin
0067     sources:
0068       - type: archive
0069         url: https://www.riverbankcomputing.com/static/Downloads/PyQt5/5.12.2/PyQt5_gpl-5.12.2.tar.gz
0070         sha256: c565829e77dc9c281aa1a0cdf2eddaead4e0f844cbaf7a4408441967f03f5f0f
0071 
0072   - name: boost
0073     buildsystem: simple
0074     build-commands:
0075       - ./bootstrap.sh --prefix=/app --with-libraries=system
0076       - ./b2 -j $FLATPAK_BUILDER_N_JOBS install
0077     sources:
0078       - type: archive
0079         url: https://boostorg.jfrog.io/artifactory/main/release/1.69.0/source/boost_1_69_0.tar.bz2
0080         sha256: 8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406
0081 
0082   - name: eigen
0083     buildsystem: cmake-ninja
0084     builddir: true
0085     cleanup:
0086       - '*'
0087     sources:
0088       - type: archive
0089         url: https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2
0090         sha256: 9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce
0091 
0092   - name: quazip
0093     buildsystem: cmake-ninja
0094     builddir: true
0095     config-opts:
0096       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0097     sources:
0098       - type: archive
0099         url: https://github.com/stachenov/quazip/archive/0.7.6.tar.gz
0100         sha256: 4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70
0101       - type: shell
0102         commands:
0103           - sed -i 's|${CMAKE_ROOT}/Modules|share/cmake|' CMakeLists.txt
0104 
0105   - name: exiv2
0106     buildsystem: cmake-ninja
0107     builddir: true
0108     config-opts:
0109       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0110     cleanup:
0111       - /bin
0112     sources:
0113       - type: archive
0114         url: http://files.kde.org/krita/build/dependencies/exiv2-0.26-trunk.tar.gz
0115         sha256: c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb
0116   
0117   - name: ilmbase
0118     config-opts:
0119       - --disable-static
0120     sources:
0121       - type: archive
0122         url: https://github.com/openexr/openexr/releases/download/v2.3.0/ilmbase-2.3.0.tar.gz
0123         sha256: 456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862
0124 
0125   - name: openexr
0126     config-opts:
0127       - --disable-static
0128     cleanup:
0129       - /bin
0130       - /share/doc
0131     sources:
0132       - type: archive
0133         url: https://github.com/openexr/openexr/releases/download/v2.3.0/openexr-2.3.0.tar.gz
0134         sha256: fd6cb3a87f8c1a233be17b94c74799e6241d50fc5efd4df75c7a4b9cf4e25ea6
0135 
0136   - name: libraw
0137     config-opts:
0138       - --disable-static
0139     cleanup:
0140       - /bin
0141       - /share/doc
0142     sources:
0143       - type: archive
0144         url: https://www.libraw.org/data/LibRaw-0.19.2.tar.gz
0145         sha256: 400d47969292291d297873a06fb0535ccce70728117463927ddd9452aa849644
0146 
0147   - name: opencolorio
0148     buildsystem: cmake # ninja build broken (fixed in 2.0)
0149     builddir: true
0150     build-options:
0151       arch:
0152         arm:
0153           config-opts:
0154           - -DOCIO_USE_SSE=OFF
0155         aarch64:
0156           config-opts:
0157           - -DOCIO_USE_SSE=OFF
0158     config-opts:
0159       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0160       - -DOCIO_BUILD_STATIC=OFF
0161       - -DCMAKE_CXX_FLAGS='-Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-error=cast-function-type'
0162     cleanup:
0163       - /bin
0164     sources:
0165       - type: archive
0166         url: https://github.com/imageworks/OpenColorIO/archive/v1.1.1.tar.gz
0167         sha256: c9b5b9def907e1dafb29e37336b702fff22cc6306d445a13b1621b8a754c14c8
0168 
0169   - name: vc
0170     skip-arches:
0171       - aarch64
0172       - arm
0173     buildsystem: cmake-ninja
0174     builddir: true
0175     config-opts:
0176       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0177     cleanup:
0178       - '*'
0179     sources:
0180       - type: archive
0181         url: https://github.com/VcDevel/Vc/releases/download/1.3.3/Vc-1.3.3.tar.gz
0182         sha256: 08c629d2e14bfb8e4f1a10f09535e4a3c755292503c971ab46637d2986bdb4fe
0183       - type: shell
0184         commands:
0185           - sed -i 's/x86|/x86|i686|/' CMakeLists.txt
0186 
0187   - name: poppler-data
0188     buildsystem: cmake-ninja
0189     builddir: true
0190     config-opts:
0191       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0192     sources:
0193       - type: archive
0194         url: https://poppler.freedesktop.org/poppler-data-0.4.9.tar.gz
0195         sha256: 1f9c7e7de9ecd0db6ab287349e31bf815ca108a5a175cf906a90163bdbe32012
0196 
0197   - name: poppler
0198     buildsystem: cmake-ninja
0199     builddir: true
0200     config-opts:
0201       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0202       - -DBUILD_GTK_TESTS=OFF
0203       - -DBUILD_QT5_TESTS=OFF
0204       - -DBUILD_CPP_TESTS=OFF
0205       - -DENABLE_UTILS=OFF
0206       - -DENABLE_CPP=OFF
0207       - -DENABLE_GLIB=OFF
0208       - -DENABLE_LIBOPENJPEG=none
0209     sources:
0210       - type: archive
0211         url: https://poppler.freedesktop.org/poppler-0.77.0.tar.xz
0212         sha256: 7267eb4cbccd64a58244b8211603c1c1b6bf32c7f6a4ced2642865346102f36b
0213 
0214   - name: gsl
0215     config-opts:
0216       - --disable-static
0217     cleanup:
0218       - /bin
0219     sources:
0220       - type: archive
0221         url: https://ftpmirror.gnu.org/gnu/gsl/gsl-2.5.tar.gz
0222         sha256: 0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d
0223 
0224   - name: gmic-qt
0225     buildsystem: cmake-ninja
0226     builddir: true
0227     subdir: gmic-qt
0228     config-opts:
0229       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0230       - -DGMIC_QT_HOST=krita
0231       - -DGMIC_PATH=../src
0232       - -DCMAKE_CXX_FLAGS=-lfftw3_threads
0233     sources:
0234       - type: archive
0235         url: https://gmic.eu/files/source/gmic_2.6.4.tar.gz
0236         sha256: 4cd88b2dca6b9b1a330ab4556d36656bafb98e4e9814bf0448545b27ef18dae3
0237 
0238   - name: x264
0239     config-opts:
0240       - --disable-cli
0241       - --enable-shared
0242     sources:
0243       - type: archive
0244         url: https://download.videolan.org/x264/snapshots/x264-snapshot-20190305-2245-stable.tar.bz2
0245         sha256: be52c96ef8bd930fbc1ecff03abac9b94976b444ea7641345e08e20d9e594d16
0246 
0247   - name: ffmpeg
0248     config-opts:
0249       - --enable-rpath
0250       - --enable-gpl
0251       - --disable-static
0252       - --enable-shared
0253       - --disable-doc
0254       - --disable-ffplay
0255       - --disable-ffprobe
0256       - --enable-libopus
0257       - --enable-libvpx
0258       - --enable-libx264
0259     cleanup:
0260       - /share/ffmpeg/examples
0261     sources:
0262       - type: archive
0263         url: https://www.ffmpeg.org/releases/ffmpeg-4.1.4.tar.xz
0264         sha256: f1f049a82fcfbf156564e73a3935d7e750891fab2abf302e735104fd4050a7e1
0265 
0266   - name: krita
0267     buildsystem: cmake-ninja
0268     builddir: true
0269     config-opts:
0270       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0271       - -DBUILD_TESTING=OFF
0272     build-options:
0273       env:
0274         PYTHONPATH: /app/lib/python3/dist-packages
0275     post-install:
0276       - rm -r /app/share/icons/hicolor/{1024x1024,scalable}
0277     sources:
0278       - type: git
0279         url: https://anongit.kde.org/krita
0280         branch: krita/4.2