commit:     e4af56ac380e4572b1ec3674dc8a2482f8d63900
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 11:15:01 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 11:15:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4af56ac

app-text/ansifilter: version bump 2.8.1

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-text/ansifilter/Manifest                |  1 +
 app-text/ansifilter/ansifilter-2.8.1.ebuild | 57 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest
index c4c11e14cb9..191454b1e30 100644
--- a/app-text/ansifilter/Manifest
+++ b/app-text/ansifilter/Manifest
@@ -1,3 +1,4 @@
 DIST ansifilter-2.4.tar.bz2 114180 SHA256 
c57cb878afa7191c7b7db3c086a344b4234df814aed632596619a4bda5941d48 SHA512 
2eaecd7dc6027c6976775d2a817b8fde0221fb1cce967bd4f6e272230b64e0bb77ed0cbddbc41533aa6087897b94903efa9633dffdd76df57ba029f6776ae6d2
 WHIRLPOOL 
df5f96802c4b988ee3c3326dc0a6ecc2ab594fe766c6e5118d1695a05adf3969d51b0a89b1bfbc0b94cb84325131dc39622334c549a47e0ffa76c0e3fca7a997
 DIST ansifilter-2.5.tar.bz2 435332 SHA256 
30d05ccfa9be98b0328ee29fe39473e55047f1d32a9a2460d3d4d1ff2475f0e2 SHA512 
2fca95a5a47e72f9348beef8b09a7fd995f0b99e0d6605cf7694f8fd1ddba40c64e5c30b9134f55319c902d45011605ba30184c0205d41573ac77c3cd98debe7
 WHIRLPOOL 
5c3c3cd8f1cef99ad0d4ea5ce7635301776cb5ce14442d74a1949894c24becb4d3727344f7b1cf2e137bc8abfc8469c23d13e0055529c04f9aafeb991e7cf7f6
 DIST ansifilter-2.6.tar.bz2 436252 SHA256 
4e3abd8c18197db85575c38418dbc8ee424d0caa0681589e5296fc8e72251175 SHA512 
2b1aabb37eaee6bdd853dce7a1509e1c7df1a03c58e9f4f34dca6237e71115faff0ec6a6b788fa1035264b4bb9cb5e927f2d2c6d8eb870b23806f40a9d9129f3
 WHIRLPOOL 
d12fdb240d613ba16b2c0c7eb3535dae33be6519a2135395473dd94126c963b634a47dff7bd214fb9168ff031d4a8cdc2d92b59c003e0f6bce363b840956b4b4
+DIST ansifilter-2.8.1.tar.bz2 436461 SHA256 
65556f76c234e709e9c3d326042e88a769ebf456c2fbbc5e32ffb247214fc6c6 SHA512 
f736b1e9d975a17431a19c2a889ede1feab6b8967d6981fa08d4d1a541cdc1478258dbf6173b7d00f9aa476cf79cfd1c7321c9d017a8aa6ad7ac9133b33a0830
 WHIRLPOOL 
233edb50e9ed1e1116a1a5875bce4ddd197b9d0b5cadc490d07b3f0b62c9e0de28eba3ac8e06846f58d4cbb2359d621d268eeec19c2e0c894390ef7bd71ca1b8

diff --git a/app-text/ansifilter/ansifilter-2.8.1.ebuild 
b/app-text/ansifilter/ansifilter-2.8.1.ebuild
new file mode 100644
index 00000000000..a4c7a3b32c7
--- /dev/null
+++ b/app-text/ansifilter/ansifilter-2.8.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs qmake-utils
+
+DESCRIPTION="Handles text files containing ANSI terminal escape codes"
+HOMEPAGE="http://www.andre-simon.de/";
+SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt5"
+
+RDEPEND="
+       qt5? (
+               dev-qt/qtcore:5
+               dev-qt/qtgui:5
+               dev-qt/qtwidgets:5
+       )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+
+       # bug 431452
+       rm src/qt-gui/moc_mydialog.cpp || die
+}
+
+src_configure() {
+       if use qt5 ; then
+               pushd src/qt-gui > /dev/null || die
+               eqmake5
+               popd > /dev/null || die
+       fi
+}
+
+src_compile() {
+       emake -f makefile CC="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -DNDEBUG 
-std=c++11"
+
+       if use qt5 ; then
+               pushd src/qt-gui > /dev/null || die
+               emake
+               popd > /dev/null || die
+       fi
+}
+
+src_install() {
+       dobin src/${PN}
+       use qt5 && dobin src/qt-gui/${PN}-gui
+
+       gunzip man/${PN}.1.gz
+       doman man/${PN}.1
+       einstalldocs
+}

Reply via email to