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/VVVVVV/
Date: Thu, 06 Feb 2020 21:22:46
Message-Id: 1581011712.5d000297c845516fc46dfe1354ea6960d3264e8f.winterheart@gentoo
1 commit: 5d000297c845516fc46dfe1354ea6960d3264e8f
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu Feb 6 17:55:12 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu Feb 6 17:55:12 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=5d000297
7
8 games-arcade/VVVVVV: update to opensourced version
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/VVVVVV/VVVVVV-2.01.ebuild | 47 ------------------------
14 games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild | 33 +++++++++++++++++
15 2 files changed, 33 insertions(+), 47 deletions(-)
16
17 diff --git a/games-arcade/VVVVVV/VVVVVV-2.01.ebuild b/games-arcade/VVVVVV/VVVVVV-2.01.ebuild
18 deleted file mode 100644
19 index 72af440..0000000
20 --- a/games-arcade/VVVVVV/VVVVVV-2.01.ebuild
21 +++ /dev/null
22 @@ -1,47 +0,0 @@
23 -# Copyright 1999-2013 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: $
26 -
27 -EAPI=4
28 -
29 -inherit games
30 -
31 -DESCRIPTION="Retro-styled open-world 2D puzzle platformer"
32 -HOMEPAGE="http://thelettervsixtim.es/"
33 -SRC_URI="${PN}_${PV}_Linux.tar.gz"
34 -
35 -LICENSE="EULA"
36 -SLOT="0"
37 -KEYWORDS="~x86 ~amd64"
38 -RESTRICT="fetch strip"
39 -IUSE=""
40 -
41 -DEPEND=""
42 -RDEPEND="
43 - media-libs/sdl-mixer
44 - media-libs/sdl-image:0
45 - media-libs/libsdl:0
46 - "
47 -
48 -S="${WORKDIR}/${PN}"
49 -
50 -src_install() {
51 - local dir="${GAMES_PREFIX_OPT}/${PN}"
52 - if use amd64 ; then
53 - local exe="${PN}_64"
54 - else
55 - local exe="${PN}_32"
56 - fi
57 -
58 - insinto "${dir}"
59 - exeinto "${dir}"
60 - doexe "$exe"
61 - newicon -s 32 "data/icons/32_2.png" "${PN}.png"
62 - newicon -s 16 "data/icons/16.png" "${PN}.png"
63 - doins -r data
64 -
65 - games_make_wrapper "${PN}" "./${exe}" "${dir}"
66 - make_desktop_entry "${PN}" "${PN}" "${PN}"
67 -
68 - prepgamesdirs
69 -}
70
71 diff --git a/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild b/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild
72 new file mode 100644
73 index 0000000..0bc68c4
74 --- /dev/null
75 +++ b/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild
76 @@ -0,0 +1,33 @@
77 +# Copyright 2020 Gentoo Authors
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=7
81 +inherit cmake desktop git-r3
82 +
83 +DESCRIPTION="Retro-styled open-world 2D puzzle platformer"
84 +HOMEPAGE="https://thelettervsixtim.es/"
85 +
86 +EGIT_REPO_URI="https://github.com/TerryCavanagh/VVVVVV"
87 +EGIT_COMMIT="4e378b6057cca8e994b5b3049ff8b0cdadf1ebd9"
88 +
89 +SRC_URI="https://thelettervsixtim.es/makeandplay/data.zip -> ${PN}-data.zip"
90 +
91 +RESTRICT="mirror"
92 +LICENSE="VVVVVV-License-1.0"
93 +SLOT="0"
94 +KEYWORDS="~amd64 ~x86"
95 +
96 +DEPEND="media-libs/libsdl2
97 + media-libs/sdl2-mixer"
98 +RDEPEND="${DEPEND}"
99 +
100 +CMAKE_USE_DIR="${S}/desktop_version"
101 +
102 +src_install() {
103 + exeinto /opt/${PN}
104 + doexe "${BUILD_DIR}/${PN}"
105 + insinto /opt/${PN}
106 + newins "${DISTDIR}/${PN}-data.zip" data.zip
107 + make_wrapper "${PN}" "./${PN}" "/opt/${PN}"
108 + dodoc README.md
109 +}