mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
deepin.deepin-movie-reborn: 6.0.5 -> 6.0.10
This commit is contained in:
parent
363da5289e
commit
cca708d7c4
@ -32,28 +32,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-movie-reborn";
|
||||
version = "6.0.5";
|
||||
version = "6.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-dWN2IVVpwYwzEuLtT3JvhzKiBwaBq4lzmaEhA9S1hjE=";
|
||||
hash = "sha256-1UbrNufetedla8TMFPze1hP/R2cZN7SEYEtrK4/5/RQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./dont_use_libPath.diff
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/linuxdeepin/deepin-movie-reborn/pull/198
|
||||
substituteInPlace src/common/diskcheckthread.cpp \
|
||||
--replace "/usr/include/linux/cdrom.h" "linux/cdrom.h"
|
||||
# https://github.com/linuxdeepin/deepin-movie-reborn/pull/337
|
||||
substituteInPlace src/libdmr/playlist_model.cpp \
|
||||
--replace "DGuiApplicationHelper" "Dtk::Gui::DGuiApplicationHelper"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user