diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-09-15 01:36:46 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-09-15 01:37:58 +1000 |
commit | 39c9402e2c467e779a8bf0bcb7d4b3778456231d (patch) | |
tree | 2cf86c8ea9eac0ddefcba1a6a0808def5a3b4154 /app-text/ansifilter | |
parent | dev-ml/ocurl: bump to 0.7.8 and use github source (diff) | |
download | gentoo-39c9402e2c467e779a8bf0bcb7d4b3778456231d.tar.gz gentoo-39c9402e2c467e779a8bf0bcb7d4b3778456231d.tar.bz2 gentoo-39c9402e2c467e779a8bf0bcb7d4b3778456231d.zip |
app-text/ansifilter: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/ansifilter')
-rw-r--r-- | app-text/ansifilter/Manifest | 1 | ||||
-rw-r--r-- | app-text/ansifilter/ansifilter-2.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest index e661a6d87add..af0127ee283a 100644 --- a/app-text/ansifilter/Manifest +++ b/app-text/ansifilter/Manifest @@ -1,3 +1,4 @@ DIST ansifilter-1.11.tar.bz2 54132 SHA256 fcd550428203225483c4b049b56c5ac3ce786b4863c7eff5ab9b16b141692434 SHA512 db22a6eca7bd580683b9270abb11711c7fbee1b1a17fd710fd880518207a4c65f1df04d21565b22754109dea9a81e9d4fdba0f8e01eb9dac8555041bb83f4acc WHIRLPOOL d961c7e15381bebde1c11182bd38b119596fdadda8afbe019d7227c32546fd74fab2569b444806fb32ede1295f6237f749146410bf490347c519b037755a56d7 DIST ansifilter-1.15.tar.bz2 79966 SHA256 65dc20cc1a03d4feba990f830186404c90462d599e5f4b37610d4d822d67aec4 SHA512 7b624b11579c4a88271325054a6023d139ea7ff67fc5552b8ab8387eb16ea54c40c586f242a5ab7f8dd6bf226041bc61a03b5c6acb50e8f915341bd7cd9cdff8 WHIRLPOOL 3e7bd5088b4696bf957ed1c1bbe2c20f6b11f50d856129c1da3651af24f2887ea65c0917db1e85d0d32e5cd6e2bce2177fdd50e0c6d197b05ee07f71415d44a1 DIST ansifilter-2.0.tar.bz2 89274 SHA256 4e9065f5bad6ffbb578054ae57253fbab4fcde7730da5234f9328e1132977a02 SHA512 aff26a90faffa1116576246a24bb3184cf5732733f17ff849febc19542a23362329c0a95697f10e2809a529bece2cfd3d8b29b0e762d8f9ffba62e3512b9c53f WHIRLPOOL 146f4a04f0e5c6b2afd40e617a5f03430182cc574696b5b284389f313aafdc379b6f5f504ea1b29b918da7c8ea800aa6d52debb4ab1c5759f7f3148cfcc4d6ae +DIST ansifilter-2.1.tar.bz2 89286 SHA256 9614d637694d8b4144ac5b7c4815520187021f1ab78ebce7bcc1e54b60809b83 SHA512 c14b41a4c7bcc652a15bb52e2ee4045d35744fcdd843a0ac2270bd25861989902eee631c6cabea577b1d671d1203b92ef2373f7248c43d685f83ea116aabf408 WHIRLPOOL 9107812bdec710b65d2ca404e4a4fb82321eb7a2f89f9a666bf9522eced0fe933b96511505261f2d2a2ea575c9a88322128bf546a0a0223d1ee053f260751e2f diff --git a/app-text/ansifilter/ansifilter-2.1.ebuild b/app-text/ansifilter/ansifilter-2.1.ebuild new file mode 100644 index 000000000000..198b13ab6f1d --- /dev/null +++ b/app-text/ansifilter/ansifilter-2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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)" CFLAGS="${CFLAGS} -c -std=c++11" LDFLAGS="${LDFLAGS}" + + 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 + doman man/${PN}.1.gz + einstalldocs +} |