264 lines
8.3 KiB
JSON
264 lines
8.3 KiB
JSON
{
|
|
"app-id": "org.gnome.Software.Devel",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "gnome-software",
|
|
"tags": [
|
|
"devel",
|
|
"development",
|
|
"nightly"
|
|
],
|
|
"finish-args": [
|
|
"--device=dri",
|
|
"--share=ipc",
|
|
"--socket=x11",
|
|
"--socket=wayland",
|
|
"--socket=session-bus",
|
|
"--socket=system-bus",
|
|
"--filesystem=host",
|
|
"--share=network",
|
|
"--filesystem=xdg-run/dconf",
|
|
"--filesystem=~/.config/dconf:ro",
|
|
"--talk-name=ca.desrt.dconf",
|
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
|
|
"--filesystem=/var/lib/flatpak",
|
|
"--env=FLATPAK_SYSTEM_DIR=/var/lib/flatpak",
|
|
"--filesystem=xdg-data/flatpak",
|
|
"--filesystem=/usr/share/metainfo:ro",
|
|
"--filesystem=/usr/share/swcatalog:ro",
|
|
"--filesystem=/usr/share/appdata:ro",
|
|
"--filesystem=/usr/share/app-info:ro",
|
|
"--filesystem=/var/lib/swcatalog:ro",
|
|
"--filesystem=/var/lib/app-info:ro",
|
|
"--filesystem=/var/cache/swcatalog:ro",
|
|
"--filesystem=/var/cache/app-info:ro"
|
|
],
|
|
"build-options" : {
|
|
"env" : {
|
|
"MOUNT_FUSE_PATH" : "../tmp/"
|
|
}
|
|
},
|
|
"modules": [
|
|
{
|
|
"name": "libyaml",
|
|
"buildsystem": "autotools",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"--libdir=/app/lib"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/yaml/libyaml"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "lmdb",
|
|
"buildsystem": "simple",
|
|
"subdir": "libraries/liblmdb",
|
|
"build-commands": [
|
|
"make install prefix=/ DESTDIR=/app"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://git.openldap.org/openldap/openldap.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libxmlb",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dgtkdoc=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/hughsie/libxmlb.git",
|
|
"branch": "main"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "appstream",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dstemming=false",
|
|
"-Dapidocs=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/ximion/appstream.git",
|
|
"tag": "v1.0.4",
|
|
"commit": "ed3be6df027cbd5f9932f3569c5948e80ea19371"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "intltool",
|
|
"buildsystem": "autotools",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.gnome.org/sources/intltool/0.40/intltool-0.40.6.tar.bz2",
|
|
"sha256": "4d1e5f8561f09c958e303d4faa885079a5e173a61d28437d0013ff5efc9e3b64"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "libfuse",
|
|
"config-opts" : [
|
|
"UDEV_RULES_PATH=/app/etc/udev/rules.d",
|
|
"INIT_D_PATH=/app/etc/init.d"
|
|
],
|
|
"cleanup" : [
|
|
"/bin/ulockmgr_server"
|
|
],
|
|
"post-install" : [
|
|
"install -m a+rx fusermount-wrapper.sh /app/bin/fusermount"
|
|
],
|
|
"sources" : [
|
|
{
|
|
"type" : "archive",
|
|
"url" : "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz",
|
|
"sha256" : "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5"
|
|
},
|
|
{
|
|
"type" : "patch",
|
|
"path" : "fuse-2.9.2-namespace-conflict-fix.patch"
|
|
},
|
|
{
|
|
"type" : "patch",
|
|
"path" : "fuse-disable-sys-mount-under-flatpak.patch"
|
|
},
|
|
{
|
|
"type" : "patch",
|
|
"path" : "fuse-2.9.2-closefrom.patch"
|
|
},
|
|
{
|
|
"type" : "file",
|
|
"path" : "fusermount-wrapper.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ostree",
|
|
"buildsystem": "autotools",
|
|
"config-opts": [
|
|
"--disable-rofiles-fuse"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/ostreedev/ostree.git",
|
|
"branch": "main"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pyparsing",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --prefix=/app --no-deps ./pyparsing-*.whl"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl",
|
|
"sha256": "ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "libstemmer",
|
|
"buildsystem" : "cmake-ninja",
|
|
"config-opts" : [
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
|
|
"-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib"
|
|
],
|
|
"sources" : [
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/zvelo/libstemmer",
|
|
"branch" : "master"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "flatpak",
|
|
"buildsystem" : "meson",
|
|
"config-opts" : [
|
|
"-Ddocbook_docs=disabled",
|
|
"-Dseccomp=disabled",
|
|
"-Dsandboxed_triggers=false",
|
|
"-Dsystem_helper=disabled",
|
|
"-Dsystem_install_dir=/var/lib/flatpak",
|
|
"--sysconfdir=/var/run/host/etc",
|
|
"-Dman=disabled",
|
|
"-Dhttp_backend=curl",
|
|
"-Dsystemd=disabled",
|
|
"-Dtests=false"
|
|
],
|
|
"cleanup" : [
|
|
"/bin/flatpak-bisect",
|
|
"/bin/flatpak-coredumpctl",
|
|
"/etc/profile.d",
|
|
"/lib/systemd",
|
|
"/share/dbus-1/interfaces/org.freedesktop.*",
|
|
"/share/dbus-1/services/org.freedesktop.*",
|
|
"/share/flatpak/triggers",
|
|
"/share/gdm",
|
|
"/share/zsh"
|
|
],
|
|
"post-install" : [
|
|
"cp /usr/bin/update-mime-database /app/bin",
|
|
"cp /usr/bin/update-desktop-database /app/bin"
|
|
],
|
|
"sources" : [
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/flatpak/flatpak.git",
|
|
"tag" : "1.15.6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libglib-testing",
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/pwithnall/libglib-testing.git",
|
|
"tag": "0.1.1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"name": "gnome-software",
|
|
"config-opts": [
|
|
"--libdir=/app/lib",
|
|
"-Dpackagekit=false",
|
|
"-Dpackagekit_autoremove=false",
|
|
"-Dpolkit=false",
|
|
"-Dfwupd=false",
|
|
"-Dflatpak=true",
|
|
"-Dmalcontent=false",
|
|
"-Dgudev=false",
|
|
"-Dgtk_doc=false",
|
|
"-Dprofile=Devel"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|