From 16c98d64adaeb38acb96e16868adfe713f7ac619 Mon Sep 17 00:00:00 2001 From: haarp Date: Sun, 30 Jul 2023 21:08:12 +0200 Subject: Changes to Zandronum/fmod: - Removed fluidsynth dependency. It never worked with the newer fluidsynth in Gentoo anyway - Added missing media-libs/glew dependency - Fixed a bug when Zandronum was reinstalled (doom directory brightmaps) - Updated to "newer" fmod, so it should merge now. Adapted the fmod ebuild to work by Haelwenn (lanodan) Monnier from lanodanOverlay :) fmod libs are now installed in /usr. This is technically wrong because they're not built. but eh... Signed-off-by: haarp --- media-libs/fmod/Manifest | 6 ++-- media-libs/fmod/fmod-4.38.02-r1.ebuild | 62 ---------------------------------- media-libs/fmod/fmod-4.44.64.ebuild | 48 ++++++++++++++++++++++++++ media-libs/fmod/metadata.xml | 8 ----- 4 files changed, 50 insertions(+), 74 deletions(-) delete mode 100644 media-libs/fmod/fmod-4.38.02-r1.ebuild create mode 100644 media-libs/fmod/fmod-4.44.64.ebuild delete mode 100644 media-libs/fmod/metadata.xml (limited to 'media-libs') diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest index cba6981..0193817 100644 --- a/media-libs/fmod/Manifest +++ b/media-libs/fmod/Manifest @@ -1,4 +1,2 @@ -DIST fmodapi43802linux.tar.gz 21992247 BLAKE2B e0bb112ca47649390c7aba33a1cd75cb7b13c9a2d4cc5eb5c9a6bad02af9ae4958bdd8d458bd4fcc76eb42f5e09f8f989206c971bd7cbcb05359aaeab392fe38 SHA512 6a3f0f62acc71e24e48f8aaa03270d95ce09ace6d37f75a40452c84788b06f4cd6889772e9a6c00fc4799020c046905a9185d08900bc3b573a28b42cbb7f45b5 -DIST fmodapi43802linux64.tar.gz 22282269 BLAKE2B 733b3531f9e107332ab2c91e07f39363810f748e72fdbdcc865b87d86bee766859c01eb2357b5169cb79cad490d6186227d481335a1114968a1cbe2ab6e33ae6 SHA512 95b8688bbf54e19c2471f508d7ed9fbb93f6c88eaadc090813b02a86082e15dc7578220a40ae2b39358f8a4dfcacb4cb78823f4577f5ce9bc3d53af2f591d558 -EBUILD fmod-4.38.02-r1.ebuild 1625 BLAKE2B bb423435c8fb0705b0a1661d09826856be4f0cca75db1988fae145239926adc07713a240798cbdc58a68e1e48655fab518a016417d9479aadb475ad41229ac72 SHA512 b3169a443a27a4ae95df198ee6e3aa6ffcc409e817d4c5e0a7ed259eef11a39f36df70b809675aadfce94f3d82df588449af61b3f3a106adec5c6bfc9d8741d8 -MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 +DIST fmodapi44464linux.tar.gz 25520093 BLAKE2B 4a702aed24c1a42d35462341290a1c71717e208229c640931c06b9d80580f4e5f0b984ab2c7ee024defc1dc7b9d0e21bd13c1148a2814e1e3bb3aea0f8409f6a SHA512 af365f82eea8b7e38bb8c3910470b28626ac58d46ae8122bbdaf51b5339810504cd0f541334c5e989180b3a6b2ecdcf7bc82c00ce3ef1f6af5278df20a20d611 +EBUILD fmod-4.44.64.ebuild 1018 BLAKE2B 9e8a3a0738a48648db3ad59f362c36d23372f00e9df262424161e10306c2fd2530a793109befc5cb2dfa8491a5b5fa3dddd37bc6a4119a08b1635f911210d66a SHA512 84c648997f9aff2e3db9b3ac265f9acdf79a5a66c8b42e40c17877f9a87998e5e15a97c9dac3b5b93aff6405262bec264f2d1c6c6c527782334e47786a46b09b diff --git a/media-libs/fmod/fmod-4.38.02-r1.ebuild b/media-libs/fmod/fmod-4.38.02-r1.ebuild deleted file mode 100644 index dedc2b0..0000000 --- a/media-libs/fmod/fmod-4.38.02-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit versionator - -MY_P=fmodapi$(delete_all_version_separators)linux - -DESCRIPTION="music and sound effects library, and a sound processing system" -HOMEPAGE="https://www.fmod.org" -SRC_URI="x86? ( - https://www.fmod.org/index.php/release/version/${MY_P}.tar.gz - https://erppc.net/~haarp/distfiles/${MY_P}.tar.gz - ) - amd64? ( - https://www.fmod.org/index.php/release/version/${MY_P}64.tar.gz - https://erppc.net/~haarp/distfiles/${MY_P}64.tar.gz - )" - -LICENSE="BSD BSD-2 fmod" -SLOT="1" -KEYWORDS="amd64 ~x86" -IUSE="examples" - -RESTRICT="strip test" - -QA_PREBUILT="*" - -src_compile() { :; } -src_install() { - dodir /opt/fmodex - - local fbits="" - use amd64 && fbits="64" - - local fsource="${WORKDIR}/${MY_P}${fbits}" - - cd "${fsource}"/api/lib - - cp -f libfmodex${fbits}-${PV}.so libfmodex.so.${PV} || die - ln -sf libfmodex.so.${PV} libfmodex.so || die - ln -sf libfmodex.so.${PV} libfmodex.so.4 || die - - cp -f libfmodexL${fbits}-${PV}.so libfmodexL.so.${PV} || die - ln -sf libfmodexL.so.${PV} libfmodexL.so || die - ln -sf libfmodexL.so.${PV} libfmodexL.so.4 || die - - cp -dpR "${fsource}"/* "${D}"/opt/fmodex || die - - dosym /opt/fmodex/api/inc /usr/include/fmodex || die - - use examples || rm -rf "${D}"/opt/fmodex/{,fmoddesignerapi}/examples - - insinto /usr/share/doc/${PF}/pdf - doins "${fsource}"/documentation/*.pdf - dodoc "${fsource}"/{documentation/*.txt,fmoddesignerapi/*.TXT} - rm -rf "${D}"/opt/fmodex/{documentation,fmoddesignerapi/*.TXT} - - echo LDPATH="/opt/fmodex/api/lib" > "${T}"/65fmodex - doenvd "${T}"/65fmodex -} diff --git a/media-libs/fmod/fmod-4.44.64.ebuild b/media-libs/fmod/fmod-4.44.64.ebuild new file mode 100644 index 0000000..623a3d0 --- /dev/null +++ b/media-libs/fmod/fmod-4.44.64.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV=$(ver_rs 1- '') + +DESCRIPTION="Libraries of the fmodex audio engine" +HOMEPAGE="https://zdoom.org/files/fmod/ https://www.fmod.com/" +SRC_URI="https://zdoom.org/files/fmod/fmodapi${MY_PV}linux.tar.gz" +S="${WORKDIR}/fmodapi${MY_PV}linux" + +# Ogg Vorbis: BSD +# Android: BSD-2 +LICENSE="BSD BSD-2 fmod" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="strip test" + +QA_PREBUILT="*" + +src_compile() { :; } + +src_install() { + cd "${S}/api/lib/" || die + for lib in libfmodex libfmodexL + do + dolib.so ${lib}64-${PV}.so + dolib.so ${lib}64.so + dolib.so ${lib}-${PV}.so + dolib.so ${lib}.so + done + + cd "${S}/fmoddesignerapi/api/lib/" || die + for lib in libfmodevent libfmodeventL libfmodeventnet libfmodeventnetL + do + dolib.so ${lib}64-${PV}.so + dolib.so ${lib}64.so + dolib.so ${lib}-${PV}.so + dolib.so ${lib}.so + done + + cd "${S}/api/inc/" || die + doheader * + cd "${S}/fmoddesignerapi/api/inc/" || die + doheader * +} diff --git a/media-libs/fmod/metadata.xml b/media-libs/fmod/metadata.xml deleted file mode 100644 index c870d0e..0000000 --- a/media-libs/fmod/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - sound@gentoo.org - Gentoo Sound project - - -- cgit v1.2.3-65-gdbad