Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions toluapp/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,36 @@ 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}
./${PN}.exe -v
}

DOCS="
COPYRIGHT
README-5.1
"
HTMLDOCS="
Expand All @@ -35,7 +52,7 @@ toluapp_CONTENTS="
usr/share
"
libtoluapp0_CONTENTS="
usr/bin/*.dll
usr/bin/cygtoluapp-0.dll
"
libtoluapp_devel_CONTENTS="
usr/include
Expand Down
Original file line number Diff line number Diff line change
@@ -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 )
Expand Down Expand Up @@ -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@
Expand Down
Loading