mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-cpp/luabind: Remove from tree
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST luabind-0.9.1.tar.gz 194560 SHA256 80de5e04918678dd8e6dac3b22a34b3247f74bf744c719bae21faaa49649aaae SHA512 7967a27c3fccb155c282b3234e57d1943f6270988587b772a018d8d4491c8fe5418f264154405aaf1fdfaa27a3e478b026dd6c51f95d8d6092df82c468407ae1 WHIRLPOOL 6c8f0233c571ce5b91c3d44375aaf4251fd39e06f28e8ffab2207ed1b50d45a324b9c4abac944dcad501febf59972a281bc01653120ddcdf61d123db51937496
|
||||
@@ -1,59 +0,0 @@
|
||||
diff --git luabind-0.9.1/luabind/detail/call_function.hpp luabind-0.9.1-fixed/luabind/detail/call_function.hpp
|
||||
index 1b45ec1..8f5afff 100644
|
||||
--- luabind-0.9.1/luabind/detail/call_function.hpp
|
||||
+++ luabind-0.9.1-fixed/luabind/detail/call_function.hpp
|
||||
@@ -323,7 +323,8 @@ namespace luabind
|
||||
|
||||
#endif // LUABIND_CALL_FUNCTION_HPP_INCLUDED
|
||||
|
||||
-#elif BOOST_PP_ITERATION_FLAGS() == 1
|
||||
+#else
|
||||
+#if BOOST_PP_ITERATION_FLAGS() == 1
|
||||
|
||||
#define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
|
||||
#define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
|
||||
@@ -440,4 +441,5 @@ namespace luabind
|
||||
|
||||
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
diff --git luabind-0.9.1/luabind/detail/call_member.hpp luabind-0.9.1-fixed/luabind/detail/call_member.hpp
|
||||
index de8d563..e63555b 100644
|
||||
--- luabind-0.9.1/luabind/detail/call_member.hpp
|
||||
+++ luabind-0.9.1-fixed/luabind/detail/call_member.hpp
|
||||
@@ -316,7 +316,8 @@ namespace luabind
|
||||
|
||||
#endif // LUABIND_CALL_MEMBER_HPP_INCLUDED
|
||||
|
||||
-#elif BOOST_PP_ITERATION_FLAGS() == 1
|
||||
+#else
|
||||
+#if BOOST_PP_ITERATION_FLAGS() == 1
|
||||
|
||||
#define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
|
||||
#define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
|
||||
@@ -360,4 +361,5 @@ namespace luabind
|
||||
#undef LUABIND_TUPLE_PARAMS
|
||||
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
diff --git luabind-0.9.1/luabind/wrapper_base.hpp luabind-0.9.1-fixed/luabind/wrapper_base.hpp
|
||||
index d54c668..0f88cc5 100755
|
||||
--- luabind-0.9.1/luabind/wrapper_base.hpp
|
||||
+++ luabind-0.9.1-fixed/luabind/wrapper_base.hpp
|
||||
@@ -89,7 +89,8 @@ namespace luabind
|
||||
|
||||
#endif // LUABIND_WRAPPER_BASE_HPP_INCLUDED
|
||||
|
||||
-#elif BOOST_PP_ITERATION_FLAGS() == 1
|
||||
+#else
|
||||
+#if BOOST_PP_ITERATION_FLAGS() == 1
|
||||
|
||||
#define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
|
||||
#define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
|
||||
@@ -188,3 +189,4 @@ namespace luabind
|
||||
#undef N
|
||||
|
||||
#endif
|
||||
+#endif
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# NOTE: cross compiling is probably broken
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Creates bindings for lua on c++"
|
||||
HOMEPAGE="http://www.rasterbar.com/products/luabind.html"
|
||||
SRC_URI="mirror://sourceforge/luabind/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
dev-util/boost-build"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# backwardscomapt with old boost-build-1.49.0
|
||||
if [[ -e $(which bjam-1_49 2>/dev/null) ]] ; then
|
||||
my_bjam_bin=bjam-1_49
|
||||
else
|
||||
my_bjam_bin=bjam
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# linkflags get appended, so they actually do nothing
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared \
|
||||
install || die "install failed"
|
||||
}
|
||||
|
||||
# generally, this really sucks, patches welcome
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# NOTE: cross compiling is probably broken
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Creates bindings for lua on c++"
|
||||
HOMEPAGE="http://www.rasterbar.com/products/luabind.html"
|
||||
SRC_URI="mirror://sourceforge/luabind/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
dev-util/boost-build"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-boost.patch
|
||||
|
||||
# backwardscomapt with old boost-build-1.49.0
|
||||
if [[ -e $(which bjam-1_49 2>/dev/null) ]] ; then
|
||||
my_bjam_bin=bjam-1_49
|
||||
else
|
||||
my_bjam_bin=bjam
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# linkflags get appended, so they actually do nothing
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared \
|
||||
install || die "install failed"
|
||||
}
|
||||
|
||||
# generally, this really sucks, patches welcome
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">luabind</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -341,10 +341,6 @@ dev-ruby/activesupport:4.1
|
||||
# depends on a newer version.
|
||||
net-misc/termtter
|
||||
|
||||
# David Seifert <soap@gentoo.org> (27 Dec 2016)
|
||||
# Fails with more recent boost, dead upstream (bug #600548).
|
||||
dev-cpp/luabind
|
||||
|
||||
# Mike Gilbert <floppym@gentoo.org> (10 Dec 2016)
|
||||
# Dev channel releases are only for people who are developers or want more
|
||||
# experimental features and accept a more unstable release.
|
||||
|
||||
Reference in New Issue
Block a user