Skip to content

Commit

Permalink
bomi: fix compilation, move to new Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Jul 2, 2016
1 parent 24b3fa1 commit b3e2796
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
30 changes: 24 additions & 6 deletions pkgs/applications/video/bomi/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, perl, python, which, makeQtWrapper
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which, makeQtWrapper
, libX11, libxcb, mesa
, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmakeHook
, ffmpeg
, libchardet
, ffmpeg

, mpg123
, libass
, libdvdread
Expand Down Expand Up @@ -38,11 +39,30 @@ stdenv.mkDerivation rec {
sha256 = "0a7n46gn3n5098lxxvl3s29s8jlkzss6by9074jx94ncn9cayf2h";
};

patches = [
(fetchpatch rec {
name = "bomi-compilation-fix.patch";
url = "https://svnweb.mageia.org/packages/cauldron/bomi/current/SOURCES/${name}?revision=995725&view=co&pathrev=995725";
sha256 = "1dwryya5ljx35dbx6ag9d3rjjazni2mfn3vwirjdijdy6yz22jm6";
})
(fetchpatch rec {
name = "bomi-fix-expected-unqualified-id-before-numeric-constant-unix.patch";
url = "https://svnweb.mageia.org/packages/cauldron/bomi/current/SOURCES/${name}?revision=995725&view=co&pathrev=995725";
sha256 = "0n3xsrdrggimzw30gxlnrr088ndbdjqlqr46dzmfv8zan79lv5ri";
})
];

buildInputs = with stdenv.lib;
[ libX11 libxcb mesa
qtbase qtx11extras
[ libX11
libxcb
mesa
qtbase
qtx11extras
qtdeclarative
qtquickcontrols
ffmpeg
libchardet

mpg123
libass
libdvdread
Expand All @@ -53,8 +73,6 @@ stdenv.mkDerivation rec {
libvdpau
libva
libbluray
qtdeclarative
qtquickcontrols
]
++ optional jackSupport jack
++ optional portaudioSupport portaudio
Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12131,9 +12131,10 @@ in

bluejeans = callPackage ../applications/networking/browsers/mozilla-plugins/bluejeans { };

bomi = qt55.callPackage ../applications/video/bomi {
bomi = qt5.callPackage ../applications/video/bomi {
youtube-dl = pythonPackages.youtube-dl;
pulseSupport = config.pulseaudio or true;
ffmpeg = ffmpeg_2;
};

brackets = callPackage ../applications/editors/brackets { gconf = gnome3.gconf; };
Expand Down

0 comments on commit b3e2796

Please sign in to comment.