diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
commit | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (patch) | |
tree | c968fff3108e2b4d88e4e564a56bfd066f170573 /games-rpg | |
parent | 1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (diff) |
gentoo resync : 18.03.2018
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/Manifest.gz | bin | 7930 -> 7925 bytes | |||
-rw-r--r-- | games-rpg/grimrock/Manifest | 6 | ||||
-rw-r--r-- | games-rpg/grimrock/grimrock-20130515.ebuild | 122 | ||||
-rw-r--r-- | games-rpg/grimrock/grimrock-20150707.ebuild | 70 | ||||
-rw-r--r-- | games-rpg/grimrock/metadata.xml | 3 |
5 files changed, 73 insertions, 128 deletions
diff --git a/games-rpg/Manifest.gz b/games-rpg/Manifest.gz Binary files differindex eb398a6a5c59..c0339d83ff7a 100644 --- a/games-rpg/Manifest.gz +++ b/games-rpg/Manifest.gz diff --git a/games-rpg/grimrock/Manifest b/games-rpg/grimrock/Manifest index e03fe6efaa3e..f98afb3eae90 100644 --- a/games-rpg/grimrock/Manifest +++ b/games-rpg/grimrock/Manifest @@ -1,3 +1,3 @@ -DIST LegendOfGrimrock-Linux-2013-05-15.sh 316846010 SHA256 005066be6ce12ba342e499369070113c6b66a9bea03c6ecb1e5fd0758eb0c39d SHA512 e4907ddfba9a6923f81f188d1452a1bf37e4bbaab4fb9b4befabe167b5159d35acd6c1939b98dd66e3a8f96775d12703206432f60a86c7b4d070acc3a9392f9c WHIRLPOOL a7a5c70c6622737f9904962b248578261137b0c098e7175e309d3470b798b7297dc8aeb42e36b00f809c20f5f105fdfeb75edecca33e94f0d06650f564f02487 -EBUILD grimrock-20130515.ebuild 2697 BLAKE2B 0ae49a38b92e4ce6634557362a28ef007be310b9094558380436acf0b37a0c1bf16c2a324c083c0dc82ecab2531c04410e8d2b3f7e84a8c62b8d7e3810c62df3 SHA512 a04f72776c04ddc7825a0d97a55cb7867626ade0cdd9abc2e274102659b47e566dbf55dadcede799783cc87f59e72c085a0ea6179701ed878ab9650aeec0f3f9 -MISC metadata.xml 326 BLAKE2B 20c0a3a6cbb19e457c09b386a837b4202cf279231a681f3da7d604f3bffcfe6761f849ce82bc0169cc498d9bab565ff75216f4b749068e6663f5acbace935f7b SHA512 87eee3f514c290aba519dad7fdb335424ebd7ed7bb1cfa8650d293136ad2a6efdb44eff2c1c48973e9a587f282a2114866d9e4d66adb857b61a085d5635ecfd2 +DIST Grimrock-Linux-2015-07-07.sh 316846242 BLAKE2B 5d8123b3e2dedf4d6b2ae6f43c9ebe5427e63205b7ff53dc0fba26b0b3a8a1f164b79a3a10776c751aa0fbe29c7ef715412bff826476894eec6aa545da4adec3 SHA512 c90203a747564223281fb61ffcc7ac90f772990f33bb8345aff68c65fbc371f0f1a611645e952a75bd9dbca9e760398c0411eb9adade9c58e525a5b1c4e186db +EBUILD grimrock-20150707.ebuild 1555 BLAKE2B 11b0bc03dd1b01614dd3899b1d6b615fc34d32b02162b7e750a37da21b12e3b49cd9fce9a155f2c85e9edaba9d19841755bd4afa2acdf29118a69d5837b83a2f SHA512 d46f2401d3daac6767a535175fde51167c8bbf946c4e8ba4608cbad2b6d4da0b3f076c3ff1e9594cb1b802bcd30ea18072ddf252f29f36b35e9946ca2d5992e4 +MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-rpg/grimrock/grimrock-20130515.ebuild b/games-rpg/grimrock/grimrock-20130515.ebuild deleted file mode 100644 index ad48b03d9a65..000000000000 --- 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 000000000000..03275c50c9a5 --- /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 befc8c80e0b1..26079e608bed 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> |