Skip to content

Commit

Permalink
add lua support for mpv (netblue30#3243)
Browse files Browse the repository at this point in the history
* allow lua in mpv.profile

* fix allow-lua.inc for mpv

* extra lua blacklisting for mpv
  • Loading branch information
glitsj16 authored Feb 24, 2020
1 parent f25e8d6 commit db2bdaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/allow-lua.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ include allow-lua.local

noblacklist ${PATH}/lua*
noblacklist /usr/include/lua*
noblacklist /usr/lib/liblua*
noblacklist /usr/lib/lua
noblacklist /usr/share/lua
1 change: 1 addition & 0 deletions etc/disable-interpreters.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ blacklist /usr/lib64/libgjs*
# Lua
blacklist ${PATH}/lua*
blacklist /usr/include/lua*
blacklist /usr/lib/liblua*
blacklist /usr/lib/lua
blacklist /usr/share/lua

Expand Down
2 changes: 2 additions & 0 deletions etc/mpv.profile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ noblacklist ${HOME}/.config/mpv
noblacklist ${HOME}/.config/youtube-dl
noblacklist ${HOME}/.netrc

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
Expand Down

0 comments on commit db2bdaa

Please sign in to comment.