From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D91DA139083 for ; Sat, 2 Dec 2017 12:54:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5592EE0C5A; Sat, 2 Dec 2017 12:54:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2405FE0C5A for ; Sat, 2 Dec 2017 12:54:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3580933D4A6 for ; Sat, 2 Dec 2017 12:54:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B70A9AD7E for ; Sat, 2 Dec 2017 12:54:51 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1512219283.500cad7387e4cc394b7df00c8fc49b226e5adb5b.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ansifilter/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ansifilter/Manifest app-text/ansifilter/ansifilter-2.9.ebuild X-VCS-Directories: app-text/ansifilter/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 500cad7387e4cc394b7df00c8fc49b226e5adb5b X-VCS-Branch: master Date: Sat, 2 Dec 2017 12:54:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b5aa9f21-02c4-4bb5-b47f-fec4ba3259c0 X-Archives-Hash: a00bcf18b3139975d871952629b5a3a4 commit: 500cad7387e4cc394b7df00c8fc49b226e5adb5b Author: Michael Palimaka gentoo org> AuthorDate: Sat Dec 2 12:54:22 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sat Dec 2 12:54:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500cad73 app-text/ansifilter: version bump 2.9 Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-text/ansifilter/Manifest | 3 +- app-text/ansifilter/ansifilter-2.9.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest index 3367df31941..d35aeda6752 100644 --- a/app-text/ansifilter/Manifest +++ b/app-text/ansifilter/Manifest @@ -1 +1,2 @@ -DIST ansifilter-2.8.1.tar.bz2 436461 SHA256 65556f76c234e709e9c3d326042e88a769ebf456c2fbbc5e32ffb247214fc6c6 SHA512 f736b1e9d975a17431a19c2a889ede1feab6b8967d6981fa08d4d1a541cdc1478258dbf6173b7d00f9aa476cf79cfd1c7321c9d017a8aa6ad7ac9133b33a0830 WHIRLPOOL 233edb50e9ed1e1116a1a5875bce4ddd197b9d0b5cadc490d07b3f0b62c9e0de28eba3ac8e06846f58d4cbb2359d621d268eeec19c2e0c894390ef7bd71ca1b8 +DIST ansifilter-2.8.1.tar.bz2 436461 BLAKE2B f4b059ed7c8cb2823c9793cffd49193160295b1be0a25981464979add2759116d62b7a938c599eb3a45ea7f647f2293f9bd67883e4b2010ff395d24d6bea9da5 SHA512 f736b1e9d975a17431a19c2a889ede1feab6b8967d6981fa08d4d1a541cdc1478258dbf6173b7d00f9aa476cf79cfd1c7321c9d017a8aa6ad7ac9133b33a0830 +DIST ansifilter-2.9.tar.bz2 455885 BLAKE2B 0865e17f45d16657e78444e65bcde07f74ee9d8605e100ef34354fc874210fa6cc4d01162e234bfca9c486fac3c41be0d1e0caa014d9702d4a90798b1fa85636 SHA512 9fd086d9b5fecb7c1d42f96baa728b2b6c155505bfb42f92c1a79ce59571abff541c7d55e14b159ad0e7890434fdbc1b383bc76ab4c22a16d835e270b6095005 diff --git a/app-text/ansifilter/ansifilter-2.9.ebuild b/app-text/ansifilter/ansifilter-2.9.ebuild new file mode 100644 index 00000000000..a4c7a3b32c7 --- /dev/null +++ b/app-text/ansifilter/ansifilter-2.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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)" CXXFLAGS="${CXXFLAGS} -DNDEBUG -std=c++11" + + 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 + + gunzip man/${PN}.1.gz + doman man/${PN}.1 + einstalldocs +}