Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/fmod: ChangeLog fmod-4.25.07-r1.ebuild fmod-4.25.07.ebuild fmod-4.24.07.ebuild
Date: Wed, 03 Jun 2009 19:17:56
Message-Id: E1MBvyE-0005JW-PE@stork.gentoo.org
1 ssuominen 09/06/03 19:17:54
2
3 Modified: ChangeLog
4 Added: fmod-4.25.07-r1.ebuild
5 Removed: fmod-4.25.07.ebuild fmod-4.24.07.ebuild
6 Log:
7 Simplify the library installation path for -L usage wrt #252400.
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 media-libs/fmod/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fmod/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fmod/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fmod/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 21 May 2009 22:06:39 -0000 1.29
24 +++ ChangeLog 3 Jun 2009 19:17:54 -0000 1.30
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/fmod
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.29 2009/05/21 22:06:39 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/ChangeLog,v 1.30 2009/06/03 19:17:54 ssuominen Exp $
30 +
31 +*fmod-4.25.07-r1 (03 Jun 2009)
32 +
33 + 03 Jun 2009; Samuli Suominen <ssuominen@g.o> -fmod-4.24.07.ebuild,
34 + -fmod-4.25.07.ebuild, +fmod-4.25.07-r1.ebuild:
35 + Simplify the library installation path for -L usage wrt #252400.
36
37 *fmod-4.25.07 (21 May 2009)
38
39
40
41
42 1.1 media-libs/fmod/fmod-4.25.07-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fmod/fmod-4.25.07-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fmod/fmod-4.25.07-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fmod-4.25.07-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/fmod-4.25.07-r1.ebuild,v 1.1 2009/06/03 19:17:54 ssuominen Exp $
52
53 inherit versionator
54
55 MY_P=fmodapi$(delete_all_version_separators)linux
56
57 DESCRIPTION="music and sound effects library, and a sound processing system"
58 HOMEPAGE="http://www.fmod.org"
59 SRC_URI="x86? ( http://www.fmod.org/index.php/release/version/${MY_P}.tar.gz )
60 amd64? ( http://www.fmod.org/index.php/release/version/${MY_P}64.tar.gz )"
61
62 LICENSE="fmod"
63 SLOT="1"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND=""
68 DEPEND=""
69
70 RESTRICT="strip test"
71
72 if use amd64; then
73 S=${WORKDIR}/${MY_P}64
74 else
75 S=${WORKDIR}/${MY_P}
76 fi
77
78 src_compile() { :; }
79
80 src_install() {
81 dodir /opt/fmodex
82
83 cd "${S}"/api/lib
84
85 if use amd64; then
86 cp -f libfmodex64-${PV}.so libfmodex.so.${PV}
87 cp -f libfmodexp64-${PV}.so libfmodexp.so.${PV}
88 fi
89 if use x86; then
90 cp -f libfmodex-${PV}.so libfmodex.so.${PV}
91 cp -f libfmodexp-${PV}.so libfmodexp.so.${PV}
92 fi
93
94 ln -sf libfmodex.so.${PV} libfmodex.so
95 ln -sf libfmodex.so.${PV} libfmodex.so.4
96 ln -sf libfmodexp.so.${PV} libfmodexp.so
97 ln -sf libfmodexp.so.${PV} libfmodexp.so.4
98
99 cp -dpR "${S}"/* "${D}"/opt/fmodex
100
101 dosym /opt/fmodex/api/inc /usr/include/fmodex
102
103 insinto /usr/share/doc/${PF}
104 doins "${S}"/documentation/*.pdf
105 dodoc "${S}"/documentation/*.txt
106
107 rm -rf "${D}"/opt/fmodex/documentation
108
109 echo LDPATH="/opt/fmodex/api/lib" > "${T}"/65fmodex
110 doenvd "${T}"/65fmodex
111 }