diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-07-28 00:36:13 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-28 00:36:25 +1000 |
commit | 1c63090d8c1f532cce466d799b838383121e325f (patch) | |
tree | 92bddc9d0a5c7b7b1b0e52fc29ab4d9efdac4b26 /app-text/ansifilter | |
parent | sys-process/acct: Changed check for systemd in logrotate's postrotate script (diff) | |
download | gentoo-1c63090d8c1f532cce466d799b838383121e325f.tar.gz gentoo-1c63090d8c1f532cce466d799b838383121e325f.tar.bz2 gentoo-1c63090d8c1f532cce466d799b838383121e325f.zip |
app-text/ansifilter: version bump 2.6
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-text/ansifilter')
-rw-r--r-- | app-text/ansifilter/Manifest | 1 | ||||
-rw-r--r-- | app-text/ansifilter/ansifilter-2.6.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest index 15f162212ce4..c4c11e14cb92 100644 --- a/app-text/ansifilter/Manifest +++ b/app-text/ansifilter/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-text/ansifilter/ansifilter-2.6.ebuild b/app-text/ansifilter/ansifilter-2.6.ebuild new file mode 100644 index 000000000000..a4c7a3b32c73 --- /dev/null +++ b/app-text/ansifilter/ansifilter-2.6.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 +} |