* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/aquaria/
@ 2011-05-02 20:49 Locke Shinseiko
0 siblings, 0 replies; 3+ messages in thread
From: Locke Shinseiko @ 2011-05-02 20:49 UTC (permalink / raw
To: gentoo-commits
commit: cfc25045ce2b45c41740c1ebce57a2d2b2a1753d
Author: Locke Shinseiko <wizzleby <AT> gmail <DOT> com>
AuthorDate: Mon May 2 20:49:23 2011 +0000
Commit: Locke Shinseiko <wizzleby <AT> gmail <DOT> com>
CommitDate: Mon May 2 20:49:23 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=cfc25045
[games-arcade/aquaria-9999] Update ebuild from bugzilla (bug 323499)
(Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key CE482794)
---
games-arcade/aquaria/aquaria-9999.ebuild | 40 ++++++++++-------------------
games-arcade/aquaria/metadata.xml | 9 ++++++
2 files changed, 23 insertions(+), 26 deletions(-)
diff --git a/games-arcade/aquaria/aquaria-9999.ebuild b/games-arcade/aquaria/aquaria-9999.ebuild
index 2b2a8b7..7cbdc7d 100644
--- a/games-arcade/aquaria/aquaria-9999.ebuild
+++ b/games-arcade/aquaria/aquaria-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -18,7 +18,7 @@ IUSE=""
RESTRICT="fetch"
RDEPEND="dev-lang/lua
- >=dev-libs/tinyxml-2.6
+ >=dev-libs/tinyxml-2.6.1-r1[stl]
games-engines/bbge
media-libs/glpng
media-libs/libsdl"
@@ -45,22 +45,20 @@ src_unpack() {
}
src_prepare() {
- # Remove bundled stuff to ensure it's not used.
- rm -r Aquaria/lua-* BBGE/ || die
-
- # Fix BBGE include paths.
+ # Fix include paths.
sed -i \
- -e "s:\.\./BBGE/glpng:GL/glpng:" \
- -e "s:\.\./BBGE/tinyxml:tinyxml:" \
+ -e "s:\.\./ExternalLibs/glpng:GL/glpng:" \
+ -e "s:\.\./ExternalLibs/::" \
-e "s:\.\./BBGE/:BBGE/:" \
Aquaria/*.{cpp,h} || die
- sed -i \
- -e "/TARGET_LINK_LIBRARIES/d" \
- -e "/ADD_EXECUTABLE[(]/,/[)]/d" \
- CMakeLists.txt || die
-
+ # Only build game sources.
+ rm -r BBGE/ || die
+ sed -i "/ADD_EXECUTABLE[(]/,/[)]/d" CMakeLists.txt || die
echo 'ADD_EXECUTABLE(aquaria ${AQUARIA_SRCS})' >> CMakeLists.txt || die
+
+ # Redefine libraries to link against.
+ sed -i "/TARGET_LINK_LIBRARIES/d" CMakeLists.txt || die
echo "TARGET_LINK_LIBRARIES(aquaria BBGE glpng lua pthread SDL tinyxml)" >> CMakeLists.txt || die
}
@@ -73,25 +71,15 @@ src_install() {
dogamesbin "${CMAKE_BUILD_DIR}/${PN}" || die
cd ../data || die
- local dir="${GAMES_DATADIR}/Aquaria"
-
- insinto "${dir}"
+ insinto "${GAMES_DATADIR}/Aquaria"
doins -r *.xml */ || die
+ doins -r "${S}"/game_scripts/* || die
dodoc README-linux.txt || die
- mv "${D}/${dir}"/docs "${D}/usr/share/doc/${PF}/html" || die
- dosym /usr/share/doc/${PF}/html "${dir}"/docs || die
+ dohtml -r docs/* || die
doicon "${PN}.png" || die
make_desktop_entry "${PN}" "Aquaria" || die
prepgamesdirs
}
-
-pkg_postinst() {
- elog
- elog "If you are using a joystick with rumble capability, and wish to use it"
- elog "export the variable AQUARIA_EVENT_JOYSTICK0 defined as the path to the"
- elog "device. Example: export AQUARIA_EVENT_JOYSTICK0=/dev/input/event6"
- elog
-}
\ No newline at end of file
diff --git a/games-arcade/aquaria/metadata.xml b/games-arcade/aquaria/metadata.xml
new file mode 100644
index 0000000..e6263c7
--- /dev/null
+++ b/games-arcade/aquaria/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wizzleby@gmail.com</email>
+ <name>Locke Shinseiko</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/aquaria/
@ 2020-02-29 1:15 Azamat H. Hackimov
0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2020-02-29 1:15 UTC (permalink / raw
To: gentoo-commits
commit: b8a024f304a1c10dc62f8b710645c6b4e2c71c1b
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 01:01:35 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 01:01:35 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b8a024f3
games-arcade/aquaria: remove unused eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-arcade/aquaria/aquaria-9999.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-arcade/aquaria/aquaria-9999.ebuild b/games-arcade/aquaria/aquaria-9999.ebuild
index 2e1283e..3b1583b 100644
--- a/games-arcade/aquaria/aquaria-9999.ebuild
+++ b/games-arcade/aquaria/aquaria-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EHG_REPO_URI="http://hg.icculus.org/icculus/aquaria"
-inherit eutils flag-o-matic cmake-utils mercurial versionator
+inherit eutils flag-o-matic cmake-utils mercurial
DESCRIPTION="A 2D scroller set in a massive ocean world"
HOMEPAGE="http://www.bit-blot.com/aquaria/"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/aquaria/
@ 2021-02-05 19:26 Azamat H. Hackimov
0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2021-02-05 19:26 UTC (permalink / raw
To: gentoo-commits
commit: e375b49fd96d9e7fbf9e1a58f4f350f9d4c3e402
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb 5 18:02:26 2021 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb 5 19:25:58 2021 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e375b49f
games-arcade/aquaria: remove package
Unmaintained, failed to compile.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-arcade/aquaria/aquaria-9999.ebuild | 109 -------------------------------
games-arcade/aquaria/metadata.xml | 8 ---
2 files changed, 117 deletions(-)
diff --git a/games-arcade/aquaria/aquaria-9999.ebuild b/games-arcade/aquaria/aquaria-9999.ebuild
deleted file mode 100644
index 3b1583b..0000000
--- a/games-arcade/aquaria/aquaria-9999.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EHG_REPO_URI="http://hg.icculus.org/icculus/aquaria"
-
-inherit eutils flag-o-matic cmake-utils mercurial
-
-DESCRIPTION="A 2D scroller set in a massive ocean world"
-HOMEPAGE="http://www.bit-blot.com/aquaria/"
-SRC_URI="aquaria-lnx-humble-bundle.mojo.run"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="luajit"
-RESTRICT="fetch"
-
-RDEPEND="
- luajit? (
- dev-lang/luajit:2
- )
- !luajit? (
- || (
- dev-lang/lua:5.1
- dev-lang/lua:0
- )
- )
- >=dev-libs/tinyxml-2.6.1-r1[stl]
- games-engines/bbge
- media-libs/glpng
- media-libs/libsdl
-"
-
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}/${PN}"
-
-pkg_nofetch() {
- echo
- ewarn "Despite game code is open source, it still need artwork from original humblebundle package."
- ewarn "Please, download ${A} from ${HOMEPAGE} (or from your humble bundle library) and place it in ${DISTDIR}"
- echo
-}
-
-src_unpack() {
- # self unpacking zip archive; unzip warns about the exe stuff
- local a="${DISTDIR}/${A}"
- echo ">>> Unpacking ${a} to ${PWD}"
- unzip -q "${a}"
- [ $? -gt 1 ] && die "unpacking failed"
-
- mercurial_src_unpack
-}
-
-src_prepare() {
- local lua=lua
- use luajit && lua=luajit-5.1
- has_version 'dev-lang/lua:5.1' && lua=lua5.1
-
- # Fix include paths.
- sed -i \
- -e "s:\.\./ExternalLibs/glpng:GL/glpng:" \
- -e "s:\.\./ExternalLibs/::" \
- -e "s:\.\./BBGE/:BBGE/:" \
- Aquaria/*.{cpp,h} || die "Fix include patch failed"
-
- # Only build game sources.
- rm -r BBGE/ ExternalLibs/ || die "dropping bbge && ExternalLibs faled"
- sed -i "/ADD_EXECUTABLE[(]/,/[)]/d" CMakeLists.txt || die "dropping bbge && ExternalLibs faled"
- echo 'ADD_EXECUTABLE(aquaria ${AQUARIA_SRCS})' >> CMakeLists.txt || die "dropping bbge && ExternalLibs faled"
-
- # Redefine libraries to link against.
- sed -i "/TARGET_LINK_LIBRARIES/d" CMakeLists.txt || die
- echo "TARGET_LINK_LIBRARIES(aquaria BBGE glpng ${lua} pthread SDL tinyxml)" >> CMakeLists.txt || die
-
- default
-}
-
-src_configure() {
- local lua=lua
-
- use luajit && (
- local ljpk="$(best_version dev-lang/luajit:2)"
- local ljv="$(get_version_component_range 1-2 ${ljpk/*luajit-/})"
- append-cppflags -I/usr/include/luajit"${ljv}"
- )
-
- has_version 'dev-lang/lua:5.1' && append-cppflags -I/usr/include/lua5.1
-
- append-cppflags -I/usr/include/BBGE -I/usr/include/freetype2
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- cd ../data
- insinto /usr/share/Aquaria
- doins -r *.xml */
- doins -r "${S}"/game_scripts/*
-
- dodoc README-linux.txt
- dodoc -r docs/*
-
- doicon "${PN}.png"
- make_desktop_entry "${PN}" "Aquaria"
-}
diff --git a/games-arcade/aquaria/metadata.xml b/games-arcade/aquaria/metadata.xml
deleted file mode 100644
index d3009e1..0000000
--- a/games-arcade/aquaria/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>wizzleby@gmail.com</email>
- <name>Locke Shinseiko</name>
- </maintainer>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-05 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 20:49 [gentoo-commits] proj/gamerlay:master commit in: games-arcade/aquaria/ Locke Shinseiko
-- strict thread matches above, loose matches on Subject: below --
2020-02-29 1:15 Azamat H. Hackimov
2021-02-05 19:26 Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox