commit:     ae07cd127720d6469a7ef97fa6881184af5ce2dc
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 18 12:31:59 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 18 12:31:59 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ae07cd12

sci-biology/ugene: bring back version 37.0

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/ugene/ugene-1.20.0.ebuild | 42 -----------------------------------
 sci-biology/ugene/ugene-37.0.ebuild   | 21 ++++++++++++++++++
 2 files changed, 21 insertions(+), 42 deletions(-)

diff --git a/sci-biology/ugene/ugene-1.20.0.ebuild 
b/sci-biology/ugene/ugene-1.20.0.ebuild
deleted file mode 100644
index 3aa9dfebe..000000000
--- a/sci-biology/ugene/ugene-1.20.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit qmake-utils
-
-DESCRIPTION="A free open-source cross-platform bioinformatics software"
-HOMEPAGE="http://ugene.unipro.ru";
-SRC_URI="http://${PN}.unipro.ru/downloads/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="cpu_flags_x86_sse2"
-
-# http://ugene.net/download.html states Qt5.4 and QtWebkit but:
-#   Project MESSAGE: Cannot build Unipro UGENE with Qt version 4.8.7
-#   Project ERROR: Use at least Qt 5.2.1.
-DEPEND="
-       >=dev-qt/qtgui-5.2.1
-       >=dev-qt/qtscript-5.2.1[scripttools]"
-RDEPEND="${DEPEND}"
-
-LANGS="cs en ru zh"
-
-src_configure() {
-       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() {
-       emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
-}

diff --git a/sci-biology/ugene/ugene-37.0.ebuild 
b/sci-biology/ugene/ugene-37.0.ebuild
new file mode 100644
index 000000000..0a10cdfcc
--- /dev/null
+++ b/sci-biology/ugene/ugene-37.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A free open-source cross-platform bioinformatics software"
+HOMEPAGE="http://ugene.unipro.ru";
+SRC_URI="https://github.com/ugeneunipro/ugene/archive/${PV}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=dev-qt/qtgui-5.4.2
+       >=dev-qt/qtsvg-5.4.2
+       >=dev-qt/qtscript-5.4.2[scripttools]
+"
+RDEPEND="${DEPEND}"

Reply via email to