diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /games-action/shadowgrounds-survivor-bin | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'games-action/shadowgrounds-survivor-bin')
3 files changed, 75 insertions, 0 deletions
diff --git a/games-action/shadowgrounds-survivor-bin/Manifest b/games-action/shadowgrounds-survivor-bin/Manifest new file mode 100644 index 000000000000..0567351b9987 --- /dev/null +++ b/games-action/shadowgrounds-survivor-bin/Manifest @@ -0,0 +1 @@ +DIST survivorUpdate1.run 1157907155 BLAKE2B a3c4b8ffc6ae6fd1c0537feea635326736b3316db6ee9daf2ef0f8883410cf80580dc0326455b36d0dfabb79792cce793f5ac0dd93645333285af9c0307cdfd1 SHA512 59c911382d120b0b45dd8dc21f5fdeb78b59155514a422c587fba9970a73b46238b170e3e80810e0fc5a6b5dedbb069ec3d2e2a552657eb5bfc101736a0afc36 diff --git a/games-action/shadowgrounds-survivor-bin/metadata.xml b/games-action/shadowgrounds-survivor-bin/metadata.xml new file mode 100644 index 000000000000..972e3be0ecc4 --- /dev/null +++ b/games-action/shadowgrounds-survivor-bin/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild new file mode 100644 index 000000000000..242be142fe41 --- /dev/null +++ b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit unpacker eutils games versionator + +DIST_PV=$(get_version_component_range 2) + +DESCRIPTION="human survivors who battle against the ongoing alien onslaught" +HOMEPAGE="http://shadowgroundsgame.com/survivor/" +SRC_URI="survivorUpdate${DIST_PV/p/}.run" + +LICENSE="frozenbyte-eula" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="fetch strip" + +DEPEND="app-arch/unzip" +RDEPEND=">=sys-libs/glibc-2.4 + >=sys-devel/gcc-4.3.0 + !amd64? ( + gnome-base/libglade + ) + amd64? ( + >=gnome-base/libglade-2.6.4-r1[abi_x86_32(-)] + )" + +S=${WORKDIR} + +d="${GAMES_PREFIX_OPT}/${PN}" +QA_TEXTRELS_x86="`echo ${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`" +QA_TEXTRELS_amd64=${QA_TEXTRELS_x86} + +pkg_nofetch() { + einfo "Fetch ${SRC_URI} and put it into your DISTDIR directory." + einfo "See http://www.humblebundle.com/ for more info." +} + +src_unpack() { + # manually run unzip as the initial seek causes it to exit(1) + unpack_zip ${A} + rm lib*/lib{gcc_s,m,rt,selinux}.so.? +} + +src_install() { + local b bb + + doicon Survivor.xpm || die + for b in bin launcher ; do + bb="survivor-${b}" + exeinto ${d} + newexe ${bb} ${bb} + games_make_wrapper ${bb} "./${bb}" "${d}" + make_desktop_entry ${bb} "Shadowgrounds Survivor ${b}" "Shadowgrounds Survivor" + done + + exeinto ${d}/lib32 + doexe lib32/* + + insinto ${d} + doins -r Config data Profiles *.fbz *.glade *-logo.png + + prepgamesdirs +} |
