logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

amnesia-tdd-0.3.2.ebuild (1118B)


  1. # Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit cmake
  5. DESCRIPTION="Amnesia: The Dark Descent"
  6. HOMEPAGE="https://frictionalgames.com/ https://github.com/shamazmazum/AmnesiaTheDarkDescent"
  7. EGIT_COMMIT="d3abfdd93bb650b12aa224ecc6f6aace42424189"
  8. SRC_URI="https://github.com/shamazmazum/AmnesiaTheDarkDescent/archive/${EGIT_COMMIT}.tar.gz -> AmnesiaTheDarkDescent-${EGIT_COMMIT}.tar.gz"
  9. S="${WORKDIR}/AmnesiaTheDarkDescent-${EGIT_COMMIT}"
  10. # GPL-3+: amnesia-tdd
  11. # zlib: AngelScript, Newton Dynamics and OALWrapper
  12. LICENSE="GPL-3+ ZLIB"
  13. SLOT="0"
  14. KEYWORDS="~amd64"
  15. IUSE=""
  16. DEPEND="
  17. media-libs/devil
  18. media-libs/glew:=
  19. media-libs/glu
  20. media-libs/libogg
  21. media-libs/libsdl2
  22. media-libs/libtheora
  23. media-libs/libvorbis
  24. media-libs/openal
  25. sys-libs/zlib
  26. virtual/opengl
  27. "
  28. RDEPEND="${DEPEND}"
  29. CMAKE_USE_DIR="${S}/amnesia/src"
  30. src_configure() {
  31. local mycmakeargs=(
  32. -DSYSTEMWIDE_RESOURCES=ON
  33. -DSYSTEMWIDE_RESOURCES_LOCATION="${EPREFIX}/usr/share/amnesia-tdd"
  34. -DOpenGL_GL_PREFERENCE=GLVND
  35. )
  36. cmake_src_configure
  37. }