[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2021-08-22 Thread Sam James
commit: ec7c346961050ceb3c015fd27869e18ccba4e081
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 22 02:27:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 23 04:05:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7c3469

games-rpg/bastion: tidy ebuild

Signed-off-by: Sam James  gentoo.org>

 games-rpg/bastion/bastion-20161016.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-rpg/bastion/bastion-20161016.ebuild 
b/games-rpg/bastion/bastion-20161016.ebuild
index d0388d065a8..ecf7ae32af1 100644
--- a/games-rpg/bastion/bastion-20161016.ebuild
+++ b/games-rpg/bastion/bastion-20161016.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+CHECKREQS_DISK_BUILD="2400M"
 inherit desktop check-reqs unpacker wrapper xdg
 
 TIMESTAMP=${PV:4:2}${PV:6:2}${PV:0:4}
 DESCRIPTION="An original action role-playing game set in a lush imaginative 
world"
 HOMEPAGE="https://supergiantgames.com/games/bastion/;
 SRC_URI="bastion-${TIMESTAMP}-bin"
+S="${WORKDIR}/data"
 
 LICENSE="all-rights-reserved"
 SLOT="0"
@@ -28,9 +30,6 @@ BDEPEND="
app-arch/unzip
 "
 
-CHECKREQS_DISK_BUILD="2400M"
-S="${WORKDIR}/data"
-
 pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
einfo "  https://www.humblebundle.com/store/${PN};



[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2020-12-09 Thread James Le Cuirot
commit: 00b02ef386304f480656e2e660a01192150cfc4a
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Dec  9 22:28:51 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Dec  9 22:28:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b02ef3

games-rpg/bastion: Bump to 20161016, drop old 20120620-r1

This version uses SDL2 rather than SDL1.

Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot  gentoo.org>

 games-rpg/bastion/Manifest   |  2 +-
 games-rpg/bastion/bastion-20120620-r1.ebuild | 84 
 games-rpg/bastion/bastion-20161016.ebuild| 67 ++
 3 files changed, 68 insertions(+), 85 deletions(-)

diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest
index 9f243c6c8d5..9e98898b8f6 100644
--- a/games-rpg/bastion/Manifest
+++ b/games-rpg/bastion/Manifest
@@ -1 +1 @@
-DIST Bastion-HIB-2012-06-20.sh 1055161705 BLAKE2B 
615ff88a3fab37aa70e60d1e692cb0b6a1e03dd90bf6294c65a134cbceb4d59675c341c4fca0b4e08ebda24007df727f09c31adfbe2f5f0e97d8e3b9010af4e1
 SHA512 
e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad
+DIST bastion-10162016-bin 1080484945 BLAKE2B 
0f755c54ff975afbb3ee087990849831fd405ddbe8ce83a062ba70d25ca6cbe69c9baf2535e8b1892fbbf4375830a3c7fe1ae7eb247d1ed3e46e2b10330270ca
 SHA512 
108e181ad2a9a7eaedc84700f9399fd32d221259eea5200a41dfe21663cf6d3ac8ebd0c168095a7b9f6e71b953cc45203874bb4d32d319ee3547c99da924c8bc

diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild 
b/games-rpg/bastion/bastion-20120620-r1.ebuild
deleted file mode 100644
index e35826a5faa..000
--- a/games-rpg/bastion/bastion-20120620-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils gnome2-utils check-reqs unpacker games
-
-TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2}
-DESCRIPTION="An original action role-playing game set in a lush imaginative 
world"
-HOMEPAGE="https://supergiantgames.com/games/bastion/;
-SRC_URI="Bastion-HIB-${TIMESTAMP}.sh"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="bindist fetch splitdebug"
-
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/Bastion.bin*
-   ${MYGAMEDIR#/}/lib/*
-   ${MYGAMEDIR#/}/lib64/*"
-
-# mono shit: vague dependencies
-RDEPEND="
-   virtual/opengl
-   media-libs/freealut
-   media-libs/openal
-   media-libs/sdl-gfx
-   media-libs/sdl-image
-   media-libs/sdl-mixer
-   media-libs/sdl-net
-   media-libs/sdl-ttf
-   media-libs/smpeg
-   x11-libs/libX11
-   x11-libs/libXft"
-
-CHECKREQS_DISK_BUILD="2400M"
-
-pkg_nofetch() {
-   einfo "Please buy & download ${SRC_URI} from:"
-   einfo "  ${HOMEPAGE}"
-   einfo "and move it to your DISTDIR directory."
-}
-
-src_unpack() {
-   myarch=$(usex amd64 "x86_64" "x86")
-
-   unpack_makeself
-
-   mv instarchive_all{,.tar.lzma} || die
-   mv instarchive_linux_${myarch}{,.tar.lzma} || die
-
-   mkdir ${P} || die
-   cd ${P} || die
-
-   unpack ./../instarchive_{all,linux_${myarch}}.tar.lzma
-}
-
-src_install() {
-   insinto "${MYGAMEDIR}"
-   doins -r *
-
-   newicon -s 256 Bastion.png ${PN}.png
-   make_desktop_entry ${PN}
-   games_make_wrapper ${PN} "./Bastion.bin.${myarch}" "${MYGAMEDIR}" 
"${MYGAMEDIR}/$(get_libdir)"
-
-   fperms +x "${MYGAMEDIR}"/Bastion.bin.${myarch}
-   prepgamesdirs
-}
-
-pkg_preinst() {
-   games_pkg_preinst
-   gnome2_icon_savelist
-}
-
-pkg_postinst() {
-   games_pkg_postinst
-
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   gnome2_icon_cache_update
-}

diff --git a/games-rpg/bastion/bastion-20161016.ebuild 
b/games-rpg/bastion/bastion-20161016.ebuild
new file mode 100644
index 000..d0388d065a8
--- /dev/null
+++ b/games-rpg/bastion/bastion-20161016.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop check-reqs unpacker wrapper xdg
+
+TIMESTAMP=${PV:4:2}${PV:6:2}${PV:0:4}
+DESCRIPTION="An original action role-playing game set in a lush imaginative 
world"
+HOMEPAGE="https://supergiantgames.com/games/bastion/;
+SRC_URI="bastion-${TIMESTAMP}-bin"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+# Being a Mono-based game, it is tricky to determine the precise
+# dependencies. These were found by trial and error.
+RDEPEND="
+   media-libs/libsdl2[joystick,opengl,sound,video]
+   media-libs/libvorbis
+"
+BDEPEND="
+   app-arch/unzip
+"
+
+CHECKREQS_DISK_BUILD="2400M"
+S="${WORKDIR}/data"
+
+pkg_nofetch() {
+   einfo "Please buy and download 

[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2018-12-19 Thread Ben Kohler
commit: ace829c835de962ef3f550b59fddb97910349e5a
Author: Ben Kohler  gentoo  org>
AuthorDate: Wed Dec 19 14:24:55 2018 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Wed Dec 19 14:31:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace829c8

games-rpg/bastion: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 games-rpg/bastion/bastion-20120620-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild 
b/games-rpg/bastion/bastion-20120620-r1.ebuild
index 4cb7738a2de..e35826a5faa 100644
--- a/games-rpg/bastion/bastion-20120620-r1.ebuild
+++ b/games-rpg/bastion/bastion-20120620-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -39,7 +39,7 @@ CHECKREQS_DISK_BUILD="2400M"
 pkg_nofetch() {
einfo "Please buy & download ${SRC_URI} from:"
einfo "  ${HOMEPAGE}"
-   einfo "and move it to ${DISTDIR}"
+   einfo "and move it to your DISTDIR directory."
 }
 
 src_unpack() {



[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2018-05-17 Thread James Le Cuirot
commit: dfb50f947858232b0499d4747ce024885bc8b946
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu May 17 22:52:20 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu May 17 22:52:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb50f94

games-rpg/bastion: Update manifest

This version is no longer available from Humble Bundle so I will bump
it but I am updating the manifest in the meantime.

Bug: https://bugs.gentoo.org/642876
Package-Manager: Portage-2.3.38, Repoman-2.3.9

 games-rpg/bastion/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest
index 350d44e061f..9f243c6c8d5 100644
--- a/games-rpg/bastion/Manifest
+++ b/games-rpg/bastion/Manifest
@@ -1 +1 @@
-DIST Bastion-HIB-2012-06-20.sh 1055161705 SHA256 
f1e67f8e8dd0ba823cab0f16f2269dc8d9230ebca7a304927ff540320169c431 SHA512 
e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad
 WHIRLPOOL 
2ec712724f263d9cbd181a128a0adc22f38465447db03f1d382aa231bad98e637b27ec2e73b2acf66a5775f53b0406c82cf0cd36befdc13f6afc5434887ac040
+DIST Bastion-HIB-2012-06-20.sh 1055161705 BLAKE2B 
615ff88a3fab37aa70e60d1e692cb0b6a1e03dd90bf6294c65a134cbceb4d59675c341c4fca0b4e08ebda24007df727f09c31adfbe2f5f0e97d8e3b9010af4e1
 SHA512 
e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad



[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2018-05-11 Thread James Le Cuirot
commit: f114909661be7550d3f1e53aee3829033f87a4d2
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri May 11 12:52:31 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri May 11 20:39:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1149096

games-rpg/bastion: use HTTPS, fix HOMEPAGE

 games-rpg/bastion/bastion-20120620-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild 
b/games-rpg/bastion/bastion-20120620-r1.ebuild
index 56c1f4d020f..4cb7738a2de 100644
--- a/games-rpg/bastion/bastion-20120620-r1.ebuild
+++ b/games-rpg/bastion/bastion-20120620-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ inherit eutils gnome2-utils check-reqs unpacker games
 
 TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2}
 DESCRIPTION="An original action role-playing game set in a lush imaginative 
world"
-HOMEPAGE="http://supergiantgames.com/?page_id=242;
+HOMEPAGE="https://supergiantgames.com/games/bastion/;
 SRC_URI="Bastion-HIB-${TIMESTAMP}.sh"
 
 LICENSE="all-rights-reserved"



[gentoo-commits] repo/gentoo:master commit in: games-rpg/bastion/

2018-05-06 Thread Matt Turner
commit: b5f4156b26f1ef7c7f57402142a880b2f549c9b4
Author: Matt Turner  gentoo  org>
AuthorDate: Sun May  6 19:00:00 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun May  6 19:02:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f4156b

games-rpg/bastion: Drop mention of media-libs/libtxc_dxtn

Bug: https://bugs.gentoo.org/654468

 games-rpg/bastion/bastion-20120620-r1.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild 
b/games-rpg/bastion/bastion-20120620-r1.ebuild
index d7f001068b7..56c1f4d020f 100644
--- a/games-rpg/bastion/bastion-20120620-r1.ebuild
+++ b/games-rpg/bastion/bastion-20120620-r1.ebuild
@@ -76,9 +76,6 @@ pkg_preinst() {
 pkg_postinst() {
games_pkg_postinst
 
-   elog "If you are using opensource drivers you should consider 
installing:"
-   elog "media-libs/libtxc_dxtn"
-
gnome2_icon_cache_update
 }