public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/grimrock/
@ 2021-07-18  5:15 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-07-18  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c5b6ce931d4492e25dd8eb6ef062e576db2b8586
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 03:37:54 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 05:14:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b6ce93

games-rpg/grimrock: EAPI 6->7, tidy a bit

Do not own this version of the game, so trying safe changes.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-rpg/grimrock/grimrock-20150707.ebuild | 48 +++++++++++++----------------
 1 file changed, 22 insertions(+), 26 deletions(-)

diff --git a/games-rpg/grimrock/grimrock-20150707.ebuild b/games-rpg/grimrock/grimrock-20150707.ebuild
index 03275c50c9a..e0950dd5bc0 100644
--- a/games-rpg/grimrock/grimrock-20150707.ebuild
+++ b/games-rpg/grimrock/grimrock-20150707.ebuild
@@ -1,36 +1,35 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit desktop gnome2-utils unpacker
+inherit desktop unpacker xdg
 
-TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
 MY_PN="Grimrock"
+MY_TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+
 DESCRIPTION="Legend of Grimrock: The ultimate dungeon crawling RPG + modding engine"
 HOMEPAGE="http://www.grimrock.net/"
-SRC_URI="Grimrock-Linux-${TIMESTAMP}.sh"
+SRC_URI="Grimrock-Linux-${MY_TIMESTAMP}.sh"
+S="${WORKDIR}"
 
-SLOT="0"
 LICENSE="all-rights-reserved"
+SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="fetch bindist splitdebug"
+RESTRICT="bindist fetch"
 
-QA_PREBUILT="/opt/${PN}/${MY_PN}.bin"
+QA_PREBUILT="opt/${PN}/${MY_PN}.bin"
 
-RDEPEND="media-libs/freeimage
+RDEPEND="
+	media-libs/freeimage
 	media-libs/freetype:2
-	media-libs/openal
 	media-libs/libsdl2[opengl,sound,video]
 	media-libs/libvorbis
+	media-libs/openal
 	sys-libs/zlib[minizip]
 	virtual/opengl
 	x11-libs/libX11"
 
-DEPEND="app-arch/xz-utils"
-
-S="${WORKDIR}"
-
 pkg_nofetch() {
 	einfo "Please buy and download ${SRC_URI} from:"
 	einfo "  ${HOMEPAGE}"
@@ -38,25 +37,26 @@ pkg_nofetch() {
 }
 
 src_unpack() {
-	myarch=$(usex amd64 x86_64 x86)
+	MY_ARCH=$(usex amd64 x86_64 x86)
+
 	unpack_makeself
 
 	local i
-	for i in subarch instarchive_all instarchive_linux_${myarch}; do
-		ln -snf "${i}" "${i}.tar.xz" || die
-		unpack ./"${i}.tar.xz"
+	for i in subarch instarchive_all instarchive_linux_${MY_ARCH}; do
+		ln -snf ${i} ${i}.tar.xz || die
+		unpack ./${i}.tar.xz
 	done
 }
 
 src_install() {
 	local dir=/opt/${PN}
 
-	insinto "${dir}"
+	insinto ${dir}
 	doins ${PN}.{dat,png}
 
-	exeinto "${dir}"
-	newexe ${MY_PN}.bin{.${myarch},}
-	dosym "../..${dir}"/${MY_PN}.bin /usr/bin/${PN}
+	exeinto ${dir}
+	newexe ${MY_PN}.bin{.${MY_ARCH},}
+	dosym ../..${dir}/${MY_PN}.bin /usr/bin/${PN}
 
 	doicon -s 256 ${PN}.png
 	newicon -s 64 ${MY_PN}.png ${PN}.png
@@ -64,7 +64,3 @@ src_install() {
 
 	dodoc README.linux
 }
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/grimrock/
@ 2018-03-15 21:55 James Le Cuirot
  0 siblings, 0 replies; 4+ messages in thread
From: James Le Cuirot @ 2018-03-15 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     98ea9eb4415b4181c485867235ba617af1d12cfe
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 15 21:54:50 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Mar 15 21:54:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ea9eb4

games-rpg/grimrock: Bump to 20150707, EAPI 6, no bundling

This previously bundled SDL 2, probably because it wasn't packaged
when this was first added. With that unbundled, there are far fewer
dependencies and this makes unbundling everything less likely to
break. SDL is particularly stable in this regard. Because of this and
in the interests of security, I have dropped the bundled-libs
flag. Anyone experiencing issues can obviously file a bug report.

I swapped the wrapper script for a symlink as the latter works fine.

I dropped the message about libtxc_dxtn because this is no longer
necessary with recent versions of Mesa.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 games-rpg/grimrock/Manifest                 |   2 +-
 games-rpg/grimrock/grimrock-20130515.ebuild | 122 ----------------------------
 games-rpg/grimrock/grimrock-20150707.ebuild |  70 ++++++++++++++++
 games-rpg/grimrock/metadata.xml             |   3 -
 4 files changed, 71 insertions(+), 126 deletions(-)

diff --git a/games-rpg/grimrock/Manifest b/games-rpg/grimrock/Manifest
index cbdc76e9b94..bc79d328a3c 100644
--- a/games-rpg/grimrock/Manifest
+++ b/games-rpg/grimrock/Manifest
@@ -1 +1 @@
-DIST LegendOfGrimrock-Linux-2013-05-15.sh 316846010 SHA256 005066be6ce12ba342e499369070113c6b66a9bea03c6ecb1e5fd0758eb0c39d SHA512 e4907ddfba9a6923f81f188d1452a1bf37e4bbaab4fb9b4befabe167b5159d35acd6c1939b98dd66e3a8f96775d12703206432f60a86c7b4d070acc3a9392f9c WHIRLPOOL a7a5c70c6622737f9904962b248578261137b0c098e7175e309d3470b798b7297dc8aeb42e36b00f809c20f5f105fdfeb75edecca33e94f0d06650f564f02487
+DIST Grimrock-Linux-2015-07-07.sh 316846242 BLAKE2B 5d8123b3e2dedf4d6b2ae6f43c9ebe5427e63205b7ff53dc0fba26b0b3a8a1f164b79a3a10776c751aa0fbe29c7ef715412bff826476894eec6aa545da4adec3 SHA512 c90203a747564223281fb61ffcc7ac90f772990f33bb8345aff68c65fbc371f0f1a611645e952a75bd9dbca9e760398c0411eb9adade9c58e525a5b1c4e186db

diff --git a/games-rpg/grimrock/grimrock-20130515.ebuild b/games-rpg/grimrock/grimrock-20130515.ebuild
deleted file mode 100644
index ad48b03d9a6..00000000000
--- a/games-rpg/grimrock/grimrock-20130515.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib gnome2-utils unpacker games
-
-TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
-MY_PN="Grimrock"
-DESCRIPTION="Legend of Grimrock: The Ultimate dungeon crawling RPG + modding engine"
-HOMEPAGE="http://www.grimrock.net/"
-SRC_URI="LegendOfGrimrock-Linux-${TIMESTAMP}.sh"
-
-SLOT="0"
-LICENSE="all-rights-reserved"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="bundled-libs"
-RESTRICT="fetch bindist splitdebug"
-
-QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin.*
-	${GAMES_PREFIX_OPT}/${PN}/lib.*"
-
-RDEPEND="
-	app-arch/bzip2
-	media-libs/freetype:2
-	media-libs/ilmbase
-	media-libs/lcms
-	=media-libs/libpng-1.6*
-	media-libs/libraw
-	media-libs/jasper:=
-	media-libs/openexr
-	media-libs/tiff
-	sys-libs/zlib
-	virtual/jpeg:62
-	virtual/opengl
-	x11-libs/libX11
-	x11-libs/libXau
-	x11-libs/libxcb
-	x11-libs/libXdmcp
-	x11-libs/libXext
-	!bundled-libs? (
-		media-libs/freeimage[png]
-		media-libs/libogg
-		media-libs/libvorbis
-		media-libs/openal
-		sys-libs/zlib[minizip]
-	)"
-DEPEND="app-arch/xz-utils"
-
-S=${WORKDIR}
-
-pkg_nofetch() {
-	einfo "Please buy & download ${SRC_URI} from:"
-	einfo "  ${HOMEPAGE}"
-	einfo "and move it to ${DISTDIR}"
-	einfo
-}
-
-src_unpack() {
-	use amd64 && myarch=x86_64 || myarch=x86
-
-	local archivelist=(
-		subarch
-		instarchive_all
-		instarchive_linux_${myarch}
-		deps/SDL2/SDL2_files_linux_${myarch}
-		deps/FreeImage/FreeImage_files_linux_${myarch}
-		deps/libogg/libogg_files_linux_${myarch}
-		deps/minizip/minizip_files_linux_${myarch}
-		deps/openal/openal_files_linux_${myarch}
-		deps/vorbis/vorbis_files_linux_${myarch}
-	)
-
-	unpack_makeself
-
-	local i
-	for i in $(if use bundled-libs ; then echo ${archivelist[@]} ; else echo ${archivelist[@]:0:4} ; fi) ; do
-		mv "${i}" "${i}.tar.xz" || die
-		unpack ./"${i}.tar.xz"
-	done
-}
-
-src_install() {
-	local dir=${GAMES_PREFIX_OPT}/${PN}
-
-	insinto "${dir}"
-	doins ${PN}.{dat,png}
-
-	exeinto "${dir}"
-	doexe "${MY_PN}.bin.${myarch}"
-
-	exeinto "${dir}"/lib
-	doexe $(get_libdir)/libSDL2-2.0.so.0
-	use bundled-libs && {
-		doexe $(get_libdir)/lib{freeimage.so.3,minizip.so.1,ogg.so.0,openal.so.1,vorbisfile.so.3,vorbis.so.0}
-	}
-
-	games_make_wrapper "${PN}" "./${MY_PN}.bin.${myarch}" "${dir}" "${dir}"/lib
-	doicon -s 256 ${PN}.png
-	newicon -s 64 ${MY_PN}.png ${PN}.png
-	make_desktop_entry "${PN}" "Legend of ${MY_PN}"
-
-	dodoc README.linux
-	prepgamesdirs
-}
-
-pkg_preinst() {
-	games_pkg_preinst
-	gnome2_icon_savelist
-}
-
-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
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}

diff --git a/games-rpg/grimrock/grimrock-20150707.ebuild b/games-rpg/grimrock/grimrock-20150707.ebuild
new file mode 100644
index 00000000000..03275c50c9a
--- /dev/null
+++ b/games-rpg/grimrock/grimrock-20150707.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils unpacker
+
+TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PN="Grimrock"
+DESCRIPTION="Legend of Grimrock: The ultimate dungeon crawling RPG + modding engine"
+HOMEPAGE="http://www.grimrock.net/"
+SRC_URI="Grimrock-Linux-${TIMESTAMP}.sh"
+
+SLOT="0"
+LICENSE="all-rights-reserved"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="fetch bindist splitdebug"
+
+QA_PREBUILT="/opt/${PN}/${MY_PN}.bin"
+
+RDEPEND="media-libs/freeimage
+	media-libs/freetype:2
+	media-libs/openal
+	media-libs/libsdl2[opengl,sound,video]
+	media-libs/libvorbis
+	sys-libs/zlib[minizip]
+	virtual/opengl
+	x11-libs/libX11"
+
+DEPEND="app-arch/xz-utils"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+	einfo "Please buy and download ${SRC_URI} from:"
+	einfo "  ${HOMEPAGE}"
+	einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+	myarch=$(usex amd64 x86_64 x86)
+	unpack_makeself
+
+	local i
+	for i in subarch instarchive_all instarchive_linux_${myarch}; do
+		ln -snf "${i}" "${i}.tar.xz" || die
+		unpack ./"${i}.tar.xz"
+	done
+}
+
+src_install() {
+	local dir=/opt/${PN}
+
+	insinto "${dir}"
+	doins ${PN}.{dat,png}
+
+	exeinto "${dir}"
+	newexe ${MY_PN}.bin{.${myarch},}
+	dosym "../..${dir}"/${MY_PN}.bin /usr/bin/${PN}
+
+	doicon -s 256 ${PN}.png
+	newicon -s 64 ${MY_PN}.png ${PN}.png
+	make_desktop_entry ${PN} "Legend of ${MY_PN}"
+
+	dodoc README.linux
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }

diff --git a/games-rpg/grimrock/metadata.xml b/games-rpg/grimrock/metadata.xml
index befc8c80e0b..26079e608be 100644
--- a/games-rpg/grimrock/metadata.xml
+++ b/games-rpg/grimrock/metadata.xml
@@ -5,7 +5,4 @@
 		<email>games@gentoo.org</email>
 		<name>Gentoo Games Project</name>
 	</maintainer>
-	<use>
-		<flag name="bundled-libs">Use bundled libraries.</flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/grimrock/
@ 2016-11-12 23:37 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2016-11-12 23:37 UTC (permalink / raw
  To: gentoo-commits

commit:     cbb9af9d50059c5057401d84a4125b9d1eaaed40
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 21:44:05 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 23:35:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb9af9d

games-rpg/grimrock: Add subslot operator on media-libs/jasper

Package-Manager: portage-2.3.2

 games-rpg/grimrock/grimrock-20130515.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/grimrock/grimrock-20130515.ebuild b/games-rpg/grimrock/grimrock-20130515.ebuild
index 4e68803..018d9ea 100644
--- a/games-rpg/grimrock/grimrock-20130515.ebuild
+++ b/games-rpg/grimrock/grimrock-20130515.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -27,7 +27,7 @@ RDEPEND="
 	media-libs/lcms
 	=media-libs/libpng-1.6*
 	media-libs/libraw
-	media-libs/jasper
+	media-libs/jasper:=
 	media-libs/openexr
 	media-libs/tiff
 	sys-libs/zlib


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/grimrock/
@ 2015-12-30  2:39 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2015-12-30  2:39 UTC (permalink / raw
  To: gentoo-commits

commit:     62eee938ce8c7951b0391f5e457d8dcfffd6f759
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 30 02:38:26 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Dec 30 02:38:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62eee938

games-rpg/grimrock: trust the user - punt media-libs/openjpeg dep (bug #540380)

Package-Manager: portage-2.2.24

 games-rpg/grimrock/grimrock-20130515.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-rpg/grimrock/grimrock-20130515.ebuild b/games-rpg/grimrock/grimrock-20130515.ebuild
index 595eaef..4e68803 100644
--- a/games-rpg/grimrock/grimrock-20130515.ebuild
+++ b/games-rpg/grimrock/grimrock-20130515.ebuild
@@ -29,7 +29,6 @@ RDEPEND="
 	media-libs/libraw
 	media-libs/jasper
 	media-libs/openexr
-	media-libs/openjpeg:0
 	media-libs/tiff
 	sys-libs/zlib
 	virtual/jpeg:62


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-18  5:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18  5:15 [gentoo-commits] repo/gentoo:master commit in: games-rpg/grimrock/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2018-03-15 21:55 James Le Cuirot
2016-11-12 23:37 David Seifert
2015-12-30  2:39 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox