Update logos based on build version
9
Makefile
@ -20,6 +20,15 @@ ZIP_EXCLUDE= -x rooibos/**\* -x xml/* -x artwork/* -x \*.pkg -x storeassets\* -x
|
||||
|
||||
include app.mk
|
||||
|
||||
dev:
|
||||
$(MAKE) BUILD='dev' package
|
||||
|
||||
beta:
|
||||
$(MAKE) BUILD='beta' package
|
||||
|
||||
release:
|
||||
$(MAKE) BUILD='release' package
|
||||
|
||||
test: prep_staging prep_tests remove install
|
||||
echo "Running tests"
|
||||
|
||||
|
22
app.mk
@ -27,6 +27,8 @@
|
||||
# associated with the rokudev account.
|
||||
##########################################################################
|
||||
|
||||
BUILD = dev
|
||||
|
||||
DISTREL = $(shell pwd)/out
|
||||
COMMONREL ?= $(shell pwd)/common
|
||||
SOURCEREL = $(shell pwd)
|
||||
@ -102,6 +104,7 @@ prep_staging:
|
||||
chmod -R 755 $(STAGINGREL); \
|
||||
|
||||
echo " >> moving application to $(STAGINGREL)"
|
||||
cp $(SOURCEREL)/manifest $(STAGINGREL)/manifest
|
||||
cp -r $(SOURCEREL)/source $(STAGINGREL)
|
||||
cp -r $(SOURCEREL)/components $(STAGINGREL)
|
||||
cp -r $(SOURCEREL)/images $(STAGINGREL)
|
||||
@ -110,9 +113,12 @@ prep_staging:
|
||||
mkdir $(STAGINGREL)/locale
|
||||
cp -r $(foreach f,$(SUPPORTED_LOCALES),$(SOURCEREL)/locale/$f) $(STAGINGREL)/locale
|
||||
|
||||
cp $(SOURCEREL)/manifest $(STAGINGREL)/manifest
|
||||
ifneq ($(BUILD), dev)
|
||||
echo "COPYING $(BUILD)"
|
||||
cp $(SOURCEREL)/resources/branding/$(BUILD)/* $(STAGINGREL)/images
|
||||
endif
|
||||
|
||||
package: prep_staging
|
||||
package: prep_staging
|
||||
@echo "*** Creating $(APPNAME).zip ***"
|
||||
@echo " >> copying imports"
|
||||
@if [ "$(IMPORTFILES)" ]; \
|
||||
@ -137,12 +143,12 @@ package: prep_staging
|
||||
|
||||
# zip .png files without compression
|
||||
# do not zip up any files ending with '~'
|
||||
@echo " >> creating application zip $(STAGINGREL)/../apps/$(APPNAME).zip"
|
||||
@echo " >> creating application zip $(STAGINGREL)/../apps/$(APPNAME)-$(BUILD).zip"
|
||||
@if [ -d $(STAGINGREL) ]; \
|
||||
then \
|
||||
cd $(STAGINGREL); \
|
||||
(zip -0 -r "../apps/$(APPNAME).zip" . -i \*.png $(ZIP_EXCLUDE)); \
|
||||
(zip -9 -r "../apps/$(APPNAME).zip" . -x \*~ -x \*.png $(ZIP_EXCLUDE)); \
|
||||
(zip -0 -r "../apps/$(APPNAME)-$(BUILD).zip" . -i \*.png $(ZIP_EXCLUDE)); \
|
||||
(zip -9 -r "../apps/$(APPNAME)-$(BUILD).zip" . -x \*~ -x \*.png $(ZIP_EXCLUDE)); \
|
||||
cd $(SOURCEREL);\
|
||||
else \
|
||||
echo "Source for $(APPNAME) not found at $(STAGINGREL)"; \
|
||||
@ -154,7 +160,7 @@ package: prep_staging
|
||||
rm -r -f $(APPSOURCEDIR)/common; \
|
||||
fi \
|
||||
|
||||
@echo "*** packaging $(APPNAME) complete ***"
|
||||
@echo "*** packaging $(APPNAME)-$(BUILD) complete ***"
|
||||
|
||||
prep_tests:
|
||||
@mkdir -p $(STAGINGREL)/components/tests/; \
|
||||
@ -164,8 +170,8 @@ prep_tests:
|
||||
./node_modules/.bin/rooibos-cli i tests/.rooibosrc.json
|
||||
|
||||
install: prep_staging package home
|
||||
@echo "Installing $(APPNAME) to host $(ROKU_DEV_TARGET)"
|
||||
@$(CURLCMD) --user $(USERPASS) --digest -F "mysubmit=Install" -F "archive=@$(ZIPREL)/$(APPNAME).zip" -F "passwd=" http://$(ROKU_DEV_TARGET)/plugin_install | grep "<font color" | sed "s/<font color=\"red\">//" | sed "s[</font>[["
|
||||
@echo "Installing $(APPNAME)-$(BUILD) to host $(ROKU_DEV_TARGET)"
|
||||
@$(CURLCMD) --user $(USERPASS) --digest -F "mysubmit=Install" -F "archive=@$(ZIPREL)/$(APPNAME)-$(BUILD).zip" -F "passwd=" http://$(ROKU_DEV_TARGET)/plugin_install | grep "<font color" | sed "s/<font color=\"red\">//" | sed "s[</font>[["
|
||||
|
||||
remove:
|
||||
@echo "Removing $(APPNAME) from host $(ROKU_DEV_TARGET)"
|
||||
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 12 KiB |
BIN
images/logo.png
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 41 KiB |
BIN
images/splash-screen_fhd.png
Normal file
After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 21 KiB |
BIN
images/splash-screen_hd.png
Normal file
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 11 KiB |
BIN
images/splash-screen_sd.png
Normal file
After Width: | Height: | Size: 14 KiB |
6
manifest
@ -10,9 +10,9 @@ mm_icon_focus_hd=pkg:/images/channel-poster_hd.png
|
||||
mm_icon_focus_sd=pkg:/images/channel-poster_sd.png
|
||||
|
||||
### Splash Screen + Loading Screen Artwork
|
||||
splash_screen_fhd=pkg:/images/splash-screen_fhd.jpg
|
||||
splash_screen_hd=pkg:/images/splash-screen_hd.jpg
|
||||
splash_screen_sd=pkg:/images/splash-screen_sd.jpg
|
||||
splash_screen_fhd=pkg:/images/splash-screen_fhd.png
|
||||
splash_screen_hd=pkg:/images/splash-screen_hd.png
|
||||
splash_screen_sd=pkg:/images/splash-screen_sd.png
|
||||
|
||||
splash_min_time=1500
|
||||
|
||||
|
BIN
resources/branding/beta/channel-poster_fhd.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/branding/beta/channel-poster_hd.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
resources/branding/beta/channel-poster_sd.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
resources/branding/beta/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
resources/branding/beta/splash-screen_fhd.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
resources/branding/beta/splash-screen_hd.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/branding/beta/splash-screen_sd.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
resources/branding/release/channel-poster_fhd.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
resources/branding/release/channel-poster_hd.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
resources/branding/release/channel-poster_sd.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/branding/release/logo.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/branding/release/splash-screen_fhd.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
resources/branding/release/splash-screen_hd.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
resources/branding/release/splash-screen_sd.png
Normal file
After Width: | Height: | Size: 14 KiB |