prismlauncher: include libusb1 as a runtime dependency (#256124)

* prismlauncher: include libusb1 as a runtime dependency

* prismlauncher: add meta.mainProgram attribute
This commit is contained in:
seth 2023-09-19 13:28:13 -04:00 committed by GitHub
parent 02798bd86d
commit ae4acddbb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,7 @@ rec {
dontWrapQtApps = true;
meta = with lib; {
mainProgram = "prismlauncher";
homepage = "https://prismlauncher.org/";
description = "A free, open source launcher for Minecraft";
longDescription = ''

View File

@ -17,10 +17,12 @@
, flite
, mesa-demos
, udev
, libusb1
, msaClientID ? null
, gamemodeSupport ? stdenv.isLinux
, textToSpeechSupport ? stdenv.isLinux
, controllerSupport ? stdenv.isLinux
, jdks ? [ jdk17 jdk8 ]
, additionalLibs ? [ ]
, additionalPrograms ? [ ]
@ -71,6 +73,7 @@ symlinkJoin {
]
++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite
++ lib.optional controllerSupport libusb1
++ additionalLibs;
runtimePrograms = [