Skip to contentSkip to conversation

package/kodi: share the download dir with helper programs

PATCH New Yann E. MORIN 3 participants 3 messages Nov 13, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kodi: share the download dir with helper programs

The two helper programs TesturePackager and JsonSchemaBuilder are built out of the same source tree as Kodi, so to avoid downloading the same archive three times, let's them share the same download directory.

---
 package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk | 1 +
 package/kodi-texturepacker/kodi-texturepacker.mk         | 1 +
 2 files changed, 2 insertions(+)
package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk +1 -0
index fcf4888a9c..713d415fed 100644
@@ -9,6 +9,7 @@
 KODI_JSONSCHEMABUILDER_VERSION = 17.6-Krypton
 KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
 KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
+KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
 KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0
 KODI_JSONSCHEMABUILDER_LICENSE_FILES = LICENSE.GPL
 HOST_KODI_JSONSCHEMABUILDER_SUBDIR = tools/depends/native/JsonSchemaBuilder
package/kodi-texturepacker/kodi-texturepacker.mk +1 -0
index 31e3580aed..bb35252b94 100644
@@ -9,6 +9,7 @@
 KODI_TEXTUREPACKER_VERSION = 17.6-Krypton
 KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
 KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
+KODI_TEXTUREPACKER_DL_SUBDIR = kodi
 KODI_TEXTUREPACKER_LICENSE = GPL-2.0
 KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.GPL
 HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/kodi: share the download dir with helper programs

Quoted 10 lines · On Wed, 13 Nov 2019 21:44:12 +0100 "Yann E. MORIN" <[email protected]>…

The two helper programs TesturePackager and JsonSchemaBuilder are built out of the same source tree as Kodi, so to avoid downloading the same archive three times, let's them share the same download directory.

---
 package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk | 1 +
 package/kodi-texturepacker/kodi-texturepacker.mk         | 1 +
 2 files changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/kodi: share the download dir with helper programs

In reply to Yann E. MORIN
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

The two helper programs TesturePackager and JsonSchemaBuilder are built out of the same source tree as Kodi, so to avoid downloading the same archive three times, let's them share the same download directory.

Committed to 2019.02.x and 2019.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard