Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.1.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1331cd853d56762c96afcb92dd498348
  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:= !m68k
  15. PKG_LIBC_DEPENDS:= eglibc glibc musl
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_CFLAGS+= -fPIC
  20. CONFIGURE_ENV+= ac_cv_func_sched_getaffinity=no
  21. CONFIGURE_ARGS+= --disable-lua \
  22. --disable-dbus \
  23. --disable-a52 \
  24. --disable-fribidi \
  25. --disable-qt4 \
  26. --disable-skins2 \
  27. --disable-dvdnav \
  28. --disable-glx \
  29. --disable-libxml2 \
  30. --disable-smb \
  31. --disable-xcb \
  32. --without-kde-solid \
  33. --enable-libgcrypt \
  34. --enable-mad \
  35. --enable-theora \
  36. --disable-static \
  37. --disable-avcodec
  38. vlc-install:
  39. $(INSTALL_DIR) $(IDIR_VLC)/usr/bin
  40. $(INSTALL_DIR) $(IDIR_VLC)/usr/lib/vlc/plugins
  41. $(CP) $(WRKINST)/usr/lib/libvlc*.so* \
  42. $(IDIR_VLC)/usr/lib
  43. $(INSTALL_BIN) $(WRKINST)/usr/bin/{c,}vlc \
  44. $(IDIR_VLC)/usr/bin
  45. $(CP) $(WRKINST)/usr/lib/vlc/plugins/* \
  46. $(IDIR_VLC)/usr/lib/vlc/plugins
  47. -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.la
  48. -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.a
  49. include ${TOPDIR}/mk/pkg-bottom.mk