summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-10-13 16:58:25 +0200
committerMarek Szuba <marecki@gentoo.org>2020-10-13 18:47:40 +0200
commitb00346e5fe9f537fca84a9842de04a82ca497ce9 (patch)
treee073a4f9ff01a71c0b53b5c2e2e011fe4665ea88 /app-misc/worker
parentapp-crypt/cardpeek: migrate to lua-single.eclass (diff)
downloadgentoo-b00346e5fe9f537fca84a9842de04a82ca497ce9.tar.gz
gentoo-b00346e5fe9f537fca84a9842de04a82ca497ce9.tar.bz2
gentoo-b00346e5fe9f537fca84a9842de04a82ca497ce9.zip
app-misc/worker: migrate to lua-single.eclass
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-misc/worker')
-rw-r--r--app-misc/worker/worker-3.8.3-r100.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/worker/worker-3.8.3-r100.ebuild b/app-misc/worker/worker-3.8.3-r100.ebuild
new file mode 100644
index 000000000000..cf6618c8bd77
--- /dev/null
+++ b/app-misc/worker/worker-3.8.3-r100.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..2} )
+
+inherit lua-single
+
+DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
+HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
+SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="avfs debug dbus examples libnotify lua +magic xinerama xft"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="x11-libs/libX11
+ avfs? ( >=sys-fs/avfs-0.9.5 )
+ dbus? ( dev-libs/dbus-glib )
+ lua? ( ${LUA_DEPS} )
+ magic? ( sys-apps/file )
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
+
+src_configure() {
+ # there is no ./configure flag to disable libXinerama support
+ export ac_cv_lib_Xinerama_XineramaQueryScreens=$(usex xinerama)
+ econf \
+ --without-hal \
+ --enable-utf8 \
+ $(use_with avfs) \
+ $(use_with dbus) \
+ $(use_enable debug) \
+ $(use_enable libnotify inotify) \
+ $(use_enable lua) \
+ $(use_with magic libmagic) \
+ $(use_enable xft)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docinto examples
+ dodoc examples/config-*
+ fi
+}