manifest: build our own ffmpeg ...

... the one in Flatpak is too broken to be usable in yuzu
This commit is contained in:
liushuyu 2021-12-03 19:10:29 -07:00
parent 52475710a3
commit a563aa5960
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -5,14 +5,6 @@
"sdk": "org.kde.Sdk",
"base": "io.qt.qtwebengine.BaseApp",
"base-version": "5.15-21.08",
"add-extensions": {
"org.freedesktop.Platform.ffmpeg-full": {
"directory": "lib/ffmpeg",
"version": "21.08",
"add-ld-path": ".",
"no-autodownload": false
}
},
"command": "yuzu",
"rename-desktop-file": "yuzu.desktop",
"rename-icon": "yuzu",
@ -180,6 +172,24 @@
}
]
},
{
"name": "nv-codec-headers",
"make-install-args": ["PREFIX=/app"],
"no-autogen": true,
"cleanup": ["*"],
"sources": [
{
"type": "git",
"url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git",
"tag": "n11.1.5.0",
"commit": "b641a195edbe3ac9788e681e22c2e2fad8aacddb",
"x-checker-data": {
"type": "git",
"tag-pattern": "^n([\\d.]+)$"
}
}
]
},
{
"name": "yuzu",
"buildsystem": "cmake-ninja",
@ -190,6 +200,7 @@
"-DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON",
"-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON",
"-DYUZU_USE_QT_WEB_ENGINE=ON",
"-DYUZU_USE_BUNDLED_FFMPEG=ON",
"-DDISPLAY_VERSION=846",
"-DBUILD_TAG=mainline-846",
"-DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline"
@ -206,7 +217,6 @@
"/share/pixmaps"
],
"post-install": [
"mkdir -p /app/lib/ffmpeg",
"install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml /app/share/appdata/org.yuzu_emu.yuzu.metainfo.xml",
"desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop",
"desktop-file-edit --set-key StartupWMClass --set-value yuzu /app/share/applications/yuzu.desktop",
@ -237,4 +247,4 @@
]
}
]
}
}