diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
commit | 77b275a53383b07b154caa09feb6f4961b206638 (patch) | |
tree | bf2b88f1f848dfe69541c3d78aaa35ef22560107 /games-action/apotheon/apotheon-1.26v-r1.ebuild | |
parent | 9d4810f84de876ec9d0ae03d0d44224500b41188 (diff) |
gentoo auto-resync : 20:05:2024 - 00:02:15
Diffstat (limited to 'games-action/apotheon/apotheon-1.26v-r1.ebuild')
-rw-r--r-- | games-action/apotheon/apotheon-1.26v-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/games-action/apotheon/apotheon-1.26v-r1.ebuild b/games-action/apotheon/apotheon-1.26v-r1.ebuild new file mode 100644 index 000000000000..c43bec596490 --- /dev/null +++ b/games-action/apotheon/apotheon-1.26v-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="Heroic action game set within the vibrant world of Ancient Greek Mythology" +HOMEPAGE="https://www.apotheongame.com" +SRC_URI="${PN}-12302015-bin" +S="${WORKDIR}/data" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + dev-lang/mono + media-libs/libsdl2[joystick,opengl,threads(+),video] + media-libs/openal + media-libs/sdl2-image + media-libs/theoraplay +" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.humblebundle.com/store/${PN}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + local \ + EXE=Apotheon.bin.$(usex amd64 x86_64 x86) \ + LIB=lib$(usex amd64 64 "") + + exeinto "${DIR}" + doexe ${EXE} + dosym "${DIR}"/${EXE} /usr/bin/${PN} + + insinto "${DIR}" + doins -r Content/ Dialog/ *.exe [A-LP]*.dll* # Exclude some Mono DLLs. + + exeinto "${DIR}"/${LIB} + doexe ${LIB}/libmojo* + + dodoc Linux.README + + newicon -s 512 Apotheon.png ${PN}.png + make_desktop_entry ${PN} "Apotheon" +} |