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",
|
|
|
|
"-Dtests=false",
|
|
|
|
"-Dbenchmarks=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",
|
2021-05-13 10:29:22 +00:00
|
|
|
"url": "https://boostorg.jfrog.io/artifactory/main/release/1.69.0/source/boost_1_69_0.tar.bz2",
|
2021-04-13 03:53:52 +00:00
|
|
|
"sha256": "8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"-Denable_vulkan=no",
|
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
|
|
|
}
|