* [gentoo-commits] repo/gentoo:master commit in: games-action/luola/, games-action/luola/files/
@ 2017-01-25 23:05 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2017-01-25 23:05 UTC (permalink / raw
To: gentoo-commits
commit: e4e4dd8051becd49c7e4a6e87924adaf0f21be7c
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 22:33:05 2017 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:05:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e4dd80
games-action/luola: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.2, Repoman-2.3.1
.../luola/files/luola-1.3.2-underlink.patch | 4 +-
games-action/luola/luola-1.3.2-r1.ebuild | 60 ++++++++++++++++++++++
2 files changed, 62 insertions(+), 2 deletions(-)
diff --git a/games-action/luola/files/luola-1.3.2-underlink.patch b/games-action/luola/files/luola-1.3.2-underlink.patch
index 5bf9981..2c862bb 100644
--- a/games-action/luola/files/luola-1.3.2-underlink.patch
+++ b/games-action/luola/files/luola-1.3.2-underlink.patch
@@ -1,5 +1,5 @@
---- src/Makefile.am.old 2011-06-17 08:41:40.882481147 +0200
-+++ src/Makefile.am 2011-06-17 08:41:58.497602372 +0200
+--- a/src/Makefile.am 2011-06-17 08:41:40.882481147 +0200
++++ b/src/Makefile.am 2011-06-17 08:41:58.497602372 +0200
@@ -2,7 +2,7 @@
bin_PROGRAMS = luola
diff --git a/games-action/luola/luola-1.3.2-r1.ebuild b/games-action/luola/luola-1.3.2-r1.ebuild
new file mode 100644
index 00000000..d80fa64
--- /dev/null
+++ b/games-action/luola/luola-1.3.2-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils autotools gnome2-utils
+
+DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
+HOMEPAGE="https://freecode.com/projects/luola"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ mirror://gentoo/stdlevels-6.0.tar.gz
+ mirror://gentoo/nostalgia-1.2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[X,sound,joystick,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlink.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --enable-sound
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto /usr/share/${PN}/levels
+ doins "${WORKDIR}"/*.{lev,png}
+ dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README TODO \
+ RELEASENOTES.txt ../README.Nostalgia
+ newdoc ../README README.stdlevels
+ doicon -s 64 luola.png
+ make_desktop_entry luola Luola
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-action/luola/, games-action/luola/files/
@ 2020-11-21 20:39 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-11-21 20:39 UTC (permalink / raw
To: gentoo-commits
commit: 9212c96c491976f079b128f9c5e43bc285c564b9
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 20:37:55 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 20:37:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9212c96c
games-action/luola: Port to EAPI 7
Closes: https://bugs.gentoo.org/708664
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../luola/files/luola-1.3.2-fno-common.patch | 33 ++++++++++++++++++++++
games-action/luola/luola-1.3.2-r1.ebuild | 32 ++++++++-------------
2 files changed, 45 insertions(+), 20 deletions(-)
diff --git a/games-action/luola/files/luola-1.3.2-fno-common.patch b/games-action/luola/files/luola-1.3.2-fno-common.patch
new file mode 100644
index 00000000000..e0b191df831
--- /dev/null
+++ b/games-action/luola/files/luola-1.3.2-fno-common.patch
@@ -0,0 +1,33 @@
+--- a/src/pilot.c
++++ b/src/pilot.c
+@@ -43,6 +43,8 @@
+ #define PILOT_STD_RADIUS 4.1 /* Normal radius for pilot */
+ #define PILOT_PAR_RADIUS 8.0 /* Parachuting radius for pilot */
+
++struct Pilot Pilot;
++
+ /* List of active pilots */
+ struct dllist *pilot_list;
+
+--- a/src/pilot.h
++++ b/src/pilot.h
+@@ -45,7 +45,8 @@
+ int toofast; /* How long has the pilot been falling too fast */
+ struct Spring *rope; /* The ninjarope */
+ int ropectrl; /* -1 retracts rope, 1 extends it */
+-} Pilot;
++};
++extern struct Pilot Pilot;
+
+ /* Rope length limits. Actual rope length is nodelen*nodecount */
+ static const double pilot_rope_minlen = 0.1;
+--- a/tools/im_vwing.c
++++ b/tools/im_vwing.c
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
+ #include <limits.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <ctype.h>
+
+ #include "im_vwing.h"
diff --git a/games-action/luola/luola-1.3.2-r1.ebuild b/games-action/luola/luola-1.3.2-r1.ebuild
index ff2ec53aa18..0a2f70c623d 100644
--- a/games-action/luola/luola-1.3.2-r1.ebuild
+++ b/games-action/luola/luola-1.3.2-r1.ebuild
@@ -1,22 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools desktop gnome2-utils
+inherit autotools desktop xdg
DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
HOMEPAGE="http://freshmeat.sourceforge.net/projects/luola"
-SRC_URI="mirror://gentoo/${P}.tar.gz
+SRC_URI="
+ mirror://gentoo/${P}.tar.gz
mirror://gentoo/stdlevels-6.0.tar.gz
mirror://gentoo/nostalgia-1.2.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RDEPEND="media-libs/libsdl[X,sound,joystick,video]
+RDEPEND="
+ media-libs/libsdl[X,sound,joystick,video]
media-libs/sdl-gfx
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer
@@ -25,6 +26,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
src_prepare() {
@@ -37,24 +39,14 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install
+ default
+
insinto /usr/share/${PN}/levels
doins "${WORKDIR}"/*.{lev,png}
- dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README TODO \
- RELEASENOTES.txt ../README.Nostalgia
+
+ dodoc DATAFILE LEVELFILE RELEASENOTES.txt ../README.Nostalgia
newdoc ../README README.stdlevels
+
doicon -s 64 luola.png
make_desktop_entry luola Luola
}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-21 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 23:05 [gentoo-commits] repo/gentoo:master commit in: games-action/luola/, games-action/luola/files/ Austin English
-- strict thread matches above, loose matches on Subject: below --
2020-11-21 20:39 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox