Merge pull request #31521 from DeltaEvo/master
albert: 0.12.0 -> 0.14.7
This commit is contained in:
commit
72f4278780
@ -1,25 +1,30 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, makeWrapper, qtbase, qtsvg, qtx11extras, muparser, cmake }:
|
||||
{ mkDerivation, lib, fetchFromGitHub, makeWrapper, qtbase, qtdeclarative, qtsvg, qtx11extras, muparser,
|
||||
cmake, python3 }:
|
||||
|
||||
mkDerivation rec {
|
||||
name = "albert-${version}";
|
||||
version = "0.12.0";
|
||||
version = "0.14.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertlauncher";
|
||||
repo = "albert";
|
||||
rev = "v${version}";
|
||||
sha256 = "120l7hli2l4qj2s126nawc4dsy4qvwvb0svc42hijry4l8imdhkq";
|
||||
sha256 = "1ryjrbrbgignhkvsv4021l4am8ml7g8v4bs5cp5jj288k4p2rf4n";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
|
||||
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
||||
buildInputs = [ qtbase qtdeclarative qtsvg qtx11extras muparser python3 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# We don't have virtualbox sdk so disable plugin
|
||||
cmakeFlags = [ "-DBUILD_VIRTUALBOX=OFF" "-DCMAKE_INSTALL_LIBDIR=libs" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/QStringList dirs = {/a \"$out/lib\"," \
|
||||
src/lib/albert/src/albert/extensionmanager.cpp
|
||||
sed -i "/QStringList dirs = {/a \"$out/libs\"," \
|
||||
lib/albertcore/src/core/albert.cpp
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user