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-puzzle/cubosphere/
Date: Sat, 29 Feb 2020 13:05:00
Message-Id: 1582973078.844c04d8878bfc91dd3694328343eaa8ddbbaddc.winterheart@gentoo
1 commit: 844c04d8878bfc91dd3694328343eaa8ddbbaddc
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 10:44:38 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 10:44:38 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=844c04d8
7
8 games-puzzle/cubosphere: update package
9
10 Migrage from 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 ...{cubosphere-0.3.ebuild => cubosphere-0.3a.ebuild} | 20 ++++++++++----------
16 games-puzzle/cubosphere/metadata.xml | 6 ++++++
17 2 files changed, 16 insertions(+), 10 deletions(-)
18
19 diff --git a/games-puzzle/cubosphere/cubosphere-0.3.ebuild b/games-puzzle/cubosphere/cubosphere-0.3a.ebuild
20 similarity index 56%
21 rename from games-puzzle/cubosphere/cubosphere-0.3.ebuild
22 rename to games-puzzle/cubosphere/cubosphere-0.3a.ebuild
23 index 1384b66..da7ac6f 100644
24 --- a/games-puzzle/cubosphere/cubosphere-0.3.ebuild
25 +++ b/games-puzzle/cubosphere/cubosphere-0.3a.ebuild
26 @@ -1,37 +1,37 @@
27 -# Copyright 1999-2012 Gentoo Foundation
28 +# Copyright 1999-2020 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: games-puzzle/cubosphere/cubosphere.ebuild frostwork Exp $
31
32 -EAPI="3"
33 +EAPI=7
34
35 -inherit eutils games flag-o-matic
36 +#inherit eutils
37
38 DESCRIPTION="game similar to the PSX game Kula World / Roll Away"
39 HOMEPAGE="http://cubosphere.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/${PN}/${PN}_beta${PV}_linux_src.tar.gz"
41 +SRC_URI="https://download.sourceforge.net/${PN}/${PN}_beta${PV}_linux_src.tar.gz"
42
43 LICENSE="GPL-3"
44 SLOT="0"
45 KEYWORDS="~amd64 ~x86"
46 IUSE=""
47
48 -DEPEND="dev-lang/lua
49 +DEPEND="dev-lang/lua:0
50 virtual/jpeg
51 media-libs/libsdl
52 media-libs/sdl-mixer
53 media-libs/sdl-ttf
54 - media-libs/glew
55 + media-libs/glew:0
56 virtual/opengl
57 virtual/glu"
58 +RDEPEND="${DEPEND}"
59
60 S="${WORKDIR}"/"${PN}"_beta"${PV}"/src
61
62 src_prepare() {
63 - cd "${S}"
64 + default
65 # respect ${GAMES_DATADIR}
66 sed -i -e "s:llua5.1:llua:g" -i Makefile
67 sed -i -e "s:PREFIX=/usr/local":PREFIX=/usr":g" -i Makefile
68 - sed -i -e "s:BINDIR=\$(PREFIX)/bin:BINDIR=\$(PREFIX)/games/bin:g" -i Makefile
69 - sed -i -e "s:DATADIR=\$(PREFIX)/share/cubosphere:DATADIR="${GAMES_DATADIR}"/"${PN}":g" -i Makefile
70 +# sed -i -e "s:BINDIR=\$(PREFIX)/bin:BINDIR=\$(PREFIX)/games/bin:g" -i Makefile
71 +# sed -i -e "s:DATADIR=\$(PREFIX)/share/cubosphere:DATADIR="${GAMES_DATADIR}"/"${PN}":g" -i Makefile
72 sed -i -e "s:install\: all:install\::g" -i Makefile
73 }
74
75 diff --git a/games-puzzle/cubosphere/metadata.xml b/games-puzzle/cubosphere/metadata.xml
76 new file mode 100644
77 index 0000000..f3b74e3
78 --- /dev/null
79 +++ b/games-puzzle/cubosphere/metadata.xml
80 @@ -0,0 +1,6 @@
81 +<?xml version="1.0" encoding="UTF-8"?>
82 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
83 +<pkgmetadata>
84 +<longdescription lang="en">
85 +</longdescription>
86 +</pkgmetadata>