diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-action/openastromenace | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-action/openastromenace')
-rw-r--r-- | games-action/openastromenace/Manifest | 3 | ||||
-rw-r--r-- | games-action/openastromenace/metadata.xml | 11 | ||||
-rw-r--r-- | games-action/openastromenace/openastromenace-1.3.2-r1.ebuild | 75 |
3 files changed, 89 insertions, 0 deletions
diff --git a/games-action/openastromenace/Manifest b/games-action/openastromenace/Manifest new file mode 100644 index 000000000000..aaadf53f73f5 --- /dev/null +++ b/games-action/openastromenace/Manifest @@ -0,0 +1,3 @@ +DIST astromenace-src-1.3.2.tar.bz2 55390211 BLAKE2B 143e0a5dbbb9b451ca15b3ff015db6981ebd6b54200093bc1f34e0eda2029f544c3b70ecfcd5435b44c52a614b5ff859dc8dca79a4277d49a7129ae7d522c6a8 SHA512 0a06278a8a7fdaaf5c730590fcc1f8f59503fe4c94dcbb6dd6b6ee638048f9bebf7c49c75cd32f26e4cd08cfbe01f5082002860901b7196f08a55712bb3ed5d4 +EBUILD openastromenace-1.3.2-r1.ebuild 1531 BLAKE2B 477081a3de2f367a3de2ff214e061b4589ee5dedf4055c034f0dca89d255fe3d8bfa57dc287508aba1ad0fe1bd9910475c9b7aa86c4b947a94aa4bb85eb5b03c SHA512 07a61135ce4b2c05b6ce3a83b0c18073cf970b73b7caac7ac85e1ad8dac8438713878e9dc1276cc39f0cd182977bed38ff4c256dc8de461c157def6055de3234 +MISC metadata.xml 338 BLAKE2B 6c318ab57a89bd4e1ae46723bf6d0a64e7ef78f8507dabbfb8a0ff3f39b58ce5642f04e2d65d93722d74a4783b67fe860513785a12098aa7ee03f8d7df2054f6 SHA512 b2364e10d11ba13a39560816a4b7bc99bd00eb5917e81842a909813cd0fe55bb5324baf4181238fcd1122508bde58f2f0d064c6d6cf52401bc7a76372c6e6e44 diff --git a/games-action/openastromenace/metadata.xml b/games-action/openastromenace/metadata.xml new file mode 100644 index 000000000000..6894dd761700 --- /dev/null +++ b/games-action/openastromenace/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">openastromenace</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-action/openastromenace/openastromenace-1.3.2-r1.ebuild b/games-action/openastromenace/openastromenace-1.3.2-r1.ebuild new file mode 100644 index 000000000000..cdd657e1958c --- /dev/null +++ b/games-action/openastromenace/openastromenace-1.3.2-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils cmake-utils eutils + +DESCRIPTION="Modern 3D space shooter with spaceship upgrade possibilities" +HOMEPAGE="https://sourceforge.net/projects/openastromenace/" +SRC_URI="mirror://sourceforge/openastromenace/${PV}/astromenace-src-${PV}.tar.bz2" + +LICENSE="GPL-3 GPL-3+ CC-BY-SA-3.0 UbuntuFontLicense-1.0 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + media-libs/freealut + media-libs/freetype:2 + media-libs/libogg + media-libs/libsdl[joystick,video,X] + media-libs/libvorbis + media-libs/openal + virtual/glu + virtual/opengl + x11-libs/libXinerama" +RDEPEND=${DEPEND} + +S=${WORKDIR}/AstroMenace + +src_prepare() { + cmake-utils_src_prepare + + # no messing with CXXFLAGS please. + sed -i -e '/-Os/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=("-DDATADIR=/usr/share/${PN}") + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + "${CMAKE_BUILD_DIR}"/AstroMenace --pack \ + --rawdata="${S}"/RAW_VFS_DATA \ + --dir=$(dirname "${CMAKE_BUILD_DIR}") || die +} + +src_install() { + newbin "${CMAKE_BUILD_DIR}"/AstroMenace "${PN}" + + insinto /usr/share/${PN} + doins ../*.vfs + + newicon -s 128 astromenace_128.png ${PN}.png + newicon -s 64 astromenace_64.png ${PN}.png + + dodoc ChangeLog.txt ReadMe.txt + + make_desktop_entry "${PN}" OpenAstroMenace +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |