Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libquvi-scripts/
Date: Thu, 29 Dec 2022 18:22:36
Message-Id: 1672338090.385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3.sam@gentoo
1 commit: 385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3
2 Author: Jocelyn-MAYER <l_indien <AT> mailmagic <DOT> fr>
3 AuthorDate: Thu Dec 29 17:43:57 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 29 18:21:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385b637d
7
8 media-libs/libquvi-scripts: Allow build using luajit and lua version 5.4
9
10 Closes: https://bugs.gentoo.org/504876
11 Signed-off-by: Jocelyn-MAYER <l_indien <AT> mailmagic.fr>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../libquvi-scripts-0.9.20131130-r101.ebuild | 38 ++++++++++++++++++++++
15 1 file changed, 38 insertions(+)
16
17 diff --git a/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild b/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild
18 new file mode 100644
19 index 000000000000..14daf290e202
20 --- /dev/null
21 +++ b/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild
22 @@ -0,0 +1,38 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +LUA_COMPAT=( lua5-1 lua 5-4 luajit )
29 +
30 +inherit lua-single
31 +
32 +DESCRIPTION="Embedded lua scripts for libquvi"
33 +HOMEPAGE="http://quvi.sourceforge.net/"
34 +SRC_URI="mirror://sourceforge/quvi/${P}.tar.xz"
35 +
36 +LICENSE="AGPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
39 +IUSE="offensive"
40 +
41 +REQUIRED_USE="${LUA_REQUIRED_USE}"
42 +
43 +# tests fetch data from live websites
44 +RESTRICT="test"
45 +
46 +RDEPEND="$(lua_gen_cond_dep '
47 + >=dev-lua/LuaBitOp-1.0.1-r1[${LUA_USEDEP}]
48 + >=dev-lua/luaexpat-1.3.0-r1[${LUA_USEDEP}]
49 + >=dev-lua/luajson-1.1.1[${LUA_USEDEP}]
50 + >=dev-lua/luasocket-3.0_rc1-r2[${LUA_USEDEP}]
51 +')"
52 +
53 +BDEPEND="
54 + app-arch/xz-utils
55 + virtual/pkgconfig
56 +"
57 +
58 +src_configure() {
59 + econf $(use_with offensive nsfw) --with-manual
60 +}