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 21, 2022
1 parent 0962e7c commit 710882e
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 "lua@5.1"
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"
# lua@5.1 is key-only
ENV.prepend_path "PKG_CONFIG_PATH", Formula["lua@5.1"].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["python@3.9"].opt_bin/"python3", "bootstrap.py"
Expand Down

0 comments on commit 710882e

Please sign in to comment.