From f6379bc86cc8defda4be20bb165e8f2ce986ea22 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Wed, 8 Oct 2014 01:27:48 +0000 Subject: Version bump. (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) --- app-text/ansifilter/ChangeLog | 9 +++-- app-text/ansifilter/ansifilter-1.10.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 app-text/ansifilter/ansifilter-1.10.ebuild (limited to 'app-text/ansifilter') 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 +ansifilter-1.10.ebuild: + Version bump. 02 Mar 2013; Markos Chandras 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 +} -- cgit v1.2.3-65-gdbad