albert: 0.23.0 -> 0.24.1

This commit is contained in:
eljamm 2024-06-28 21:10:15 +01:00
parent 376eacd832
commit bc3de68a78
No known key found for this signature in database
GPG Key ID: 7630FDF7C8FB1F3F

View File

@ -21,13 +21,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "albert";
version = "0.23.0";
version = "0.24.1";
src = fetchFromGitHub {
owner = "albertlauncher";
repo = "albert";
rev = "v${finalAttrs.version}";
sha256 = "sha256-L6qHaksArgwySk6J7N5zamUDWh5qa6zTtPFdpxU2NTM=";
sha256 = "sha256-vlap8gTZYoQS70Co99bZ16Fv9eq1N3rH7skjwrLDWiM=";
fetchSubmodules = true;
};
@ -58,8 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \;
sed -i src/qtpluginprovider.cpp \
-e "/QStringList dirs = {/a QFileInfo(\"$out/lib\").canonicalFilePath(),"
# WARN: This is necessary for albert to detect the package libraries.
# Please check if the file below has changed upstream before updating.
sed -i src/app/qtpluginprovider.cpp \
-e "/QStringList install_paths;/a install_paths << QFileInfo(\"$out/lib\").canonicalFilePath();"
'';
postFixup = ''