logo

overlay

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

fmod-4.44.64.ebuild (953B)


  1. # Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. MY_PV=$(ver_rs 1- '')
  5. DESCRIPTION="Libraries of the fmodex audio engine"
  6. HOMEPAGE="https://zdoom.org/files/fmod/ https://www.fmod.com/"
  7. SRC_URI="https://zdoom.org/files/fmod/fmodapi${MY_PV}linux.tar.gz"
  8. S="${WORKDIR}/fmodapi${MY_PV}linux"
  9. # Ogg Vorbis: BSD
  10. # Android: BSD-2
  11. LICENSE="BSD BSD-2 fmod"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86"
  14. RESTRICT="strip test"
  15. QA_PREBUILT="*"
  16. src_compile() { :; }
  17. src_install() {
  18. cd "${S}/api/lib/" || die
  19. for lib in libfmodex libfmodexL
  20. do
  21. dolib.so ${lib}64-${PV}.so
  22. dolib.so ${lib}64.so
  23. dolib.so ${lib}-${PV}.so
  24. dolib.so ${lib}.so
  25. done
  26. cd "${S}/fmoddesignerapi/api/lib/" || die
  27. for lib in libfmodevent libfmodeventL libfmodeventnet libfmodeventnetL
  28. do
  29. dolib.so ${lib}64-${PV}.so
  30. dolib.so ${lib}64.so
  31. dolib.so ${lib}-${PV}.so
  32. dolib.so ${lib}.so
  33. done
  34. }