media-tv/kodi: fork official ebuild to support standalone mode (without X) and odroid-c1/c1+

This commit is contained in:
nemunaire 2017-11-21 07:53:53 +01:00
commit 66adeddb1e
9 changed files with 934 additions and 0 deletions

View file

@ -0,0 +1,17 @@
polkit.addRule(function(action, subject) {
if (subject.user == "YourUsernameHere") {
polkit.log("action=" + action);
polkit.log("subject=" + subject);
if (action.id.indexOf("org.freedesktop.login1.") == 0) {
return polkit.Result.YES;
}
if (action.id.indexOf("org.freedesktop.udisks.") == 0) {
return polkit.Result.YES;
}
if (action.id.indexOf("org.freedesktop.upower.") == 0) {
return polkit.Result.YES;
}
}
});