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

0001 app-id: org.kde.krita-nightly
0002 default-branch: master
0003 runtime: org.freedesktop.Platform
0004 runtime-version: '20.08'
0005 sdk: org.freedesktop.Sdk
0006 sdk-extensions:
0007   - org.freedesktop.Sdk.Extension.rust-stable
0008 command: krita
0009 rename-icon: krita
0010 rename-desktop-file: org.kde.krita.desktop
0011 desktop-file-name-suffix: nightly
0012 
0013 finish-args:
0014   - --share=ipc
0015   - --socket=x11
0016   - --share=network
0017   - --device=dri
0018   - --socket=pulseaudio
0019   - --filesystem=host
0020   - --filesystem=xdg-config/kdeglobals:ro
0021   - --env=PYTHONPATH=/app/lib/python3/dist-packages
0022   - --system-talk-name=org.freedesktop.ColorManager
0023   - --env=TMPDIR=/var/tmp
0024 cleanup:
0025   - /include
0026   - /lib/pkgconfig
0027   - /lib/cmake
0028   - /lib/mkspecs
0029   - /share/aclocal
0030   - /share/pkgconfig
0031   - /share/info
0032   - /share/man
0033   - /cmake
0034   - '*.a'
0035   - '*.la'
0036   - '*.cmake'
0037   - '*.prl'
0038 modules:
0039   - name: qtbase
0040     cleanup:
0041       - /bin
0042     build-options:
0043       arch:
0044         x86-64:
0045           config-opts:
0046           - -reduce-relocations
0047           - -force-debug-info
0048         aarch64:
0049           config-opts:
0050           - -no-reduce-relocations
0051           - -optimize-size
0052           - -opengl desktop
0053     config-opts:
0054       - -confirm-license
0055       - -opensource
0056       - -shared
0057       - -platform
0058       - linux-g++
0059       - -optimized-qmake
0060       - -nomake
0061       - examples
0062       - -nomake
0063       - tests
0064       - -system-harfbuzz
0065       - -qt-sqlite
0066       - -accessibility
0067       - -dbus-linked
0068       - -fontconfig
0069       - -glib
0070       - -icu
0071       - -openssl-linked
0072       - -no-pch
0073       - -no-rpath
0074       - -no-directfb
0075       - -no-linuxfb
0076       - -no-kms
0077       - -system-proxies
0078       - -gtk
0079       - -no-use-gold-linker
0080       - -archdatadir
0081       - /app/lib
0082     sources:
0083       - type: archive
0084         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtbase-everywhere-src-5.12.9.tar.xz
0085         sha256: 331dafdd0f3e8623b51bd0da2266e7e7c53aa8e9dc28a8eb6f0b22609c5d337e
0086       - type: patch
0087         paths:
0088           - patches/FileChooser-portal-skip-empty-filters.patch
0089           - patches/open-file-portal-writable.patch
0090           - patches/qtbase-make-sure-to-correctly-construct-base-platform-theme.patch
0091           - ../../../3rdparty/ext_qt/0012-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
0092           - ../../../3rdparty/ext_qt/0013-Poison-Qt-s-headers-with-a-mark-about-presence-of-En.patch
0093           - ../../../3rdparty/ext_qt/0081-Fix-no-warning-for-overwriting-files-in-non-native-d.patch
0094           - ../../../3rdparty/ext_qt/0082-Make-jp-e-g-default-extensions-context-aware.patch
0095           - ../../../3rdparty/ext_qt/0100-Fix-artifacts-when-rendering-multisubpath-dashed-QPa.patch
0096           - ../../../3rdparty/ext_qt/0101-Don-t-eat-ShortcutOverride-events-when-there-is-a-pa.patch
0097           - ../../../3rdparty/ext_qt/0110-Pass-proper-dirty-rect-in-paint-event-to-QOpenGLWidg.patch
0098           - ../../../3rdparty/ext_qt/0111-Fix-unbalanced-KeyPress-Release-events-in-children-o.patch
0099           - ../../../3rdparty/ext_qt/0112-Fix-shortcuts-assigned-to-special-keys-on-non-latin-.patch
0100           - ../../../3rdparty/ext_qt/0113-Fix-multiple-shortcuts-match-from-different-keyboard.patch
0101           - ../../../3rdparty/ext_qt/0114-Fix-shortcuts-with-special-keys-on-non-US-layouts-on.patch
0102       - type: shell
0103         commands:
0104           - mv configure configure.qt
0105       - type: script
0106         commands:
0107           - processed=`sed -e 's/--/-/g ; s/=/ /g' <<< $@`
0108           - ./configure.qt $processed
0109         dest-filename: configure
0110         
0111   - name: qt5svg
0112     buildsystem: qmake
0113     cleanup:
0114       - /bin
0115     sources:
0116       - type: archive
0117         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtsvg-everywhere-src-5.12.9.tar.xz
0118         sha256: 32ec251e411d31734b873dd82fd68b6a3142227fdf06fe6ad879f16997fb98d2
0119         
0120   - name: qttools
0121     buildsystem: qmake
0122     cleanup: 
0123       - /bin
0124       - /phrasebooks
0125     sources: 
0126       - type: archive
0127         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qttools-everywhere-src-5.12.9.tar.xz
0128         sha256: 002dc23410a9d1af6f1cfc696ee18fd3baeddbbfeb9758ddb04bbdb17b2fffdf
0129 
0130   - name: qtx11extras
0131     buildsystem: qmake
0132     cleanup:
0133       - /bin
0134     sources: 
0135       - type: archive
0136         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtx11extras-everywhere-src-5.12.9.tar.xz
0137         sha256: 09432392641b56205cbcda6be89d0835bfecad64ad61713a414b951b740c9cec
0138 
0139   - name: qtdeclarative
0140     buildsystem: qmake
0141     cleanup:
0142       - /bin
0143       - /lib/plugins/qmltooling
0144     sources: 
0145       - type: archive
0146         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtdeclarative-everywhere-src-5.12.9.tar.xz
0147         sha256: c11ae68aedcdea7e721ec22a95265ac91b5e128a5c12d3b61b5b732d3a02be80
0148 
0149   - name: qtquickcontrols
0150     buildsystem: qmake
0151     cleanup: 
0152       -  /bin
0153     sources: 
0154       - type: archive
0155         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtquickcontrols-everywhere-src-5.12.9.tar.xz
0156         sha256: d89084ebccf155f4c966d4a2a188e6e870c37535a7751740960f5c38088373f6
0157 
0158   - name: qtimageformats
0159     buildsystem: qmake
0160     cleanup:
0161       - /bin
0162     sources: 
0163       - type: archive
0164         url: http://download.qt.io/archive/qt/5.12/5.12.9/submodules/qtimageformats-everywhere-src-5.12.9.tar.xz
0165         sha256: cd8193698f830cce30959564c191e7bb698877aca3a263c652b4a23907c72b6a     
0166         
0167   - name: extra-cmake-modules
0168     buildsystem: cmake-ninja
0169     builddir: true
0170     config-opts:
0171        - -DBUILD_TESTING=OFF
0172     sources:
0173       - type: archive
0174         url: https://download.kde.org/stable/frameworks/5.74/extra-cmake-modules-5.74.0.tar.xz
0175         sha256: 71406067bcd99ac106e0e3bfbb073653b18fd6d01039c0298d9767680977364f
0176 
0177   - name: kconfig
0178     buildsystem: cmake-ninja
0179     builddir: true
0180     config-opts:
0181        - -DBUILD_TESTING=OFF
0182     sources:
0183       - type: archive
0184         url: https://download.kde.org/stable/frameworks/5.74/kconfig-5.74.0.tar.xz
0185         sha256: dfeff0649f8987f88a01827c06468b87547509d9e46920902a55f6a0d6adc5db
0186   
0187   - name: kwidgetsaddons
0188     buildsystem: cmake-ninja
0189     builddir: true
0190     config-opts:
0191       - -DBUILD_TESTING=OFF
0192     sources:
0193       - type: archive
0194         url: https://download.kde.org/stable/frameworks/5.74/kwidgetsaddons-5.74.0.tar.xz
0195         sha256: 5b61c13a6ebb1e248fe38bd3912919f4bf6be93d74bb2f8b1d97caf6dd9a2342
0196 
0197   - name: kcompletion
0198     buildsystem: cmake-ninja
0199     builddir: true
0200     config-opts:
0201       - -DBUILD_TESTING=OFF
0202     sources:
0203       - type: archive
0204         url: https://download.kde.org/stable/frameworks/5.74/kcompletion-5.74.0.tar.xz
0205         sha256: 5bec7f31bab8eb724bfb01690bd1585b43eccca4e37c80cc3729af2f7c7b2875
0206   
0207   - name: kcoreaddons
0208     buildsystem: cmake-ninja
0209     builddir: true
0210     config-opts:
0211       - -DBUILD_TESTING=OFF
0212     sources:
0213       - type: archive
0214         url: https://download.kde.org/stable/frameworks/5.74/kcoreaddons-5.74.0.tar.xz
0215         sha256: e122d0750c594dc68dea20e40c833b6615f5ddf21a2b2e439c7236e73f4523a8
0216 
0217   - name: kguiaddons
0218     buildsystem: cmake-ninja
0219     builddir: true
0220     config-opts:
0221       - -DBUILD_TESTING=OFF
0222     sources:
0223       - type: archive
0224         url: https://download.kde.org/stable/frameworks/5.74/kguiaddons-5.74.0.tar.xz
0225         sha256: bb7c5b88e1738b22571f2f135202b3c08230911fcb8d089b8676d4d59af4578b
0226 
0227   - name: ki18n
0228     buildsystem: cmake-ninja
0229     builddir: true
0230     config-opts: 
0231       - -DBUILD_TESTING=OFF
0232     sources:
0233       - type: archive
0234         url: https://download.kde.org/stable/frameworks/5.74/ki18n-5.74.0.tar.xz
0235         sha256: bcbb95a81cd8f808fc8314741309c4b4ec25fc1c347e285a7cfefc006df3009c
0236 
0237   - name: kitemmodels
0238     buildsystem: cmake-ninja
0239     builddir: true
0240     config-opts:
0241       - -DBUILD_TESTING=OFF
0242     sources:
0243       - type: archive
0244         url: https://download.kde.org/stable/frameworks/5.74/kitemmodels-5.74.0.tar.xz
0245         sha256: 89c91051445137959e3dd7276d428adaff09b1ca9980f37d4a66d0c34c7b36c1
0246         
0247   - name: kitemviews
0248     buildsystem: cmake-ninja
0249     builddir: true
0250     config-opts:
0251       - -DBUILD_TESTING=OFF
0252     sources:
0253       - type: archive
0254         url: https://download.kde.org/stable/frameworks/5.74/kitemviews-5.74.0.tar.xz
0255         sha256: 09417ce8b84dc81575ec3612ad0c19d923b2511051c0cb3b98282a013bae5ef7
0256 
0257   - name: kwindowsystem
0258     buildsystem: cmake-ninja
0259     builddir: true
0260     config-opts:
0261      - -DBUILD_TESTING=OFF
0262     sources:
0263       - type: archive
0264         url: https://download.kde.org/stable/frameworks/5.74/kwindowsystem-5.74.0.tar.xz
0265         sha256: 33da54b0f76a661919445c9352c04cc23f9b6a0f4c842a76aa810091ca09b12f
0266   
0267   - name: kcrash
0268     buildsystem: cmake-ninja
0269     builddir: true
0270     config-opts:
0271       - -DBUILD_TESTING=OFF
0272     sources:
0273       - type: archive
0274         url: https://download.kde.org/stable/frameworks/5.74/kcrash-5.74.0.tar.xz
0275         sha256: 4aaffaed77c0aebf7f68183ed2256173a35c7200be1e99984cbfd9c9f332b07f
0276 
0277   - name: karchive
0278     buildsystem: cmake-ninja
0279     builddir: true
0280     config-opts: 
0281       - -DBUILD_TESTING=OFF
0282     sources:
0283       - type: archive
0284         url: https://download.kde.org/stable/frameworks/5.74/karchive-5.74.0.tar.xz
0285         sha256: deba7aedd9cbf707a56cabeb33d231d64db36c3e5ff866b543c374613be1fc21
0286         
0287   - name: kimageformats
0288     buildsystem: cmake-ninja
0289     builddir: true
0290     config-opts: 
0291       - -DBUILD_TESTING=OFF
0292     sources:
0293       - type: archive
0294         url: https://download.kde.org/stable/frameworks/5.74/kimageformats-5.74.0.tar.xz
0295         sha256: 732c94512a26ff4c4fcdea46ce26fcd7c700c129188c181115fbb0facac937fe
0296        
0297   - name: python-toml
0298     buildsystem: simple
0299     build-commands:
0300       - python setup.py install --prefix=/app
0301     cleanup:
0302       - /bin
0303     sources:
0304       - type : archive
0305         url: https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz
0306         sha256: b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
0307 
0308   - name: python-pyparsing
0309     ensure-writable: 
0310       - /lib/python3.8/site-packages/easy-install.pth
0311     buildsystem: simple
0312     build-commands:
0313       - python setup.py install --prefix=/app
0314     cleanup:
0315       - /bin
0316     sources:
0317       - type : archive
0318         url: https://files.pythonhosted.org/packages/2a/55/640c081b8b9d974665aa991be7b55ac75faa0e608a4125e03a96c253c1a1/pyparsing-3.0.0b2.tar.gz
0319         sha256: 1c6409312ce2ce2997896af5756753778d5f1603666dba5587804f09ad82ed27
0320         
0321   - name: python-packaging
0322     ensure-writable: 
0323       - /lib/python3.8/site-packages/easy-install.pth
0324     buildsystem: simple
0325     build-commands:
0326       - python setup.py install --prefix=/app
0327     cleanup:
0328       - /bin
0329     sources:
0330       - type : archive
0331         url: https://files.pythonhosted.org/packages/df/86/aef78bab3afd461faecf9955a6501c4999933a48394e90f03cd512aad844/packaging-21.0.tar.gz
0332         sha256: 7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7
0333 
0334   - name: sip
0335     ensure-writable: 
0336       - /lib/python3.8/site-packages/easy-install.pth
0337     buildsystem: simple
0338     build-options:
0339       env:
0340         PYTHONPATH: /app/lib/python3.8/site-packages
0341     build-commands:
0342       - python setup.py build -j $FLATPAK_BUILDER_N_JOBS 
0343       - python setup.py install --prefix=/app --skip-build --optimize=1
0344     cleanup:
0345       - /bin
0346     sources:
0347       - type: archive
0348         url: https://pypi.python.org/packages/source/s/sip/sip-6.1.1.tar.gz
0349         sha256: 52d25af2fcd764c4e15cc9cd1350bdb0e63f52dfa2aa3c5e7679af7fde9f7e20
0350 
0351   - name: pyqt-builder
0352     ensure-writable: 
0353       - /lib/python3.8/site-packages/easy-install.pth
0354     buildsystem: simple
0355     build-options:
0356       env:
0357         PYTHONPATH: /app/lib/python3.8/site-packages
0358     build-commands:
0359       - python setup.py build -j $FLATPAK_BUILDER_N_JOBS 
0360       - python setup.py install  --prefix=/app --skip-build  --optimize=1
0361     cleanup:
0362       - /bin
0363     sources:
0364       - type: archive
0365         url: https://pypi.io/packages/source/P/PyQt-builder/PyQt-builder-1.10.0.tar.gz
0366         sha256: 86bd19fde83d92beaefacdeac1e26c6e1918c300ff78d7ec2a19973bf2cf21b5
0367         
0368   - name: pyqt5
0369     ensure-writable: 
0370       - /lib/python3.8/site-packages/PyQt5
0371     buildsystem: simple
0372     build-options:
0373       env:
0374         PYTHONPATH: /app/lib/python3.8/site-packages
0375     build-commands:
0376       - sip-build --confirm-license --no-designer-plugin --target-dir /app/lib/python3.8/site-packages --no-qml-plugin --no-dbus-python --no-tools --no-make --jobs $FLATPAK_BUILDER_N_JOBS
0377       - make -C build -j $FLATPAK_BUILDER_N_JOBS
0378       - make -C build -j 1 install
0379     sources:
0380       - type: archive
0381         url: https://pypi.python.org/packages/source/P/PyQt5/PyQt5-5.15.4.tar.gz
0382         sha256: 2a69597e0dd11caabe75fae133feca66387819fc9bc050f547e5551bce97e5be
0383   
0384   - name: pyqt5_sip
0385     buildsystem: simple
0386     build-options:
0387       env:
0388         PYTHONPATH: /app/lib/python3.8/site-packages
0389     build-commands:
0390       - python setup.py build -j $FLATPAK_BUILDER_N_JOBS 
0391       - python setup.py install --prefix "." --root=/app --optimize=1
0392     sources: 
0393     - type: archive
0394       url: https://pypi.python.org/packages/source/P/PyQt5-sip/PyQt5_sip-12.9.0.tar.gz
0395       sha256: d3e4489d7c2b0ece9d203ae66e573939f7f60d4d29e089c9f11daa17cfeaae32
0396 
0397   - name: boost
0398     buildsystem: simple
0399     build-commands:
0400       - ./bootstrap.sh --prefix=/app --with-libraries=system
0401       - ./b2 variant=release link=shared runtime-link=shared cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" -j $FLATPAK_BUILDER_N_JOBS install
0402     sources:
0403       - type: archive
0404         url: https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.tar.bz2
0405         sha256: 83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1
0406 
0407   - name: eigen
0408     buildsystem: cmake-ninja
0409     builddir: true
0410     cleanup:
0411       - '*'
0412     sources:
0413       - type: archive
0414         url: https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.gz
0415         sha256: 7985975b787340124786f092b3a07d594b2e9cd53bbfe5f3d9b1daee7d55f56f
0416 
0417   - name: quazip
0418     buildsystem: cmake-ninja
0419     builddir: true
0420     config-opts:
0421       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0422     sources:
0423       - type: git
0424         url: https://github.com/stachenov/quazip.git
0425         commit: 6938d8b108b09ebb14ef25542abd2d9108f8e036
0426         tag: v0.9.1
0427 
0428   - name: exiv2
0429     buildsystem: cmake-ninja
0430     builddir: true
0431     config-opts:
0432       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0433       - -DEXIV2_BUILD_SAMPLES=OFF
0434       - -DEXIV2_ENABLE_NLS=OFF
0435       - -DEXIV2_BUILD_EXIV2_COMMAND=OFF
0436     cleanup:
0437       - /bin
0438     sources:
0439       - type: archive
0440         url: https://exiv2.org/builds/exiv2-0.27.3-Source.tar.gz
0441         sha256: a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778
0442   
0443   - name: openexr
0444     buildsystem: cmake-ninja
0445     builddir: true
0446     config-opts:
0447       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0448       - -DNAMESPACE_VERSIONING=OFF
0449     cleanup:
0450       - /bin
0451       - /share/doc
0452     sources:
0453       - type: git
0454         url: https://github.com/AcademySoftwareFoundation/openexr.git
0455         commit: 4212416433a230334cef0ac122cb8d722746035d
0456         tag: v2.5.5
0457         
0458   - name: libraw
0459     config-opts:
0460       - --disable-static
0461     cleanup:
0462       - /bin
0463       - /share/doc
0464     sources:
0465       - type: archive
0466         url: https://www.libraw.org/data/LibRaw-0.20.0.tar.gz
0467         sha256: 1f0a383da2ce9f409087facd28261decbf6be72cc90c78cd003b0766e4d694a3
0468         
0469   - name: opencolorio
0470     buildsystem: cmake
0471     builddir: true
0472     build-options:
0473       arch:
0474         arm:
0475           config-opts:
0476           - -DOCIO_USE_SSE=OFF
0477         aarch64:
0478           config-opts:
0479           - -DOCIO_USE_SSE=OFF
0480     config-opts:
0481       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0482       - -DOCIO_BUILD_STATIC=OFF
0483       - -DOCIO_BUILD_APPS=OFF
0484       - -DOCIO_BUILD_TRUELIGHT=OFF
0485       - -DOCIO_BUILD_NUKE=OFF
0486       - -DOCIO_BUILD_DOCS=OFF
0487       - -DOCIO_BUILD_TESTS=OFF
0488       - -DCMAKE_CXX_FLAGS='-Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-error=cast-function-type'
0489     cleanup:
0490       - /bin
0491     sources:
0492       - type: git
0493         url: https://github.com/AcademySoftwareFoundation/OpenColorIO.git
0494         commit: ebdec4111f449bea995d01ecd9693b7e704498fe
0495         tag: v1.1.1
0496         
0497   - name: vc
0498     skip-arches:
0499       - aarch64
0500       - arm
0501     buildsystem: cmake-ninja
0502     builddir: true
0503     config-opts:
0504       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0505       - -DBUILD_TESTING=OFF
0506       - -DCMAKE_SYSTEM_PROCESSOR=x86
0507     cleanup:
0508       - '*'
0509     sources:
0510       - type: archive
0511         url: https://github.com/VcDevel/Vc/releases/download/1.4.1/Vc-1.4.1.tar.gz
0512         sha256: 68e609a735326dc3625e98bd85258e1329fb2a26ce17f32c432723b750a4119f
0513 
0514   - name: poppler-data
0515     buildsystem: cmake-ninja
0516     builddir: true
0517     config-opts:
0518       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0519     sources:
0520       - type: archive
0521         url: https://poppler.freedesktop.org/poppler-data-0.4.10.tar.gz
0522         sha256: 6e2fcef66ec8c44625f94292ccf8af9f1d918b410d5aa69c274ce67387967b30
0523 
0524   - name: poppler
0525     buildsystem: cmake-ninja
0526     builddir: true
0527     config-opts:
0528       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0529       - -DBUILD_GTK_TESTS=OFF
0530       - -DBUILD_QT5_TESTS=FALSE
0531       - -DBUILD_CPP_TESTS=FALSE
0532       - -DENABLE_UTILS=FALSE
0533       - -DENABLE_GLIB=FALSE
0534       - -DENABLE_LIBOPENJPEG=none
0535       - -DWITH_NSS3=OFF
0536     sources:
0537       - type: archive
0538         url: https://poppler.freedesktop.org/poppler-21.03.0.tar.xz
0539         sha256: fd51ead4aac1d2f4684fa6e7b0ec06f0233ed21667e720a4e817e4455dd63d27
0540         
0541   - name: openjpeg
0542     buildsystem: cmake
0543     config-opts:
0544       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0545       - -DOPENJPEG_INSTALL_INCLUDE_DIR=include/
0546     sources:
0547       - type: archive
0548         url: https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz
0549         sha256: 8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d
0550   
0551   - name: lcms2
0552     buildsystem: cmake
0553     cleanup:
0554       - /bin
0555       - /share
0556     config-opts:
0557       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0558       - -DBUILD_TESTS=FALSE
0559       - -DBUILD_UTILS=FALSE
0560       - -DBUILD_STATIC=FALSE
0561       - -DBUILD_PLUGINS=TRUE
0562     sources:
0563       - type: git
0564         url: https://github.com/mm2/Little-CMS.git
0565         commit: 807809d7dd9b09c0380b71d5d5ebee3c1439ca99
0566       - type: patch
0567         paths:
0568           - ../../../3rdparty/ext_lcms2/0001-Add-cmake-build-system.patch
0569           - ../../../3rdparty/ext_lcms2/0002-Quick-check-for-SSE-support.patch
0570           - ../../../3rdparty/ext_lcms2/0003-Separate-fast-float-plugin.patch
0571 
0572   - name: gsl
0573     config-opts:
0574       - --disable-static
0575     cleanup:
0576       - /bin
0577     sources:
0578       - type: archive
0579         url: https://ftpmirror.gnu.org/gnu/gsl/gsl-2.6.tar.gz
0580         sha256: b782339fc7a38fe17689cb39966c4d821236c28018b6593ddb6fd59ee40786a8
0581 
0582   - name: x264
0583     config-opts:
0584       - --disable-cli
0585       - --enable-shared
0586     sources:
0587       - type: git
0588         url: https://code.videolan.org/videolan/x264.git
0589         commit: 544c61f082194728d0391fb280a6e138ba320a96
0590 
0591   - name: ffmpeg
0592     config-opts:
0593       - --enable-rpath
0594       - --enable-gpl
0595       - --disable-static
0596       - --enable-shared
0597       - --disable-doc
0598       - --disable-ffplay
0599       - --disable-ffprobe
0600       - --enable-libopus
0601       - --enable-libvpx
0602       - --enable-libx264
0603     cleanup:
0604       - /share/ffmpeg/examples
0605     sources:
0606       - type: archive
0607         url: https://www.ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz
0608         sha256: 46e4e64f1dd0233cbc0934b9f1c0da676008cad34725113fb7f802cfa84ccddb
0609         
0610   - name: kseexpr
0611     buildsystem: cmake-ninja
0612     builddir: true
0613     config-opts:
0614       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0615       - -DBUILD_TRANSLATIONS=OFF
0616     sources:
0617       - type: archive
0618         url: https://download.kde.org/stable/kseexpr/4.0.1/kseexpr-4.0.1.0.tar.gz
0619         sha256: 13b8455883001668f5d79c5734821c1ad2a0fbc91d019af085bb7e31cf6ce926
0620         
0621   - name: json-c
0622     buildsystem: cmake-ninja
0623     sources:
0624       - type: archive
0625         url: https://github.com/json-c/json-c/archive/json-c-0.15-20200726.tar.gz
0626         sha256: 4ba9a090a42cf1e12b84c64e4464bb6fb893666841d5843cc5bef90774028882
0627         
0628   - name: intltool
0629     cleanup:
0630       - '*'
0631     sources:
0632       - type: archive
0633         url: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
0634         sha256: 67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
0635 
0636   - name: libmypaint
0637     config-opts:
0638       - --disable-gegl
0639       - --disable-introspection
0640     sources:
0641       - type: archive
0642         url: https://github.com/mypaint/libmypaint/releases/download/v1.6.1/libmypaint-1.6.1.tar.xz
0643         sha256: 741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f
0644   
0645   - name: webp
0646     buildsystem: cmake
0647     builddir: true
0648     config-opts:
0649       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0650       - -DBUILD_SHARED_LIBS=OFF
0651     sources:
0652       - type: archive
0653         url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz
0654         sha512: c46b41899a543cc80914c89646dd607dbb5d025a9727dd83ef70994b9310eedc697666bd812141a90aa16632a9a354a031d9360a9ee1112295c7e154e69f0b74
0655       - type: patch
0656         paths:
0657           - ../../../3rdparty/ext_webp/0001-Fix-CMake-targets-install-directory.patch
0658         
0659   - name: libheif
0660     buildsystem: cmake-ninja
0661     builddir: true
0662     config-opts:
0663       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0664       - -DBUILD_EXAMPLES=OFF
0665     sources:
0666       - type: git
0667         url: https://github.com/strukturag/libheif.git
0668         commit: 8f8035a102e959a3488f69e8befe09d51cf596a7
0669     modules:
0670       - name: dav1d
0671         buildsystem: meson
0672         sources:
0673           - type: archive
0674             url: https://downloads.videolan.org/pub/videolan/dav1d/0.9.0/dav1d-0.9.0.tar.xz
0675             sha256: cfae88e8067c9b2e5b96d95a7a00155c353376fe9b992a96b4336e0eab19f9f6
0676               
0677       - name: rav1e
0678         buildsystem: simple
0679         ensure-writable:
0680           - /run/build/rav1e
0681         build-options:
0682           append-path: /usr/lib/sdk/rust-stable/bin
0683           env:
0684               CARGO_HOME: /run/build/rav1e/cargo
0685         sources:
0686           - type: archive
0687             url: https://files.kde.org/krita/build/dependencies/flatpak/cargo-c-0.8.1.tar.gz
0688             sha256: 3b1fe50e210e3800608372b47e4488caecd7789117fb4dfe2e5f50813d9ddff6
0689             dest: cargo-c
0690           - type: archive
0691             url: https://files.kde.org/krita/build/dependencies/flatpak/rav1e-p20210525.tar.gz
0692             sha256: cf52b5180a645473f6262c9c225b77810707aa2ec652b914ca48421c0f802579
0693             dest: rav1e
0694         build-commands:
0695           - cd cargo-c && cargo --offline build --release
0696           - cargo install --path cargo-c/  --verbose
0697           - cd rav1e && cargo cbuild --release --prefix=/app --library-type=cdylib -j $FLATPAK_BUILDER_N_JOBS --verbose
0698           - cd rav1e && cargo cinstall --release --library-type=cdylib --prefix=/app
0699           
0700       - name: libde265
0701         cleanup:
0702           - /bin
0703         config-opts:
0704           - --disable-sherlock
0705         sources:
0706           - type: archive
0707             url: https://github.com/strukturag/libde265/releases/download/v1.0.8/libde265-1.0.8.tar.gz
0708             sha256: 24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905
0709           - type: patch
0710             paths: 
0711               - ../../../3rdparty/ext_heif/0001-Quick-check-for-SSE-support.patch   
0712       
0713       - name: libx265
0714         buildsystem: cmake
0715         subdir: source
0716         config-opts:
0717           - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0718           - -DENABLE_SHARED=TRUE
0719           - -DENABLE_HDR10_PLUS=TRUE
0720           - -DEXTRA_LIB='x265_main10.a;x265_main12.a'
0721           - -DEXTRA_LINK_FLAGS=-L.
0722           - -DLINKED_10BIT=TRUE
0723           - -DLINKED_12BIT=TRUE
0724         sources:
0725           - type: archive
0726             url: https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/x265-snapshot-20210203-12666.tar.gz
0727             sha256: a4a712c9fbe724c263f4506e19aeca74e0259b33126d2e60c813352483f5110c
0728           - type: patch
0729             paths:
0730               - ../../../3rdparty/ext_heif/A02-threads-priority.patch
0731               - ../../../3rdparty/ext_heif/0001-Silence-nasm-2.15-warnings.patch
0732               - ../../../3rdparty/ext_heif/0002-Fix-rc-versioning.patch
0733  
0734         modules:
0735           - name: libx265-10bit
0736             buildsystem: cmake
0737             subdir: source
0738             config-opts:
0739             - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0740             - -DHIGH_BIT_DEPTH=TRUE
0741             - -DEXPORT_C_API=FALSE
0742             - -DENABLE_CLI=FALSE
0743             - -DENABLE_SHARED=FALSE
0744             sources:
0745               - type: archive
0746                 url: https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/x265-snapshot-20210203-12666.tar.gz
0747                 sha256: a4a712c9fbe724c263f4506e19aeca74e0259b33126d2e60c813352483f5110c 
0748               - type: patch
0749                 paths:
0750                   - ../../../3rdparty/ext_heif/A02-threads-priority.patch
0751                   - ../../../3rdparty/ext_heif/0001-Silence-nasm-2.15-warnings.patch
0752                   - ../../../3rdparty/ext_heif/0002-Fix-rc-versioning.patch
0753             post-install:
0754               - mv ${FLATPAK_DEST}/lib/libx265.a ${FLATPAK_DEST}/lib/libx265_main10.a
0755           
0756           - name: libx265-12bit
0757             buildsystem: cmake
0758             subdir: source
0759             config-opts:
0760               - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0761               - -DHIGH_BIT_DEPTH=TRUE
0762               - -DMAIN12=TRUE
0763               - -DEXPORT_C_API=FALSE
0764               - -DENABLE_CLI=FALSE
0765               - -DENABLE_SHARED=FALSE
0766             sources:
0767               - type: archive
0768                 url: https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/x265-snapshot-20210203-12666.tar.gz
0769                 sha256: a4a712c9fbe724c263f4506e19aeca74e0259b33126d2e60c813352483f5110c 
0770               - type: patch
0771                 paths:
0772                   - ../../../3rdparty/ext_heif/A02-threads-priority.patch
0773                   - ../../../3rdparty/ext_heif/0001-Silence-nasm-2.15-warnings.patch
0774                   - ../../../3rdparty/ext_heif/0002-Fix-rc-versioning.patch
0775             post-install:
0776               - mv ${FLATPAK_DEST}/lib/libx265.a ${FLATPAK_DEST}/lib/libx265_main12.a
0777 
0778   - name: krita
0779     buildsystem: cmake-ninja
0780     builddir: true
0781     config-opts:
0782       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0783       - -DBUILD_TESTING=OFF
0784     build-options:
0785       env:
0786         PYTHONPATH: /app/lib/python3/dist-packages
0787     cleanup:
0788       - /share/icons/hicolor/1024x1024
0789       - /share/icons/hicolor/scalable
0790     sources:
0791       - type: git
0792         url: https://anongit.kde.org/krita
0793 
0794   - name: gmic-qt
0795     buildsystem: cmake-ninja
0796     subdir: gmic-qt
0797     config-opts:
0798       - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0799       - -DGMIC_QT_HOST=krita-plugin
0800       - -DCMAKE_CXX_FLAGS=-lfftw3_threads
0801       
0802     modules: 
0803       - name: fftw3
0804         buildsystem: cmake
0805         config-opts:
0806           - -DENABLE_SSE=ON
0807           - -DENABLE_SHARED=ON
0808           - -DENABLE_SSE2=ON
0809           - -DBUILD_TESTS=OFF
0810           - -DENABLE_THREADS=ON
0811           - -DCMAKE_BUILD_TYPE=RelWithDebInfo
0812         sources:
0813           - type: archive
0814             url: http://fftw.org/fftw-3.3.9.tar.gz
0815             sha256: bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d 
0816 
0817     sources:
0818       - type: archive
0819         url: https://files.kde.org/krita/build/dependencies/gmic-2.9.8.1-patched.tar.gz
0820         sha256: 9e37aa7e359710080617810b3a9b2e3e4f79a4b188b96ee737f9fb9e73314299