An open API service indexing awesome lists of open source software.

https://github.com/tauri-apps/linuxdeploy-plugin-gtk

Gtk+2/3 plugin for linuxdeploy. Bundles Gtk+ resources, GLib schemas, and a lot more.
https://github.com/tauri-apps/linuxdeploy-plugin-gtk

Last synced: 2 months ago
JSON representation

Gtk+2/3 plugin for linuxdeploy. Bundles Gtk+ resources, GLib schemas, and a lot more.

Awesome Lists containing this project

README

          

# linuxdeploy-plugin-gtk

This is an (as of yet experimental) plugin for linuxdeploy. Its job is to bundle additional resources for applications that use GTK, and for common dependencies. Those involve GLib schemas for instance.

## Dependencies

This plugin requires the following dependencies in order to work properly:

- `file` command
- `find` command
- `pkg-config` or `pkgconf` command
- librsvg2 development files
- GTK development files

## Usage

```bash
# get linuxdeploy and linuxdeploy-plugin-gtk
> wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
> wget -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"

# get list of variables
> ./linuxdeploy-plugin-gtk.sh --help

# first option: install your app into your AppDir via `make install` etc.
# second option: bundle your app's main executables manually
# see https://docs.appimage.org/packaging-guide/from-source/native-binaries.html for more information
> [...]

# call through linuxdeploy
> ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin gtk --output appimage --icon-file mypackage.png --desktop-file mypackage.desktop
```