Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/gmqcc/
Date: Sat, 29 Feb 2020 13:12:36
Message-Id: 1582981937.21e23487382d116e738d34f1f090917e120c4a4f.winterheart@gentoo
1 commit: 21e23487382d116e738d34f1f090917e120c4a4f
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 13:12:17 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 13:12:17 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=21e23487
7
8 games-util/gmqcc: update package
9
10 Update to 0.3.5, remove live ebuild (deprecated eclass)
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 .../{gmqcc-0.2.9.ebuild => gmqcc-0.3.5.ebuild} | 9 +++----
16 games-util/gmqcc/gmqcc-9999.ebuild | 28 ----------------------
17 2 files changed, 3 insertions(+), 34 deletions(-)
18
19 diff --git a/games-util/gmqcc/gmqcc-0.2.9.ebuild b/games-util/gmqcc/gmqcc-0.3.5.ebuild
20 similarity index 78%
21 rename from games-util/gmqcc/gmqcc-0.2.9.ebuild
22 rename to games-util/gmqcc/gmqcc-0.3.5.ebuild
23 index 138d7ea..813694e 100644
24 --- a/games-util/gmqcc/gmqcc-0.2.9.ebuild
25 +++ b/games-util/gmqcc/gmqcc-0.3.5.ebuild
26 @@ -1,26 +1,23 @@
27 # Copyright 1999-2020 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=5
31 -EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
32 -
33 +EAPI=7
34 inherit toolchain-funcs
35 -[[ ${PV} == *9999* ]] && inherit git-2
36
37 DESCRIPTION="An Improved Quake C Compiler"
38 HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
39 -[[ ${PV} == *9999* ]] || \
40 SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41
42 LICENSE="MIT"
43 SLOT="0"
44 -[[ ${PV} == *9999* ]] || \
45 KEYWORDS="~amd64 ~x86"
46 IUSE=""
47
48 src_prepare() {
49 + default
50 # fixed in git master
51 sed -i -e "s:-Werror ::" Makefile || die
52 + sed -i -e "s:__FUNCTION__:__func__:" exec.c || die
53 }
54
55 src_configure() {
56
57 diff --git a/games-util/gmqcc/gmqcc-9999.ebuild b/games-util/gmqcc/gmqcc-9999.ebuild
58 deleted file mode 100644
59 index aad25de..0000000
60 --- a/games-util/gmqcc/gmqcc-9999.ebuild
61 +++ /dev/null
62 @@ -1,28 +0,0 @@
63 -# Copyright 1999-2020 Gentoo Authors
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=5
67 -EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
68 -
69 -inherit toolchain-funcs
70 -[[ ${PV} == *9999* ]] && inherit git-2
71 -
72 -DESCRIPTION="An Improved Quake C Compiler"
73 -HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
74 -[[ ${PV} == *9999* ]] || \
75 -SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
76 -
77 -LICENSE="MIT"
78 -SLOT="0"
79 -[[ ${PV} == *9999* ]] || \
80 -KEYWORDS="~amd64 ~x86"
81 -IUSE=""
82 -
83 -src_configure() {
84 - tc-export CC
85 -}
86 -
87 -src_install() {
88 - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
89 - dodoc README AUTHORS TODO CHANGES
90 -}