Merge pull request #89040 from romildo/upd.deepin-screenshot

deepin.deepin-screenshot: remove (has been archived upstream)
This commit is contained in:
José Romildo Malaquias 2020-05-28 09:30:14 -03:00 committed by GitHub
commit 6b227dd56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 76 deletions

View File

@ -41,7 +41,6 @@
pkgs.deepin.dde-session-ui
pkgs.deepin.deepin-anything
pkgs.deepin.deepin-image-viewer
pkgs.deepin.deepin-screenshot
];
services.dbus.packages = [
@ -55,7 +54,6 @@
pkgs.deepin.dde-session-ui
pkgs.deepin.deepin-anything
pkgs.deepin.deepin-image-viewer
pkgs.deepin.deepin-screenshot
];
systemd.packages = [

View File

@ -1,73 +0,0 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
, fetchpatch
, cmake
, pkgconfig
, xdg_utils
, qttools
, qtx11extras
, dtkcore
, dtkwidget
, dtkwm
, deepin-turbo
, deepin-shortcut-viewer
, deepin
}:
mkDerivation rec {
pname = "deepin-screenshot";
version = "5.0.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0h1kcf9i8q6rz4jhym3yf84zr6svzff0hh9sl7b24sflzkxx6zwk";
};
nativeBuildInputs = [
cmake
pkgconfig
qttools
deepin.setupHook
];
buildInputs = [
deepin-shortcut-viewer
deepin-turbo
dtkcore
dtkwidget
dtkwm
qtx11extras
];
patches = [
(fetchpatch {
url = "https://github.com/linuxdeepin/deepin-screenshot/pull/52/commits/e14508b223fd9965854ed41c944cea2ea19e6e0c.patch";
sha256 = "18zvz98z3hr8pcdyb706za6h2nwx23zsjb1hgyp21ycinhzr9j9h";
})
];
postPatch = ''
searchHardCodedPaths
patchShebangs generate_translations.sh
fixPath ${deepin-turbo} /usr/bin/deepin-turbo-invoker src/dbusservice/com.deepin.Screenshot.service
fixPath $out /usr/bin/deepin-screenshot src/dbusservice/com.deepin.Screenshot.service
substituteInPlace src/mainwindow.cpp --replace '"xdg-open,%1"' '"${xdg_utils}/bin/xdg-open,%1"'
'';
postFixup = ''
searchHardCodedPaths $out
'';
passthru.updateScript = deepin.updateScript { inherit pname version src; };
meta = with stdenv.lib; {
description = "Easy-to-use screenshot tool for Deepin Desktop Environment";
homepage = "https://github.com/linuxdeepin/deepin-screenshot";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo flokli ];
};
}

View File

@ -35,7 +35,6 @@ let
deepin-image-viewer = callPackage ./deepin-image-viewer { };
deepin-menu = callPackage ./deepin-menu { };
deepin-movie-reborn = callPackage ./deepin-movie-reborn { };
deepin-screenshot = callPackage ./deepin-screenshot { };
deepin-shortcut-viewer = callPackage ./deepin-shortcut-viewer { };
deepin-sound-theme = callPackage ./deepin-sound-theme { };
deepin-terminal = callPackage ./deepin-terminal {