Skip to contentSkip to conversation

package/rtptools: bump version

PATCH New Bernd Kuhls 1 participant 1 message May 30

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 package/rtptools: bump version

Switched _SITE to github, previous site is offline.

https://github.com/irtlab/rtptools/commit/26f6daeeaa3217a98cb63e9463d60286f7fb90d8
replaced the autotools-based build system with a hand-written script which is broken when cross-compiling due to runtime tests:
https://github.com/irtlab/rtptools/blob/master/configure#L115

Added various options to configure.local which is read by the configure
script: https://github.com/irtlab/rtptools/blob/master/configure#L68

Fixes:
https://autobuild.buildroot.net/results/136/13649109c910f3a278baf63fbe99df1041907ede/

---
v3: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/cf31214dbc2c14e7c37dde476552507683d83403

v2: added more options to configure.local to fix cross builds (Thomas)

 package/rtptools/Config.in     |  2 +-
 package/rtptools/rtptools.hash |  2 +-
 package/rtptools/rtptools.mk   | 22 +++++++++++++++++++---
 3 files changed, 21 insertions(+), 5 deletions(-)
package/rtptools/Config.in +1 -1
index 80bbb7a7a0..1aa803e60e 100644
@@ -4,4 +4,4 @@ config BR2_PACKAGE_RTPTOOLS
 	  The rtptools distribution consists of a number of small
 	  applications that can be used for processing RTP data.
 
-	  http://www.cs.columbia.edu/irt/software/rtptools/
+	  https://github.com/irtlab/rtptools
package/rtptools/rtptools.hash +1 -1
index 6988483b81..a2e7e627e6 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  2c76b2a423fb943820c91194372133a44cbdc456ebf69c51616ec50eeb068c28  rtptools-1.22.tar.gz
+sha256  c78c5b60bfddfc3505670230ff2b92514f62766c5bdf53e78c3ad88a12bbc27a  rtptools-520c0a3722f37cd243d6908063d86a0306ace088.tar.gz
 sha256  f864592065e232c0b444ae9682a7a1a2c6aafe96712999f794bec24d4441a6a9  LICENSE
package/rtptools/rtptools.mk +19 -3
index 2148b759ac..d42360c486 100644
@@ -4,10 +4,26 @@
 #
 ################################################################################
 
-RTPTOOLS_VERSION = 1.22
-RTPTOOLS_SITE = http://www.cs.columbia.edu/irt/software/rtptools/download
+RTPTOOLS_VERSION = 520c0a3722f37cd243d6908063d86a0306ace088
+RTPTOOLS_SITE = $(call github,irtlab,rtptools,$(RTPTOOLS_VERSION))
 RTPTOOLS_LICENSE = BSD-3-Clause
 RTPTOOLS_LICENSE_FILES = LICENSE
-RTPTOOLS_CONF_ENV = ac_cv_prog_FOUND_CLANG=no
+
+define RTPTOOLS_CONFIGURE_LOCAL
+	( \
+	echo 'PREFIX="$(TARGET_DIR)"'; \
+	echo 'HAVE_BIGENDIAN=$(if $(filter "BIG",$(BR2_ENDIAN)),1,0)'; \
+	echo 'HAVE_ERR=1'; \
+	echo 'HAVE_GETOPT=1'; \
+	echo 'HAVE_GETTIMEOFDAY=1'; \
+	echo 'HAVE_MSGCONTROL=1'; \
+	echo 'HAVE_LNSL=0'; \
+	echo 'HAVE_LSOCKET=0'; \
+	echo 'HAVE_PROGNAME=1'; \
+	echo 'HAVE_STRTONUM=1'; \
+	echo 'HAVE_WINDOWS=0'; \
+	) > $(@D)/configure.local
+endef
+RTPTOOLS_PRE_CONFIGURE_HOOKS += RTPTOOLS_CONFIGURE_LOCAL
 
 $(eval $(autotools-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot