Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions archive_later/ags/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
]
}
Expand Down
6 changes: 6 additions & 0 deletions archive_later/ags/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/ares/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/ares/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/delta-patcher/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": []
Expand Down
6 changes: 6 additions & 0 deletions archive_later/delta-patcher/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/dosbox-x/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/dosbox-x/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/eden/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/eden/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/eka2l1/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/eka2l1/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/flycast/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": []
Expand Down
6 changes: 6 additions & 0 deletions archive_later/flycast/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/gargoyle/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/gargoyle/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/hypseus/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
]
},
Expand Down
6 changes: 6 additions & 0 deletions archive_later/hypseus/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

1 change: 1 addition & 0 deletions archive_later/ikemen-go/component_functions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/bin/bash
18 changes: 18 additions & 0 deletions archive_later/ikemen-go/component_launcher.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# Setting component name and path based on the directory name
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"

# Set LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$component_path/lib:$ffmpeg_path/25.08:$rd_shared_libs:${DEFAULT_LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${QT_PLUGIN_PATH}"
export QT_QPA_PLATFORM_PLUGIN_PATH="${QT_QPA_PLATFORM_PLUGIN_PATH}"

log i "RetroDECK is now launching $component_name"
log d "Library path is: $LD_LIBRARY_PATH"
log d "QT plugin path is: $QT_PLUGIN_PATH"
log d "QT QPA PLATFORM plugin path is: $QT_QPA_PLATFORM_PLUGIN_PATH"

# Launch
exec "$component_path/bin/ikeman-go" "$@"
5 changes: 5 additions & 0 deletions archive_later/ikemen-go/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": []
Expand Down
6 changes: 6 additions & 0 deletions archive_later/ikemen-go/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/kegs/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": []
Expand Down
6 changes: 6 additions & 0 deletions archive_later/kegs/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/lindbergh/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
6 changes: 6 additions & 0 deletions archive_later/lindbergh/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

1 change: 1 addition & 0 deletions archive_later/ludusavi/component_functions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/bin/bash
18 changes: 18 additions & 0 deletions archive_later/ludusavi/component_launcher.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# Setting component name and path based on the directory name
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"

# Set LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$component_path/lib:$ffmpeg_path/25.08:$rd_shared_libs:${DEFAULT_LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${QT_PLUGIN_PATH}"
export QT_QPA_PLATFORM_PLUGIN_PATH="${QT_QPA_PLATFORM_PLUGIN_PATH}"

log i "RetroDECK is now launching $component_name"
log d "Library path is: $LD_LIBRARY_PATH"
log d "QT plugin path is: $QT_PLUGIN_PATH"
log d "QT QPA PLATFORM plugin path is: $QT_QPA_PLATFORM_PLUGIN_PATH"

# Launch
exec "$component_path/bin/ludusavi" "$@"
11 changes: 11 additions & 0 deletions archive_later/ludusavi/component_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"ludusavi": {
"name": "Ludusavi",
"description": "Ludusavi is a system for backing up your video game data.",
"url_rdwiki": "https://retrodeck.readthedocs.io/en/latest/wiki_system_guides/ludusavi/ludusavi-guide/",
"url_source": "https://flathub.org/en/apps/com.github.mtkennerly.ludusavi",
"component_type": "System",
"system_friendly_name": "Ludusavi",
"system": "ludusavi"
}
}
11 changes: 11 additions & 0 deletions archive_later/ludusavi/component_prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# Setting component name and path based on the directory name
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
component_config="/app/retrodeck/components/$component_name/rd_config"

if [[ "$action" == "reset" ]]; then # Run reset-only commands

log i "----------------------"
log i "Preparing $component_name"
log i "----------------------"
42 changes: 41 additions & 1 deletion archive_later/ludusavi/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,48 @@
"assets": [
{
"type": "dir",
"source": "bin",
"source": "usr/bin",
"dest": "bin"
},
{
"type": "create",
"dest": "component_version",
"contents": "$SOURCE_VERSION"
},
{
"type": "dir",
"source": "$REPO_ROOT/$COMPONENT_NAME/rd_config",
"dest": "rd_config"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_functions.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_launcher.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_manifest.json",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_recipe.json",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": []
Expand Down
6 changes: 6 additions & 0 deletions archive_later/ludusavi/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/moonlight/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
{
"type": "dir",
"source": "lib/libdecor",
Expand Down
6 changes: 6 additions & 0 deletions archive_later/moonlight/component_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

#########################################################################
# These actions happen conditionally based on the version being upgraded
#########################################################################

5 changes: 5 additions & 0 deletions archive_later/mudlet/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
5 changes: 5 additions & 0 deletions archive_later/prism-launcher/component_recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
},
{
"type": "file",
"source": "$REPO_ROOT/$COMPONENT_NAME/component_update.sh",
"dest": "$COMPONENT_ARTIFACT_ROOT"
}
],
"libs": [
Expand Down
Loading
Loading