130 lines
3.1 KiB
JSON
130 lines
3.1 KiB
JSON
{
|
|
"name": "libappindicator",
|
|
"build-options": {
|
|
"cflags": "-Wno-error",
|
|
"make-args": [ "-j1" ]
|
|
},
|
|
"rm-configure": true,
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-gtk-doc",
|
|
"--disable-tests",
|
|
"--disable-mono-tests",
|
|
"--enable-introspection=yes",
|
|
"--with-gtk=3"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/lib/*.la",
|
|
"/share/gtk-doc",
|
|
"/share/gir-1.0"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz",
|
|
"sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "libappindicator-ftbfs.patch"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "libappindicator-no-python.patch"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "libappindicator-fix-crash-from-incorrect-signal-emission.patch"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "libappindicator-fix-crash-iterating-icon-themes.patch"
|
|
},
|
|
{
|
|
"type": "script",
|
|
"commands": ["autoreconf -sfi"],
|
|
"dest-filename": "autogen.sh"
|
|
}
|
|
],
|
|
"modules": [
|
|
"../intltool/intltool-0.51.json",
|
|
"../dbus-glib/dbus-glib.json",
|
|
{
|
|
"name": "libdbusmenu",
|
|
"build-options": {
|
|
"cflags": "-Wno-error",
|
|
"env": {
|
|
"HAVE_VALGRIND_FALSE": "#",
|
|
"HAVE_VALGRIND_TRUE": ""
|
|
}
|
|
},
|
|
"cleanup": [
|
|
"/include",
|
|
"/libexec",
|
|
"/lib/pkgconfig",
|
|
"/lib/*.la",
|
|
"/share/doc",
|
|
"/share/libdbusmenu",
|
|
"/share/gtk-doc",
|
|
"/share/gir-1.0"
|
|
],
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-gtk-doc",
|
|
"--enable-introspection=yes",
|
|
"--disable-vala",
|
|
"--disable-dumper",
|
|
"--disable-tests",
|
|
"--with-gtk=3"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz",
|
|
"sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libindicator",
|
|
"build-options": {
|
|
"cflags": "-Wno-error"
|
|
},
|
|
"cleanup": [
|
|
"/include",
|
|
"/libexec",
|
|
"/lib/pkgconfig",
|
|
"/lib/*.la",
|
|
"/share/libindicator",
|
|
"/share/gtk-doc",
|
|
"/share/gir-1.0"
|
|
],
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-tests",
|
|
"--with-gtk=3"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz",
|
|
"sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"# FTBFS fix",
|
|
"sed -e '/LIBINDICATOR_LIBS/ s/\\$LIBM/ $LIBM/' -i configure.ac"
|
|
]
|
|
},
|
|
{
|
|
"type": "script",
|
|
"commands": ["autoreconf -sfi"],
|
|
"dest-filename": "autogen.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|