mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
image-editor: 1.0.32 -> 1.0.35
This commit is contained in:
parent
1d57bf425c
commit
e59bf73880
@ -15,19 +15,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "image-editor";
|
||||
version = "1.0.32";
|
||||
version = "1.0.35";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-mA2pqWXa3i19jCymvUXnG6YUVezDSfRkHx2EoxAhnqU=";
|
||||
hash = "sha256-Xr4tueipQbRHyKLStTWeUcVbX7Baiz0YooaaVk65Y+U=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace libimageviewer/service/ffmpegvideothumbnailer.cpp \
|
||||
--replace 'libPath("libffmpegthumbnailer.so")' 'QString("${ffmpegthumbnailer.out}/lib/libffmpegthumbnailer.so")'
|
||||
|
||||
substituteInPlace libimageviewer/CMakeLists.txt --replace '/usr' '$out'
|
||||
substituteInPlace libimagevisualresult/CMakeLists.txt --replace '/usr' '$out'
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user