mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
app-misc/hollywood: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
app-misc/hollywood/Manifest
Normal file
1
app-misc/hollywood/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST hollywood-0_pre20200822.tar.gz 16721081 BLAKE2B 9e55bb6734c9f26ada954af69c3da5d83da161ea2c2f2c7483c3a8dcfb42a2a842696d2a8faf736a93a77789c5b181e556dc86da4db3ccacb03906c150131105 SHA512 1b18f7895315f8cfc71642adccc171a45ef15a9f355a4b4cb5d5b094e5d850dd7c2898f495d332279e5b87bbf6104540f101f4c94ce00fc75d30db7b6089ab57
|
||||
@@ -0,0 +1,35 @@
|
||||
--- a/bin/hollywood
|
||||
+++ b/bin/hollywood
|
||||
@@ -18,7 +18,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
PKG="hollywood"
|
||||
-trap "pkill -f -9 lib/hollywood/ >/dev/null 2>&1; exit 0" INT
|
||||
+trap "pkill -f -9 libexec/hollywood/ >/dev/null 2>&1; exit 0" INT
|
||||
|
||||
spin_up() {
|
||||
local w=
|
||||
@@ -43,7 +43,7 @@
|
||||
done
|
||||
}
|
||||
|
||||
-WIDGET_DIR="$(dirname $0)/../lib/$PKG"
|
||||
+WIDGET_DIR="$(dirname $0)/../libexec/$PKG"
|
||||
SPLITS=$(ls "$WIDGET_DIR" | wc -l)
|
||||
DELAY=10
|
||||
while [ ! -z "$1" ]; do
|
||||
--- a/bin/wallstreet
|
||||
+++ b/bin/wallstreet
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
PKG="wallstreet"
|
||||
[ -n "$TMDIR" ] || export TMPDIR=$(mktemp -d /dev/shm/$PKG.XXXXXXXXX)
|
||||
-trap "rm -rf $TMPDIR; pkill -f -9 lib/$PKG/ >/dev/null 2>&1; exit 0" EXIT HUP INT QUIT TERM
|
||||
+trap "rm -rf $TMPDIR; pkill -f -9 libexec/$PKG/ >/dev/null 2>&1; exit 0" EXIT HUP INT QUIT TERM
|
||||
|
||||
dir="-v"
|
||||
-widget_dir="$(dirname $0)/../lib/$PKG"
|
||||
+widget_dir="$(dirname $0)/../libexec/$PKG"
|
||||
widget1=$(ls "$widget_dir/" | sort -R | head -n1)
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
73
app-misc/hollywood/hollywood-0_pre20200822.ebuild
Normal file
73
app-misc/hollywood/hollywood-0_pre20200822.ebuild
Normal file
@@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit optfeature
|
||||
|
||||
COMMIT="35275a68c37bbc39d8b2b0e4664a0c2f5451e5f6"
|
||||
|
||||
DESCRIPTION="Fill your console with Hollywood melodrama technobabble"
|
||||
HOMEPAGE="
|
||||
https://hollywood.computer
|
||||
https://github.com/dustinkirkland/hollywood
|
||||
"
|
||||
SRC_URI="https://github.com/dustinkirkland/hollywood/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/byobu
|
||||
app-misc/tmux
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-use-libexec.patch" )
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
insinto /usr/share
|
||||
doins -r share/hollywood
|
||||
doins -r share/wallstreet
|
||||
doman share/man/man1/hollywood.1
|
||||
doman share/man/man1/wallstreet.1
|
||||
exeinto /usr/libexec/hollywood
|
||||
doexe lib/hollywood/*
|
||||
exeinto /usr/libexec/wallstreet
|
||||
doexe lib/wallstreet/*
|
||||
dodoc README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "supported programs" \
|
||||
"sys-process/atop \
|
||||
net-analyzer/bmon \
|
||||
app-misc/cmatrix \
|
||||
net-dns/dnstop \
|
||||
sys-process/glances \
|
||||
sys-process/htop \
|
||||
net-analyzer/ifstat \
|
||||
sys-process/iotop \
|
||||
net-analyzer/iptraf-ng \
|
||||
net-analyzer/jnettop \
|
||||
sys-process/latencytop \
|
||||
net-analyzer/nload \
|
||||
sys-process/nmon \
|
||||
sys-power/powertop \
|
||||
app-admin/sagan \
|
||||
net-analyzer/slurm \
|
||||
sys-process/tiptop \
|
||||
net-analyzer/vnstat \
|
||||
app-admin/ccze \
|
||||
media-gfx/jp2a \
|
||||
sys-apps/mlocate \
|
||||
app-text/tree \
|
||||
sys-apps/moreutils \
|
||||
app-admin/apg \
|
||||
net-misc/openssh \
|
||||
net-news/newsboat \
|
||||
net-news/rsstail \
|
||||
net-misc/wget \
|
||||
virtual/w3m"
|
||||
}
|
||||
25
app-misc/hollywood/metadata.xml
Normal file
25
app-misc/hollywood/metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">dustinkirkland/hollywood</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
fill your console with Hollywood melodrama technobabble
|
||||
This utility will split your console into a multiple panes of genuine
|
||||
technobabble, perfectly suitable for any Hollywood geek melodrama.
|
||||
It is particularly suitable on any number of computer consoles in the
|
||||
background of any excellent schlock technothriller.
|
||||
|
||||
fill your console with Wall Street-like news and stats
|
||||
This utility will split your console into a multiple panes of news
|
||||
and statistics, like any good computer screen on Wall Street.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user