commit: 21e23487382d116e738d34f1f090917e120c4a4f
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 13:12:17 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 13:12:17 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=21e23487
games-util/gmqcc: update package
Update to 0.3.5, remove live ebuild (deprecated eclass)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
.../{gmqcc-0.2.9.ebuild => gmqcc-0.3.5.ebuild} | 9 +++----
games-util/gmqcc/gmqcc-9999.ebuild | 28 ----------------------
2 files changed, 3 insertions(+), 34 deletions(-)
diff --git a/games-util/gmqcc/gmqcc-0.2.9.ebuild
b/games-util/gmqcc/gmqcc-0.3.5.ebuild
similarity index 78%
rename from games-util/gmqcc/gmqcc-0.2.9.ebuild
rename to games-util/gmqcc/gmqcc-0.3.5.ebuild
index 138d7ea..813694e 100644
--- a/games-util/gmqcc/gmqcc-0.2.9.ebuild
+++ b/games-util/gmqcc/gmqcc-0.3.5.ebuild
@@ -1,26 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
-
+EAPI=7
inherit toolchain-funcs
-[[ ${PV} == *9999* ]] && inherit git-2
DESCRIPTION="An Improved Quake C Compiler"
HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
-[[ ${PV} == *9999* ]] || \
SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-[[ ${PV} == *9999* ]] || \
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
+ default
# fixed in git master
sed -i -e "s:-Werror ::" Makefile || die
+ sed -i -e "s:__FUNCTION__:__func__:" exec.c || die
}
src_configure() {
diff --git a/games-util/gmqcc/gmqcc-9999.ebuild
b/games-util/gmqcc/gmqcc-9999.ebuild
deleted file mode 100644
index aad25de..0000000
--- a/games-util/gmqcc/gmqcc-9999.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
-
-inherit toolchain-funcs
-[[ ${PV} == *9999* ]] && inherit git-2
-
-DESCRIPTION="An Improved Quake C Compiler"
-HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
-[[ ${PV} == *9999* ]] || \
-SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-[[ ${PV} == *9999* ]] || \
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
- dodoc README AUTHORS TODO CHANGES
-}