[gentoo-commits] repo/gentoo:master commit in: games-action/badland/

2021-06-07 Thread Ionen Wolkens
commit: e5be1aead0e48d16e3054f45d584f33a237b3e3d
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun  8 04:48:37 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun  8 04:52:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5be1aea

games-action/badland: move chrpath to bdepend

Failed to spot it, thanks to sam for doing so.

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-action/badland/badland-121-r1.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/games-action/badland/badland-121-r1.ebuild 
b/games-action/badland/badland-121-r1.ebuild
index 2e58b52405c..0203c806f0d 100644
--- a/games-action/badland/badland-121-r1.ebuild
+++ b/games-action/badland/badland-121-r1.ebuild
@@ -7,8 +7,11 @@ inherit desktop wrapper xdg
 
 DESCRIPTION="Atmospheric side-scrolling action adventure platformer set in a 
gorgeous forest"
 HOMEPAGE="http://badlandgame.com;
-SRC_URI="Badland_GotY_${PV}.tar
+SRC_URI="
+   Badland_GotY_${PV}.tar
https://dev.gentoo.org/~chewi/distfiles/${PN}.png;
+S="${WORKDIR}"
+
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
@@ -16,10 +19,7 @@ RESTRICT="bindist fetch mirror splitdebug"
 
 QA_PREBUILT="opt/${PN}/*"
 
-DEPEND="
-   app-admin/chrpath
-"
-
+BDEPEND="app-admin/chrpath"
 RDEPEND="
dev-db/sqlite:3[abi_x86_32]
media-libs/fontconfig:1.0[abi_x86_32]
@@ -33,8 +33,6 @@ RDEPEND="
x11-libs/libX11[abi_x86_32]
 "
 
-S="${WORKDIR}"
-
 pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
einfo "  
https://www.humblebundle.com/store/badland-game-of-the-year-humble-deluxe-edition;



[gentoo-commits] repo/gentoo:master commit in: games-action/badland/

2021-06-07 Thread Ionen Wolkens
commit: cf1fe55e5d6d79b540f682818bb94dafedcde885
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon May  3 08:53:20 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun  8 04:18:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1fe55e

games-action/badland: EAPI7, eclass improvements

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-action/badland/badland-121-r1.ebuild | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/games-action/badland/badland-121-r1.ebuild 
b/games-action/badland/badland-121-r1.ebuild
index 99d55500299..2e58b52405c 100644
--- a/games-action/badland/badland-121-r1.ebuild
+++ b/games-action/badland/badland-121-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit desktop eutils gnome2-utils
+inherit desktop wrapper xdg
 
 DESCRIPTION="Atmospheric side-scrolling action adventure platformer set in a 
gorgeous forest"
 HOMEPAGE="http://badlandgame.com;
@@ -62,6 +62,3 @@ src_install() {
 
doicon -s 128 "${DISTDIR}"/${PN}.png
 }
-
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }



[gentoo-commits] repo/gentoo:master commit in: games-action/badland/

2019-11-07 Thread Michał Górny
commit: 6cfc6128d3a2b062bfbc2583a8a0ca41cddcbfe9
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov  5 19:28:48 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov  8 06:48:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfc6128

games-action/badland: Switch to libpng-compat

Signed-off-by: Michał Górny  gentoo.org>

 games-action/badland/{badland-121.ebuild => badland-121-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/badland/badland-121.ebuild 
b/games-action/badland/badland-121-r1.ebuild
similarity index 97%
rename from games-action/badland/badland-121.ebuild
rename to games-action/badland/badland-121-r1.ebuild
index f62252013b6..99d55500299 100644
--- a/games-action/badland/badland-121.ebuild
+++ b/games-action/badland/badland-121-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
dev-db/sqlite:3[abi_x86_32]
media-libs/fontconfig:1.0[abi_x86_32]
media-libs/freetype:2[abi_x86_32]
-   media-libs/libpng:1.2[abi_x86_32]
+   media-libs/libpng-compat:1.2[abi_x86_32]
media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video]
net-misc/curl[abi_x86_32]
>=sys-devel/gcc-4.6[cxx]



[gentoo-commits] repo/gentoo:master commit in: games-action/badland/

2019-05-12 Thread Sergei Trofimovich
commit: 91ac93f30aa183de0c93c771f53514c361e2fc96
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 12 10:29:30 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 12 16:21:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91ac93f3

games-action/badland: add RESTRICT="fetch mirror"

Noticed unfetchable SRC_URI when ran full mirror:
$ emirrordist --verbose --mirror --tries 1 \
--repo gentoo --distfiles $(portageq envvar DISTDIR)
  [INFO] failure: games-action/badland-121 Badland_GotY_121.tar no fetchable 
uris

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 games-action/badland/badland-121.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/badland/badland-121.ebuild 
b/games-action/badland/badland-121.ebuild
index 78a303c6988..f62252013b6 100644
--- a/games-action/badland/badland-121.ebuild
+++ b/games-action/badland/badland-121.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="Badland_GotY_${PV}.tar
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="bindist splitdebug"
+RESTRICT="bindist fetch mirror splitdebug"
 
 QA_PREBUILT="opt/${PN}/*"
 



[gentoo-commits] repo/gentoo:master commit in: games-action/badland/

2018-12-10 Thread James Le Cuirot
commit: 2cff8f8fc777a404dcefa8ad8fd4e09140fa56d4
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Dec 10 21:43:55 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec 10 21:45:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cff8f8f

games-action/badland: New package

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

 games-action/badland/Manifest   |  2 +
 games-action/badland/badland-121.ebuild | 67 +
 games-action/badland/metadata.xml   |  8 
 3 files changed, 77 insertions(+)

diff --git a/games-action/badland/Manifest b/games-action/badland/Manifest
new file mode 100644
index 000..984eb00c0fd
--- /dev/null
+++ b/games-action/badland/Manifest
@@ -0,0 +1,2 @@
+DIST Badland_GotY_121.tar 191872792 BLAKE2B 
ed1c75d378b742a9f2c82f2ca1055837ff302e1438d4d1a48118ff0caf0455ce0001bb3b90e7c80361672435d2a846d67c94d1c8f28e8ecf8afe87d4177aaa86
 SHA512 
db018e79fada80c2e6f4ce9dc1f23bf43a8b6257207e52dbb583c484bb71e4e6b0109f750ab8fb7b1e221e2618a1994828c4525d478b7d45bf7d60012f9cf13a
+DIST badland.png 42439 BLAKE2B 
9439349c8f0a0133fdc042a373a4f625d0988ef4b9de71456ccc1dab4b0f8f56ab386e5f2ba5b322ca5f885c9784c325c9be25d691a740a89dc237afa2216451
 SHA512 
30387f1906fb35ff9684a8ad28535de7804e456ff545fd69bc6bad3d96c6e2149ca9c5fe19a6dc711f145191d72311538b402d3891971185fc07edabd61ba52f

diff --git a/games-action/badland/badland-121.ebuild 
b/games-action/badland/badland-121.ebuild
new file mode 100644
index 000..78a303c6988
--- /dev/null
+++ b/games-action/badland/badland-121.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop eutils gnome2-utils
+
+DESCRIPTION="Atmospheric side-scrolling action adventure platformer set in a 
gorgeous forest"
+HOMEPAGE="http://badlandgame.com;
+SRC_URI="Badland_GotY_${PV}.tar
+   https://dev.gentoo.org/~chewi/distfiles/${PN}.png;
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist splitdebug"
+
+QA_PREBUILT="opt/${PN}/*"
+
+DEPEND="
+   app-admin/chrpath
+"
+
+RDEPEND="
+   dev-db/sqlite:3[abi_x86_32]
+   media-libs/fontconfig:1.0[abi_x86_32]
+   media-libs/freetype:2[abi_x86_32]
+   media-libs/libpng:1.2[abi_x86_32]
+   media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video]
+   net-misc/curl[abi_x86_32]
+   >=sys-devel/gcc-4.6[cxx]
+   >=sys-libs/glibc-2.14
+   virtual/opengl[abi_x86_32]
+   x11-libs/libX11[abi_x86_32]
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+   einfo "Please buy and download ${SRC_URI} from:"
+   einfo "  
https://www.humblebundle.com/store/badland-game-of-the-year-humble-deluxe-edition;
+   einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+   default
+
+   # Replace insecure RPATH.
+   chrpath -r '$ORIGIN' ${PN} || die
+}
+
+src_install() {
+   local dir=/opt/${PN}
+
+   insinto "${dir}"
+   doins -r Resources
+
+   exeinto "${dir}"
+   doexe ${PN} *.so
+
+   make_wrapper ${PN} "./${PN}" "${dir}"
+   make_desktop_entry ${PN} "Badland"
+
+   doicon -s 128 "${DISTDIR}"/${PN}.png
+}
+
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }

diff --git a/games-action/badland/metadata.xml 
b/games-action/badland/metadata.xml
new file mode 100644
index 000..26079e608be
--- /dev/null
+++ b/games-action/badland/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ga...@gentoo.org
+   Gentoo Games Project
+   
+