deepin-album: 5.10.9 -> 6.0.2
This commit is contained in:
parent
eed4e1692c
commit
35ae005d22
@ -6,39 +6,29 @@
|
||||
, qttools
|
||||
, wrapQtAppsHook
|
||||
, dtkwidget
|
||||
, dtkdeclarative
|
||||
, qt5integration
|
||||
, qt5platform-plugins
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, udisks2-qt5
|
||||
, gio-qt
|
||||
, image-editor
|
||||
, glibmm
|
||||
, freeimage
|
||||
, opencv
|
||||
, ffmpeg
|
||||
, ffmpegthumbnailer
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-album";
|
||||
version = "5.10.9";
|
||||
version = "6.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-S/oVRD72dtpnvfGV6YfN5/syrmWA44H/1BbmAe0xjAY=";
|
||||
hash = "sha256-kRQiH6LvXDpQOgBQiFHM+YQzQFSupOj98aEPbcUumZ8=";
|
||||
};
|
||||
|
||||
# This patch should be removed after upgrading to 6.0.0
|
||||
postPatch = ''
|
||||
substituteInPlace libUnionImage/CMakeLists.txt \
|
||||
--replace "/usr" "$out"
|
||||
substituteInPlace src/CMakeLists.txt \
|
||||
--replace "/usr" "$out"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
@ -48,16 +38,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
dtkwidget
|
||||
dtkdeclarative
|
||||
qt5integration
|
||||
qt5platform-plugins
|
||||
qtbase
|
||||
qtsvg
|
||||
udisks2-qt5
|
||||
gio-qt
|
||||
image-editor
|
||||
glibmm
|
||||
freeimage
|
||||
opencv
|
||||
ffmpeg
|
||||
ffmpegthumbnailer
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user