diff --git a/toluapp/README b/toluapp/README index 792bd6821f..456cbbac07 100644 --- a/toluapp/README +++ b/toluapp/README @@ -4,21 +4,20 @@ tolua++ is an extension of toLua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to c++, such as class templates. Runtime requirements: - cygwin-3.1.2-1 - libtoluapp-devel-1.0.93-1bl2 - libtoluapp0-1.0.93-1bl2 + cygwin-3.6.12-1 + libtoluapp-devel-1.0.93-1bl3 + libtoluapp0-1.0.93-1bl3 lua5.1-5.1.5-3 - pkg-config-1.6.0-1 + pkg-config-3.0.10-1 Build requirements: (besides corresponding -devel packages) - binutils-2.29-1 - cmake-3.14.5-1 - cygport-0.33.1-1 - gcc-core-7.4.0-1 - gcc-g++-7.4.0-1 - lua-5.3.5-1 - ninja-1.9.0-1 + binutils-2.47-1 + cmake-4.4.5-1 + cygport-0.37.12-1 + gcc-core-14.4.0-1 + lua5.1-devel-5.1.5-3 + ninja-1.13.2-1 Canonical website: https://github.com/LuaDist/toluapp @@ -67,6 +66,9 @@ Files included in the binary package: Port Notes: +----- version 1.0.93-1bl3 ----- +Rebuild with gcc-14.4.0 + ----- version 1.0.93-1bl2 ----- Rebuild for lua diff --git a/toluapp/toluapp-1.0.93-1bl2.cygport b/toluapp/toluapp-1.0.93-1bl3.cygport similarity index 69% rename from toluapp/toluapp-1.0.93-1bl2.cygport rename to toluapp/toluapp-1.0.93-1bl3.cygport index 827d71ae73..485c98e265 100644 --- a/toluapp/toluapp-1.0.93-1bl2.cygport +++ b/toluapp/toluapp-1.0.93-1bl3.cygport @@ -6,12 +6,28 @@ SUMMARY="Tool to integrate C/Cpp code with Lua" DESCRIPTION="tolua++ is an extension of toLua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to c++, such as class templates." +LICENSE="MIT" +LICENSE_SPDX="SPDX-License-Identifier: MIT" +LICENSE_URI="COPYRIGHT" + +BUILD_REQUIRES=" + lua5.1-devel +" + inherit cmake CYGCMAKE_ARGS=" + -DCMAKE_POLICY_VERSION_MINIMUM:STRING=3.5 -DVERSION:STRING=${PV} " +CYGPORT_USE_UNSTABLE_API=1 +src_patch_hook() +{ + cd ${origsrcdir}/${SRC_DIR} + verbose sed -i "s/tolua++-1\.0\.92/tolua++-${PV}/" include/tolua++.h +} + src_test() { cd ${B} @@ -19,6 +35,7 @@ src_test() } DOCS=" + COPYRIGHT README-5.1 " HTMLDOCS=" @@ -35,7 +52,7 @@ toluapp_CONTENTS=" usr/share " libtoluapp0_CONTENTS=" - usr/bin/*.dll + usr/bin/cygtoluapp-0.dll " libtoluapp_devel_CONTENTS=" usr/include diff --git a/toluapp/toluapp-1.0.93-1bl2.src.patch b/toluapp/toluapp-1.0.93-1bl3.src.patch similarity index 84% rename from toluapp/toluapp-1.0.93-1bl2.src.patch rename to toluapp/toluapp-1.0.93-1bl3.src.patch index c0e9a91be0..9e00b307bd 100644 --- a/toluapp/toluapp-1.0.93-1bl2.src.patch +++ b/toluapp/toluapp-1.0.93-1bl3.src.patch @@ -1,5 +1,5 @@ ---- origsrc/toluapp-1.0.93/CMakeLists.txt 2012-08-24 10:01:53.000000000 +0900 -+++ src/toluapp-1.0.93/CMakeLists.txt 2020-01-04 17:00:48.676294900 +0900 +--- origsrc/toluapp-1.0.93/CMakeLists.txt 2012-08-24 01:01:53.000000000 +0000 ++++ src/toluapp-1.0.93/CMakeLists.txt 2026-11-15 23:43:45.481772700 +0000 @@ -8,8 +8,14 @@ project ( toluapp C ) cmake_minimum_required ( VERSION 2.8 ) include ( cmake/dist.cmake ) @@ -39,8 +39,8 @@ +SET(includedir ${CMAKE_INSTALL_PREFIX}/include) +CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY) +INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) ---- origsrc/toluapp-1.0.93/toluapp.pc.in 1970-01-01 09:00:00.000000000 +0900 -+++ src/toluapp-1.0.93/toluapp.pc.in 2020-01-04 16:42:07.199280500 +0900 +--- origsrc/toluapp-1.0.93/toluapp.pc.in 1970-01-01 00:00:00.000000000 +0000 ++++ src/toluapp-1.0.93/toluapp.pc.in 2026-11-15 23:43:45.483791100 +0000 @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@