[Lunar-commits] <moonbase-other> vlc: A little tweak to the lua part of the BUILD.

Dennis Veatch dennisveatch at bellsouth.net
Fri Sep 26 00:59:01 CEST 2014


commit 565c9d02bf96de3b426dd2c2eca5824a624f8667
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 25 Sep 2014 18:56:27 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/565c9d02bf96de3b426dd2c2eca5824a624f8667

vlc: A little tweak to the lua part of the BUILD.

When trying to play a youtube stream was getting;
 main demux error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so

Now it just says the following without a corrupt module error;

 access_mms access error: error: HTTP/1.1 403 Forbidden

There is more to the error but that is the gist.
---
  video/vlc/BUILD | +6/-1     
  1 file changed, 6 insertions(+), 1 deletion(-)

--- a/video/vlc/BUILD
+++ b/video/vlc/BUILD
@@ -1,3 +1,4 @@
+
 sedit "s:FLAC/FLAC:FLAC:g" modules/codec/flac.c &&
 
 # Some giggling because of the recent ffmpeg bump
@@ -5,9 +6,13 @@ sedit "s:libavcodec >= 53.34.0:libavcodec >= 56.1.100:g" configure &&
 sedit "s:libavutil >= 51.22.0:libavutil >= 54.7.100:g" configure &&
 sedit "s:libavcodec < 56:libavcodec < 57:g" configure &&
 
+# for vaapi compatibility
+sedit "39i #include <va/va_compat.h>" modules/codec/avcodec/vaapi.c &&
+
 if in_depends $MODULE lua; then
-  export LUA_LIBS+=" /usr/lib/liblua.so" &&
+  export LUA_LIBS+=" `pkg-config --libs lua`" &&
   export LUA_CFLAGS+=" -DLUA_COMPAT_ALL=1"
+  LUAC="/usr/bin/luac"
 fi &&
 
 if in_depends $MODULE samba ; then




More information about the Lunar-commits mailing list