Commit adaa8dad authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

stopmotion: 0.8.5 -> 0.8.7

Upstream packaging changes:
* New upstream source URL
* qmake -> cmake
* libtar -> libarchive
parent 2bd2f80d
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -2,25 +2,26 @@
  lib,
  stdenv,
  fetchgit,
  cmake,
  pkg-config,
  qt5,
  libvorbis,
  libtar,
  libarchive,
  libxml2,
}:

stdenv.mkDerivation rec {
  version = "0.8.5";
  version = "0.8.7";
  pname = "stopmotion";

  src = fetchgit {
    url = "https://git.code.sf.net/p/linuxstopmotion/code";
    url = "https://invent.kde.org/multimedia/stopmotion";
    rev = version;
    sha256 = "1612lkwsfzc59wvdj2zbj5cwsyw66bwn31jrzjrxvygxdh4ab069";
    hash = "sha256-wqrB0mo7sI9ntWF9QlYmGiRiIoLkMzD+mQ6BzhbAKX8=";
  };

  nativeBuildInputs = [
    qt5.qmake
    cmake
    pkg-config
    qt5.wrapQtAppsHook
  ];
@@ -29,14 +30,10 @@ stdenv.mkDerivation rec {
    qt5.qttools
    qt5.qtmultimedia
    libvorbis
    libtar
    libarchive
    libxml2
  ];

  postPatch = ''
    substituteInPlace stopmotion.pro --replace '$$[QT_INSTALL_BINS]' '${lib.getDev qt5.qttools}/bin'
  '';

  meta = with lib; {
    description = "Create stop-motion animation movies";
    homepage = "http://linuxstopmotion.org/";