From 015cf4a48b24cc23ce0d902931aceb4f77d584af Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 4 Mar 2018 22:17:05 +0100 Subject: dev-util/sasm: Switch to Qt5 Bug: https://bugs.gentoo.org/644384 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- dev-util/sasm/sasm-2.2-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++ dev-util/sasm/sasm-9999.ebuild | 22 +++++++++++++++------ 2 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 dev-util/sasm/sasm-2.2-r1.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 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}" +} -- cgit v1.2.3-18-g5258