diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/fmod/Manifest | 3 | ||||
-rw-r--r-- | media-libs/fmod/fmod-4.24.16.ebuild | 63 |
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest new file mode 100644 index 0000000..fe99b2a --- /dev/null +++ b/media-libs/fmod/Manifest @@ -0,0 +1,3 @@ +DIST fmodapi42416linux.tar.gz 11276420 SHA256 a516e48c0c715c31efdc0c810f26188c2bb484615e7a5e53ca936ad1d5e0b18d SHA512 5d4350de3683a8f990447cd8d870ef5b10787ae06e0533f4376ee3c8113fffa8723fcc7a8703bb556c8e9600915087ea078a77049aee34e7f79adf9ae32ebdc4 WHIRLPOOL bad91fc7efddc6a00800f19a84ac15c26d39fdb43ec26b800abc72adbefe0058ed7b97c1b1ab19bdc12f5cde7ce7d63222dc966f04f0391cd21c98ca0b30fd7e +DIST fmodapi42416linux64.tar.gz 11631876 SHA256 de545ab90c4f137a8e1734ed1891c7e28fa257d9cb7e6c953bedfd0fd9a77c42 SHA512 edc851730c81da4423bd0f10a433c46b4a8bdad901b32f628087b40cec088760a441228ee47a75e17844c195e7abf79e02439c39b5fdeeb9689572dcd9104ade WHIRLPOOL 121313d100c96875cc376bfd8bc15b36ab21ad32fbbae8b2caf382a54f5c9143882295820ab883672083edd3f7ed342a57680bc3d699e97d09956def39bb32b5 +EBUILD fmod-4.24.16.ebuild 1869 SHA256 ba24c16c667f347dbddd6d7ffca6bb107df51e5f22fd2dabbed10a470b0e3d54 SHA512 d4791f6b093c0b09d4c825bce9ea3d9dd01b1269ef3a43aef3bd1bc7b28f5e9eb89ecdb39cb188c81e38dbb2a432a7512cafd34985ef31b6f0ba390c71802565 WHIRLPOOL 9e67108ba52d111fe81b8bad6214c8aafed0e13067265c1a3dff9c803adfff092e90aada41405f614ded78210f83053a769f3f82f089029e39e143de98b3c97c diff --git a/media-libs/fmod/fmod-4.24.16.ebuild b/media-libs/fmod/fmod-4.24.16.ebuild new file mode 100644 index 0000000..082692e --- /dev/null +++ b/media-libs/fmod/fmod-4.24.16.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/fmod-4.26.00.ebuild,v 1.3 2009/11/25 14:26:31 maekke Exp $ + +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="fmod" +SLOT="1" +KEYWORDS="amd64 x86" +IUSE="examples" + +RDEPEND="" +DEPEND="" + +RESTRICT="strip test" + +QA_TEXTRELS="opt/fmodex/fmoddesignerapi/api/lib/* +opt/fmodex/api/lib/* +opt/fmodex/api/plugins/*" + +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 + cp -f libfmodexp${fbits}-${PV}.so libfmodexp.so.${PV} || die + cp -f libfmodex${fbits}L-${PV}.so libfmodexL.so.${PV} || die + + ln -sf libfmodex.so.${PV} libfmodex.so || die + ln -sf libfmodex.so.${PV} libfmodex.so.4 || die + ln -sf libfmodexp.so.${PV} libfmodexp.so || die + ln -sf libfmodexp.so.${PV} libfmodexp.so.4 || 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 +} |