3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/coriander/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, pkg-config
, glib
, gtk2
, libgnomeui
, libXv
, libraw1394
, libdc1394
, SDL
, automake
, GConf
}:
stdenv.mkDerivation rec {
pname = "coriander";
version = "2.0.1";
src = fetchurl {
url = "http://damien.douxchamps.net/ieee1394/coriander/archives/coriander-${version}.tar.gz";
sha256 = "0l6hpfgy5r4yardilmdrggsnn1fbfww516sk5a90g1740cd435x5";
};
# Workaround build failure on -fno-common toolchains:
# ld: subtitles.o:src/coriander.h:110: multiple definition of
# `main_window'; main.o:src/coriander.h:110: first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
preConfigure = ''
cp ${automake}/share/automake-*/mkinstalldirs .
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib gtk2 libgnomeui libXv libraw1394 libdc1394 SDL GConf ];
2021-01-15 05:42:41 +00:00
meta = {
homepage = "https://damien.douxchamps.net/ieee1394/coriander/";
description = "GUI for controlling a Digital Camera through the IEEE1394 bus";
2021-01-15 05:42:41 +00:00
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ viric ];
2021-01-15 05:42:41 +00:00
platforms = with lib.platforms; linux;
};
}