{ "app-id": "ca.andyholmes.Valent", "runtime": "org.gnome.Platform", "runtime-version": "47", "sdk": "org.gnome.Sdk", "command": "valent", "finish-args": [ "--device=dri", "--env=PULSE_PROP_media.category=Manager", "--filesystem=xdg-download", "--filesystem=xdg-run/gvfsd", "--filesystem=xdg-run/pipewire-0:ro", "--own-name=org.mpris.MediaPlayer2.Valent.*", "--share=ipc", "--share=network", "--socket=fallback-x11", "--socket=pulseaudio", "--socket=session-bus", "--socket=ssh-auth", "--socket=wayland", "--system-talk-name=org.freedesktop.Avahi", "--system-talk-name=org.freedesktop.hostname1", "--system-talk-name=org.freedesktop.login1", "--system-talk-name=org.freedesktop.ModemManager1", "--system-talk-name=org.freedesktop.UPower", "--talk-name=org.a11y.Bus", "--talk-name=org.freedesktop.DBus", "--talk-name=org.gnome.evolution.dataserver.AddressBook10", "--talk-name=org.gnome.evolution.dataserver.Sources5", "--talk-name=org.gnome.evolution.dataserver.Subprocess.Backend.*", "--talk-name=org.gnome.Mutter.RemoteDesktop", "--talk-name=org.gnome.OnlineAccounts", "--talk-name=org.gtk.vfs.*", "--talk-name=org.mpris.MediaPlayer2.*" ], "add-extensions": { "ca.andyholmes.Valent.Plugin": { "version": "master", "directory": "extensions", "add-ld-path": "lib", "merge-dirs": "lib/valent/plugins", "subdirectories": true, "no-autodownload": true, "autodelete": true } }, "cleanup": [ "/libexec", "/man", "/share/man", "*.la", "*.a" ], "modules": [ { "name": "intltool", "cleanup": [ "*" ], "sources": [ { "type": "archive", "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz", "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd", "x-checker-data": { "type": "anitya", "project-id": 1385, "stable-only": true, "url-template": "https://launchpad.net/intltool/trunk/$version/+download/intltool-$version.tar.gz" } } ] }, { "name": "libical", "buildsystem": "cmake-ninja", "cleanup": [ "/lib/cmake" ], "config-opts": [ "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib", "-DBUILD_SHARED_LIBS:BOOL=ON", "-DGOBJECT_INTROSPECTION:BOOL=ON", "-DICAL_BUILD_DOCS:BOOL=OFF", "-DICAL_GLIB_VAPI:BOOL=ON", "-DICAL_GLIB:BOOL=ON", "-DLIBICAL_BUILD_EXAMPLES:BOOL=OFF", "-DLIBICAL_BUILD_TESTING:BOOL=OFF" ], "sources": [ { "type": "git", "url": "https://github.com/libical/libical.git", "commit": "1b28a846d2dca16e5d15a433c6011cc2483555bb", "tag": "v3.0.18", "x-checker-data": { "type": "anitya", "project-id": 1637, "stable-only": true, "tag-template": "v$version" } } ] }, { "name": "libphonenumber", "buildsystem": "cmake-ninja", "subdir": "cpp", "config-opts": [ "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib", "-DUSE_BOOST=OFF", "-DBUILD_TESTING=OFF", "-DREGENERATE_METADATA=OFF", "-DBUILD_STATIC_LIB=OFF", "-DBUILD_GEOCODER=OFF", "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" ], "sources": [ { "type": "archive", "url": "https://github.com/google/libphonenumber/archive/refs/tags/v8.13.18.tar.gz", "sha256": "54578d748ce38eea8c3530e49c1adf09272ef4535ed32db2555ab39b0b8851c0" } ], "cleanup": [ "/include", "/lib/cmake" ], "modules": [ { "name": "abseil-cpp", "buildsystem": "cmake-ninja", "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_CXX_STANDARD=17", "-DABSL_PROPAGATE_CXX_STD=ON", "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" ], "sources": [ { "type": "archive", "url": "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230125.1.tar.gz", "sha256": "81311c17599b3712069ded20cca09a62ab0bf2a89dfa16993786c8782b7ed145" } ], "cleanup": [ "/include", "/lib/*.a", "/lib/cmake", "/lib/pkgconfig" ] }, { "name": "boost", "buildsystem": "simple", "sources": [ { "type": "archive", "url": "https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.xz", "sha256": "a4d99d032ab74c9c5e76eddcecc4489134282245fffa7e079c5804b92b45f51d", "x-checker-data": { "type": "anitya", "project-id": 6845, "stable-only": true, "url-template": "https://github.com/boostorg/boost/releases/download/boost-$version/boost-$version-b2-nodocs.tar.xz" } } ], "build-commands": [ "./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=date_time,thread,system", "./b2 -j ${FLATPAK_BUILDER_N_JOBS} headers", "./b2 -j ${FLATPAK_BUILDER_N_JOBS} install" ] }, { "name": "protobuf", "buildsystem": "autotools", "sources": [ { "type": "archive", "url": "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.12.tar.gz", "sha256": "22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de" } ], "cleanup": [ "/bin", "/include", "/lib/*.a", "/lib/*.la", "/lib/libprotoc*", "/lib/libprotobuf-lite*", "/lib/pkgconfig" ] } ] }, { "name": "evolution-data-server", "buildsystem": "cmake-ninja", "cleanup": [ "/etc", "/lib/cmake", "/lib/evolution-data-server/*-backends", "/libexec", "/share/applications", "/share/dbus-1/services", "/share/GConf", "/systemd" ], "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DENABLE_DOT_LOCKING=OFF", "-DENABLE_CANBERRA=OFF", "-DENABLE_GTK=OFF", "-DENABLE_GTK4=OFF", "-DENABLE_GOA=OFF", "-DENABLE_VALA_BINDINGS=ON", "-DENABLE_WEATHER=OFF", "-DENABLE_OAUTH2_WEBKITGTK4=OFF", "-DWITH_OPENLDAP=OFF", "-DWITH_PHONENUMBER=ON", "-DWITH_LIBDB=OFF", "-DENABLE_INTROSPECTION=ON", "-DENABLE_TESTS=OFF", "-DENABLE_INSTALLED_TESTS=OFF", "-DWITH_KRB5=OFF", "-DENABLE_GTK_DOC=OFF", "-DENABLE_EXAMPLES=OFF", "-DWITH_SYSTEMDUSERUNITDIR=OFF", "-DWITH_DBUS_SERVICE_DIR=OFF" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/evolution-data-server.git", "commit": "8366794929c7c047b75f16f3743c6b24c4afee89", "tag": "3.54.0", "x-checker-data": { "type": "anitya", "project-id": 10935, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "libpeas", "buildsystem": "meson", "builddir": true, "cleanup": [ "/bin/*" ], "config-opts": [ "-Dgjs=false", "-Dlua51=false", "-Dpython3=false", "-Dintrospection=true", "-Dvapi=true" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/libpeas.git", "commit": "db474b27352076973b9942a03d92c68d9851d1a5", "tag": "2.0.5", "x-checker-data": { "type": "anitya", "project-id": 6871, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "libportal", "buildsystem": "meson", "builddir": true, "config-opts": [ "-Ddocs=false", "-Dintrospection=false", "-Dvapi=false" ], "sources": [ { "type": "git", "url": "https://github.com/flatpak/libportal.git", "commit": "26c15008cbe579f57f89468384f8efc033f25f6f", "tag": "0.8.1", "x-checker-data": { "type": "anitya", "project-id": 230124, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "pipewire", "buildsystem": "meson", "builddir": true, "config-opts": [ "-Dgstreamer=disabled", "-Dman=disabled", "-Dsystemd=disabled", "-Dudev=disabled", "-Dudevrulesdir=disabled", "-Dsession-managers=[]" ], "sources": [ { "type": "git", "url": "https://gitlab.freedesktop.org/pipewire/pipewire.git", "commit": "71fac7fa818f21234da4c356de0b44e47e1a2ef2", "tag": "1.2.5", "x-checker-data": { "type": "anitya", "project-id": 57357, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "valent", "buildsystem": "meson", "builddir": true, "config-opts": [ "--prefix=/app", "--libdir=lib/", "--buildtype=release" ], "post-install": [ "install -d /app/extensions" ], "sources": [ { "type": "git", "url": "https://github.com/andyholmes/valent.git", "branch": "main" } ] } ] }