patch-Makefile 1.3 KB

1234567891011121314151617181920
  1. --- omxplayer-0.4.orig/Makefile 2014-04-07 13:50:34.000000000 +0200
  2. +++ omxplayer-0.4/Makefile 2014-04-07 16:25:29.144139758 +0200
  3. @@ -2,9 +2,9 @@ include Makefile.include
  4. CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
  5. -LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
  6. +LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -lkhrn_static
  7. -INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/
  8. +INCLUDES+=-I./ -Ilinux
  9. DIST ?= omxplayer-dist
  10. @@ -71,5 +71,4 @@ dist: omxplayer.bin
  11. cp omxplayer omxplayer.bin $(DIST)/usr/bin
  12. cp COPYING $(DIST)/usr/share/doc/
  13. cp README.md $(DIST)/usr/share/doc/README
  14. - cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/
  15. cd $(DIST); tar -czf ../$(DIST).tgz *