summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn-MAYER <l_indien@mailmagic.fr>2022-12-29 18:43:57 +0100
committerSam James <sam@gentoo.org>2022-12-29 18:21:30 +0000
commit385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3 (patch)
tree52a0970579e27d26c2bb3eb2a910fce7cc4f0399 /media-libs
parentmedia-libs/libquvi: support luajit and lua5.4 (diff)
downloadgentoo-385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3.tar.gz
gentoo-385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3.tar.bz2
gentoo-385b637dbb7a250a1b4b4bf5ef7936ca49ecfbd3.zip
media-libs/libquvi-scripts: Allow build using luajit and lua version 5.4
Closes: https://bugs.gentoo.org/504876 Signed-off-by: Jocelyn-MAYER <l_indien@mailmagic.fr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild38
1 files changed, 38 insertions, 0 deletions
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
new file mode 100644
index 000000000000..14daf290e202
--- /dev/null
+++ b/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 lua 5-4 luajit )
+
+inherit lua-single
+
+DESCRIPTION="Embedded lua scripts for libquvi"
+HOMEPAGE="http://quvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/quvi/${P}.tar.xz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="offensive"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# tests fetch data from live websites
+RESTRICT="test"
+
+RDEPEND="$(lua_gen_cond_dep '
+ >=dev-lua/LuaBitOp-1.0.1-r1[${LUA_USEDEP}]
+ >=dev-lua/luaexpat-1.3.0-r1[${LUA_USEDEP}]
+ >=dev-lua/luajson-1.1.1[${LUA_USEDEP}]
+ >=dev-lua/luasocket-3.0_rc1-r2[${LUA_USEDEP}]
+')"
+
+BDEPEND="
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+src_configure() {
+ econf $(use_with offensive nsfw) --with-manual
+}