Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
Use lua instead of luajit
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Feb 28, 2022
1 parent bb45517 commit a884c0d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions other/mpv-iina.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MpvIina < Formula
depends_on "libarchive"
depends_on "libass"
depends_on "little-cms2"
depends_on "luajit-openresty"
depends_on "[email protected]"
depends_on "libbluray"
depends_on "mujs"
depends_on "uchardet"
Expand All @@ -35,8 +35,8 @@ def install

# libarchive is keg-only
ENV.prepend_path "PKG_CONFIG_PATH", Formula["libarchive"].opt_lib/"pkgconfig"
# luajit-openresty is key-only
ENV.prepend_path "PKG_CONFIG_PATH", Formula["luajit-openresty"].opt_lib/"pkgconfig"
# [email protected] is key-only
ENV.prepend_path "PKG_CONFIG_PATH", Formula["[email protected]"].opt_lib/"pkgconfig"

ENV["CFLAGS"] = "-O3 -flto"
ENV["LDFLAGS"] = "-flto"
Expand All @@ -56,7 +56,6 @@ def install
--datadir=#{pkgshare}
--mandir=#{man}
--docdir=#{doc}
--lua=luajit
]

system Formula["[email protected]"].opt_bin/"python3", "bootstrap.py"
Expand Down

0 comments on commit a884c0d

Please sign in to comment.