{ "app-id" : "edu.stanford.Almond", "runtime" : "org.gnome.Platform", "runtime-version" : "3.38", "sdk" : "org.gnome.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.node12" ], "command" : "/app/bin/edu.stanford.Almond", "tags" : [ "nightly" ], "finish-args" : [ "--share=ipc", "--socket=x11", "--socket=wayland", "--socket=pulseaudio", "--share=network", "--device=dri", "--filesystem=host", "--talk-name=ca.desrt.dconf", "--system-talk-name=org.bluez", "--talk-name=org.gtk.vfs.*", "--talk-name=org.gnome.SessionManager", "--talk-name=org.gnome.Shell", "--talk-name=org.gnome.Shell.Screenshot", "--talk-name=org.gnome.ScreenSaver", "--talk-name=org.freedesktop.secrets", "--talk-name=org.freedesktop.Flatpak", "--talk-name=org.freedesktop.Notifications" ], "cleanup" : [ "/include", "/lib/pkgconfig", "/share/pkgconfig", "/share/aclocal", "/lib/cmake", "/man", "/share/man", "/share/info", "/share/gtk-doc", "/share/vala", "/bin/npm", "/bin/antlr3", "/bin/pi", "/lib/yarn", "/bin/python2", "/bin/antlr3", "/share/java/antlr-3.4-complete.jar", "/bin/bazel", "/bin/yarn", "/bin/lfsc-checker", "/bin/compile_regexes", "/bin/t2p", "/bin/tclsh", "/bin/tclsh8.6", "/bin/sqlcipher", "/lib/tcl*", "/lib/libtcl*", "*.la", "*.a", "Makefile", "binding.gyp", "*.o", "*.d" ], "modules" : [ { "name" : "lapack", "buildsystem" : "cmake", "builddir" : true, "config-opts" : [ "-DBUILD_SHARED_LIBS=ON", "-DCBLAS=ON", "-DCMAKE_INSTALL_LIBDIR=lib" ], "sources" : [ { "type" : "archive", "url" : "http://www.netlib.org/lapack/lapack-3.8.0.tar.gz", "sha256" : "deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6" } ] }, { "name" : "node", "buildsystem" : "simple", "build-commands" : [ "install -Dm 755 /usr/lib/sdk/node12/bin/node /app/bin/node", "ln -s /usr/lib/sdk/node12/bin/python2 /app/bin/python2", "ln -sT /usr/lib/sdk/node12/lib/node_modules /app/lib/node_modules" ] }, { "name" : "tcl", "config-opts" : [], "post-install" : [ "chmod u+w /app/lib/libtcl8.6.so" ], "subdir" : "unix", "sources" : [ { "type" : "archive", "url" : "http://downloads.sourceforge.net/sourceforge/tcl/tcl-core8.6.8-src.tar.gz", "sha256" : "85d4279d647bb705813c6453fa78040d74753bf707547723b124276749fc077d" } ] }, { "name" : "sqlcipher", "config-opts" : [ "--enable-tempstore=yes", "--enable-releasemode", "--disable-static", "--disable-tcl", "--disable-readline" ], "rm-configure" : true, "build-options" : { "env" : { "CFLAGS" : "-g -O2 -DSQLITE_HAS_CODEC", "LDFLAGS" : "-lcrypto" } }, "sources" : [ { "type" : "archive", "url" : "https://github.com/sqlcipher/sqlcipher/archive/v4.4.0.tar.gz", "sha256" : "0924b2ae1079717954498bda78a30de20ce2a6083076b16214a711567821d148" }, { "type" : "script", "dest-filename" : "autogen.sh", "commands" : [ "AUTOMAKE=\"automake --foreign\" autoreconf -vfi" ] } ] }, { "name" : "intltool", "sources" : [ { "type" : "archive", "url" : "http://edge.launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz", "sha256" : "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" } ], "cleanup" : [ "/*" ] }, { "name" : "sound-theme-freedesktop", "sources" : [ { "type" : "archive", "url" : "http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2", "sha256" : "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" } ] }, { "name" : "libcanberra", "sources" : [ { "type" : "archive", "url" : "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz", "sha256" : "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72" } ] }, { "name" : "almond-gnome", "buildsystem" : "meson", "build-options" : { "env" : { "LDFLAGS" : "-L/app/lib -Wl,-z,relro,-z,now -Wl,--no-as-needed" } }, "sources" : [ { "type" : "git", "url" : "https://github.com/stanford-oval/almond-gnome" }, "build-data/npm.json" ] } ], "build-options" : { "env" : { "npm_config_nodedir" : "/usr/lib/sdk/node12", "npm_config_build_from_source" : "true", "npm_config_sqlite" : "/app", "npm_config_sqlite_libname" : "sqlcipher", "NPM" : "/usr/lib/sdk/node12/bin/npm", "ALMOND_SPAWN_SERVICE_MANUALLY" : "1" }, "append-path" : "/usr/lib/sdk/node12/bin" } }