mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Merge pull request #28677 from bkchr/openshot_new_version
Openshot: 2.3.1 -> 2.3.4
This commit is contained in:
commit
ac279998af
|
@ -4,20 +4,20 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
name = "openshot-qt-${version}";
|
name = "openshot-qt-${version}";
|
||||||
version = "2.3.1";
|
version = "2.3.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "openshot-qt";
|
repo = "openshot-qt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "10j3p10q66m9nhzcd8315q1yiqscidkjbm474mllw7c281vacvzw";
|
sha256 = "026zxvg5mij49g021hipv3hspsx8m5bs4v9pm2axqw6rvszjk90z";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ doxygen wrapGAppsHook ];
|
nativeBuildInputs = [ doxygen wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ gtk3 ];
|
buildInputs = [ gtk3 ];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5 sip httplib2 pyzmq ];
|
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5 requests sip httplib2 pyzmq ];
|
||||||
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
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.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "libopenshot-audio";
|
repo = "libopenshot-audio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0dxyhnqkjc5y4hra8s17q9lafll6fx0pgibmmjznjm70whqcj8a6";
|
sha256 = "07615vacbvi08pzm4lxfckfwib2xcfdjaggpda58hy8nr0677fzq";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
|
|
@ -1,34 +1,32 @@
|
||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub, fetchpatch
|
||||||
, pkgconfig, cmake, doxygen
|
, pkgconfig, cmake, doxygen
|
||||||
, libopenshot-audio, imagemagick, ffmpeg
|
, libopenshot-audio, imagemagick, ffmpeg
|
||||||
, swig, python3, ruby
|
, swig, python3
|
||||||
, unittest-cpp, cppzmq, czmqpp
|
, unittest-cpp, cppzmq, czmqpp
|
||||||
, qtbase, qtmultimedia }:
|
, qtbase, qtmultimedia }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libopenshot-${version}";
|
name = "libopenshot-${version}";
|
||||||
version = "0.1.4";
|
version = "0.1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "libopenshot";
|
repo = "libopenshot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1mqci103kn4l7w8i9kqzi705kxn4q596vw0sh05r1w5nbyjwcyp6";
|
sha256 = "1dk40qild8d3s99p2kkm0mjvxfxrz2wns7ij1brzqmcdnaxqdhlp";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's/{UNITTEST++_INCLUDE_DIR}/ENV{UNITTEST++_INCLUDE_DIR}/g' tests/CMakeLists.txt
|
sed -i 's/{UNITTEST++_INCLUDE_DIR}/ENV{UNITTEST++_INCLUDE_DIR}/g' tests/CMakeLists.txt
|
||||||
sed -i 's/{_REL_PYTHON_MODULE_PATH}/ENV{_REL_PYTHON_MODULE_PATH}/g' src/bindings/python/CMakeLists.txt
|
sed -i 's/{_REL_PYTHON_MODULE_PATH}/ENV{_REL_PYTHON_MODULE_PATH}/g' src/bindings/python/CMakeLists.txt
|
||||||
sed -i 's/{RUBY_VENDOR_ARCH_DIR}/ENV{RUBY_VENDOR_ARCH_DIR}/g' src/bindings/ruby/CMakeLists.txt
|
|
||||||
export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out)
|
export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out)
|
||||||
export RUBY_VENDOR_ARCH_DIR=$out/lib/ruby/site-packages
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake doxygen ];
|
nativeBuildInputs = [ pkgconfig cmake doxygen ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ imagemagick ffmpeg swig python3 ruby unittest-cpp
|
[ imagemagick ffmpeg swig python3 unittest-cpp
|
||||||
cppzmq czmqpp qtbase qtmultimedia ];
|
cppzmq czmqpp qtbase qtmultimedia ];
|
||||||
|
|
||||||
LIBOPENSHOT_AUDIO_DIR = "${libopenshot-audio}";
|
LIBOPENSHOT_AUDIO_DIR = "${libopenshot-audio}";
|
||||||
|
@ -36,6 +34,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DENABLE_RUBY=OFF" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://openshot.org/;
|
homepage = http://openshot.org/;
|
||||||
description = "Free, open-source video editor library";
|
description = "Free, open-source video editor library";
|
||||||
|
|
|
@ -5749,7 +5749,7 @@ with pkgs;
|
||||||
jre = jre8;
|
jre = jre8;
|
||||||
jre_headless = jre8_headless;
|
jre_headless = jre8_headless;
|
||||||
|
|
||||||
openshot-qt = libsForQt56.callPackage ../applications/video/openshot-qt { };
|
openshot-qt = libsForQt5.callPackage ../applications/video/openshot-qt { };
|
||||||
|
|
||||||
oraclejdk = pkgs.jdkdistro true false;
|
oraclejdk = pkgs.jdkdistro true false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue