aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix85
1 files changed, 0 insertions, 85 deletions
diff --git a/nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix b/nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
deleted file mode 100644
index 6763292b626..00000000000
--- a/nixpkgs/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
+++ /dev/null
@@ -1,85 +0,0 @@
-{ stdenv
-, mkDerivation
-, fetchFromGitHub
-, fetchpatch
-, cmake
-, pkgconfig
-, qttools
-, qtx11extras
-, dtkcore
-, dtkwidget
-, ffmpeg
-, ffmpegthumbnailer
-, mpv
-, pulseaudio
-, libdvdnav
-, libdvdread
-, xorg
-, deepin
-}:
-
-mkDerivation rec {
- pname = "deepin-movie-reborn";
- version = "5.0.0";
-
- src = fetchFromGitHub {
- owner = "linuxdeepin";
- repo = pname;
- rev = version;
- sha256 = "0cly8q0514a58s3h3wsvx9yxar7flz6i2q8xkrkfjias22b3z7b0";
- };
-
- outputs = [ "out" "dev" ];
-
- nativeBuildInputs = [
- cmake
- pkgconfig
- qttools
- deepin.setupHook
- ];
-
- buildInputs = [
- dtkcore
- dtkwidget
- ffmpeg
- ffmpegthumbnailer
- libdvdnav
- libdvdread
- mpv
- pulseaudio
- qtx11extras
- xorg.libXdmcp
- xorg.libXtst
- xorg.libpthreadstubs
- xorg.xcbproto
- ];
-
- patches = [
- # fix: build failed if cannot find dtk-settings tool
- (fetchpatch {
- url = "https://github.com/linuxdeepin/deepin-movie-reborn/commit/fbb307b.patch";
- sha256 = "0915za0khki0729rvcfpxkh6vxhqwc47cgcmjc90kfq1004221vx";
- })
- ];
-
- NIX_LDFLAGS = "-ldvdnav";
-
- postPatch = ''
- searchHardCodedPaths # debugging
-
- sed -i src/libdmr/libdmr.pc.in -e "s,/usr,$out," -e 's,libdir=''${prefix}/,libdir=,'
-
- substituteInPlace src/deepin-movie.desktop \
- --replace "Exec=deepin-movie" "Exec=$out/bin/deepin-movie"
- '';
-
- passthru.updateScript = deepin.updateScript { inherit pname version src; };
-
- meta = with stdenv.lib; {
- description = "Deepin movie player";
- homepage = "https://github.com/linuxdeepin/deepin-movie-reborn";
- license = licenses.gpl3;
- platforms = platforms.linux;
- maintainers = with maintainers; [ romildo ];
- };
-}