diff options
author | 2019-08-17 10:56:47 +0300 | |
---|---|---|
committer | 2019-08-17 10:57:38 +0300 | |
commit | 77d22a4a52e994ce22223f7b7fc3997ded806014 (patch) | |
tree | faac01ce9e36b185202f22ac0edd3410048277dd /dev-util/sasm/sasm-3.10.1.ebuild | |
parent | net-misc/sstp-client: remove old (diff) | |
download | gentoo-77d22a4a52e994ce22223f7b7fc3997ded806014.tar.gz gentoo-77d22a4a52e994ce22223f7b7fc3997ded806014.tar.bz2 gentoo-77d22a4a52e994ce22223f7b7fc3997ded806014.zip |
dev-util/sasm: bump to 3.10.1
Closes: https://bugs.gentoo.org/690822
Package-Manager: Portage-2.3.71, Repoman-2.3.12
Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
Diffstat (limited to 'dev-util/sasm/sasm-3.10.1.ebuild')
-rw-r--r-- | dev-util/sasm/sasm-3.10.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/sasm/sasm-3.10.1.ebuild b/dev-util/sasm/sasm-3.10.1.ebuild new file mode 100644 index 000000000000..90ca72d53168 --- /dev/null +++ b/dev-util/sasm/sasm-3.10.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# 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="" + +PATCHES=( + "${FILESDIR}"/${P}-unbundle-qtsingleapplication.patch +) + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsingleapplication + dev-qt/qtwidgets:5 +" +REPEND="${DEPEND} + dev-lang/nasm + sys-devel/gdb +" + +# SASM repository contains precompiled binaries ¯\_(ツ)_/¯ +QA_PREBUILT="usr/bin/fasm usr/bin/listing" + +src_prepare() { + # To recompress it with gentoo tools + gunzip Linux/share/doc/sasm/changelog.gz || die + sed -e 's@changelog.gz@changelog@g' \ + -e '/docfiles.path/s@doc/sasm@doc/'${PF}'@g' \ + -i SASM.pro || die + + default +} + +src_configure() { + eqmake5 +} + +src_install() { + emake install INSTALL_ROOT="${D}" +} |