{ "app-id": "ca.andyholmes.Valent", "runtime": "org.gnome.Platform", "runtime-version": "49", "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", "--filesystem=~/.mozilla/firefox/firefox-mpris:ro", "--filesystem=~/.var/app/org.mozilla.firefox/data/firefox-mpris: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.bluez", "--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.freedesktop.FileManager1", "--talk-name=org.freedesktop.Flatpak", "--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": "57ce34025066935f356fd539e6deb7a7a9952618", "tag": "v3.0.20", "x-checker-data": { "type": "anitya", "project-id": 1637, "stable-only": true, "tag-template": "v$version" } } ] }, { "name": "libphonenumber", "buildsystem": "cmake-ninja", "subdir": "cpp", "cleanup": [ "/include", "/lib/cmake" ], "config-opts": [ "-DCMAKE_CXX_STANDARD=17", "-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", "-DCMAKE_CXX_FLAGS=-Wno-error=cpp" ], "sources": [ { "type": "git", "url": "https://github.com/google/libphonenumber.git", "commit": "3b7cd902d9928110251c0d5c567ea76b6feabf16", "tag": "v9.0.21", "x-checker-data": { "type": "anitya", "project-id": 89344, "stable-only": true, "tag-template": "v$version" } } ], "modules": [ { "name": "abseil-cpp", "buildsystem": "cmake-ninja", "cleanup": [ "/include", "/lib/*.a", "/lib/cmake", "/lib/pkgconfig" ], "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_CXX_STANDARD=17", "-DABSL_PROPAGATE_CXX_STD=ON", "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" ], "sources": [ { "type": "git", "url": "https://github.com/abseil/abseil-cpp.git", "commit": "d38452e1ee03523a208362186fd42248ff2609f6", "tag": "20250814.1", "x-checker-data": { "type": "anitya", "project-id": 115295, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "boost", "buildsystem": "simple", "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" ], "cleanup": [ "/include", "/lib/*.a", "/lib/cmake" ], "sources": [ { "type": "archive", "url": "https://github.com/boostorg/boost/releases/download/boost-1.90.0/boost-1.90.0-b2-nodocs.tar.xz", "sha256": "9e6bee9ab529fb2b0733049692d57d10a72202af085e553539a05b4204211a6f", "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" } } ] }, { "name": "protobuf", "buildsystem": "cmake-ninja", "cleanup": [ "/bin", "/include", "/lib/*.a", "/lib/*.la", "/lib/libprotoc*", "/lib/libprotobuf-lite*", "/lib/pkgconfig" ], "config-opts": [ "-DCMAKE_POSITION_INDEPENDENT_CODE=ON", "-Dprotobuf_BUILD_TESTS=OFF" ], "sources": [ { "type": "archive", "url": "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.12.tar.gz", "sha256": "22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de" } ] } ] }, { "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": "9963c57f77a2ac305881d6b54b881c93118c3f84", "tag": "3.58.2", "x-checker-data": { "type": "anitya", "project-id": 10935, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "libei", "buildsystem": "meson", "cleanup": [ "/bin/*" ], "config-opts": [ "-Dlibei=enabled", "-Dlibeis=disabled", "-Dliboeffis=disabled", "-Dtests=disabled" ], "sources": [ { "type": "git", "url": "https://gitlab.freedesktop.org/libinput/libei.git", "tag": "1.5.0", "x-checker-data": { "type": "anitya", "project-id": 350087, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "libpeas", "buildsystem": "meson", "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": "39a2b9c55deaa5246b99b502b53896d3ad41846b", "tag": "2.2.0", "x-checker-data": { "type": "anitya", "project-id": 6871, "stable-only": true, "tag-template": "$version" } } ] }, { "name": "libportal", "buildsystem": "meson", "config-opts": [ "-Ddocs=false", "-Dintrospection=false", "-Dvapi=false" ], "sources": [ { "type": "git", "url": "https://github.com/flatpak/libportal.git", "commit": "8f5dc8d192f6e31dafe69e35219e3b707bde71ce", "tag": "0.9.1", "x-checker-data": { "type": "anitya", "project-id": 230124, "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" } ] } ] }