Skip to content

GNOME/libgnome-games-support

Repository files navigation

libgnome-games-support

A small library intended for internal use by GNOME Games, but it may be used by others.

Using libgnome-games-support

Before version 3.0, libgnome-games-support was shipped like a normal library, but now it is a copylib that is used as a meson subproject.

Using as a meson subproject

  1. In your meson.build, declare a dependency on libgnome-games-support, and set the superproject_name (here it is gnome-mines) to the name of your project:
libgnome_games_support = subproject ('libgnome-games-support',
                                     default_options: 'superproject_name=gnome-mines')

libgnome_games_support_dep = libgnome_games_support.get_variable ('lggs_dependency')
  1. Create subprojects/libgnome-games-support.wrap, it should contain
[wrap-git]
directory = libgnome-games-support
url = https://gitlab.gnome.org/GNOME/libgnome-games-support.git
revision = git hash goes here
depth = 1
  1. Build the project with meson to download the subproject.

  2. Remove the libgnome-games-support subproject's .git directory if you don't want it to be a git submodule

  3. git commit the subproject directory.

libgnome-games-support documentation

You either read the comments in the source code or generate documentation for yourself with:

$ valadoc --package-name=libgnome-games-support --package-version=3.0 --force --pkg=gtk4 --pkg=libadwaita-1 -o docs games/config.vapi games/theme-selector-dialog.vala games/scores/*.vala

Packages

 
 
 

Contributors