Skip to content

Commit

Permalink
kodi: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Feb 22, 2020
1 parent c38529d commit 69668e9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/applications/video/kodi/default.nix
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchFromGitHub, autoconf, automake, libtool, makeWrapper, linuxHeaders
{ stdenv, lib, fetchpatch, fetchurl, fetchFromGitHub, autoconf, automake, libtool, makeWrapper, linuxHeaders
, pkgconfig, cmake, gnumake, yasm, python2Packages
, libgcrypt, libgpgerror, libunistring
, boost, avahi, lame, autoreconfHook
Expand Down Expand Up @@ -194,6 +194,15 @@ in stdenv.mkDerivation {
autoconf automake libtool # still needed for some components. Check if that is the case with 19.0
] ++ lib.optionals useWayland [ wayland-protocols ];

patches = [
# Adds missing cassert includes, fixing builds. This will be unnecessary
# after 18.6 is released (which will contain this patch)
(fetchpatch {
url = "https://github.com/xbmc/xbmc/commit/d5947e6733fd564edb68df91fd6d389d9fb82319.patch";
sha256 = "1shlbsbfba3074wdyhl42vgin6jfzl7sy3zsvxaxkpx8g7my9jn2";
})
];

cmakeFlags = [
"-Dlibdvdcss_URL=${libdvdcss.src}"
"-Dlibdvdnav_URL=${libdvdnav.src}"
Expand Down

0 comments on commit 69668e9

Please sign in to comment.