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

107 lines
2.4 KiB
JSON

{
"name": "pygtk",
"config-opts": [
"--disable-docs"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz",
"sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8"
},
{
"type": "patch",
"path": "pygtk.patch"
},
{
"type": "shell",
"commands": [
"cp -p /usr/share/automake-*/config.{sub,guess} ."
]
}
],
"cleanup": [
"/bin",
"/include/pygtk-2.0",
"*.la",
"/lib/pkgconfig",
"/lib/pygtk",
"/share/gtk-doc",
"/share/pygtk"
],
"modules": [
{
"name": "python2-pycairo",
"buildsystem": "meson",
"config-opts": [
"-Dpython=python2"
],
"cleanup": [
"/include/pycairo",
"/lib/pkgconfig",
"/lib/python2.7/site-packages/cairo/include"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/pygobject/pycairo/releases/download/v1.18.2/pycairo-1.18.2.tar.gz",
"sha256": "dcb853fd020729516e8828ad364084e752327d4cff8505d20b13504b32b16531"
}
]
},
{
"name": "pygobject",
"config-opts": [
"--disable-glibtest"
],
"cleanup": [
"/bin",
"/include/pygtk-2.0",
"*.la",
"/lib/pkgconfig",
"/share/gtk-doc",
"/share/pygobject"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.7.tar.xz",
"sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
}
]
},
{
"name": "libglade",
"rm-configure": true,
"cleanup": [
"/bin",
"/include/libglade-2.0",
"*.a",
"*.la",
"/lib/pkgconfig",
"/share/gtk-doc",
"/share/xml/libglade"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.gz",
"sha256": "c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3"
},
{
"type": "shell",
"commands": [
"rm -f config.guess"
]
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
]
}
]
}