commit:     0cd6bebf22f8252ce0b99a8d875e3284b0da0822
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 14:45:10 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 14:56:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd6bebf

media-libs/libquvi-scripts: migrate to lua-single.eclass

Does not actually look for Lua, it merely installs scripts to be run by
media-libs/libquvi - but since the latter is locked to lua5.1, there is
no point in making this one multi-impl at this point.

Closes: https://bugs.gentoo.org/752960
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../libquvi-scripts-0.9.20131130-r100.ebuild       | 38 ++++++++++++++++++++++
 profiles/package.mask                              |  1 +
 2 files changed, 39 insertions(+)

diff --git 
a/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r100.ebuild 
b/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r100.ebuild
new file mode 100644
index 00000000000..7c291732082
--- /dev/null
+++ b/media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r100.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 )
+
+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
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index dc77a49acb7..46c679ca5dd 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -588,6 +588,7 @@ gnome-base/orbit
 >=games-util/slade-3.1.12a-r100
 >=mail-filter/imapfilter-2.6.16-r100
 >=media-gfx/geeqie-1.5.1-r1
+>=media-libs/libquvi-scripts-0.9.20131130-r100
 >=media-sound/aqualung-1.1-r100
 >=net-analyzer/suricata-6.0.1-r100
 >=net-im/prosody-0.11.7-r100

Reply via email to