app-id: com.github.macrofusion runtime: org.gnome.Platform runtime-version: '3.30' sdk: org.gnome.Sdk command: macrofusion.py rename-desktop-file: macrofusion.desktop separate-locales: false finish-args: - --filesystem=xdg-pictures - --socket=x11 - --share=ipc - --socket=wayland - --filesystem=xdg-run/dconf modules: - shared-modules/glew/glew.json - shared-modules/glu/glu-9.0.0.json - name: boost cleanup: - /include - /lib/*.a sources: - type: archive url: https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.bz2 sha256: 8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406 buildsystem: simple build-commands: - ./bootstrap.sh --prefix="${FLATPAK_DEST}" - ./b2 -j $FLATPAK_BUILDER_N_JOBS --build-type=minimal link=shared install - name: wxwidgets cleanup: - /bin - /lib - /doc - /share - /include sources: - type: archive url: https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.tar.bz2 sha256: 96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0 config-opts: - --with-opengl - --with-libjpeg - --with-libtiff - --with-libpng - --with-zlib - --enable-unicode - --enable-display - --enable-propgrid - --disable-sdltest - --disable-webkit - --disable-webview - --disable-webviewwebkit - --with-expat=builtin - --with-libiconv=/usr build-options: cxxflags: "-std=c++0x" - name: gexiv2 cleanup: - /include - /lib/pkgconfig - /share/vala config-opts: - --without-python2-girdir - --without-python3-girdir build-options: env: PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR: "${FLATPAK_DEST}/share/gir-1.0" PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR: "${FLATPAK_DEST}/lib/girepository-1.0" sources: - type: archive url: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-0.10.9.tar.xz sha256: 8806234aa6fd1c345d46bf07a14e82771415071ca5ff63615b1ea62bd2fec0ed modules: - name: exiv2 cleanup: - /include - /bin - /lib/pkgconfig - /lib/*.a - /share/man sources: - type: git url: https://github.com/Exiv2/exiv2 tag: v0.26 commit: fa449a4d2c58d63f0d75ff259f25683a98a44630 buildsystem: cmake-ninja - python-deps.json - name: exiftool sources: - type: archive url: https://owl.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.26.tar.gz sha1: 136e9ed3a60b231ded47087ad0f7a5d478af2592 buildsystem: simple build-commands: - install -Dm755 exiftool "${FLATPAK_DEST}/bin/exiftool" - cp -r lib "${FLATPAK_DEST}/bin/" - name: ilmbase cleanup: - /include - /lib/pkgconfig config-opts: - --disable-static sources: - type: archive url: https://github.com/openexr/openexr/releases/download/v2.3.0/ilmbase-2.3.0.tar.gz sha256: 456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862 - name: openexr cleanup: - /bin - /share/doc - /include - /lib/pkgconfig - /share/aclocal config-opts: - --disable-static sources: - type: archive url: https://github.com/openexr/openexr/releases/download/v2.3.0/openexr-2.3.0.tar.gz sha256: fd6cb3a87f8c1a233be17b94c74799e6241d50fc5efd4df75c7a4b9cf4e25ea6 - name: vigra cleanup: - /bin - /doc - /include - /lib/vigra sources: - type: git url: https://github.com/ukoethe/vigra tag: Version-1-11-1 commit: ed1e79e4cdcec370cdeef2153f7d3c586a77f2d6 buildsystem: cmake-ninja config-opts: - -DWITH_OPENEXR=ON - name: enfuse cleanup: - /share/man config-opts: - -DENABLE_OPENMP=ON - -DENABLE_SSE2=ON - -DDOC=OFF sources: - type: archive url: https://downloads.sourceforge.net/project/enblend/enblend-enfuse/enblend-enfuse-4.2/enblend-enfuse-4.2.tar.gz sha256: 8703e324939ebd70d76afd350e56800f5ea2c053a040a5f5218b2a1a4300bd48 - type: patch path: fix-cmake.patch buildsystem: cmake modules: - name: gsl cleanup: - /bin - /share/info - /share/man - /include - /lib/*.a - /lib/pkgconfig - /share/aclocal config-opts: - --disable-static sources: - type: archive url: https://ftpmirror.gnu.org/gnu/gsl/gsl-2.5.tar.gz sha256: 0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d - name: libpano13 cleanup: - /bin - /share - /include - /lib/*.a - /lib/pkgconfig buildsystem: cmake builddir: true sources: - type: archive url: https://downloads.sourceforge.net/project/panotools/libpano13/libpano13-2.9.19/libpano13-2.9.19.tar.gz sha256: 037357383978341dea8f572a5d2a0876c5ab0a83dffda431bd393357e91d95a8 - name: align_image_stack cleanup: - /bin/autooptimiser - /bin/calibrate_lens_gui - /bin/celeste_standalone - /bin/checkpto - /bin/cpclean - /bin/cpfind - /bin/deghosting_mask - /bin/fulla - /bin/geocpset - /bin/hugin* - /bin/icpfind - /bin/linefind - /bin/nona - /bin/pano* - /bin/PT* - /bin/pto_* - /bin/tca_correct - /bin/verdandi - /bin/vig_optimize - /lib/libceleste* - /lib/libhuginbaswwx* - /lib/libicpfindlib* - /lib/liblocalfeatures* - /share buildsystem: cmake-ninja builddir: true sources: - type: archive url: https://downloads.sourceforge.net/project/hugin/hugin/hugin-2018.0/hugin-2018.0.0.tar.bz2 sha256: d3af0d066ac50e3bb243a175a64ecda136d87178419457e8822e11bcf0e565cb - name: macrofusion sources: - type: git url: https://github.com/salvadhor/macrofusion tag: 0.7.4 commit: 0a16583615c1a387a45ac4dc09fffa6a1319dd8e - type: patch path: macrofusion-workarounds.patch buildsystem: simple build-commands: - install -Dm755 macrofusion.py "${FLATPAK_DEST}/bin/macrofusion.py" - install -Dm644 macrofusion.desktop "${FLATPAK_DEST}/share/applications/macrofusion.desktop" - install -Dm644 images/logoSplash.png "${FLATPAK_DEST}/share/mfusion/images" - install -Dm644 images/macrofusion.png "${FLATPAK_DEST}/share/pixmaps/macrofusion.png" - cp -r locale "${FLATPAK_DEST}/share" - cp -r ui "${FLATPAK_DEST}/share/mfusion/ui"