dev-util/sasm: Switch to Qt5
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 4 Mar 2018 21:17:05 +0000 (22:17 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 4 Mar 2018 21:18:10 +0000 (22:18 +0100)
Bug: https://bugs.gentoo.org/644384
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-util/sasm/sasm-2.2-r1.ebuild [new file with mode: 0644]
dev-util/sasm/sasm-9999.ebuild

diff --git a/dev-util/sasm/sasm-2.2-r1.ebuild b/dev-util/sasm/sasm-2.2-r1.ebuild
new file mode 100644 (file)
index 0000000..7c9c73a
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+if [[ ${PV} == 9999 ]]; then
+       EGIT_REPO_URI="https://github.com/Dman95/SASM.git"
+       SRC_URI=""
+       inherit git-r3
+else
+       SRC_URI="https://github.com/Dman95/SASM/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/SASM-${PV}"
+fi
+
+DESCRIPTION="Simple crossplatform IDE for NASM assembly language"
+HOMEPAGE="http://dman95.github.io/SASM/"
+
+LICENSE="GPL-3"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       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}"
+}
index 023b24aab05d5c4f47d673714e5350547b601c44..61a911989dd0c0ba8e575fd3409127a50bff886a 100644 (file)
@@ -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}"
+}