Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Add org.freedesktop.Sdk.Tools extension point #105

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions org.freedesktop.Sdk.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
"directory": "lib/sdk",
"no-autodownload": true
},
"org.freedesktop.Sdk.Tools": {
"directory": "bin/sdk",
"subdirectories": true,
"no-autodownload": true,
"autodelete": true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think setting autodelete is right. That means any runtime using this extension will remove all the tools when you uninstall it, but multiple runtimes may use these extensions.

},
"org.freedesktop.Platform.VAAPI.Intel" : {
"directory": "lib/dri/intel-vaapi-driver",
"autodelete": false,
Expand All @@ -76,6 +82,7 @@
"*.la", "*.a"],
"cleanup-commands": [ "for i in /usr/lib/*.a; do cp $i $i.tmp; strip -g $i.tmp; mv $i.tmp $i; done",
"mkdir -p /usr/lib/sdk",
"mkdir -p /usr/bin/sdk",
"mkdir -p /usr/lib/GL",
"mkdir -p /usr/lib/debug",
"mkdir -p /usr/lib/ffmpeg",
Expand Down