commit:     265684471899d1b13f83cc5844191d4c68ec67dc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 22:37:34 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 23:14:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26568447

x11-terms/cool-retro-term: new package

A good looking terminal emulator which mimics the old cathode display!
Just looks at the screenshots:
    https://github.com/Swordfish90/cool-retro-term#screenshots

Reported-by: mitzip
Closes: https://bugs.gentoo.org/525458
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 x11-terms/cool-retro-term/Manifest                 |  2 +
 .../cool-retro-term/cool-retro-term-1.0.1.ebuild   | 50 ++++++++++++++++++++++
 x11-terms/cool-retro-term/metadata.xml             | 11 +++++
 3 files changed, 63 insertions(+)

diff --git a/x11-terms/cool-retro-term/Manifest 
b/x11-terms/cool-retro-term/Manifest
new file mode 100644
index 00000000000..fa654a4905c
--- /dev/null
+++ b/x11-terms/cool-retro-term/Manifest
@@ -0,0 +1,2 @@
+DIST cool-retro-term-1.0.1.tar.gz 7735425 BLAKE2B 
b59996137cd66bfcd33d51cd14722cf671aabdc0e8bb8258694f6754105a1bcd75d5e37d0c2b844d65c05dcce7c3fe0f2a48eebb42957415cd899edf7f507adb
 SHA512 
4206ec33d80b511755cf97f136309a66cc67fac6ff5d275245b0bf96c438ed31d20747acf2b829ffcd1b55d84ae9c6b28013db3ab6a0e2f0573e4da516827ea0
+DIST qmltermwidget-0.1.0.tar.gz 196864 BLAKE2B 
c1be94c175e7de9314ca2ff72319024b058707111e964ac31fddc4fc5f7afe0bcae623c8b58ffe731c2536fc0c3fd267dd621e82f6a7ff3ebe95c842fc9b60cb
 SHA512 
d628b02deb9cce1bb1c1365b045d18a4d1afa641abb928979dba79c7aa58cd940d4974052a5dd6dd2f68d938451b28f3d2e15ab54430e4432c0b174bb4ee62d0

diff --git a/x11-terms/cool-retro-term/cool-retro-term-1.0.1.ebuild 
b/x11-terms/cool-retro-term/cool-retro-term-1.0.1.ebuild
new file mode 100644
index 00000000000..2d298f42f84
--- /dev/null
+++ b/x11-terms/cool-retro-term/cool-retro-term-1.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils qmake-utils
+
+QTW_PN=qmltermwidget
+QTW_PV=0.1.0
+QTW_P=${QTW_PN}-${QTW_PV}
+
+DESCRIPTION="terminal emulator which mimics the look and feel of the old 
cathode tube screens"
+HOMEPAGE="https://github.com/Swordfish90/cool-retro-term";
+SRC_URI="https://github.com/Swordfish90/cool-retro-term/archive/${PV}.tar.gz 
-> ${P}.tar.gz
+       https://github.com/Swordfish90/qmltermwidget/archive/v${QTW_PV}.tar.gz 
-> ${QTW_P}.tar.gz"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       dev-qt/qtdeclarative:5[localstorage]
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtquickcontrols:5[widgets]
+       dev-qt/qtsql:5
+       dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+
+       rmdir qmltermwidget || die
+       mv "${WORKDIR}/${QTW_P}" qmltermwidget || die
+}
+
+src_configure() {
+       eqmake5 PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+       # default attempts to install directly to /usr
+       emake INSTALL_ROOT="${D}" install || die
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }

diff --git a/x11-terms/cool-retro-term/metadata.xml 
b/x11-terms/cool-retro-term/metadata.xml
new file mode 100644
index 00000000000..d4c7cb58181
--- /dev/null
+++ b/x11-terms/cool-retro-term/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>sly...@gentoo.org</email>
+               <name>Sergei Trofimovich</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Swordfish90/cool-retro-term</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to