logo

overlay

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

xash3d-fwgs-9999.ebuild (819B)


  1. # Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit git-r3
  5. DESCRIPTION="Provide compatibility with Half-Life Engine and extend it"
  6. HOMEPAGE="https://github.com/FWGS/xash3d-fwgs https://xash.su/"
  7. EGIT_REPO_URI="https://github.com/FWGS/xash3d-fwgs.git"
  8. LICENSE="VALVE GPL-2+ GPL-3+ Half-Life-1-SDK"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~arm64"
  11. IUSE=""
  12. # <media-libs/opus-1.5
  13. DEPEND="
  14. virtual/opengl
  15. app-arch/bzip2:=
  16. media-libs/libogg
  17. media-libs/libvorbis
  18. media-libs/opusfile
  19. media-libs/libsdl2
  20. "
  21. RDEPEND="${DEPEND}"
  22. src_configure() {
  23. ./waf configure \
  24. --prefix=/usr \
  25. --enable-packaging \
  26. --64bits \
  27. --disable-werror || die
  28. }
  29. src_compile() {
  30. ./waf || die
  31. }
  32. src_install() {
  33. DESTDIR="${D}" ./waf install || die
  34. }