2018-03-20 16:07:38 +00:00
|
|
|
{
|
2020-08-10 13:10:12 +00:00
|
|
|
"app-id" : "org.gtk.Demo4",
|
|
|
|
"runtime" : "org.gnome.Platform",
|
|
|
|
"runtime-version" : "master",
|
|
|
|
"sdk" : "org.gnome.Sdk",
|
|
|
|
"command" : "gtk4-demo",
|
|
|
|
"tags" : [
|
|
|
|
"devel",
|
|
|
|
"development",
|
|
|
|
"nightly"
|
|
|
|
],
|
|
|
|
"desktop-file-name-prefix" : "(Development) ",
|
|
|
|
"finish-args" : [
|
2018-03-20 16:07:38 +00:00
|
|
|
"--device=dri",
|
|
|
|
"--share=ipc",
|
2019-04-02 00:28:30 +00:00
|
|
|
"--socket=fallback-x11",
|
2018-03-20 16:07:38 +00:00
|
|
|
"--socket=wayland",
|
2020-08-10 13:10:12 +00:00
|
|
|
"--talk-name=org.gtk.vfs",
|
|
|
|
"--talk-name=org.gtk.vfs.*"
|
2018-03-20 16:07:38 +00:00
|
|
|
],
|
2020-08-10 13:10:12 +00:00
|
|
|
"cleanup" : [
|
2018-03-20 16:07:38 +00:00
|
|
|
"/include",
|
2020-08-10 13:10:12 +00:00
|
|
|
"/lib/pkgconfig",
|
|
|
|
"/share/pkgconfig",
|
2018-03-20 16:07:38 +00:00
|
|
|
"/share/aclocal",
|
2020-08-10 13:10:12 +00:00
|
|
|
"/man",
|
|
|
|
"/share/man",
|
|
|
|
"/share/gtk-doc",
|
|
|
|
"*.la",
|
|
|
|
".a",
|
2018-03-20 16:07:38 +00:00
|
|
|
"/lib/girepository-1.0",
|
|
|
|
"/share/gir-1.0",
|
|
|
|
"/share/doc"
|
|
|
|
],
|
2020-08-10 13:10:12 +00:00
|
|
|
"modules" : [
|
2018-04-15 21:45:45 +00:00
|
|
|
{
|
|
|
|
"name" : "wayland",
|
2021-03-05 20:06:20 +00:00
|
|
|
"buildsystem" : "meson",
|
2018-04-15 21:45:45 +00:00
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
2021-03-05 20:06:20 +00:00
|
|
|
"-Ddocumentation=false"
|
2018-04-15 21:45:45 +00:00
|
|
|
],
|
|
|
|
"sources" : [
|
|
|
|
{
|
|
|
|
"type" : "git",
|
2022-01-28 01:25:04 +00:00
|
|
|
"url" : "https://gitlab.freedesktop.org/wayland/wayland.git",
|
|
|
|
"branch" : "main"
|
2018-04-15 21:45:45 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-03-20 16:07:38 +00:00
|
|
|
{
|
2020-08-10 13:10:12 +00:00
|
|
|
"name" : "graphene",
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
2018-05-08 08:49:27 +00:00
|
|
|
"--libdir=/app/lib",
|
2022-07-11 16:11:24 +00:00
|
|
|
"-Dtests=false"
|
2018-03-20 16:07:38 +00:00
|
|
|
],
|
2020-08-10 13:10:12 +00:00
|
|
|
"sources" : [
|
2018-03-20 16:07:38 +00:00
|
|
|
{
|
2020-08-10 13:10:12 +00:00
|
|
|
"type" : "git",
|
|
|
|
"url" : "https://github.com/ebassi/graphene.git"
|
2018-03-20 16:07:38 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-06 21:00:03 +00:00
|
|
|
{
|
|
|
|
"name" : "libsass",
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
|
|
|
"--libdir=/app/lib"
|
|
|
|
],
|
|
|
|
"sources" : [
|
|
|
|
{
|
|
|
|
"type" : "git",
|
|
|
|
"url" : "https://github.com/lazka/libsass.git",
|
|
|
|
"branch" : "meson"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name" : "sassc",
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
|
|
|
"--libdir=/app/lib"
|
|
|
|
],
|
|
|
|
"sources" : [
|
|
|
|
{
|
|
|
|
"type" : "git",
|
|
|
|
"url" : "https://github.com/lazka/sassc.git",
|
|
|
|
"branch" : "meson"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-04-13 03:53:52 +00:00
|
|
|
{
|
|
|
|
"name": "boost",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"./bootstrap.sh --prefix=/app --with-libraries=date_time,filesystem,iostreams,locale,regex,system,thread,python,program_options,test,serialization",
|
|
|
|
"./b2 --build-type=minimal link=shared -j $FLATPAK_BUILDER_N_JOBS",
|
|
|
|
"./b2 --build-type=minimal link=shared install"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2022-07-11 16:11:59 +00:00
|
|
|
"url": "https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.bz2",
|
|
|
|
"sha256": "475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39"
|
2021-04-13 03:53:52 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "lua-5.1",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_USE_LINUX\" linux",
|
|
|
|
"make INSTALL_TOP=$FLATPAK_DEST TO_LIB='liblua.a liblua.so.5.1.5' install",
|
|
|
|
"ln -sf liblua.so.5.1.5 $FLATPAK_DEST/lib/liblua.so",
|
|
|
|
"ln -sf liblua.so.5.1.5 $FLATPAK_DEST/lib/liblua.so.5.1",
|
|
|
|
"install -Dm0644 etc/lua.pc $FLATPAK_DEST/lib/pkgconfig/lua.pc",
|
|
|
|
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua51.pc",
|
|
|
|
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua5.1.pc",
|
|
|
|
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua-5.1.pc"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://www.lua.org/ftp/lua-5.1.5.tar.gz",
|
|
|
|
"sha256": "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "patch",
|
|
|
|
"path": "lua-5.1.5-so.patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"commands": [
|
|
|
|
"sed -i \"s|/usr/local|$FLATPAK_DEST|\" etc/lua.pc src/luaconf.h"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"*.a",
|
|
|
|
"/bin",
|
|
|
|
"/include",
|
|
|
|
"/lib/pkgconfig",
|
|
|
|
"/man"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name" : "highlight",
|
|
|
|
"buildsystem" : "simple",
|
|
|
|
"builddir" : true,
|
|
|
|
"build-commands" : [
|
|
|
|
"sed -i -e 's#^PREFIX = /usr#PREFIX = /app#' makefile",
|
|
|
|
"make",
|
|
|
|
"make install"
|
|
|
|
],
|
|
|
|
"sources" : [
|
|
|
|
{
|
|
|
|
"type" : "archive",
|
|
|
|
"url" : "http://www.andre-simon.de/zip/highlight-4.0.tar.bz2",
|
|
|
|
"sha256" : "f40dcba26e011a2c67df874f4d9b0238c2c6b065163ce8de3d8371b9dfce864d"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-11-09 20:25:48 +00:00
|
|
|
{
|
|
|
|
"name" : "pango",
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
|
|
|
"--libdir=/app/lib"
|
|
|
|
],
|
|
|
|
"sources" : [
|
|
|
|
{
|
|
|
|
"type" : "git",
|
|
|
|
"url" : "https://gitlab.gnome.org/GNOME/pango.git",
|
|
|
|
"branch" : "main"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-03-20 16:07:38 +00:00
|
|
|
{
|
2020-08-10 13:10:12 +00:00
|
|
|
"name" : "gtk",
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
"builddir" : true,
|
|
|
|
"config-opts" : [
|
|
|
|
"--libdir=/app/lib",
|
2022-07-11 16:08:47 +00:00
|
|
|
"-Dvulkan=disabled",
|
2021-02-12 05:10:30 +00:00
|
|
|
"-Dbuildtype=debugoptimized",
|
|
|
|
"-Dprofile=devel"
|
2018-03-20 16:07:38 +00:00
|
|
|
],
|
2020-08-10 13:10:12 +00:00
|
|
|
"sources" : [
|
2018-03-20 16:07:38 +00:00
|
|
|
{
|
2020-08-10 13:10:12 +00:00
|
|
|
"type" : "git",
|
2021-11-29 22:37:49 +00:00
|
|
|
"url" : "https://gitlab.gnome.org/GNOME/gtk.git",
|
|
|
|
"branch" : "main"
|
2018-03-20 16:07:38 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2020-08-10 13:10:12 +00:00
|
|
|
],
|
|
|
|
"build-options" : {
|
|
|
|
"env" : {
|
|
|
|
"GSK_RENDERER" : "opengl"
|
|
|
|
}
|
|
|
|
}
|
2018-03-20 16:07:38 +00:00
|
|
|
}
|