summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-01-25 14:11:31 +0000
committerMarek Szuba <marecki@gentoo.org>2021-01-25 17:37:23 +0000
commitba81b7efe145393b90ddbfb68db7687a23bda356 (patch)
tree03ab6574555337cb41cf75f8784ca0b9a94001fe /www-client
parentdev-lua/mpack: remove old (diff)
downloadgentoo-ba81b7efe145393b90ddbfb68db7687a23bda356.tar.gz
gentoo-ba81b7efe145393b90ddbfb68db7687a23bda356.tar.bz2
gentoo-ba81b7efe145393b90ddbfb68db7687a23bda356.zip
www-client/luakit: remove old
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/luakit/luakit-2.2.1.ebuild87
1 files changed, 0 insertions, 87 deletions
diff --git a/www-client/luakit/luakit-2.2.1.ebuild b/www-client/luakit/luakit-2.2.1.ebuild
deleted file mode 100644
index ee701ad719ae..000000000000
--- a/www-client/luakit/luakit-2.2.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs xdg
-
-DESCRIPTION="A fast, extensible, and customizable web browser"
-HOMEPAGE="https://luakit.github.io/luakit"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/luakit/luakit.git"
-else
- SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="doc luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-db/sqlite:3
- dev-libs/glib:2
- dev-lua/luafilesystem[luajit=]
- net-libs/webkit-gtk:4=
- x11-libs/gtk+:3
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
-"
-DEPEND="
- ${RDEPEND}
- test? (
- dev-lua/luassert[luajit=]
- dev-lua/luacheck[luajit=]
- x11-base/xorg-server[xvfb]
- )
-"
-BDEPEND="
- virtual/pkgconfig
- doc? ( app-doc/doxygen )
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-2.2.1-make.patch
- "${FILESDIR}"/${PN}-2.2.1-pkg-config.patch
-)
-
-src_configure() {
- export LUA_BIN_NAME=$(usex luajit luajit lua)
- export LUA_PKG_NAME=$(usex luajit luajit lua)
- tc-export CC PKG_CONFIG
-}
-
-src_compile() {
- emake \
- PREFIX="${EPREFIX}/usr" \
- USE_LUAJIT=$(usex luajit 1 0) \
- ${PN} ${PN}.so
-
- use doc && emake doc
-}
-
-src_test() {
- local failing_test
- for failing_test in test_clib_luakit test_image_css; do
- mv tests/async/${failing_test}.lua{,.disabled} || die
- done
-
- emake \
- USE_LUAJIT=$(usex luajit 1 0) \
- run-tests
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
- PREFIX="${EPREFIX}/usr" \
- USE_LUAJIT=$(usex luajit 1 0) \
- XDGPREFIX="${EPREFIX}/etc/xdg" \
- install
-
- rm "${ED}/usr/share/doc/${PF}/COPYING.GPLv3" || die
-
- use doc && dodoc -r doc/html
-}