Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 10:19:30 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518491 - in head/multimedia: . kodi-addon-peripheral.joystick-devel kodi-addon-peripheral.joystick-devel/files
Message-ID:  <201911271019.xARAJUVm046782@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Nov 27 10:19:30 2019
New Revision: 518491
URL: https://svnweb.freebsd.org/changeset/ports/518491

Log:
  New port: multimedia/kodi-addon-peripheral.joystick-devel
  
  This add-on provides joystick drivers and button mapping services
  for Kodi.  It uses Kodi's Peripheral API.
  
  This port is for multimedia/kodi-devel only.
  
  WWW: https://github.com/xbmc/peripheral.joystick
  
  PR:		241237
  Submitted by:	rozhuk.im@gmail.com

Added:
  head/multimedia/kodi-addon-peripheral.joystick-devel/
     - copied from r518490, head/multimedia/kodi-addon-peripheral-joystick/
Deleted:
  head/multimedia/kodi-addon-peripheral.joystick-devel/files/
Modified:
  head/multimedia/Makefile
  head/multimedia/kodi-addon-peripheral.joystick-devel/Makefile
  head/multimedia/kodi-addon-peripheral.joystick-devel/distinfo
  head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-descr
  head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-plist

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Wed Nov 27 09:53:10 2019	(r518490)
+++ head/multimedia/Makefile	Wed Nov 27 10:19:30 2019	(r518491)
@@ -176,6 +176,7 @@
     SUBDIR += kodi
     SUBDIR += kodi-addon-inputstream.adaptive-devel
     SUBDIR += kodi-addon-peripheral-joystick
+    SUBDIR += kodi-addon-peripheral.joystick-devel
     SUBDIR += kodi-addon-pvr-hts
     SUBDIR += kodi-addon-pvr-iptvsimple
     SUBDIR += kodi-addon-vfs.libarchive-devel

Modified: head/multimedia/kodi-addon-peripheral.joystick-devel/Makefile
==============================================================================
--- head/multimedia/kodi-addon-peripheral-joystick/Makefile	Wed Nov 27 09:53:10 2019	(r518490)
+++ head/multimedia/kodi-addon-peripheral.joystick-devel/Makefile	Wed Nov 27 10:19:30 2019	(r518491)
@@ -1,41 +1,32 @@
-# Created by: Rozhuk Ivan 2018 <rozhuk.im@gmail.com>
+# Created by: Rozhuk Ivan <rozhuk.im@gmail.com>
 # $FreeBSD$
 
-PORTNAME=	kodi-addon-peripheral-joystick
-PORTVERSION=	1.3.4
-DISTVERSIONPREFIX=v
+PORTNAME=	peripheral.joystick
+PORTVERSION=	1.4.8
+DISTVERSIONSUFFIX=	-Leia
 CATEGORIES=	multimedia
+PKGNAMEPREFIX=	kodi-addon-
+PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	rozhuk.im@gmail.com
 COMMENT=	Joystick support for Kodi
 
 LICENSE=	GPLv2+
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/kodi/KodiConfig.cmake:multimedia/kodi
-LIB_DEPENDS=	libp8-platform.so:devel/p8-platform \
-		libkodiplatform.so:devel/kodi-platform \
+BUILD_DEPENDS=	${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto \
+		kodi-devel>=19.0.a20191112:multimedia/kodi-devel
+LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml \
 		libudev.so:devel/libudev-devd
-RUN_DEPENDS=	kodi:multimedia/kodi
+RUN_DEPENDS=	kodi-devel>=19.0.a20191112:multimedia/kodi-devel
 
-USES=		cmake:noninja
-
+USES=		cmake localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	xbmc
-GH_PROJECT=	peripheral.joystick
 
-post-extract:
-	@${MKDIR} ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/input.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/types.h ${WRKSRC}/src/linux/
+PLIST_SUB=	SOVERSION=${PORTVERSION}
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-	    's|if(HAVE_LINUX_JOYSTICK_H)|if(1)|g ; \
-	     s|if(UDEV_FOUND)|if(1)|g' \
+	@${REINPLACE_CMD} -e 's|if(CORE_SYSTEM_NAME STREQUAL linux)|if(1)|g' \
 		${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} -e 's|#define __stat64 stat64|#define __stat64 stat|g' \
-		${WRKSRC}/src/utils/CommonIncludes.h
 
 .include <bsd.port.mk>

Modified: head/multimedia/kodi-addon-peripheral.joystick-devel/distinfo
==============================================================================
--- head/multimedia/kodi-addon-peripheral-joystick/distinfo	Wed Nov 27 09:53:10 2019	(r518490)
+++ head/multimedia/kodi-addon-peripheral.joystick-devel/distinfo	Wed Nov 27 10:19:30 2019	(r518491)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536326539
-SHA256 (xbmc-peripheral.joystick-v1.3.4_GH0.tar.gz) = 9a183e1f92ff2c68816bfa0056c65585a3e1129d924326359d7a5dfbcba6c56a
-SIZE (xbmc-peripheral.joystick-v1.3.4_GH0.tar.gz) = 84198
+TIMESTAMP = 1571517672
+SHA256 (xbmc-peripheral.joystick-1.4.8-Leia_GH0.tar.gz) = b6ddefed73582a3dc9bc36a9d40f8309139802ef9cfc130933bd0fe6e569d933
+SIZE (xbmc-peripheral.joystick-1.4.8-Leia_GH0.tar.gz) = 90965

Modified: head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-descr
==============================================================================
--- head/multimedia/kodi-addon-peripheral-joystick/pkg-descr	Wed Nov 27 09:53:10 2019	(r518490)
+++ head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-descr	Wed Nov 27 10:19:30 2019	(r518491)
@@ -1,3 +1,6 @@
-Joystick support for Kodi
+This add-on provides joystick drivers and button mapping services
+for Kodi.  It uses Kodi's Peripheral API.
+
+This port is for multimedia/kodi-devel only.
 
 WWW: https://github.com/xbmc/peripheral.joystick

Modified: head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-plist
==============================================================================
--- head/multimedia/kodi-addon-peripheral-joystick/pkg-plist	Wed Nov 27 09:53:10 2019	(r518490)
+++ head/multimedia/kodi-addon-peripheral.joystick-devel/pkg-plist	Wed Nov 27 10:19:30 2019	(r518491)
@@ -1,21 +1,17 @@
 lib/kodi/addons/peripheral.joystick/peripheral.joystick.so
-lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.1.3.4
-lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.17.6
+lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.%%SOVERSION%%
+lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.19.0
 share/kodi/addons/peripheral.joystick/addon.xml
-share/kodi/addons/peripheral.joystick/addon.xml.in
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/8Bitdo_Zero_GamePad_v05A0_p3232_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Gamepad_v18D1_p2C40_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Generic_USB_Joystick_v0079_p0006_11b_1h_4a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Generic_X-Box_pad_v046D_pC21D_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Logitech_Gamepad_F310_v046D_pC21D_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/NVIDIA_Corporation_NVIDIA_Controller_v01.03_v0955_p7210_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/NVIDIA_Corporation_NVIDIA_Controller_v01.04_v0955_p7214_11b_1h_6a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Sony_Interactive_Entertainment_Wireless_Controller_v054C_p09CC_11b_1h_4a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/USB_Gamepad_v0079_p0011_11b_1h.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Xbox_360_Wireless_Receiver_XBOX_v045E_p0291_11b_4a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/usb_gamepad_v0810_pE501_11b_2a.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/virtual-remote_11b.xml
-share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/application/Keyboard_1.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Hi_keyboard_v0001_p0001_23b.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/NVIDIA_Corporation_NVIDIA_Controller_v01.03_v0955_p7210_23b_8a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/NVIDIA_Corporation_NVIDIA_Controller_v01.04_v0955_p7214_23b_8a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/OUYA_Game_Controller_v2836_p0001_23b_6a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Xbox_360_Wireless_Receiver_v045E_p02A1_23b_6a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/Xbox_360_Wireless_Receiver_v045E_p0719_23b_6a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/virtual-remote_16b.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/android/virtual-remote_23b.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/application/Keyboard.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/application/Mouse.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/cocoa/8Bitdo_Zero_GamePad_v05A0_p3232_16b_4a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/cocoa/GamePad_Pro_USB_v0428_p4001_10b_2a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/cocoa/Gamepad_F310_v046D_pC21D_15b_6a.xml
@@ -48,6 +44,7 @@ share/kodi/addons/peripheral.joystick/resources/button
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/directinput/Wireless_Controller_v054C_p09CC_14b_1h_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/directinput/usb_gamepad____________v0810_pE501_10b_2a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/directinput/usb_gamepad_v0810_pE501_10b_2a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/8Bitdo_NES30_Arcade_x__10b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/8Bitdo_NES30_GamePad_16b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/8Bitdo_NES30_GamePad_Joystick_22b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/8Bitdo_SFC30_GamePad_Joystick_22b_8a.xml
@@ -56,22 +53,27 @@ share/kodi/addons/peripheral.joystick/resources/button
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Dual_PSX-USB_Adaptor_Dual_PSX-USB_Adaptor_16b_4a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/GPIO_Controller_1_9b_2a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/GPIO_Controller_2_9b_2a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Gamepad_17b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Generic_USB_Joystick_12b_7a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Generic_X-Box_pad_11b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Gravis_GamePad_Pro_USB_10b_2a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/GreenAsia_Inc._USB_Joystick_12b_7a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/HuiJia_USB_GamePad_16b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Logitech_Gamepad_F310_11b_8a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Logitech_Inc._WingMan_RumblePad_9b_7a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Logitech_Logitech_Dual_Action_12b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Logitech_Logitech_RumblePad_2_USB_12b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/MY-POWER_CO._LTD._2In1_USB_Joystick_12b_7a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Microsoft_X-Box_360_pad_11b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Microsoft_X-Box_One_pad__Firmware_2015__11b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/NVIDIA_Corporation_NVIDIA_Controller_v01.03_14b_8a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/PLAYSTATION_R_3_Controller.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/PLAYSTATION_R_3_Controller_17b_29a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Pro_Controller_16b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/ShanWan_PS_R__Ga_epad_19b_27a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Sony_Computer_Entertainment_Wireless_Controller_14b_18a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Sony_Interactive_Entertainment_Wireless_Controller_14b_8a.xml
+share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Sony_PLAYSTATION_R_3_Controller_17b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Sony_PLAYSTATION_R_3_Controller_19b_27a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/USB_Gamepad_10b_2a.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/linux/Wireless_Controller_13b_8a.xml
@@ -95,3 +97,5 @@ share/kodi/addons/peripheral.joystick/resources/button
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/xarcade/X-Arcade_Tankstick_Player_2_vAA55_p0101_14b.xml
 share/kodi/addons/peripheral.joystick/resources/buttonmaps/xml/xinput/Xbox_360-compatible_controller_15b_6a.xml
 share/kodi/addons/peripheral.joystick/resources/joystickfamilies/joystickfamilies.xml
+share/kodi/addons/peripheral.joystick/resources/language/resource.language.en_gb/strings.po
+share/kodi/addons/peripheral.joystick/resources/settings.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911271019.xARAJUVm046782>