logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: b8446e4a81309e8ed5179194e8978e35786cbdbf
parent 93f002807424b0472ee38b0b91d36f5bf0251d81
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 12 Oct 2023 08:23:32 +0200

games-rpg/amnesia-tdd: new package, add 0.3.2

Diffstat:

Agames-rpg/amnesia-tdd/Manifest1+
Agames-rpg/amnesia-tdd/amnesia-tdd-0.3.2.ebuild46++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/games-rpg/amnesia-tdd/Manifest b/games-rpg/amnesia-tdd/Manifest @@ -0,0 +1 @@ +DIST AmnesiaTheDarkDescent-d3abfdd93bb650b12aa224ecc6f6aace42424189.tar.gz 6710629 BLAKE2B 3c5f0174d033131d44e4f9032059055d54006158804c7173504dee5e264866aae992ac527595f81025c678c0162ca14d077e1a6ff0592b61f7d126d7ab6020df SHA512 9b41524fc5569f0316137b72a6198f807a23811a040cbcd102dd82bf67d327259669970d99e4ecd0ffebe593a3c8a0e6ce6123b60b659a26525bc949a5239759 diff --git a/games-rpg/amnesia-tdd/amnesia-tdd-0.3.2.ebuild b/games-rpg/amnesia-tdd/amnesia-tdd-0.3.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Amnesia: The Dark Descent" +HOMEPAGE="https://frictionalgames.com/ https://github.com/shamazmazum/AmnesiaTheDarkDescent" + +EGIT_COMMIT="d3abfdd93bb650b12aa224ecc6f6aace42424189" +SRC_URI="https://github.com/shamazmazum/AmnesiaTheDarkDescent/archive/${EGIT_COMMIT}.tar.gz -> AmnesiaTheDarkDescent-${EGIT_COMMIT}.tar.gz" +S="${WORKDIR}/AmnesiaTheDarkDescent-${EGIT_COMMIT}" + +# GPLv3+: amnesia-tdd +# zlib: AngelScript, Newton Dynamics and OALWrapper +LICENSE="GPL3+ ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + media-libs/devil + media-libs/glew:= + media-libs/glu + media-libs/libogg + media-libs/libsdl2 + media-libs/libtheora + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + virtual/opengl +" +RDEPEND="${DEPEND}" + +CMAKE_USE_DIR="${S}/amnesia/src" + +src_configure() { + local mycmakeargs=( + -DSYSTEMWIDE_RESOURCES=ON + -DSYSTEMWIDE_RESOURCES_LOCATION="${EPREFIX}/usr/share/amnesia-tdd" + -DOpenGL_GL_PREFERENCE=GLVND + ) + + cmake_src_configure +}