Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= vlc
  5. PKG_VERSION:= 2.0.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3b0e465b0990097b65abaf3e25589957
  8. PKG_DESCR:= Media Player
  9. PKG_SECTION:= multimedia
  10. PKG_BUILDDEP:= ffmpeg xcb-util libtheora libgcrypt libmad
  11. PKG_DEPENDS:= libffmpeg xcb-util libtheora libgcrypt
  12. PKG_URL:= http://www.videolan.org/vlc/
  13. PKG_SITES:= http://download.videolan.org/pub/videolan/vlc/$(PKG_VERSION)/
  14. PKG_ARCH_DEPENDS:= !cris !avr32 !m68k
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_CFLAGS+= -fPIC
  19. CONFIGURE_ENV+= ac_cv_func_sched_getaffinity=no
  20. CONFIGURE_ARGS+= --disable-lua \
  21. --disable-dbus \
  22. --disable-a52 \
  23. --disable-fribidi \
  24. --disable-qt4 \
  25. --disable-skins2 \
  26. --disable-dvdnav \
  27. --disable-glx \
  28. --disable-libxml2 \
  29. --disable-smb \
  30. --disable-xcb \
  31. --without-kde-solid \
  32. --enable-libgcrypt \
  33. --enable-mad \
  34. --enable-theora \
  35. --disable-avcodec
  36. vlc-install:
  37. $(INSTALL_DIR) $(IDIR_VLC)/usr/bin
  38. $(INSTALL_DIR) $(IDIR_VLC)/usr/lib/vlc/plugins
  39. $(CP) $(WRKINST)/usr/lib/libvlc*.so* \
  40. $(IDIR_VLC)/usr/lib
  41. $(INSTALL_BIN) $(WRKINST)/usr/bin/{c,}vlc \
  42. $(IDIR_VLC)/usr/bin
  43. $(CP) $(WRKINST)/usr/lib/vlc/plugins/* \
  44. $(IDIR_VLC)/usr/lib/vlc/plugins
  45. -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.la
  46. -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.a
  47. include ${TOPDIR}/mk/pkg-bottom.mk