diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-12 10:30:50 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-12 10:30:50 +0200 |
commit | 8f16335443a322578274737c8d80ce557e4d2656 (patch) | |
tree | 947d42d781b409f72c9f0fa957d8796352f9b386 /package/xbmc/Makefile | |
parent | 5212b6029108093bb3ac6d8386fd999fd00f2701 (diff) |
add xmbc package for raspberry-pi target
Diffstat (limited to 'package/xbmc/Makefile')
-rw-r--r-- | package/xbmc/Makefile | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile new file mode 100644 index 000000000..cdffe1852 --- /dev/null +++ b/package/xbmc/Makefile @@ -0,0 +1,65 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= xbmc +PKG_VERSION:= 12.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 489f3877decae4e265ece54f9eaef0ba +PKG_DESCR:= software media player +PKG_SECTION:= multimedia +PKG_DEPENDS:= boost-shared libffmpeg python2 libstdcxx +PKG_DEPENDS+= libglew mesalib libass libmpeg2 libmad +PKG_DEPENDS+= libjpeg libogg libvorbis libmodplug libcurl +PKG_DEPENDS+= libflac libopenssl libbz2 libtiff liblzo +PKG_DEPENDS+= yajl tinyxml libsqlite libpcrecpp libpng +PKG_DEPENDS+= libpcre libcdio libfreetype libsamplerate +PKG_DEPENDS+= taglib libjasper libmp3lame libmicrohttpd +PKG_BUILDDEP:= boost ffmpeg python2 MesaLib libglew libass +PKG_BUILDDEP+= libmpeg2 libmad jpeg libogg libvorbis libmodplug +PKG_BUILDDEP+= curl flac openssl bzip2 libtiff liblzo yajl +PKG_BUILDDEP+= tinyxml sqlite pcre libpng libcdio freetype +PKG_BUILDDEP+= libsamplerate taglib libjasper lame libmicrohttpd +PKG_URL:= http://xbmc.org/ +PKG_SITES:= http://mirrors.xbmc.org/releases/source/ + +PKG_SYSTEM_DEPENDS:= raspberry-pi + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,XBMC,xbmc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +XAKE_FLAGS+= V=1 TIXML_USE_STL=1 +XAKE_FLAGS+= GCC_HONOUR_COPTS=s +TARGET_CPPFLAGS+= -I$(STAGING_DIR)/usr/include/boost-1_54 \ + -DTIXML_USE_STL=1 \ + -I$(STAGING_DIR)/opt/vc/include \ + -I$(STAGING_DIR)/opt/vc/include/interface/vcos/pthreads \ + -I$(STAGING_DIR)/opt/vc/include/interface/vmcs_host/linux +TARGET_LDFLAGS+= -L$(STAGING_DIR)/opt/vc/lib -lkhrn_static +#TARGET_LDFLAGS+= -L$(STAGING_DIR)/opt/vc/lib -lkhrn_static -lX11 +CONFIGURE_ARGS+= --disable-optical-drive \ + --disable-ssh \ + --disable-samba \ + --disable-mysql \ + --enable-external-libraries \ + --enable-player=omxplayer \ + --enable-gles \ + --disable-sdl \ + --disable-joystick \ + --disable-x11 \ + --with-platform=raspberry-pi + +xbmc-install: + $(INSTALL_DIR) $(IDIR_XBMC)/usr/lib/xbmc + $(CP) $(WRKINST)/usr/lib/xbmc/* \ + $(IDIR_XBMC)/usr/lib/xbmc + $(INSTALL_DIR) $(IDIR_XBMC)/usr/share/xbmc + $(CP) $(WRKINST)/usr/share/xbmc/* \ + $(IDIR_XBMC)/usr/share/xbmc + $(INSTALL_DIR) $(IDIR_XBMC)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/xbmc \ + $(IDIR_XBMC)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk |