-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: lrcget #312996
Comments
I tried packaging it , the following works (its gets installed properly) but when you run it it gets the error "failled to create framebuffer" or something along those lines. I think im missing some library {
stdenv,
lib,
dpkg,
fetchurl,
autoPatchelfHook,
glib-networking,
openssl,
webkitgtk,
wrapGAppsHook,
libsoundio,
x11Support ? true,
libX11,
}:
stdenv.mkDerivation rec {
name = "lrcget";
version = "0.3.2";
src = fetchurl {
url = "https://github.com/tranxuanthang/lrcget/releases/download/0.3.2/lrcget_0.3.2_ubuntu_22.04_amd64.deb";
sha256 = "sha256-+3ryA8mcK/F34wGVUKcx9QirfaV5/Px7rt3yekAA8N0=";
};
postFixup = lib.optionalString ((!stdenv.isDarwin) && x11Support) ''
# libX11.so is loaded dynamically so autopatch doesn't detect it
patchelf \
--add-needed ${libX11}/lib/libX11.so \
$out/bin/lrcget
'';
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
buildInputs = [
glib-networking
openssl
libsoundio
webkitgtk
wrapGAppsHook
];
unpackCmd = "dpkg-deb -x $curSrc source";
installPhase = "mv usr $out";
} EDIT:
❯ lrcget
** (lrcget:18182): WARNING **: 17:25:29.717: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing. |
@Celibistrial I'll take a look at what you have so far when I have a chance. thanks for taking a stab at it! |
@Celibistrial shouldn't we be compiling it and not downloading a binary? |
Yea, we should be compiling from source, but I used the deb binary to get things working quickly(or at least tried to). I'm not sure how write a derivation that compiles this from source, it seems to use npm and rust together? |
Project description
Utility for mass-downloading LRC synced lyrics for your offline music library.
LRCGET will scan every files in your chosen directory for music files, then and try to download lyrics to a LRC files having the same name and save them to the same directory as your music files.
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: