diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-10-08 01:27:48 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-10-08 01:27:48 +0000 |
commit | f6379bc86cc8defda4be20bb165e8f2ce986ea22 (patch) | |
tree | 49daf682f353edeb6731759984d520fdbcca597d /app-text/ansifilter | |
parent | EAPI bump; drop old (diff) | |
download | gentoo-2-f6379bc86cc8defda4be20bb165e8f2ce986ea22.tar.gz gentoo-2-f6379bc86cc8defda4be20bb165e8f2ce986ea22.tar.bz2 gentoo-2-f6379bc86cc8defda4be20bb165e8f2ce986ea22.zip |
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-text/ansifilter')
-rw-r--r-- | app-text/ansifilter/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/ansifilter/ansifilter-1.10.ebuild | 53 |
2 files changed, 60 insertions, 2 deletions
diff --git a/app-text/ansifilter/ChangeLog b/app-text/ansifilter/ChangeLog index 97472f210b67..fa620131dcd8 100644 --- a/app-text/ansifilter/ChangeLog +++ b/app-text/ansifilter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/ansifilter -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ansifilter/ChangeLog,v 1.6 2013/03/02 19:40:05 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ansifilter/ChangeLog,v 1.7 2014/10/08 01:27:48 radhermit Exp $ + +*ansifilter-1.10 (08 Oct 2014) + + 08 Oct 2014; Tim Harder <radhermit@gentoo.org> +ansifilter-1.10.ebuild: + Version bump. 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> ansifilter-1.7.ebuild: Move Qt dependencies to the new category diff --git a/app-text/ansifilter/ansifilter-1.10.ebuild b/app-text/ansifilter/ansifilter-1.10.ebuild new file mode 100644 index 000000000000..c6d8fbca9778 --- /dev/null +++ b/app-text/ansifilter/ansifilter-1.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ansifilter/ansifilter-1.10.ebuild,v 1.1 2014/10/08 01:27:48 radhermit Exp $ + +EAPI=5 + +inherit toolchain-funcs qt4-r2 + +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="qt4" + +RDEPEND=" + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + )" +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 qt4 ; then + cd src/qt-gui + eqmake4 + emake + fi +} + +src_install() { + emake -f makefile "${myopts[@]}" install + use qt4 && emake -f makefile "${myopts[@]}" install-gui +} |