-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flatpak manifests and only check for OBS when builing plugin (#49)
- Loading branch information
Showing
3 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
dist/flatpak/com.obsproject.Studio.Plugin.VkCapture.metainfo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="addon"> | ||
<id>com.obsproject.Studio.Plugin.VkCapture</id> | ||
<extends>com.obsproject.Studio</extends> | ||
<name>OBS Vulkan/OpenGL Capture</name> | ||
<summary>OBS Linux Vulkan/OpenGL game capture</summary> | ||
<url type="homepage">https://github.com/nowrep/obs-vkcapture</url> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-2.0</project_license> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
id: com.obsproject.Studio.Plugin.VkCapture | ||
branch: stable | ||
runtime: com.obsproject.Studio | ||
runtime-version: stable | ||
sdk: org.kde.Sdk//5.15-21.08 | ||
build-extension: true | ||
separate-locales: false | ||
appstream-compose: false | ||
build-options: | ||
prefix: /app/plugins/VkCapture | ||
modules: | ||
- name: VkCapture | ||
buildsystem: cmake-ninja | ||
config-opts: | ||
- -DCMAKE_BUILD_TYPE=Release | ||
- -DLIBOBS_INCLUDE_DIR=/app/include/obs | ||
post-install: | ||
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo ${FLATPAK_ID}.metainfo.xml | ||
- appstream-compose --basename=${FLATPAK_ID} --prefix=${FLATPAK_DEST} --origin=flatpak ${FLATPAK_ID} | ||
cleanup: | ||
- '/bin' | ||
sources: | ||
- type: git | ||
url: https://github.com/nowrep/obs-vkcapture.git | ||
tag: v1.1 | ||
- type: file | ||
path: com.obsproject.Studio.Plugin.VkCapture.metainfo.xml |