lol

deepin-album: init at 5.10.9

authored by

rewine and committed by
rewine
98d5b0c3 ac500cdd

+78
+77
pkgs/desktops/deepin/apps/deepin-album/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , qttools 7 + , wrapQtAppsHook 8 + , dtkwidget 9 + , qt5integration 10 + , qt5platform-plugins 11 + , udisks2-qt5 12 + , gio-qt 13 + , image-editor 14 + , glibmm 15 + , freeimage 16 + , opencv 17 + , ffmpeg 18 + , ffmpegthumbnailer 19 + , qtbase 20 + }: 21 + 22 + stdenv.mkDerivation rec { 23 + pname = "deepin-album"; 24 + version = "5.10.9"; 25 + 26 + src = fetchFromGitHub { 27 + owner = "linuxdeepin"; 28 + repo = pname; 29 + rev = version; 30 + sha256 = "sha256-S/oVRD72dtpnvfGV6YfN5/syrmWA44H/1BbmAe0xjAY="; 31 + }; 32 + 33 + # This patch should be removed after upgrading to 6.0.0 34 + postPatch = '' 35 + substituteInPlace libUnionImage/CMakeLists.txt \ 36 + --replace "/usr" "$out" 37 + substituteInPlace src/CMakeLists.txt \ 38 + --replace "set(PREFIX /usr)" "set(PREFIX $out)" \ 39 + --replace "/usr/bin" "$out/bin" \ 40 + --replace "/usr/share/deepin-manual/manual-assets/application/)" "share/deepin-manual/manual-assets/application/)" 41 + ''; 42 + 43 + nativeBuildInputs = [ 44 + cmake 45 + pkg-config 46 + qttools 47 + wrapQtAppsHook 48 + ]; 49 + 50 + buildInputs = [ 51 + dtkwidget 52 + qt5platform-plugins 53 + udisks2-qt5 54 + gio-qt 55 + image-editor 56 + glibmm 57 + freeimage 58 + opencv 59 + ffmpeg 60 + ffmpegthumbnailer 61 + ]; 62 + 63 + # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 64 + qtWrapperArgs = [ 65 + "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" 66 + ]; 67 + 68 + cmakeFlags = [ "-DVERSION=${version}" ]; 69 + 70 + meta = with lib; { 71 + description = "A fashion photo manager for viewing and organizing pictures"; 72 + homepage = "https://github.com/linuxdeepin/deepin-album"; 73 + license = licenses.gpl3Plus; 74 + platforms = platforms.linux; 75 + maintainers = teams.deepin.members; 76 + }; 77 + }
+1
pkgs/desktops/deepin/default.nix
··· 21 21 udisks2-qt5 = callPackage ./library/udisks2-qt5 { }; 22 22 23 23 #### Dtk Application 24 + deepin-album = callPackage ./apps/deepin-album { }; 24 25 deepin-calculator = callPackage ./apps/deepin-calculator { }; 25 26 deepin-compressor = callPackage ./apps/deepin-compressor { }; 26 27 deepin-draw = callPackage ./apps/deepin-draw { };