deepin-movie-reborn: init at 3.2.10 (#48651)

This commit is contained in:
José Romildo Malaquias 2018-10-18 06:36:14 -03:00 committed by xeji
parent 17685a4022
commit f12513b53e
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
dtkcore, dtkwidget, ffmpeg, ffmpegthumbnailer, mpv, pulseaudio,
libdvdnav, libdvdread, xorg }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "deepin-movie-reborn";
version = "3.2.10";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0lqmbvl9yyxgkiipd9r8mgmxl2sm34l3gr3hkwlc7r2l6kc32933";
};
nativeBuildInputs = [
cmake
pkgconfig
qttools
];
buildInputs = [
dtkcore
dtkwidget
ffmpeg
ffmpegthumbnailer
libdvdnav
libdvdread
mpv
pulseaudio
qtx11extras
xorg.libXdmcp
xorg.libXtst
xorg.libpthreadstubs
xorg.xcbproto
];
NIX_LDFLAGS = "-ldvdnav";
postPatch = ''
sed -i src/CMakeLists.txt -e "s,/usr/lib/dtk2,${dtkcore}/lib/dtk2,"
sed -i src/libdmr/libdmr.pc.in -e "s,/usr,$out," -e 's,libdir=''${prefix}/,libdir=,'
'';
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 ];
};
}

View File

@ -15,6 +15,7 @@ let
deepin-image-viewer = callPackage ./deepin-image-viewer { };
deepin-menu = callPackage ./deepin-menu { };
deepin-metacity = callPackage ./deepin-metacity { };
deepin-movie-reborn = callPackage ./deepin-movie-reborn { };
deepin-mutter = callPackage ./deepin-mutter { };
deepin-shortcut-viewer = callPackage ./deepin-shortcut-viewer { };
deepin-sound-theme = callPackage ./deepin-sound-theme { };