diff options
Diffstat (limited to 'dev-lua/toluapp')
-rw-r--r-- | dev-lua/toluapp/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch | 11 | ||||
-rw-r--r-- | dev-lua/toluapp/toluapp-1.0.93_p20190513-r100.ebuild | 40 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-lua/toluapp/Manifest b/dev-lua/toluapp/Manifest index 155eb1ceaa89..b905132a6ee0 100644 --- a/dev-lua/toluapp/Manifest +++ b/dev-lua/toluapp/Manifest @@ -1,4 +1,6 @@ AUX toluapp-1.0.93_p20190513-fix-multilib.patch 1435 BLAKE2B cdcfa5e194dafa466cca5fb05d8cdfc285b97ff3a91c81fe71159601245576527a2f3d8539c3a3f15be745eab14cfe084a3fc90042e141b503dcee8063c85f8f SHA512 2cf6c341e3749aff13a89cc5894b900132b78b423a3b3c858d0235735c2c237b5503ea5a187ddcb851c12a69d42400da1e7556081e178edaafd406b84fb6e893 +AUX toluapp-1.0.93_p20190513-lua-version.patch 288 BLAKE2B c98560e520abbc9106be46a28e604f1436a110de9fb267ec106c9ad00241dcb849861ef195e9344d785520e78d821b7a2750685778746eefc6c4d3619c81043f SHA512 cad6055a6fd10af78f068abbcc6921f22119206cca190d41010182edd4805b38b595b33bb7fe6ed3e90cca19b9ae944dfde8910ba14d284bca0fbf20f9a4ee1b DIST toluapp-1.0.93_p20190513.tar.gz 248043 BLAKE2B 08db9f86f224c95532ede354d93317680beeacb7ab8c0e41ddd8ed785a682ab4a3664265d10fae7d36fab33864442fcb403985176a9c01797e29c72708500968 SHA512 5750f9d4bbb39832650ac6874c2933f4ed3ff5f6a40a2345ab795f6fea841ccdbc93cd1fee53ffc93db3cee43bfdb367fa1ec19cf0cd1f75edf6bdb8ee269442 EBUILD toluapp-1.0.93_p20190513-r1.ebuild 702 BLAKE2B de6ee14cc2d14325a4f6249795fecf1a88e840146ea8ab708e0a3312467988932fd955096a019412a72561c9621900bebcd031db87238353a89f7f6de8a02199 SHA512 7fefa380e3bab68844e1b37869d5cabb17fb7dfdd6e1cdbbe3851523ef52cfedf792aaaf74a7b6d1cf851e6dc807565ee552e75197746717a88b1b4fd2d13fc3 +EBUILD toluapp-1.0.93_p20190513-r100.ebuild 970 BLAKE2B dc3f19a814ed66f061ab0833fa05f6cbbd8a7fa7fb53c0e952a9129276b2ffe8925ac5ae07b3de0bb120d58df771d66b6d259d4f4dd1244b72755b85f297f52c SHA512 b4cea412393ecfc62ffe776bce22ce09a69222efdfa181d3bab35a47b141df92c19dd5cec549769b55052a357c7e6587dd33d0956cb5de35f011f360284a9b28 MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274 diff --git a/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch b/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch new file mode 100644 index 000000000000..fda6c253c2e6 --- /dev/null +++ b/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,7 +8,7 @@ + cmake_minimum_required ( VERSION 2.8 ) + include ( cmake/dist.cmake ) + +-find_package ( Lua REQUIRED ) ++find_package ( Lua ${LUA_VERSION} EXACT REQUIRED ) + include_directories ( include src/lib ${LUA_INCLUDE_DIR} ) + + # Build lib diff --git a/dev-lua/toluapp/toluapp-1.0.93_p20190513-r100.ebuild b/dev-lua/toluapp/toluapp-1.0.93_p20190513-r100.ebuild new file mode 100644 index 000000000000..ab25d1fac8dc --- /dev/null +++ b/dev-lua/toluapp/toluapp-1.0.93_p20190513-r100.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Newer Lua versions are NOT supported, see Bug #508222 +LUA_COMPAT=( lua5-1 ) + +inherit cmake lua-single + +MY_PN=${PN/pp/++} +COMMIT_ID="b34075b76835b778bb6b2ce0aa224afd9d182887" + +DESCRIPTION="A tool to integrate C/C++ code with Lua" +HOMEPAGE="https://github.com/LuaDist/toluapp" +SRC_URI="https://github.com/LuaDist/toluapp/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT_ID}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.93_p20190513-fix-multilib.patch + "${FILESDIR}"/${PN}-1.0.93_p20190513-lua-version.patch +) +CMAKE_REMOVE_MODULES_LIST="dist.cmake lua.cmake FindLua.cmake" + +src_configure() { + local mycmakeargs=( + -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version)) + ) + cmake_src_configure +} |