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 E35FF138239 for ; Sat, 20 Mar 2021 16:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22E29E0823; Sat, 20 Mar 2021 16:59:03 +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 08E93E0823 for ; Sat, 20 Mar 2021 16:59:02 +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 0D943340940 for ; Sat, 20 Mar 2021 16:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A21EA5AC for ; Sat, 20 Mar 2021 16:59:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1616259531.47d4c85e08c818fd119d259506160f1050a74257.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ugene/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/ugene/ugene-37.0-r1.ebuild X-VCS-Directories: sci-biology/ugene/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 47d4c85e08c818fd119d259506160f1050a74257 X-VCS-Branch: master Date: Sat, 20 Mar 2021 16:59:00 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f1b84d2-f91a-423d-a981-9df058c8317a X-Archives-Hash: 6efd112ae892fdf3e515d03c01aaade8 commit: 47d4c85e08c818fd119d259506160f1050a74257 Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Mar 20 16:58:51 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Mar 20 16:58:51 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=47d4c85e sci-biology/ugene: add back CONFIG_OPTS from old ebuild Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> sci-biology/ugene/ugene-37.0-r1.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sci-biology/ugene/ugene-37.0-r1.ebuild b/sci-biology/ugene/ugene-37.0-r1.ebuild index a7a40d4dc..ab96355c4 100644 --- a/sci-biology/ugene/ugene-37.0-r1.ebuild +++ b/sci-biology/ugene/ugene-37.0-r1.ebuild @@ -13,6 +13,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" +IUSE="cpu_flags_x86_sse2" + DEPEND=" >=dev-qt/qtgui-5.4.2 >=dev-qt/qtsvg-5.4.2 @@ -28,10 +30,19 @@ src_prepare() { } src_configure() { - eqmake5 + local CONFIG_OPTS + if use amd64; then + CONFIG_OPTS+=( CONFIG+="x64" ) + elif use ppc; then + CONFIG_OPTS+=( CONFIG+="ppc" ) + fi + + use cpu_flags_x86_sse2 && CONFIG_OPTS+=( use_sse2 ) + + eqmake5 $CONFIG_OPTS || die } src_install() { einstalldocs - emake INSTALL_ROOT="${ED}" install + emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install }