summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-04 22:17:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-04 22:18:10 +0100
commit015cf4a48b24cc23ce0d902931aceb4f77d584af (patch)
tree45ef31d56d2770b41e13e6eb90789bc232f13f27 /dev-util/sasm
parentnet-im/signal-desktop-bin: remove old version (diff)
downloadgentoo-015cf4a48b24cc23ce0d902931aceb4f77d584af.tar.gz
gentoo-015cf4a48b24cc23ce0d902931aceb4f77d584af.tar.bz2
gentoo-015cf4a48b24cc23ce0d902931aceb4f77d584af.zip
dev-util/sasm: Switch to Qt5
Bug: https://bugs.gentoo.org/644384 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-util/sasm')
-rw-r--r--dev-util/sasm/sasm-2.2-r1.ebuild42
-rw-r--r--dev-util/sasm/sasm-9999.ebuild22
2 files changed, 58 insertions, 6 deletions
diff --git a/dev-util/sasm/sasm-2.2-r1.ebuild b/dev-util/sasm/sasm-2.2-r1.ebuild
new file mode 100644
index 000000000000..7c9c73aab793
--- /dev/null
+++ b/dev-util/sasm/sasm-2.2-r1.ebuild
@@ -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}"
+}
diff --git a/dev-util/sasm/sasm-9999.ebuild b/dev-util/sasm/sasm-9999.ebuild
index 023b24aab05d..61a911989dd0 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}"
+}