blob: 129ab2e667d2f25c9b2585d8f9526663b383d035 [file] [log] [blame]
GOOGLE_MINICLIENT_SITE=repo://vendor/sagetv/miniclient
GOOGLE_MINICLIENT_DEPENDENCIES=\
linux \
bcm_nexus bcm_rockford \
google_pullreader google_dashplayer google_widevine google_hdcp bruno \
openssl libcurl zlib libpng libungif libxml2 \
google_platform protobuf jpeg google_widevine_cenc
GOOGLE_MINICLIENT_INSTALL_STAGING=YES
define GOOGLE_MINICLIENT_BUILD_CMDS
TARGET=$(TARGET_CROSS) \
HOSTDIR=$(HOST_DIR) \
STAGING_PATH=$(STAGING_DIR)/usr/local/ \
$(BCM_MAKE_ENV) $(MAKE) $(BCM_MAKEFLAGS) -C $(@D) -f Makefile.7425 all
endef
define GOOGLE_MINICLIENT_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0644 $(@D)/BRCM/tr135_djitter_monitoring.h $(STAGING_DIR)/usr/include/tr135_djitter_monitoring.h
$(INSTALL) -D -m 0644 $(@D)/BRCM/tr135_tcp_monitoring.h $(STAGING_DIR)/usr/include/tr135_tcp_monitoring.h
$(BCM_MAKE_ENV) $(MAKE) $(BCM_MAKEFLAGS) -C $(@D) -f Makefile.7425 \
DESTDIR=$(STAGING_DIR) install install_headers
endef
define GOOGLE_MINICLIENT_INSTALL_TARGET_CMDS
$(BCM_MAKE_ENV) $(MAKE) $(BCM_MAKEFLAGS) -C $(@D) -f Makefile.7425 \
DESTDIR=$(TARGET_DIR) install
$(INSTALL) -m 0755 -D package/google/google_miniclient/S11mpserver $(TARGET_DIR)/etc/init.d/S11mpserver; \
$(INSTALL) -m 0755 -D package/google/google_miniclient/S99miniclient $(TARGET_DIR)/etc/init.d/S99miniclient; \
$(INSTALL) -D -m 0755 package/google/google_miniclient/clear-app $(TARGET_DIR)/app/client/clear-app
$(INSTALL) -D -m 0755 package/google/google_miniclient/run-app $(TARGET_DIR)/app/client/run-app
$(INSTALL) -D -m 0755 package/google/google_miniclient/run-netflix $(TARGET_DIR)/app/client/run-netflix
$(INSTALL) -D -m 0755 package/google/google_miniclient/run-vudu $(TARGET_DIR)/app/client/run-vudu
$(INSTALL) -D -m 0755 package/google/google_miniclient/runminiclient $(TARGET_DIR)/app/client/runminiclient
$(INSTALL) -D -m 0755 package/google/google_miniclient/idlesleep $(TARGET_DIR)/app/client/idlesleep
$(INSTALL) -D -m 0755 package/google/google_miniclient/verify_playready_widevine $(TARGET_DIR)/app/client/verify_playready_widevine
endef
$(eval $(call GENTARGETS))