Finalize stremio-linux-shell package for master branch

This commit is contained in:
2026-05-11 21:17:19 -07:00
parent 9781815af6
commit f6d2edc037
2 changed files with 7 additions and 12 deletions
@@ -1,10 +1,11 @@
{
"sessionID": "ses_1e5e3566cffeYr3gZgqACwW0qm",
"updatedAt": "2026-05-12T03:42:20.568Z",
"updatedAt": "2026-05-12T04:17:16.514Z",
"sources": {
"background-task": {
"state": "idle",
"updatedAt": "2026-05-12T03:42:20.568Z"
"state": "active",
"reason": "1 background task(s) active",
"updatedAt": "2026-05-12T04:17:16.514Z"
}
}
}
+3 -9
View File
@@ -34,10 +34,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
src = src;
# Note: The cargo hash for this specific commit
cargoHash = "sha256-yqrPtvF59ii/UTHAcCa9DDqTe6czG722mxzCPB6UoG0=";
# Build instructions
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
@@ -60,13 +58,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
libsecret
];
# Environment variables
env.GETTEXT_DIR = "${src}/po";
env.GETTEXT_DOMAIN = "stremio";
env.SERVER_PATH = "\${out}/share/stremio/server.js";
env.LD_LIBRARY_PATH = lib.makeLibraryPath (finalAttrs.buildInputs ++ finalAttrs.nativeBuildInputs);
env.GETTEXT_DIR = "${src}/po";
env.GETTEXT_DOMAIN = "stremio";
env.SERVER_PATH = "\${out}/share/stremio/server.js";
# Post install steps
postInstall = ''
mkdir -p $out/share/applications
cp data/com.stremio.Stremio.desktop $out/share/applications/com.stremio.Stremio.desktop
@@ -83,7 +78,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
mkdir -p $out/share/stremio
cp data/server.js $out/share/stremio/server.js
# Rename the binary from stremio-linux-shell to stremio
mv $out/bin/stremio-linux-shell $out/bin/stremio
'';