从预构建二进制文件(mono和gtk-sharp2项目)构建flatpak软件包

时间:2018-12-29 16:52:52

标签: build mono gtk# flatpak

我正在尝试用flatpak打包我的应用程序,目前我被卡住了:

  1. 如何确定运行时已安装在目标系统上?我需要单声道,gtk-sharp2,SFML,CSFML。我了解了基本的运行时,但是依赖项又如何呢?
  2. 如何运行该应用程序?我尝试过

    [sven @ localhost flatpak] $ flatpak-builder-运行build net.sourceforge.audiocuesheet.json / app / AudioCuesheetEditor /./ AudioCuesheetEditor

    bwrap:execvp/app/AudioCuesheetEditor/。/AudioCuesheetEditor:没有这样的文件或目录

有关该项目的更多信息:

net.sourceforge.audiocuesheet.json:

{
    "app-id": "net.sourceforge.audiocuesheet",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.26",
    "sdk": "org.gnome.Sdk",
    "command": "/AudioCuesheetEditor/AudioCuesheetEditor",
    "modules": [
        {
            "name": "AudioCuesheetEditor",
            "buildsystem": "simple",
            "build-commands": [
                "cp -r AudioCuesheetEditor /app/AudioCuesheetEditor",
                "chmod +x /app/AudioCuesheetEditor/AudioCuesheetEditor"
            ],
            "sources": [
                {
                    "type": "archive",
                    "path": "AudioCuesheetEditor-linux-x64-v2.4.2.zip",
                    "dest": "AudioCuesheetEditor"
                }
            ]
        }
    ]
}

如您所见,该存档具有预构建二进制文件,我希望将其部署到目标机器。如果我做对的话,我是Flatpak的新手,不是很熟,所以也许您的帮助会很完美。

谢谢 斯文

0 个答案:

没有答案