summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-08 17:44:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-08 17:44:09 +0000
commita2daea9df39ea4e63e14bd582610536ba71ebca0 (patch)
tree4978f81b29979e9aa6cbe724510520009fca7ff9 /media-libs/fmod
parentMarking awesome-3.2.1-r3 ppc64 for bug 250329 (diff)
downloadgentoo-2-a2daea9df39ea4e63e14bd582610536ba71ebca0.tar.gz
gentoo-2-a2daea9df39ea4e63e14bd582610536ba71ebca0.tar.bz2
gentoo-2-a2daea9df39ea4e63e14bd582610536ba71ebca0.zip
Version bump wrt #277039, thanks to Toffanin Mauro.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/fmod')
-rw-r--r--media-libs/fmod/ChangeLog7
-rw-r--r--media-libs/fmod/fmod-4.26.00.ebuild63
2 files changed, 69 insertions, 1 deletions
diff --git a/media-libs/fmod/ChangeLog b/media-libs/fmod/ChangeLog
index e203bf521a9c..894ca6fe2c5a 100644
--- a/media-libs/fmod/ChangeLog
+++ b/media-libs/fmod/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/fmod
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.30 2009/06/03 19:17:54 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.31 2009/07/08 17:44:09 ssuominen Exp $
+
+*fmod-4.26.00 (08 Jul 2009)
+
+ 08 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +fmod-4.26.00.ebuild:
+ Version bump wrt #277039, thanks to Toffanin Mauro.
*fmod-4.25.07-r1 (03 Jun 2009)
diff --git a/media-libs/fmod/fmod-4.26.00.ebuild b/media-libs/fmod/fmod-4.26.00.ebuild
new file mode 100644
index 000000000000..39a1aaf154e2
--- /dev/null
+++ b/media-libs/fmod/fmod-4.26.00.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.1 2009/07/08 17:44:09 ssuominen 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 -s libfmodex.so.${PV} libfmodex.so || die
+ ln -s libfmodex.so.${PV} libfmodex.so.4 || die
+ ln -s libfmodexp.so.${PV} libfmodexp.so || die
+ ln -s libfmodexp.so.${PV} libfmodexp.so.4 || die
+ ln -s libfmodexL.so.${PV} libfmodexL.so || die
+ ln -s 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
+}