2014-03-22 14:33:35 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, itstool, makeWrapper
|
2015-12-04 11:22:07 +00:00
|
|
|
, python3Packages, gst, gtk3, hicolor_icon_theme
|
2015-09-18 13:26:26 +01:00
|
|
|
, gobjectIntrospection, librsvg, gnome3, libnotify
|
2014-03-22 14:33:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2015-12-04 11:22:07 +00:00
|
|
|
version = "0.95";
|
2014-03-22 14:33:35 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "pitivi-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/pitivi/${version}/${name}.tar.xz";
|
2015-12-04 11:22:07 +00:00
|
|
|
sha256 = "04ykw619aikhxk5wj7z44pvwl52053d1kamcxpscw0ixrh5j45az";
|
2014-03-22 14:33:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Non-Linear video editor utilizing the power of GStreamer";
|
|
|
|
homepage = "http://pitivi.org/";
|
|
|
|
longDescription = ''
|
|
|
|
Pitivi is a video editor built upon the GStreamer Editing Services.
|
|
|
|
It aims to be an intuitive and flexible application
|
|
|
|
that can appeal to newbies and professionals alike.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool makeWrapper ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-12-04 11:22:07 +00:00
|
|
|
gobjectIntrospection gtk3 librsvg gnome3.gnome_desktop
|
2015-05-19 13:44:27 +01:00
|
|
|
gnome3.defaultIconTheme
|
2015-03-23 10:24:17 +00:00
|
|
|
gnome3.gsettings_desktop_schemas libnotify
|
2014-03-22 14:33:35 +00:00
|
|
|
] ++ (with gst; [
|
2015-09-18 13:26:26 +01:00
|
|
|
gstreamer gst-editing-services
|
2014-03-22 14:33:35 +00:00
|
|
|
gst-plugins-base gst-plugins-good
|
2015-12-04 11:22:07 +00:00
|
|
|
gst-plugins-bad gst-plugins-ugly gst-libav gst-validate
|
2015-09-18 13:26:26 +01:00
|
|
|
]) ++ (with python3Packages; [
|
2015-12-04 11:22:07 +00:00
|
|
|
python pygobject3 gst-python pyxdg numpy pycairo sqlite3 matplotlib
|
2014-03-22 14:33:35 +00:00
|
|
|
]);
|
|
|
|
|
2015-03-23 10:24:17 +00:00
|
|
|
preFixup = ''
|
2014-03-22 14:33:35 +00:00
|
|
|
wrapProgram "$out/bin/pitivi" \
|
|
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
2015-03-23 10:24:17 +00:00
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
2014-03-22 15:57:24 +00:00
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
2015-03-23 10:24:17 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-03-22 14:33:35 +00:00
|
|
|
'';
|
|
|
|
}
|