[droid] new launcher icons + fetch launcher icons from media dir
[vuplus_xbmc] / tools / android / packaging / Makefile
index 63fdfdc..1fe3de8 100644 (file)
@@ -78,7 +78,12 @@ extras: libs
        @echo "native_arch=$(ARCH)" > xbmc/res/raw/xbmc.properties
        cd xbmc/assets/addons; rm -rf $(EXCLUDED_ADDONS)
        cp -rfp $(PREFIX)/lib/python2.6 xbmc/assets/python2.6/lib/
-       cp -rfp $(XBMCROOT)/media/Splash.png xbmc/res/drawable/splash.png
+       cp -fp $(XBMCROOT)/media/Splash.png xbmc/res/drawable/splash.png
+       cp -fp media/drawable-hdpi/ic_launcher.png xbmc/res/drawable-hdpi/ic_launcher.png
+       cp -fp media/drawable-ldpi/ic_launcher.png xbmc/res/drawable-ldpi/ic_launcher.png
+       cp -fp media/drawable-mdpi/ic_launcher.png xbmc/res/drawable-mdpi/ic_launcher.png
+       cp -fp media/drawable-xhdpi/ic_launcher.png xbmc/res/drawable-xhdpi/ic_launcher.png
+       cp -fp media/drawable-xxhdpi/ic_launcher.png xbmc/res/drawable-xxhdpi/ic_launcher.png
        cd xbmc/assets/python2.6/lib/python2.6/; rm -rf test config lib-dynload
        mkdir -p tmp/res; $(AAPT) c -S xbmc/res -C tmp/res; cp -r -n xbmc/res tmp/ || true
        $(AAPT) p -f -I $(SDKROOT)/platforms/$(SDK_PLATFORM)/android.jar -S tmp/res/ -M xbmc/AndroidManifest.xml -F images/xbmcapp-debug-skeleton.apk -J xbmc/src