imagination: init at 3.6
This commit is contained in:
parent
fce0206462
commit
990a17bd02
45
pkgs/applications/video/imagination/default.nix
Normal file
45
pkgs/applications/video/imagination/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, docbook_xsl, ffmpeg-full, glib, gtk3
|
||||
, intltool, libxslt, pkg-config, sox, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "imagination";
|
||||
version = "3.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "139dgb9vfr2q7bxvjskykdz526xxwrn0bh463ir8m2p7rx5a3pw5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook_xsl
|
||||
intltool
|
||||
libxslt
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [ ffmpeg-full glib gtk3 sox ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace src/main-window.c \
|
||||
--replace 'gtk_icon_theme_load_icon(icon_theme,"image", 20, 0, NULL)' \
|
||||
'gtk_icon_theme_load_icon(icon_theme,"insert-image", 20, 0, NULL)' \
|
||||
--replace 'gtk_icon_theme_load_icon(icon_theme,"sound", 20, 0, NULL)' \
|
||||
'gtk_icon_theme_load_icon(icon_theme,"audio-x-generic", 20, 0, NULL)'
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg-full sox ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight and simple DVD slide show maker";
|
||||
homepage = "http://imagination.sourceforge.net";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -24578,6 +24578,8 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
|
||||
});
|
||||
|
||||
imagination = callPackage ../applications/video/imagination { };
|
||||
|
||||
inherit (nodePackages) imapnotify;
|
||||
|
||||
img2pdf = with python3Packages; toPythonApplication img2pdf;
|
||||
|
Loading…
Reference in New Issue
Block a user