commit:     015cf4a48b24cc23ce0d902931aceb4f77d584af
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  4 21:17:05 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar  4 21:18:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015cf4a4

dev-util/sasm: Switch to Qt5

Bug: https://bugs.gentoo.org/644384
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../sasm/{sasm-9999.ebuild => sasm-2.2-r1.ebuild}  | 19 ++++++++++++++-----
 dev-util/sasm/sasm-9999.ebuild                     | 22 ++++++++++++++++------
 2 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/dev-util/sasm/sasm-9999.ebuild b/dev-util/sasm/sasm-2.2-r1.ebuild
similarity index 72%
copy from dev-util/sasm/sasm-9999.ebuild
copy to dev-util/sasm/sasm-2.2-r1.ebuild
index 023b24aab05..7c9c73aab79 100644
--- a/dev-util/sasm/sasm-9999.ebuild
+++ b/dev-util/sasm/sasm-2.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit qt4-r2
+inherit qmake-utils
 
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/Dman95/SASM.git";
@@ -24,10 +24,19 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="
-       dev-qt/qtcore:4
-       dev-qt/qtgui:4
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
 "
 REPEND="${DEPEND}
        dev-lang/nasm
        sys-devel/gdb
 "
+
+src_configure() {
+       eqmake5
+}
+
+src_install() {
+       emake install INSTALL_ROOT="${D}"
+}

diff --git a/dev-util/sasm/sasm-9999.ebuild b/dev-util/sasm/sasm-9999.ebuild
index 023b24aab05..61a911989dd 100644
--- a/dev-util/sasm/sasm-9999.ebuild
+++ b/dev-util/sasm/sasm-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit qt4-r2
+inherit qmake-utils
 
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/Dman95/SASM.git";
@@ -15,7 +15,7 @@ else
 fi
 
 DESCRIPTION="Simple crossplatform IDE for NASM assembly language"
-HOMEPAGE="http://dman95.github.io/SASM/";
+HOMEPAGE="https://dman95.github.io/SASM/";
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -24,10 +24,20 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="
-       dev-qt/qtcore:4
-       dev-qt/qtgui:4
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtwidgets:5
 "
 REPEND="${DEPEND}
        dev-lang/nasm
        sys-devel/gdb
 "
+
+src_configure() {
+       eqmake5
+}
+
+src_install() {
+       emake install INSTALL_ROOT="${D}"
+}

Reply via email to