public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lutok/
Date: Wed, 26 Jul 2023 03:13:23 +0000 (UTC)	[thread overview]
Message-ID: <1690341106.42d390c790d3d860ad4e693c8ce0ea04016d26e3.sam@gentoo> (raw)

commit:     42d390c790d3d860ad4e693c8ce0ea04016d26e3
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Jul  9 18:46:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 03:11:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d390c7

dev-lua/lutok: Fix compiling with clang-16

Related: https://github.com/jmmv/lutok/issues/7
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/31814
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lua/lutok/lutok-0.4-r11.ebuild | 53 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/dev-lua/lutok/lutok-0.4-r11.ebuild b/dev-lua/lutok/lutok-0.4-r11.ebuild
new file mode 100644
index 000000000000..c3e30ece373f
--- /dev/null
+++ b/dev-lua/lutok/lutok-0.4-r11.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2017-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+LUA_COMPAT=( lua5-{1..4} )
+
+inherit lua-single
+
+DESCRIPTION="Lightweight C++ API library for Lua"
+HOMEPAGE="https://github.com/jmmv/lutok"
+SRC_URI="https://github.com/jmmv/lutok/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	virtual/pkgconfig
+	test? (
+		dev-libs/atf
+		dev-util/kyua
+	)
+"
+DEPEND="${LUA_DEPS}"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	:
+}
+
+src_configure() {
+	# Uses std::auto_ptr (deprecated in c++11, removed in c++17)
+	# <https://github.com/jmmv/lutok/issues/7>
+	export CXXFLAGS="-std=c++14 ${CXXFLAGS}"
+
+	lua_setup
+	local myconf=(
+		--enable-shared
+		--disable-static
+		LUA_CFLAGS="$(lua_get_CFLAGS)"
+		LUA_LIBS="$(lua_get_LIBS)"
+	)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	rm -rf "${ED}"/usr/tests || die
+	find "${ED}" -name '*.la' -type f -delete || die
+}


             reply	other threads:[~2023-07-26  3:13 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  3:13 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-26 13:13 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lutok/ Arthur Zamarin
2025-03-24  4:45 Sam James
2025-03-08 16:42 Arthur Zamarin
2025-03-08 15:03 Arthur Zamarin
2025-03-08 13:25 Arthur Zamarin
2025-03-08 13:25 Arthur Zamarin
2025-03-08 13:15 Arthur Zamarin
2025-03-08 12:10 Sam James
2025-03-08 11:57 Arthur Zamarin
2025-01-12  5:14 Mike Gilbert
2024-05-25 17:04 Mike Gilbert
2024-05-25 17:04 Mike Gilbert
2024-05-24  2:46 Ionen Wolkens
2024-04-24 18:20 Arthur Zamarin
2024-04-24 17:43 Arthur Zamarin
2024-04-24 17:33 Arthur Zamarin
2024-04-24 17:26 Arthur Zamarin
2024-04-24 17:16 Sam James
2024-04-24 17:14 Arthur Zamarin
2024-04-24 17:14 Arthur Zamarin
2023-07-26  3:13 Sam James
2021-07-28 11:28 Marek Szuba
2021-03-25 23:31 Conrad Kostecki
2021-02-09 13:47 Marek Szuba
2021-02-08 15:08 Sergei Trofimovich
2021-01-24  3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-06 19:34 Fabian Groffen
2020-11-04 17:01 Mike Gilbert
2020-11-03 18:38 Mike Gilbert
2020-11-03 17:55 Mike Gilbert
2020-05-20 15:44 Mike Gilbert
2020-01-26 18:18 Mike Gilbert
2020-01-26 18:18 Mike Gilbert
2019-02-16 13:37 Mikle Kolyada
2019-02-16 13:37 Mikle Kolyada
2019-01-17 13:13 Mart Raudsepp
2018-10-17 16:48 Mikle Kolyada
2017-12-10 10:58 Fabian Groffen
2017-12-05  6:47 Matt Turner
2017-11-06 11:46 Manuel Rüger
2017-11-02 14:33 Tobias Klausmann
2017-09-30 17:14 Matt Turner
2017-09-30 17:14 Matt Turner
2017-09-12  8:00 Sergei Trofimovich
2017-09-11 16:56 Mike Gilbert
2017-09-11  8:10 Sergei Trofimovich
2017-08-10  4:41 Markus Meier
2017-08-09 21:05 Sergei Trofimovich
2017-08-05 14:25 Sergei Trofimovich
2017-07-04 18:28 Mike Gilbert
2017-06-18 20:56 Sergei Trofimovich
2017-05-14 10:55 Markus Meier
2017-05-13  6:26 Markus Meier
2017-05-09 12:40 Jeroen Roovers
2017-05-09  7:49 Tobias Klausmann
2017-05-07 18:39 Mike Gilbert
2017-05-07 18:39 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690341106.42d390c790d3d860ad4e693c8ce0ea04016d26e3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox