Permalink
Browse files

vlc: fix build with lua 5.2.2

  • Loading branch information...
v4hn committed May 20, 2013
1 parent 7af4a08 commit 0ff4aefcfe4df2b760f9e530b895cabce94c72df
Showing with 15 additions and 15 deletions.
  1. +15 −15 video/vlc/BUILD
View
@@ -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

0 comments on commit 0ff4aef

Please sign in to comment.