3
0
Fork 0
forked from mirrors/nixpkgs

kodiPlugins.vfs-libarchive: init at 1.0.5

This commit is contained in:
Minijackson 2019-02-27 18:35:02 +01:00
parent b4dbc56dbf
commit 7ca5c6b3c3
2 changed files with 24 additions and 1 deletions

View file

@ -2,7 +2,7 @@
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
, python2Packages, expat, glib, nspr, nss, openssl
, libssh }:
, libssh, libarchive, lzma, bzip2, lz4, lzo }:
with stdenv.lib;
@ -528,4 +528,26 @@ let self = rec {
extraBuildInputs = [ openssl libssh zlib ];
};
vfs-libarchive = mkKodiABIPlugin rec {
namespace = "vfs.libarchive";
version = "1.0.5";
plugin = namespace;
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
sha256 = "0l1f1fijflr1ia30r0dcz1x2zn35c4lxy30az1cqxdf8nipza0b8";
};
meta = with stdenv.lib; {
description = "LibArchive Virtual Filesystem add-on for Kodi";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];
};
extraBuildInputs = [ libarchive lzma bzip2 zlib lz4 lzo openssl ];
};
}; in self

View file

@ -20144,6 +20144,7 @@ in
++ optional (config.kodi.enablePVRIPTVSimple or false) pvr-iptvsimple
++ optional (config.kodi.enableInputStreamAdaptive or false) inputstream-adaptive
++ optional (config.kodi.enableVFSSFTP or false) vfs-sftp
++ optional (config.kodi.enableVFSLibarchive or false) vfs-libarchive
);
};