{"id":15722061,"url":"https://github.com/flatpak/libportal","last_synced_at":"2025-04-13T07:51:10.077Z","repository":{"id":36106381,"uuid":"216726484","full_name":"flatpak/libportal","owner":"flatpak","description":"libportal - Flatpak portal library","archived":false,"fork":false,"pushed_at":"2025-03-28T12:21:18.000Z","size":1943,"stargazers_count":91,"open_issues_count":34,"forks_count":42,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-11T12:51:34.511Z","etag":null,"topics":["dbus","flatpak","gobject-introspection","gtk3"],"latest_commit_sha":null,"homepage":"https://libportal.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flatpak.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-22T04:57:56.000Z","updated_at":"2025-04-05T13:22:03.000Z","dependencies_parsed_at":"2024-01-11T23:56:13.549Z","dependency_job_id":"d229e1ef-a950-4fcc-a24f-3179cc19e037","html_url":"https://github.com/flatpak/libportal","commit_stats":{"total_commits":391,"total_committers":34,"mean_commits":11.5,"dds":0.59846547314578,"last_synced_commit":"0f8f627dd86b80f380dd6f0a02b11981a7c8a5e1"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatpak%2Flibportal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatpak%2Flibportal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatpak%2Flibportal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatpak%2Flibportal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatpak","download_url":"https://codeload.github.com/flatpak/libportal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248652181,"owners_count":21139959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbus","flatpak","gobject-introspection","gtk3"],"created_at":"2024-10-03T22:03:38.794Z","updated_at":"2025-04-13T07:51:10.021Z","avatar_url":"https://github.com/flatpak.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"libportal - Flatpak portal library\n==================================\n\nlibportal provides GIO-style async APIs for most Flatpak portals. You can find\nthe documentation [here](https://flatpak.github.io/libportal/).\n\n## Getting started\n\n`libportal` uses Meson to build its projects. To install Meson on your system,\nfollow the [Getting Meson instructions][1]. If your system is missing a\ndependency, Meson will tell you which one. How you install your missing\ndependencies is up to you.\n\n### Build libportal\n\nThe first time you build libportal, give `meson` a directory to build into; we\nrecommend `_build`:\n\n```\nmeson _build\n```\n\nThen use `ninja` to build the project, pointing it to your build directory:\n\n```\nninja -C _build\n```\n\nFor subsequent builds, you only need to use the `ninja -C _build` command.\n\n### Passing options\n\nlibportal includes [Meson build options][2] for components that can optionally\nbe built. Run `meson configure` to see all available options or,\nafter first running `meson _build`, view available options and their current\nvalues with:\n\n```\nmeson configure _build\n```\n\nTo change an option, re-configure the project:\n\n```\nmeson configure _build -Dportal-tests=true\n```\n\nYou can also pass in options right from the start, e.g. with:\n\n```\nmeson _build -Dportal-tests=true\n```\n\nThen build:\n\n```\nninja -C _build\n```\n\n## Optional components\n\n### `portal-tests`\n\nTo generate test binaries, set the `portal-tests` option to `true`,\ne.g. `-Dportal-tests=true`, to build the portal tests for the backend\nbuilt. Then run the desired test binary, e.g.:\n\n```\n./_build/portal-test/gtk3/portal-test-gtk3\n```\n\nor\n\n```\n./_build/portal-test/qt5/portal-test-qt5\n```\n\n[1]: https://mesonbuild.com/Getting-meson.html\n[2]: https://mesonbuild.com/Build-options.html#build-options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatpak%2Flibportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatpak%2Flibportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatpak%2Flibportal/lists"}