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-arcade/edgar/
Date: Sat, 29 Feb 2020 01:15:43
Message-Id: 1582934252.4bd9e37d0c595ae9138ee4ed0e469f1b2a27668b.winterheart@gentoo
1 commit: 4bd9e37d0c595ae9138ee4ed0e469f1b2a27668b
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 28 23:57:32 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Fri Feb 28 23:57:32 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=4bd9e37d
7
8 games-arcade/edgar: update package
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 games-arcade/edgar/edgar-0.25.ebuild | 37 ------------------------------------
14 games-arcade/edgar/edgar-1.32.ebuild | 37 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 37 insertions(+), 37 deletions(-)
16
17 diff --git a/games-arcade/edgar/edgar-0.25.ebuild b/games-arcade/edgar/edgar-0.25.ebuild
18 deleted file mode 100644
19 index 09f2bc6..0000000
20 --- a/games-arcade/edgar/edgar-0.25.ebuild
21 +++ /dev/null
22 @@ -1,37 +0,0 @@
23 -# Copyright 1999-2009 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/edgar/edgar-0.25.ebuild,v 1.1 2008/09/02 13:31:40 frostwork Exp $
26 -
27 -EAPI="2"
28 -
29 -inherit games
30 -
31 -DESCRIPTION="The Legend of Edgar, 2d jump n run"
32 -HOMEPAGE="http://www.parallelrealities.co.uk/projects/edgar.php"
33 -SRC_URI="http://www.parallelrealities.co.uk/download/8322c274/${PN}/${PN}-${PV}-1.tar.gz"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~amd64 ~x86"
38 -IUSE=""
39 -
40 -RDEPEND="media-libs/libsdl
41 - media-libs/sdl-mixer
42 - media-libs/sdl-image
43 - media-libs/sdl-ttf"
44 -DEPEND="${RDEPEND}"
45 -
46 -src_prepare(){
47 - sed -i -e "s:\$(PREFIX)/games/:\$(PREFIX)/games/bin/:g" -i makefile
48 -}
49 -
50 -src_install() {
51 - emake DESTDIR="${D}" install || die "emake install failed"
52 -
53 - dodoc doc/* || die "dodoc failed"
54 -}
55 -
56 -pkg_postinst() {
57 - games_pkg_postinst
58 -
59 -}
60
61 diff --git a/games-arcade/edgar/edgar-1.32.ebuild b/games-arcade/edgar/edgar-1.32.ebuild
62 new file mode 100644
63 index 0000000..0b687a4
64 --- /dev/null
65 +++ b/games-arcade/edgar/edgar-1.32.ebuild
66 @@ -0,0 +1,37 @@
67 +# Copyright 1999-2020 Gentoo Authors
68 +# Distributed under the terms of the GNU General Public License v2
69 +
70 +EAPI=7
71 +
72 +inherit toolchain-funcs
73 +
74 +DESCRIPTION="The Legend of Edgar, 2d jump n run"
75 +HOMEPAGE="http://www.parallelrealities.co.uk/projects/edgar.php"
76 +SRC_URI="https://github.com/riksweeney/edgar/releases/download/${PV}/${P}-1.tar.gz"
77 +
78 +LICENSE="GPL-2"
79 +SLOT="0"
80 +KEYWORDS="~amd64 ~x86"
81 +IUSE=""
82 +
83 +RDEPEND="
84 + media-libs/libsdl2
85 + media-libs/sdl2-mixer
86 + media-libs/sdl2-image[png]
87 + media-libs/sdl2-ttf
88 + sys-libs/zlib:=
89 + "
90 +DEPEND="${RDEPEND}"
91 +
92 +src_compile() {
93 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
94 + BIN_DIR="/usr/bin/" DATA_DIR="/usr/share/${PN}/" \
95 + || die "emake failed"
96 +}
97 +
98 +src_install() {
99 + emake DESTDIR="${D}" BIN_DIR="${D}/usr/bin/" \
100 + DATA_DIR="${D}/usr/share/${PN}/" DOC_DIR="${D}/usr/share/doc/${P}/" \
101 + APPDATA_DIR="${D}/usr/share/metainfo/" install \
102 + || die "emake install failed"
103 +}