diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-12-02 23:54:22 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-12-02 23:54:43 +1100 |
commit | 500cad7387e4cc394b7df00c8fc49b226e5adb5b (patch) | |
tree | f12a56db300f41facc3bf6b8bddc74845f9a3d44 | |
parent | mail-mta/esmtp: [QA] Fix DESCRIPTION.toolong (diff) | |
download | gentoo-500cad7387e4cc394b7df00c8fc49b226e5adb5b.tar.gz gentoo-500cad7387e4cc394b7df00c8fc49b226e5adb5b.tar.bz2 gentoo-500cad7387e4cc394b7df00c8fc49b226e5adb5b.zip |
app-text/ansifilter: version bump 2.9
Package-Manager: Portage-2.3.14, Repoman-2.3.6
-rw-r--r-- | app-text/ansifilter/Manifest | 3 | ||||
-rw-r--r-- | app-text/ansifilter/ansifilter-2.9.ebuild | 57 |
2 files changed, 59 insertions, 1 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest index 3367df31941f..d35aeda6752c 100644 --- a/app-text/ansifilter/Manifest +++ b/app-text/ansifilter/Manifest @@ -1 +1,2 @@ -DIST ansifilter-2.8.1.tar.bz2 436461 SHA256 65556f76c234e709e9c3d326042e88a769ebf456c2fbbc5e32ffb247214fc6c6 SHA512 f736b1e9d975a17431a19c2a889ede1feab6b8967d6981fa08d4d1a541cdc1478258dbf6173b7d00f9aa476cf79cfd1c7321c9d017a8aa6ad7ac9133b33a0830 WHIRLPOOL 233edb50e9ed1e1116a1a5875bce4ddd197b9d0b5cadc490d07b3f0b62c9e0de28eba3ac8e06846f58d4cbb2359d621d268eeec19c2e0c894390ef7bd71ca1b8 +DIST ansifilter-2.8.1.tar.bz2 436461 BLAKE2B f4b059ed7c8cb2823c9793cffd49193160295b1be0a25981464979add2759116d62b7a938c599eb3a45ea7f647f2293f9bd67883e4b2010ff395d24d6bea9da5 SHA512 f736b1e9d975a17431a19c2a889ede1feab6b8967d6981fa08d4d1a541cdc1478258dbf6173b7d00f9aa476cf79cfd1c7321c9d017a8aa6ad7ac9133b33a0830 +DIST ansifilter-2.9.tar.bz2 455885 BLAKE2B 0865e17f45d16657e78444e65bcde07f74ee9d8605e100ef34354fc874210fa6cc4d01162e234bfca9c486fac3c41be0d1e0caa014d9702d4a90798b1fa85636 SHA512 9fd086d9b5fecb7c1d42f96baa728b2b6c155505bfb42f92c1a79ce59571abff541c7d55e14b159ad0e7890434fdbc1b383bc76ab4c22a16d835e270b6095005 diff --git a/app-text/ansifilter/ansifilter-2.9.ebuild b/app-text/ansifilter/ansifilter-2.9.ebuild new file mode 100644 index 000000000000..a4c7a3b32c73 --- /dev/null +++ b/app-text/ansifilter/ansifilter-2.9.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 +} |