media-tv/kodi: fork official ebuild to support standalone mode (without X) and odroid-c1/c1+
This commit is contained in:
parent
c48c034e12
commit
66adeddb1e
9 changed files with 934 additions and 0 deletions
17
media-tv/kodi/files/60-kodi.rules
Normal file
17
media-tv/kodi/files/60-kodi.rules
Normal 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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue