From 6aba477129e3a38731885709c473aae1881f16f2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 29 Jan 2023 16:23:25 +0100 Subject: community/mpv: using lua52 instead of luajit on i486/i686 (non-SSE2) --- community/mpv/PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 community/mpv/PKGBUILD (limited to 'community') diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD new file mode 100644 index 00000000..26ffbe51 --- /dev/null +++ b/community/mpv/PKGBUILD @@ -0,0 +1,5 @@ +# luajit uses hard-coded SSE2, disabling it on non-pentium4 +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + depends=(${depends[@]//luajit/}) + depends+=('lua52') +fi -- cgit v1.2.3-54-g00ecf