diff options
-rw-r--r-- | media-libs/fmod/Manifest | 4 | ||||
-rw-r--r-- | media-libs/fmod/fmod-4.38.02.ebuild | 58 | ||||
-rw-r--r-- | media-libs/fmod/metadata.xml | 5 |
3 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest new file mode 100644 index 0000000..f2b0f50 --- /dev/null +++ b/media-libs/fmod/Manifest @@ -0,0 +1,4 @@ +DIST fmodapi43802linux.tar.gz 21992247 SHA256 9ef7eb3e277a53a69ea31206223fd27f01e236869568f83bfac97dbd9982a4fd +DIST fmodapi43802linux64.tar.gz 22282269 SHA256 55e52603d2d53cd43467e086ea292928d66c741956c98266fd312a7936f1ba42 SHA512 95b8688bbf54e19c2471f508d7ed9fbb93f6c88eaadc090813b02a86082e15dc7578220a40ae2b39358f8a4dfcacb4cb78823f4577f5ce9bc3d53af2f591d558 WHIRLPOOL 66674063637d3e3ef7dfc5cebc49b0fb401d179c4cd1c66adb90e2a06f0be6583dbb3840abe7c0eff15f68757e10ba64ef926848aaf2e822ab8018e0d1994992 +EBUILD fmod-4.38.02.ebuild 1722 SHA256 81deff346fd7f8e488b929650fdade39cb7a0d961518c970e941b7d80cbbbec7 SHA512 02664b83072312ba0dc0502e1b81abc69673228cf66e26809601f24a6dee75bb1d47d35bcf459570b0da3272a648a7291640efb744fa0a60dd7377cd8701e612 WHIRLPOOL 4f6861d9c32fee4697a764cfbf709c532cd3e59eac97ce7b5b8ed974e5edaa31030fb92bc349d4ec3f3c79255fb7c09cc43fa28c33ef06b76e10f3da3e8fafe5 +MISC metadata.xml 158 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b SHA512 90f74979d228a35f81de50665ead63d228bc4f0d11f3def4832c9607f4242cbc4562db0a123bdcf2c4b6e0be78fc5565a65f75cdb53ed4c8d45544ebf74255dc WHIRLPOOL a90483bd4fa01ed5fa21bfe9f59c11b97c793146e3031eae342a3355c6dc2e4ef2b356af0bf711b5e16e16551c91d63ecdbb48e708df606017264e8bff5e9fe9 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..56fed16 --- /dev/null +++ b/media-libs/fmod/fmod-4.38.02.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/fmod-4.38.02.ebuild,v 1.3 2012/09/24 00:45:16 vapier 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="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..e1774e3 --- /dev/null +++ b/media-libs/fmod/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> |