diff options
author | eroen <eroen@occam.eroen.eu> | 2013-09-12 15:44:19 +0200 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2013-09-12 15:44:19 +0200 |
commit | 112e59c4938d411cd6ffd9cf3d1cea9e5e64b48c (patch) | |
tree | d9b2535aa24dcf455a80d3267235f3b21f909675 /media-libs | |
parent | fmod-4.38.02 from gentoo (diff) | |
download | eroen-112e59c4938d411cd6ffd9cf3d1cea9e5e64b48c.tar.gz eroen-112e59c4938d411cd6ffd9cf3d1cea9e5e64b48c.tar.bz2 eroen-112e59c4938d411cd6ffd9cf3d1cea9e5e64b48c.zip |
fmod-4.44.04 from https://bugs.gentoo.org/453748
attachment 336674
SRC_URI by me
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/fmod/Manifest | 2 | ||||
-rw-r--r-- | media-libs/fmod/fmod-4.44.04.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest index f2b0f50..3832e6f 100644 --- a/media-libs/fmod/Manifest +++ b/media-libs/fmod/Manifest @@ -1,4 +1,6 @@ DIST fmodapi43802linux.tar.gz 21992247 SHA256 9ef7eb3e277a53a69ea31206223fd27f01e236869568f83bfac97dbd9982a4fd DIST fmodapi43802linux64.tar.gz 22282269 SHA256 55e52603d2d53cd43467e086ea292928d66c741956c98266fd312a7936f1ba42 SHA512 95b8688bbf54e19c2471f508d7ed9fbb93f6c88eaadc090813b02a86082e15dc7578220a40ae2b39358f8a4dfcacb4cb78823f4577f5ce9bc3d53af2f591d558 WHIRLPOOL 66674063637d3e3ef7dfc5cebc49b0fb401d179c4cd1c66adb90e2a06f0be6583dbb3840abe7c0eff15f68757e10ba64ef926848aaf2e822ab8018e0d1994992 +DIST fmodapi44404linux.tar.gz 25118306 SHA256 2886a34c3a27fdb791e7158fc8f51bddfb405d30e3d332fdbe00fb28f6540fc8 SHA512 30df86f10c7db1261ca94fa722e3f944c4c3fe5dc699e05ff58e3e35381e1f41a69a0657d29b7193b72340fa989aca077951ef5e9bd4a18a04b5334b28ef7eb7 WHIRLPOOL 271f64cfcb386fe94eb0b65db160b7d027398dd3eafa3e7e24849c75b4eda85b9ef6527d4ffaf3434b632a9ad0d4cf6744d5f19f02ed6004ecf42c3e5551f2ff EBUILD fmod-4.38.02.ebuild 1722 SHA256 81deff346fd7f8e488b929650fdade39cb7a0d961518c970e941b7d80cbbbec7 SHA512 02664b83072312ba0dc0502e1b81abc69673228cf66e26809601f24a6dee75bb1d47d35bcf459570b0da3272a648a7291640efb744fa0a60dd7377cd8701e612 WHIRLPOOL 4f6861d9c32fee4697a764cfbf709c532cd3e59eac97ce7b5b8ed974e5edaa31030fb92bc349d4ec3f3c79255fb7c09cc43fa28c33ef06b76e10f3da3e8fafe5 +EBUILD fmod-4.44.04.ebuild 2706 SHA256 df6bfdadfb833cb847b4b4fe8161756d19014bce89fe77106043e67001717ee3 SHA512 b660f1059c01db88a788a83de96870b0a800113f18cc96d46eee1e07ef01e96c7f1201b4decc07b441a31483524e8a6e66b85b22f1cf7edf8de059915d3f553d WHIRLPOOL 9d08be63be2e648cf1ebf45ef9cf94cf5f862420673ac9552d191d439b96cc9e5f7e45cc02caa1b236a778bea3259b8bb6414f90e1b2c6c23d10d0df0445225c MISC metadata.xml 158 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b SHA512 90f74979d228a35f81de50665ead63d228bc4f0d11f3def4832c9607f4242cbc4562db0a123bdcf2c4b6e0be78fc5565a65f75cdb53ed4c8d45544ebf74255dc WHIRLPOOL a90483bd4fa01ed5fa21bfe9f59c11b97c793146e3031eae342a3355c6dc2e4ef2b356af0bf711b5e16e16551c91d63ecdbb48e708df606017264e8bff5e9fe9 diff --git a/media-libs/fmod/fmod-4.44.04.ebuild b/media-libs/fmod/fmod-4.44.04.ebuild new file mode 100644 index 0000000..3aa60eb --- /dev/null +++ b/media-libs/fmod/fmod-4.44.04.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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="http://www.fmod.org/download/fmodex/api/Linux/${MY_P}.tar.gz" + +LICENSE="BSD BSD-2 fmod" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="designer examples tools" + +RESTRICT="strip test" + +QA_FLAGS_IGNORED="opt/fmodex/tools/fsbanklib/.*" +QA_PREBUILT="opt/fmodex/fmoddesignerapi/api/lib/* + opt/fmodex/api/lib/*" +QA_TEXTRELS="opt/fmodex/fmoddesignerapi/api/lib/* + opt/fmodex/api/lib/*" + +S=${WORKDIR}/${MY_P} + +src_compile() { + if use examples; then + if use amd64; then + emake -j1 fmod_examples CPU=x64 + elif use x86; then + emake -j1 fmod_examples CPU=x86 + fi + fi +} + +src_install() { + dodir /opt/fmodex + + if use amd64; then + rm api/lib/libfmodex-${PV}.so + rm api/lib/libfmodex.so + rm api/lib/libfmodexL-${PV}.so + rm api/lib/libfmodexL.so + rm fmoddesignerapi/api/lib/libfmodevent-${PV}.so + rm fmoddesignerapi/api/lib/libfmodevent.so + rm fmoddesignerapi/api/lib/libfmodeventL-${PV}.so + rm fmoddesignerapi/api/lib/libfmodeventL.so + rm fmoddesignerapi/api/lib/libfmodeventnet-${PV}.so + rm fmoddesignerapi/api/lib/libfmodeventnet.so + rm fmoddesignerapi/api/lib/libfmodeventnetL-${PV}.so + rm fmoddesignerapi/api/lib/libfmodeventnetL.so + rm tools/fsbanklib/celt_encoder.so + rm tools/fsbanklib/libfsbankex.a + rm tools/fsbanklib/libmp3lame.so + rm tools/fsbanklib/twolame.so + elif use x86; then + rm api/lib/*64* + rm fmoddesignerapi/api/lib/*64* + rm tools/fsbanklib/*64* + fi + + cp -dpR api "${D}"/opt/fmodex || die + + if use designer; then + if use examples; then + cp -dpR fmoddesignerapi "${D}"/opt/fmodex || die + elif use !examples; then + rm -r fmoddesignerapi/examples + cp -dpR fmoddesignerapi "${D}"/opt/fmodex || die + fi + fi + + if use examples; then + cp -dpR examples "${D}"/opt/fmodex || die + fi + + if use tools; then + cp -dpR tools "${D}"/opt/fmodex || die + fi + + dosym /opt/fmodex/api/inc /usr/include/fmodex || die + if use designer; then + dosym /opt/fmodex/fmoddesignerapi/api/inc /usr/include/fmoddesigner || die + fi + + insinto /usr/share/doc/${PF}/pdf + doins documentation/*.pdf + insinto /usr/share/doc/${PF}/chm + doins documentation/*.chm + dodoc {documentation/*.txt,fmoddesignerapi/*.TXT} + rm -rf "${D}"/opt/fmodex/{documentation,fmoddesignerapi/*.TXT} + + if use designer; then + echo LDPATH=\"/opt/fmodex/api/lib:/opt/fmodex/fmoddesignerapi/api/lib\" > "${T}"/65fmodex + elif use !designer; then + echo LDPATH=\"/opt/fmodex/api/lib\" > "${T}"/65fmodex + fi + + doenvd "${T}"/65fmodex +} |