[SCM] kodi/master: Generate addon API versions for architecture-specific builds only

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Mon Nov 14 16:12:53 UTC 2016


The following commit has been merged in the master branch:
commit bad1c60e8482a9ccf950f008e124e9653490b0cd
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Mon Nov 14 16:37:33 2016 +0100

    Generate addon API versions for architecture-specific builds only

diff --git a/debian/rules b/debian/rules
index 069cc29..45eac6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -196,14 +196,18 @@ override_dh_strip:
 override_dh_installinit:
 	@echo "Shipping systemd kodi.service file as an example only"
 
-override_dh_gencontrol:
+override_dh_gencontrol-arch:
 	debian/dh-addon/dh_kodiaddon_depends
-	dh_gencontrol -pxbmc -pxbmc-bin -pxbmc-eventclients-common \
+	dh_gencontrol -a -pxbmc-bin -- -v2:"$(VERSION)"
+	dh_gencontrol -a --remaining-packages
+
+override_dh_gencontrol-indep:
+	dh_gencontrol -pxbmc -pxbmc-eventclients-common \
 		-pxbmc-eventclients-dev -pxbmc-eventclients-wiiremote \
 		-pxbmc-eventclients-ps3 \
 		-pxbmc-eventclients-xbmc-send -pxbmc-addons-dev \
 		-- -v2:"$(VERSION)"
-	dh_gencontrol --remaining-packages
+	dh_gencontrol -i --remaining-packages
 
 # extract and patch customized libdvdread and libdvdnav
 extract-components:

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list