mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #22710 from AndersonTorres/openshot
openshot-qt: 2.1.0 -> 2.2.0
This commit is contained in:
commit
7b73936459
@ -1,26 +1,24 @@
|
|||||||
{stdenv, fetchurl, fetchFromGitHub, callPackage, makeWrapper, doxygen
|
{ stdenv, fetchFromGitHub
|
||||||
, ffmpeg, python3Packages, libopenshot, qtbase, qtmultimedia }:
|
, doxygen, python3Packages, ffmpeg, libopenshot
|
||||||
|
, qtbase, qtmultimedia, makeQtWrapper }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openshot-qt-${version}";
|
name = "openshot-qt-${version}";
|
||||||
version = "2.1.0";
|
version = "2.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "openshot-qt";
|
repo = "openshot-qt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1cyr5m1n6qcb9bzkhh3v6ka91a6x9c50dl5j0ilrc8vj0mb43g8c";
|
sha256 = "0dg4fkkci1rz49yrdd4fa1whv10c1pgm3cl4i49452ckqa7qg037";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [doxygen python3Packages.python makeWrapper ffmpeg];
|
buildInputs =
|
||||||
|
[ python3Packages.python ffmpeg libopenshot qtbase qtmultimedia ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
nativeBuildInputs =
|
||||||
qtbase
|
[ doxygen makeQtWrapper ];
|
||||||
qtmultimedia
|
|
||||||
libopenshot
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $(toPythonPath $out)
|
mkdir -p $(toPythonPath $out)
|
||||||
@ -29,17 +27,24 @@ stdenv.mkDerivation rec {
|
|||||||
echo "#/usr/bin/env sh" >$out/bin/openshot-qt
|
echo "#/usr/bin/env sh" >$out/bin/openshot-qt
|
||||||
echo "exec ${python3Packages.python.interpreter} $(toPythonPath $out)/launch.py" >>$out/bin/openshot-qt
|
echo "exec ${python3Packages.python.interpreter} $(toPythonPath $out)/launch.py" >>$out/bin/openshot-qt
|
||||||
chmod +x $out/bin/openshot-qt
|
chmod +x $out/bin/openshot-qt
|
||||||
wrapProgram $out/bin/openshot-qt \
|
wrapQtProgram $out/bin/openshot-qt \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip}):$(toPythonPath ${python3Packages.httplib2}):$(toPythonPath ${python3Packages.pyzmq}):$PYTHONPATH"
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip}):$(toPythonPath ${python3Packages.httplib2}):$(toPythonPath ${python3Packages.pyzmq}):$PYTHONPATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://openshot.org/";
|
homepage = http://openshot.org/;
|
||||||
description = "Free, open-source video editor";
|
description = "Free, open-source video editor";
|
||||||
license = licenses.gpl3Plus;
|
longDescription = ''
|
||||||
maintainers = [];
|
OpenShot Video Editor is a free, open-source video editor for Linux.
|
||||||
platforms = platforms.linux;
|
OpenShot can take your videos, photos, and music files and help you
|
||||||
|
create the film you have always dreamed of. Easily add sub-titles,
|
||||||
|
transitions, and effects, and then export your film to DVD, YouTube,
|
||||||
|
Vimeo, Xbox 360, and many other common formats.
|
||||||
|
'';
|
||||||
|
license = with licenses; gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{stdenv, fetchurl, fetchFromGitHub, cmake, doxygen
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, doxygen, alsaLib
|
||||||
, libX11, libXft, libXrandr, libXinerama, libXext, libXcursor, alsaLib}:
|
, libX11, libXft, libXrandr, libXinerama, libXext, libXcursor }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libopenshot-audio-${version}";
|
name = "libopenshot-audio-${version}";
|
||||||
version = "0.1.2";
|
version = "0.1.2";
|
||||||
@ -14,18 +13,24 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0dxyhnqkjc5y4hra8s17q9lafll6fx0pgibmmjznjm70whqcj8a6";
|
sha256 = "0dxyhnqkjc5y4hra8s17q9lafll6fx0pgibmmjznjm70whqcj8a6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs =
|
||||||
cmake doxygen
|
[ pkgconfig cmake doxygen ];
|
||||||
libX11 libXft libXrandr libXinerama libXext libXcursor alsaLib
|
|
||||||
];
|
buildInputs =
|
||||||
|
[ alsaLib libX11 libXft libXrandr libXinerama libXext libXcursor ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://openshot.org/";
|
homepage = http://openshot.org/;
|
||||||
description = "Free, open-source video editor";
|
description = "High-quality sound editing library";
|
||||||
license = licenses.gpl3Plus;
|
longDescription = ''
|
||||||
maintainers = [];
|
OpenShot Audio Library (libopenshot-audio) is a program that allows the
|
||||||
platforms = platforms.linux;
|
high-quality editing and playback of audio, and is based on the amazing
|
||||||
|
JUCE library.
|
||||||
|
'';
|
||||||
|
license = with licenses; gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,20 @@
|
|||||||
{ stdenv, fetchurl, fetchFromGitHub, callPackage, cmake, doxygen
|
{ stdenv, fetchFromGitHub
|
||||||
, imagemagick, ffmpeg, qtbase, qtmultimedia, swig, python3, ruby, unittest-cpp
|
, pkgconfig, cmake, doxygen
|
||||||
, cppzmq, czmqpp
|
, libopenshot-audio, imagemagick, ffmpeg
|
||||||
}:
|
, swig, python3, ruby
|
||||||
|
, unittest-cpp, cppzmq, czmqpp
|
||||||
|
, qtbase, qtmultimedia }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
|
||||||
libopenshot_audio = callPackage ./libopenshot-audio.nix {};
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libopenshot-${version}";
|
name = "libopenshot-${version}";
|
||||||
version = "0.1.2";
|
version = "0.1.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "libopenshot";
|
repo = "libopenshot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00051ipb8y4z9j5m5smwm1ahv755k0glarwic8fv5b9fzryfbrdm";
|
sha256 = "0slszl6w96rhxhi6agw85dc4gmpab2qw03mq32g4qrirz68anz6f";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -27,22 +25,27 @@ stdenv.mkDerivation rec {
|
|||||||
export RUBY_VENDOR_ARCH_DIR=$out/lib/ruby/site-packages
|
export RUBY_VENDOR_ARCH_DIR=$out/lib/ruby/site-packages
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [ pkgconfig cmake doxygen ];
|
||||||
cmake doxygen
|
|
||||||
imagemagick ffmpeg qtbase qtmultimedia swig python3 ruby
|
|
||||||
unittest-cpp cppzmq czmqpp
|
|
||||||
];
|
|
||||||
|
|
||||||
LIBOPENSHOT_AUDIO_DIR = "${libopenshot_audio}";
|
buildInputs =
|
||||||
|
[ imagemagick ffmpeg swig python3 ruby unittest-cpp
|
||||||
|
cppzmq czmqpp qtbase qtmultimedia ];
|
||||||
|
|
||||||
|
LIBOPENSHOT_AUDIO_DIR = "${libopenshot-audio}";
|
||||||
"UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++";
|
"UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://openshot.org/";
|
homepage = http://openshot.org/;
|
||||||
description = "Free, open-source video editor";
|
description = "Free, open-source video editor library";
|
||||||
license = licenses.gpl3Plus;
|
longDescription = ''
|
||||||
maintainers = [];
|
OpenShot Library (libopenshot) is an open-source project dedicated to
|
||||||
platforms = platforms.linux;
|
delivering high quality video editing, animation, and playback solutions
|
||||||
|
to the world. API currently supports C++, Python, and Ruby.
|
||||||
|
'';
|
||||||
|
license = with licenses; gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9513,6 +9513,8 @@ with pkgs;
|
|||||||
|
|
||||||
libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix { };
|
libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix { };
|
||||||
|
|
||||||
|
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
|
||||||
|
|
||||||
mlt = callPackage ../development/libraries/mlt/qt-5.nix {
|
mlt = callPackage ../development/libraries/mlt/qt-5.nix {
|
||||||
ffmpeg = ffmpeg_2;
|
ffmpeg = ffmpeg_2;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user