summary refs log tree commit diff stats
path: root/flatpak/io.github.Hexchat.json
blob: 94cfb6c8ee7e7d55f722928e1d31f1f56d7c4173 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
  "app-id": "io.github.Hexchat",
  "branch": "stable",
  "runtime": "org.gnome.Platform",
  "runtime-version": "40",
  "sdk": "org.gnome.Sdk",
  "command": "hexchat",
  "finish-args": [
    "--share=ipc",
    "--socket=x11",
    "--share=network",
    "--socket=pulseaudio",
    "--filesystem=xdg-download",

    "--talk-name=org.freedesktop.Notifications",

    "--talk-name=org.mpris.MediaPlayer2.*"
  ],
  "add-extensions": {
    "io.github.Hexchat.Plugin": {
      "version": "20.08",
      "directory": "extensions",
      "add-ld-path": "lib",
      "merge-dirs": "lib/hexchat/plugins",
      "subdirectories": true,
      "no-autodownload": true,
      "autodelete": true
    }
  },
  "modules": [
    "shared-modules/gtk2/gtk2.json",
    "shared-modules/gtk2/gtk2-common-themes.json",
    "shared-modules/dbus-glib/dbus-glib.json",
    "shared-modules/lua5.3/lua-5.3.5.json",
    "shared-modules/libcanberra/libcanberra.json",
    "python3-cffi.json",
    {
      "name": "lgi",
      "buildsystem": "meson",
      "sources": [
        {
          "type": "git",
          "url": "https://github.com/pavouk/lgi.git",
          "commit": "95418635aa8151a516d43166227ea2b9d4c4403f"
        }
      ]
    },
    {
      "name": "hexchat",
      "buildsystem": "meson",
      "config-opts": [
        "--buildtype=release",
        "-Ddbus-service-use-appid=true",
        "-Dwith-perl=false",
        "-Dwith-lua=lua"
      ],
      "build-options": {
        "cflags": "-Wno-error=missing-include-dirs"
      },
      "cleanup": [
        "/share/man"
      ],
      "post-install": [
        "install -d /app/extensions"
      ],
      "sources": [
        {
          "type": "dir",
          "path": ".."
        },
        {
          "type": "patch",
          "path": "Load-plugins-from-Flatpak-extensions.patch"
        }
      ]
    }
  ]
}