2016-07-25 04:05:55 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, itstool, wrapGAppsHook
|
2018-02-25 02:23:58 +00:00
|
|
|
, python3Packages, gst, gtk3, hicolor-icon-theme
|
2015-09-18 12:26:26 +00:00
|
|
|
, gobjectIntrospection, librsvg, gnome3, libnotify
|
2016-07-25 04:05:55 +00:00
|
|
|
# for gst-transcoder:
|
|
|
|
, which, meson, ninja
|
2014-03-22 14:33:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2016-07-25 04:05:55 +00:00
|
|
|
version = "0.96";
|
|
|
|
|
|
|
|
# gst-transcoder will eventually be merged with gstreamer (according to
|
|
|
|
# gst-transcoder 1.8.0 release notes). For now the only user is pitivi so we
|
|
|
|
# don't bother exposing the package to all of nixpkgs.
|
|
|
|
gst-transcoder = stdenv.mkDerivation rec {
|
|
|
|
name = "gst-transcoder-1.8.0";
|
|
|
|
src = fetchurl {
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
url = "https://github.com/pitivi/gst-transcoder/archive/1.8.0.tar.gz";
|
|
|
|
sha256 = "0iggr6idmp7cmfsf6pkhfl3jq1bkga37jl5prbcl1zapkzi26fg6";
|
|
|
|
};
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ which meson ninja gobjectIntrospection ]
|
2016-07-25 04:05:55 +00:00
|
|
|
++ (with gst; [ gstreamer gst-plugins-base ]);
|
|
|
|
};
|
|
|
|
|
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";
|
2016-07-25 04:05:55 +00:00
|
|
|
sha256 = "115d37mvi32yds8gqj2yidkk6pap7szavhjf2hw0388ynydlc2zs";
|
2014-03-22 14:33:35 +00:00
|
|
|
};
|
|
|
|
|
2016-07-25 04:05:55 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ];
|
2014-03-22 14:33:35 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
gobjectIntrospection gtk3 librsvg gnome3.gnome-desktop
|
2015-05-19 12:44:27 +00:00
|
|
|
gnome3.defaultIconTheme
|
2018-02-25 02:23:58 +00:00
|
|
|
gnome3.gsettings-desktop-schemas libnotify
|
2016-07-25 04:05:55 +00:00
|
|
|
gst-transcoder
|
2014-03-22 14:33:35 +00:00
|
|
|
] ++ (with gst; [
|
2015-09-18 12:26:26 +00: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 12:26:26 +00:00
|
|
|
]) ++ (with python3Packages; [
|
2016-10-13 22:03:12 +00:00
|
|
|
python pygobject3 gst-python pyxdg numpy pycairo matplotlib
|
2016-08-16 20:51:21 +00:00
|
|
|
dbus-python
|
2014-03-22 14:33:35 +00:00
|
|
|
]);
|
|
|
|
|
2016-07-25 04:05:55 +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;
|
|
|
|
};
|
2014-03-22 14:33:35 +00:00
|
|
|
}
|