games-rpg/amnesia-tdd - 0.3.2 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =games-rpg/amnesia-tdd-0.3.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-rpg/amnesia-tdd-0.3.2

Or alternatively:

emerge --autounmask-write -a =games-rpg/amnesia-tdd-0.3.2

Package Information

Description:
Amnesia: The Dark Descent
Homepage:
https://frictionalgames.com/ https://github.com/shamazmazum/AmnesiaTheDarkDescent
License:
GPL-3+ ZLIB

Ebuild Details

Version EAPI Keywords Slot
0.3.2 8 ~amd64 0
View Raw Ebuild
# 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}"

# GPL-3+: amnesia-tdd
# zlib: AngelScript, Newton Dynamics and OALWrapper
LICENSE="GPL-3+ ZLIB"
SLOT="0"
KEYWORDS="~amd64"

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
}

Inherited Eclasses

Dependencies

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

	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

Manifest for 0.3.2

Type File Size Source URLs
DIST AmnesiaTheDarkDescent-d3abfdd93bb650b12aa224ecc6f6aace42424189.tar.gz 6710629 bytes https://github.com/shamazmazum/AmnesiaTheDarkDescent/archive/d3abfdd93bb650b12aa224ecc6f6aace42424189.tar.gz