package/kodi-skin-confluence: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 29 Apr 2017 20:36:07 +0000 (22:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 19:09:08 +0000 (21:09 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
 - use SPDX license code
 - license is GPL-2.0, not GPL-2.0+
 - remove unused _CONF_OPTS variable]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi-skin-confluence/Config.in [new file with mode: 0644]
package/kodi-skin-confluence/kodi-skin-confluence.hash [new file with mode: 0644]
package/kodi-skin-confluence/kodi-skin-confluence.mk [new file with mode: 0644]
package/kodi/Config.in

diff --git a/package/kodi-skin-confluence/Config.in b/package/kodi-skin-confluence/Config.in
new file mode 100644 (file)
index 0000000..08b6568
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_KODI_SKIN_CONFLUENCE
+       bool "kodi-skin-confluence"
+       help
+         Kodi confluence skin
+
+         https://github.com/xbmc/skin.confluence
diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash
new file mode 100644 (file)
index 0000000..9aa2ea4
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 47970d61b2f617921dfbc36188ed11de9af366cd97d9105e19cbe96598fe7b62  kodi-skin-confluence-7044dabb3a818d7ff47b7a34bfb3480f2a9441d9.tar.gz
diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk
new file mode 100644 (file)
index 0000000..5078a80
--- /dev/null
@@ -0,0 +1,24 @@
+################################################################################
+#
+# kodi-skin-confluence
+#
+################################################################################
+
+KODI_SKIN_CONFLUENCE_VERSION = 7044dabb3a818d7ff47b7a34bfb3480f2a9441d9
+KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION))
+KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0
+KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt
+KODI_SKIN_CONFLUENCE_DEPENDENCIES = kodi
+
+define KODI_SKIN_CONFLUENCE_BUILD_CMDS
+       $(HOST_DIR)/usr/bin/TexturePacker -input $(@D)/media/ -output $(@D)/media/Textures.xbt -dupecheck -use_none
+endef
+
+define KODI_SKIN_CONFLUENCE_INSTALL_TARGET_CMDS
+       mkdir -p $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
+       cp -dpfr $(@D)/* $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
+       find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.jpg -delete
+       find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.png -delete
+endef
+
+$(eval $(generic-package))
index e7156c786e3d5a9ba1eca0a360f97b0e6650bc9e..658670139316695d9ab6d1a702d67f25fa96c3a8 100644 (file)
@@ -328,6 +328,10 @@ menu "Screensavers"
        source "package/kodi-screensaver-stars/Config.in"
 endmenu
 
+menu "Skins"
+       source "package/kodi-skin-confluence/Config.in"
+endmenu
+
 menu "Visualisations"
        source "package/kodi-visualisation-fishbmc/Config.in"
        source "package/kodi-visualisation-goom/Config.in"