flatpak/shared-modules/gtk2/gtk2.json
2024-03-07 20:28:57 -03:00

112 lines
2.9 KiB
JSON

{
"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"
}
]
}
]
}