summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-16 00:40:30 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-16 00:42:39 -0500
commit4a228328c0773880c1c30ee34f96604551a34b3d (patch)
tree817c2e5189645970e9c2a95257c6e0924e1e546d
parentx11-misc/xdo: version bump to 0.5 (diff)
downloadgentoo-4a228328c0773880c1c30ee34f96604551a34b3d.tar.gz
gentoo-4a228328c0773880c1c30ee34f96604551a34b3d.tar.bz2
gentoo-4a228328c0773880c1c30ee34f96604551a34b3d.zip
app-text/ansifilter: version bump to 1.15
Move to qt5.
-rw-r--r--app-text/ansifilter/Manifest1
-rw-r--r--app-text/ansifilter/ansifilter-1.15.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest
index ee2484c6dee0..61c7776390c3 100644
--- a/app-text/ansifilter/Manifest
+++ b/app-text/ansifilter/Manifest
@@ -1,3 +1,4 @@
DIST ansifilter-1.10.tar.bz2 54091 SHA256 a1f513b441ce9e5de1704671ec6bd3ab029ceec3e44368e32a40874c2f50577e SHA512 1fda6fcd7853d295cc3caae696367b3f11ba0aa7301f1e874725d8904012c8b4f433a86db19dc1ee7426469e8e7575a4bcabc7229f3fa9f6ba2adb3a53435e71 WHIRLPOOL 17e4c839c6838fdd91cf00f637f8eba9b7a78ced07a6ce4beba7d36ac91f45963f4209436525154a675050ad6ab3115136d8f94524c0a9d0ad782c9f7289949f
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-1.7.tar.bz2 133803 SHA256 a7e8ecec282bf2d823f89c1ae5cd7ca9da4e49f3dad98df052ea48ffd9a4975c SHA512 8040f7d9fd48784a64522218491e956678ee13bf75194c5a0e98e2f1acc8fde3cbdc1514125325692d95c4fd5193fa5ededb950cc778a9bacf3c4ac3aca50cb9 WHIRLPOOL 51736aab49de5bcfbe81db9187caba52811aaa3a06f4cf8e4991d00a597e23244c9dbc7ecbdfbb78c1a40c5cdc3770185ec5b2aa42a41885f11e70eda171cc58
diff --git a/app-text/ansifilter/ansifilter-1.15.ebuild b/app-text/ansifilter/ansifilter-1.15.ebuild
new file mode 100644
index 000000000000..ec58344fd2f5
--- /dev/null
+++ b/app-text/ansifilter/ansifilter-1.15.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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}"
+
+pkg_setup() {
+ myopts=(
+ "CC=$(tc-getCXX)"
+ "CFLAGS=${CFLAGS} -c"
+ "LDFLAGS=${LDFLAGS}"
+ "DESTDIR=${ED}"
+ "PREFIX=${EPREFIX}/usr"
+ "doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
+ )
+}
+
+src_prepare() {
+ # bug 431452
+ rm src/qt-gui/moc_mydialog.cpp || die
+}
+
+src_compile() {
+ emake -f makefile "${myopts[@]}"
+ if use qt5 ; then
+ cd src/qt-gui
+ eqmake5
+ emake
+ fi
+}
+
+src_install() {
+ emake -f makefile "${myopts[@]}" install
+ use qt5 && emake -f makefile "${myopts[@]}" install-gui
+}