From fff10d51c244fa385e5e83e5a11b83592212f3e1 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sun, 21 Dec 2008 12:40:24 +0000 Subject: Version bump. (Portage version: 2.1.6.1/cvs/Linux 2.6.27.7 i686) --- media-libs/fmod/ChangeLog | 7 +++- media-libs/fmod/fmod-4.21.06.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 media-libs/fmod/fmod-4.21.06.ebuild (limited to 'media-libs/fmod') diff --git a/media-libs/fmod/ChangeLog b/media-libs/fmod/ChangeLog index 4967fac53592..54bcc3949efd 100644 --- a/media-libs/fmod/ChangeLog +++ b/media-libs/fmod/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/fmod # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.25 2008/01/03 15:11:21 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.26 2008/12/21 12:40:24 ssuominen Exp $ + +*fmod-4.21.06 (21 Dec 2008) + + 21 Dec 2008; +fmod-4.21.06.ebuild: + Version bump. *fmod-4.11.03 (03 Jan 2008) diff --git a/media-libs/fmod/fmod-4.21.06.ebuild b/media-libs/fmod/fmod-4.21.06.ebuild new file mode 100644 index 000000000000..aa0a2751ab8e --- /dev/null +++ b/media-libs/fmod/fmod-4.21.06.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/fmod-4.21.06.ebuild,v 1.1 2008/12/21 12:40:24 ssuominen Exp $ + +inherit multilib 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="doc examples" + +DEPEND="" +RDEPEND="${DEPEND}" + +RESTRICT="strip test" + +QA_TEXTRELS="usr/lib*/libfmod*.so* + usr/lib*/fmodex/plugins/*.so*" +QA_EXECSTACK="usr/lib*/libfmod*.so* + usr/lib*/fmodex/plugins/*.so*" + +if use amd64; then + S=${WORKDIR}/${MY_P}64 +else + S=${WORKDIR}/${MY_P} +fi + +src_compile() { :; } + +src_install() { + dolib {.,fmoddesignerapi}/api/lib/* + + insinto /usr/$(get_libdir)/fmodex/plugins + doins api/plugins/*.so + + # Loop it with some temp. variable? Fugly but working. + if use amd64; then + dosym libfmodevent64.so /usr/$(get_libdir)/libfmodevent64.so.${PV} + dosym libfmodevent64.so /usr/$(get_libdir)/libfmodevent.so + dosym libfmodevent64.so /usr/$(get_libdir)/libfmodevent64.so.${PV} + dosym libfmodex64.so.${PV} /usr/$(get_libdir)/libfmodex.so + dosym libfmodex64.so.${PV} /usr/$(get_libdir)/libfmodex.so.${PV} + dosym libfmodexp64.so.${PV} /usr/$(get_libdir)/libfmodexp.so + dosym libfmodexp64.so.${PV} /usr/$(get_libdir)/libfmodexp.so.${PV} + else + dosym libfmodevent.so /usr/$(get_libdir)/libfmodevent.so.${PV} + fi + + insinto /usr/include/fmodex + doins {.,fmoddesignerapi}/api/inc/* + + if use examples; then + insinto /usr/share/${PN}/examples + doins -r {.,fmoddesignerapi}/examples/* tools/* || die "doins failed." + fi + + dodoc documentation/*.txt + + use doc && dodoc documentation/*.pdf +} -- cgit v1.2.3-65-gdbad