summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-09-28 21:36:37 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-09-28 21:36:46 +1000
commitbc5d07b9d6464ced7acdd16ed17302467e643c6b (patch)
tree92db90793854b4febcfd789e37c12806c39eef0f /app-text/ansifilter
parentapp-misc/asciinema: remove old (diff)
downloadgentoo-bc5d07b9d6464ced7acdd16ed17302467e643c6b.tar.gz
gentoo-bc5d07b9d6464ced7acdd16ed17302467e643c6b.tar.bz2
gentoo-bc5d07b9d6464ced7acdd16ed17302467e643c6b.zip
app-text/ansifilter: version bump
Package-Manager: portage-2.3.1
Diffstat (limited to 'app-text/ansifilter')
-rw-r--r--app-text/ansifilter/Manifest1
-rw-r--r--app-text/ansifilter/ansifilter-2.3.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest
index c8c489aad36d..1f93ec56c3c8 100644
--- a/app-text/ansifilter/Manifest
+++ b/app-text/ansifilter/Manifest
@@ -1,3 +1,4 @@
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
DIST ansifilter-2.2.tar.bz2 89697 SHA256 af862f9c381100d9307fa20a7cc66888bf582581249c0fc79b2447dbc41c30b9 SHA512 feb04c9b5fc4f6f78406c156d9158d9c08ddc561bcdf760b2d07ac1ccd58079c7b188cab47eb936ca95e647074f02e980e1af4e0050a75f000863005ef3843ce WHIRLPOOL a576c8fde2906986c9327e31b23d978afbc99701255e195742d93097bd7a8bd83aba9c19882967054fe01a2123166b2d5742803412b7495338dc72ee75c77b98
+DIST ansifilter-2.3.tar.bz2 89746 SHA256 26d5ccd21a05e66a1cf836efd24eaf088243d14c3bf322a26cf635a3dd6a5e48 SHA512 769588a483f174e1d79e4baca844795564889eb15b15a820be1cd31865782e4ffbcfae3ecdcff4ed7c0cf6e976f352eb3bb1835bafb88b7d061db704a6512322 WHIRLPOOL bb3f88baaa459fad395b81c3f86f8b722ba6567c63222a7f7bdd8ffcdfb108cdd95df253ba5d39353e26b1743c9132e6d45f7e84cb89224796a7436ca2b7b21b
diff --git a/app-text/ansifilter/ansifilter-2.3.ebuild b/app-text/ansifilter/ansifilter-2.3.ebuild
new file mode 100644
index 000000000000..198b13ab6f1d
--- /dev/null
+++ b/app-text/ansifilter/ansifilter-2.3.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
+}