[Lunar-commits] <moonbase-other> vlc: fix build with lua 5.2.2

v4hn me at v4hn.de
Tue May 21 00:26:45 CEST 2013


commit 0ff4aefcfe4df2b760f9e530b895cabce94c72df
Author: v4hn <me at v4hn.de>
Date: Mon, 20 May 2013 15:22:54 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/0ff4aefcfe4df2b760f9e530b895cabce94c72df

vlc: fix build with lua 5.2.2
---
  video/vlc/BUILD | +15/-15   
  1 file changed, 15 insertions(+), 15 deletions(-)

--- a/video/vlc/BUILD
+++ b/video/vlc/BUILD
@@ -1,21 +1,21 @@
-(
+if in_depends $MODULE lua; then
+  export LUA_LIBS+=" /usr/lib/lua" &&
+  export LUA_CFLAGS+=" -DLUA_COMPAT_ALL=1"
+fi &&
 
-  if in_depends $MODULE lua; then
-    LUA_LIBS+=" /usr/lib/lua"
-  fi &&
+if module_installed live555; then
+  CPPFLAGS_live555="-I/usr/lib/live/liveMedia -I/usr/lib/live/groupsock -I/usr/lib/live/BasicUsageEnvironment -I/usr/lib/live/UsageEnvironment"
+fi &&
 
-  if module_installed live555; then
-    CPPFLAGS_live555="-I/usr/lib/live/liveMedia -I/usr/lib/live/groupsock -I/usr/lib/live/BasicUsageEnvironment -I/usr/lib/live/UsageEnvironment"
-  fi &&
+if in_depends vlc qt4; then
+ . /etc/profile.d/qt4.rc
+fi &&
 
-  if in_depends vlc qt4; then
-   . /etc/profile.d/qt4.rc
-  fi &&
+OPTS+=" --enable-xvideo --enable-real --enable-realrtsp --enable-media-library --disable-sid --with-tuning=$CPUTUNE" &&
 
-  OPTS+=" --enable-xvideo --enable-real --enable-realrtsp --enable-media-library --disable-sid --with-tuning=$CPUTUNE" &&
+default_build &&
 
-  default_build &&
+sedit "s:Categories=:Categories=Multimedia;:" /usr/share/applications/vlc.desktop &&
 
-  sedit "s:Categories=:Categories=Multimedia;:" /usr/share/applications/vlc.desktop
-
-)
+unset LUA_LIBS &&
+unset LUA_CFLAGS




More information about the Lunar-commits mailing list