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 222EF139694 for ; Tue, 13 Jun 2017 11:39:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11345E0D76; Tue, 13 Jun 2017 11:39:43 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3924E0D76 for ; Tue, 13 Jun 2017 11:39:42 +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 82304341737 for ; Tue, 13 Jun 2017 11:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA82973E0 for ; Tue, 13 Jun 2017 11:39:39 +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: <1497353971.62c25086ac8644a9f5fb822cf25ad0aa6155b025.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ansifilter/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ansifilter/ansifilter-2.4-r1.ebuild X-VCS-Directories: app-text/ansifilter/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 62c25086ac8644a9f5fb822cf25ad0aa6155b025 X-VCS-Branch: master Date: Tue, 13 Jun 2017 11:39:39 +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: a10aff2d-acf9-4d39-a850-8771c11b34ec X-Archives-Hash: 7d64075f021e9a34607d25dea1e5005a commit: 62c25086ac8644a9f5fb822cf25ad0aa6155b025 Author: Michael Palimaka gentoo org> AuthorDate: Tue Jun 13 11:39:25 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Tue Jun 13 11:39:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c25086 app-text/ansifilter: do not use doman on a compressed file Gentoo-bug: 619940 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-text/ansifilter/ansifilter-2.4-r1.ebuild | 57 ++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/app-text/ansifilter/ansifilter-2.4-r1.ebuild b/app-text/ansifilter/ansifilter-2.4-r1.ebuild new file mode 100644 index 00000000000..96216b32abe --- /dev/null +++ b/app-text/ansifilter/ansifilter-2.4-r1.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)" 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 + + gunzip man/${PN}.1.gz + doman man/${PN}.1 + einstalldocs +}