diff options
author | haarp <main.haarp@gmail.com> | 2019-10-24 13:40:03 +0200 |
---|---|---|
committer | haarp <main.haarp@gmail.com> | 2019-10-24 13:40:03 +0200 |
commit | 6b55eb7f64869638333229c29600d010b6f99425 (patch) | |
tree | e4d1535fffa631d79057566b0b01ed585991d070 | |
parent | GZDoom 4.2.1 (diff) | |
download | haarp-6b55eb7f64869638333229c29600d010b6f99425.tar.gz haarp-6b55eb7f64869638333229c29600d010b6f99425.tar.bz2 haarp-6b55eb7f64869638333229c29600d010b6f99425.zip |
Restore fmod, needed by Zandronum
Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r-- | media-libs/fmod/Manifest | 4 | ||||
-rw-r--r-- | media-libs/fmod/fmod-4.38.02.ebuild | 59 | ||||
-rw-r--r-- | media-libs/fmod/metadata.xml | 8 |
3 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest new file mode 100644 index 0000000..2d78572 --- /dev/null +++ b/media-libs/fmod/Manifest @@ -0,0 +1,4 @@ +DIST fmodapi43802linux.tar.gz 21992247 BLAKE2B e0bb112ca47649390c7aba33a1cd75cb7b13c9a2d4cc5eb5c9a6bad02af9ae4958bdd8d458bd4fcc76eb42f5e09f8f989206c971bd7cbcb05359aaeab392fe38 SHA512 6a3f0f62acc71e24e48f8aaa03270d95ce09ace6d37f75a40452c84788b06f4cd6889772e9a6c00fc4799020c046905a9185d08900bc3b573a28b42cbb7f45b5 +DIST fmodapi43802linux64.tar.gz 22282269 BLAKE2B 733b3531f9e107332ab2c91e07f39363810f748e72fdbdcc865b87d86bee766859c01eb2357b5169cb79cad490d6186227d481335a1114968a1cbe2ab6e33ae6 SHA512 95b8688bbf54e19c2471f508d7ed9fbb93f6c88eaadc090813b02a86082e15dc7578220a40ae2b39358f8a4dfcacb4cb78823f4577f5ce9bc3d53af2f591d558 +EBUILD fmod-4.38.02.ebuild 1616 BLAKE2B 5cef5a33687a8cfabebfa6c7a0244d08d74b2a5095d8ed6940342f634148920be9b739fd5415aeb891be38d4c72c8951ba778739369ecb40ebc6045b77c62dcd SHA512 a3dcf8b251aaef998528c4be3f48ce3cd6156b7e9ec9b263a50a79857b4b82db0acc1d8aa90a23479202406ee50d412248b1ebfe89299554a6ed6835b760ee5b +MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/media-libs/fmod/fmod-4.38.02.ebuild b/media-libs/fmod/fmod-4.38.02.ebuild new file mode 100644 index 0000000..18d0fe0 --- /dev/null +++ b/media-libs/fmod/fmod-4.38.02.ebuild @@ -0,0 +1,59 @@ +# 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="http://www.fmod.org" +SRC_URI="x86? ( http://www.fmod.org/index.php/release/version/${MY_P}.tar.gz ) + amd64? ( http://www.fmod.org/index.php/release/version/${MY_P}64.tar.gz )" + +LICENSE="BSD BSD-2 fmod" +SLOT="1" +KEYWORDS="amd64 ~x86" +IUSE="examples" + +RESTRICT="strip test" + +QA_FLAGS_IGNORED="opt/fmodex/tools/fsbanklib/.*" + +QA_TEXTRELS="opt/fmodex/fmoddesignerapi/api/lib/* +opt/fmodex/api/lib/*" + +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/metadata.xml b/media-libs/fmod/metadata.xml new file mode 100644 index 0000000..c870d0e --- /dev/null +++ b/media-libs/fmod/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> |