1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 3e566c7525478167e18cc53dc75d621e4af91eb40aabb6231e47db25d682d5d3
10 PKG_DESCR
:= popular media player
11 PKG_SECTION
:= mm
/video
12 PKG_BUILDDEP
:= ffmpeg xcb-util libtheora libgcrypt libmad
13 PKG_DEPENDS
:= libffmpeg xcb-util libtheora libgcrypt
14 PKG_URL
:= http
://www.videolan.org
/vlc
/
15 PKG_SITES
:= http
://download.videolan.org
/pub
/videolan
/vlc
/$(PKG_VERSION
)/
17 PKG_ARCH_DEPENDS
:= !m68k
18 PKG_LIBC_DEPENDS
:= glibc musl
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,VLC
,vlc
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CPPFLAGS
+= -D_GNU_SOURCE
-D_POSIX_SOURCE
26 CONFIGURE_ENV
+= ac_cv_func_sched_getaffinity
=no
27 CONFIGURE_ARGS
+= --disable-lua \
46 $(INSTALL_DIR
) $(IDIR_VLC
)/usr
/bin
47 $(INSTALL_DIR
) $(IDIR_VLC
)/usr
/lib
/vlc
/plugins
48 $(CP
) $(WRKINST
)/usr
/lib
/libvlc
*.so
* \
50 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/{c
,}vlc \
52 $(CP
) $(WRKINST
)/usr
/lib
/vlc
/plugins
/* \
53 $(IDIR_VLC
)/usr
/lib
/vlc
/plugins
54 -rm $(IDIR_VLC
)/usr
/lib
/vlc
/plugins
/*/*.la
55 -rm $(IDIR_VLC
)/usr
/lib
/vlc
/plugins
/*/*.a
57 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk