summaryrefslogtreecommitdiff
path: root/subprojects/shared-modules/gtk2/gtk2.json
blob: bfca223a588d65b51ca1c85e24521d80bda914bf (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
  "name": "gnome-themes-extra",
  "rm-configure": true,
  "config-opts": [
    "--disable-dependency-tracking",
    "--disable-gtk3-engine"
  ],
  "cleanup": [
    "/share/themes/Adwaita/gtk-3.0",
    "/share/themes/Adwaita-dark/gtk-3.0",
    "/share/themes/HighContrast/gtk-3.0",
    "*.la"
  ],
  "sources": [
    {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gnome-themes-extra/3.28/gnome-themes-extra-3.28.tar.xz",
      "sha256": "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819"
    },
    {
      "type": "shell",
      "//": "We want to avoid generating icons as its 99% of the build time and gnome runtime has it",
      "commands": [
        "sed -i 's/icons//' themes/HighContrast/Makefile.am"
      ]
    },
    {
      "type": "script",
      "commands": [
        "autoreconf -fsi"
      ]
    }
  ],
  "modules": [
    "../intltool/intltool-0.51.json",
    {
      "name": "gtk2",
      "cleanup": [
        "/bin",
        "/share/gtk-2.0",
        "/share/aclocal",
        "/share/gtk-doc",
        "/lib/pkgconfig",
        "/lib/gtk-2.0/include",
        "/include",
        "*.la"
      ],
      "x-cpe": {
        "product": "gtk+"
      },
      "config-opts": [
        "--disable-dependency-tracking",
        "--disable-gtk-doc-html",
        "--disable-introspection",
        "--with-xinput=xfree"
      ],
      "sources": [
        {
          "type": "archive",
          "url": "https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.33.tar.xz",
          "sha256": "ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da"
        },
        {
          "type": "patch",
          "path": "gtk2-use-adwaita-theme.patch"
        },
        {
          "type": "patch",
          "path": "gtk2-fix-crash-in-show-uri.patch"
        }
      ]
    },
    {
      "name": "ibus-gtk2",
      "config-opts": [
        "--disable-xim",
        "--disable-dconf",
        "--disable-gconf",
        "--disable-memconf",
        "--disable-schemas-compile",
        "--disable-schemas-install",
        "--disable-gtk3",
        "--disable-setup",
        "--disable-ui",
        "--disable-engine",
        "--disable-python-library",
        "--disable-libnotify",
        "--disable-emoji-dict",
        "--disable-appindicator",
        "--disable-glibtest",
        "--disable-tests",
        "--disable-unicode-dict",
        "--disable-introspection",
        "--disable-python2"
      ],
      "make-install-args": [
        "-C", "client/gtk2"
      ],
      "post-install": [
        "gtk-query-immodules-2.0 > immodules.cache",
        "install immodules.cache -t $(pkg-config --variable=libdir gtk+-2.0)/gtk-2.0/2.10.0/"
      ],
      "sources": [
        {
          "type": "archive",
          "url": "https://github.com/ibus/ibus/releases/download/1.5.23/ibus-1.5.23.tar.gz",
          "sha256": "b7e8d5bdb7d71a5ba4ee43cdf374675f77121a71c1679c9b9e7e02875bd0e150"
        }
      ]
    }
  ]
}