diff options
Diffstat (limited to 'games-action/slune')
-rw-r--r-- | games-action/slune/Manifest | 5 | ||||
-rw-r--r-- | games-action/slune/metadata.xml | 8 | ||||
-rw-r--r-- | games-action/slune/slune-1.0.15-r1.ebuild | 75 |
3 files changed, 88 insertions, 0 deletions
diff --git a/games-action/slune/Manifest b/games-action/slune/Manifest new file mode 100644 index 000000000000..0d37a85c7e39 --- /dev/null +++ b/games-action/slune/Manifest @@ -0,0 +1,5 @@ +DIST Slune-1.0.15.tar.bz2 9549694 SHA256 a982f1af18937a3429cee82cff9315838f508dfb71116ba08519cdfa6ed4dfa4 SHA512 7f26f91a7db5ccfd2b7063592c53a0b5791f5db5dee582c0f2208af7615c3b7f0b1ed420ecef1f1396a6b1573cb99cc40e886bc47bc22d064bc3ad4814421920 WHIRLPOOL e862ac1f318fef512ddbd3e6c76554341a67e54bed8fdecd9df5f63be0176d35a4b3441e65667205fa77c46826fd2ad83e2af6bc7ee3d63e93214388e5b39475 +EBUILD slune-1.0.15-r1.ebuild 1531 SHA256 6722d53f180805dd7a798f5d08d7125b1e960fbb99241460be5d9f8c1ab278aa SHA512 ba25efa2e0eac7ac8791581a7b7d65888641e0c6cbea9a2b720ff06134d4762d53b424c87ae780bfae1d2fc4c4bc1156f248e93ef2b577ff3b899c2eeb7ff8e8 WHIRLPOOL b355bb81c2c35dd429c2b82c3cd3eec64ea0162781183652bd1c7dfc63d38ff71c9bbc9ecbba8a95c662351d0db037cedfb7f712613479b88d5f869cb9c76467 +MISC ChangeLog 2433 SHA256 85b41acd513110ad5112ebc554b3d9d11ab0e432ba88f3ce5ecd8582e223ef3e SHA512 6fede0cab386c1e30200580cfa1fec1a2f4b796024158e2075d41c82e2404d83d1caff34d29b7dc3fd555b141e1bc943bc03fba06d11c968838e85aca4188385 WHIRLPOOL bc8547f8fd7fe24a826ce69d7cbdf20ad6315fb1597d5e628c91b52f591d5d362f7eb9469aeb18214366351c6f98c43dec1dfc6cc77f4993af0143f7951c1600 +MISC ChangeLog-2015 3339 SHA256 93965cf997871d8259b893ce29a551cd86a2c7a4f95214a69b4282d95faf069c SHA512 87851b3f18a9e8905d87e7c9610c3096e1398d518ed2e72bc2731b79be60f02ffcbf737654516eecabe9240249bad2bd86ade74a5cd527eceaea27990485261b WHIRLPOOL 1a49c73245f6eb786819c42e68d33c22cd298fbc798bab1e82f4e496213be49fd0cd0cb6b5c2e7c9aa0fdcbcd48fc8465337dde20c384788e458820f39d5e029 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-action/slune/metadata.xml b/games-action/slune/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-action/slune/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-action/slune/slune-1.0.15-r1.ebuild b/games-action/slune/slune-1.0.15-r1.ebuild new file mode 100644 index 000000000000..3dc3e885cb03 --- /dev/null +++ b/games-action/slune/slune-1.0.15-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2-utils python-utils-r1 distutils-r1 games + +DESCRIPTION="A 3D action game with multiplayer mode and amazing graphics" +HOMEPAGE="http://oomadness.tuxfamily.org/en/slune/" +SRC_URI="http://download.gna.org/slune/Slune-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/opengl + >=media-libs/libsdl-1.2.6 + >=dev-python/soya-0.9 + >=dev-python/py2play-0.1.9 + >=dev-python/pyopenal-0.1.3 + >=dev-python/pyogg-1.1 + >=dev-python/pyvorbis-1.1" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/Slune-${PV} + +python_install() { + distutils-r1_python_install \ + --install-scripts="${GAMES_BINDIR}" \ + --install-data="${GAMES_DATADIR}" \ + --install-lib="$(python_get_sitedir)" + + # FHS broke the logic, fix it + local i + for i in $(ls -I locale "${ED}${GAMES_DATADIR}"/${PN}) ; do + dosym "${GAMES_DATADIR}/${PN}/${i}" "$(python_get_sitedir)/${PN}/${i}" + done +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install + + # fix install dest of locales + mv "${ED}${GAMES_DATADIR}"/${PN}/locale "${ED}"/usr/share/locale || die + + newicon -s 48 images/${PN}.48.png ${PN}.png + make_desktop_entry ${PN} "Slune" + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |