1 |
flameeyes 08/02/25 21:58:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-1.5.6.ebuild |
5 |
Log: |
6 |
Version bump, as requested by the proxy-maintainer Alessio Cassibba. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.35 app-emulation/virtualbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?rev=1.35&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?rev=1.35&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?r1=1.34&r2=1.35 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v |
19 |
retrieving revision 1.34 |
20 |
retrieving revision 1.35 |
21 |
diff -u -r1.34 -r1.35 |
22 |
--- ChangeLog 13 Jan 2008 21:17:29 -0000 1.34 |
23 |
+++ ChangeLog 25 Feb 2008 21:58:48 -0000 1.35 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-emulation/virtualbox |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.34 2008/01/13 21:17:29 jokey Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.35 2008/02/25 21:58:48 flameeyes Exp $ |
29 |
+ |
30 |
+*virtualbox-1.5.6 (25 Feb 2008) |
31 |
+ |
32 |
+ 25 Feb 2008; Diego Pettenò <flameeyes@g.o> |
33 |
+ +virtualbox-1.5.6.ebuild: |
34 |
+ Version bump, as requested by the proxy-maintainer Alessio Cassibba. |
35 |
|
36 |
13 Jan 2008; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
37 |
Drop keywords in live ebuild |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/virtualbox/virtualbox-1.5.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: virtualbox-1.5.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.6.ebuild,v 1.1 2008/02/25 21:58:48 flameeyes Exp $ |
51 |
|
52 |
inherit eutils fdo-mime flag-o-matic qt3 toolchain-funcs |
53 |
|
54 |
MY_P=VirtualBox-${PV}-1_OSE |
55 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
56 |
HOMEPAGE="http://www.virtualbox.org/" |
57 |
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="additions alsa pulseaudio sdk" |
63 |
|
64 |
RDEPEND="!app-emulation/virtualbox-bin |
65 |
~app-emulation/virtualbox-modules-${PV} |
66 |
dev-libs/libIDL |
67 |
>=dev-libs/libxslt-1.1.19 |
68 |
dev-libs/xalan-c |
69 |
dev-libs/xerces-c |
70 |
media-libs/libsdl |
71 |
x11-libs/libXcursor |
72 |
x11-libs/libXt |
73 |
$(qt_min_version 3.3.5)" |
74 |
DEPEND="${RDEPEND} |
75 |
sys-devel/bin86 |
76 |
sys-devel/dev86 |
77 |
sys-power/iasl |
78 |
alsa? ( >=media-libs/alsa-lib-1.0.13 ) |
79 |
pulseaudio? ( media-sound/pulseaudio )" |
80 |
# sys-apps/hal is required at runtime (bug #197541) |
81 |
RDEPEND="${RDEPEND} |
82 |
additions? ( ~app-emulation/virtualbox-additions-${PV} ) |
83 |
sys-apps/usermode-utilities |
84 |
net-misc/bridge-utils |
85 |
sys-apps/hal" |
86 |
|
87 |
S=${WORKDIR}/${MY_P/-1_/_} |
88 |
|
89 |
pkg_setup() { |
90 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
91 |
# with USE flag X enabled (bug #177335) |
92 |
if ! built_with_use media-libs/libsdl X; then |
93 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
94 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
95 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
96 |
fi |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
|
103 |
# Don't build things unused or splitted into separate ebuilds (eg: additions) |
104 |
epatch "${FILESDIR}/${P}-remove-unused.patch" |
105 |
# Don't build the Alsa audio driver and remove Alsa checks in configure |
106 |
# when Alsa is not selected (bug #167739) |
107 |
use alsa || epatch "${FILESDIR}/${P}-remove-alsa.patch" |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
|
112 |
local myconf |
113 |
# Don't build vboxdrv kernel module |
114 |
myconf="--disable-kmods" |
115 |
|
116 |
if ! use pulseaudio; then |
117 |
myconf="${myconf} --disable-pulse" |
118 |
fi |
119 |
|
120 |
./configure \ |
121 |
${myconf} || die "configure failed" |
122 |
source ./env.sh |
123 |
|
124 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
125 |
# and strip all flags |
126 |
strip-flags |
127 |
|
128 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
129 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
130 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
131 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
132 |
all || die "kmk failed" |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
cd "${S}"/out/linux.${ARCH}/release/bin |
137 |
|
138 |
# create virtualbox configurations files |
139 |
insinto /etc/vbox |
140 |
newins "${FILESDIR}/${PN}-config" vbox.cfg |
141 |
newins "${FILESDIR}/${PN}-interfaces" interfaces |
142 |
|
143 |
insinto /opt/VirtualBox |
144 |
if use sdk; then |
145 |
doins -r sdk |
146 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
147 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
148 |
fi |
149 |
|
150 |
rm -rf sdk src tst* testcase xpidl SUPInstall SUPUninstall VBox.png \ |
151 |
VBoxBFE vditool VBoxSysInfo.sh |
152 |
|
153 |
doins -r * |
154 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl} VirtualBox ; do |
155 |
fowners root:vboxusers /opt/VirtualBox/${each} |
156 |
fperms 0750 /opt/VirtualBox/${each} |
157 |
done |
158 |
|
159 |
exeinto /opt/VirtualBox |
160 |
newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die |
161 |
fowners root:vboxusers /opt/VirtualBox/VBox.sh |
162 |
fperms 0750 /opt/VirtualBox/VBox.sh |
163 |
newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF.sh" || die |
164 |
fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh |
165 |
fperms 0750 /opt/VirtualBox/VBoxAddIF.sh |
166 |
|
167 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox |
168 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage |
169 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL |
170 |
dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl |
171 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF |
172 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF |
173 |
|
174 |
# desktop entry |
175 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png |
176 |
domenu "${FILESDIR}"/${PN}.desktop |
177 |
} |
178 |
|
179 |
pkg_postinst() { |
180 |
fdo-mime_desktop_database_update |
181 |
elog "" |
182 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
183 |
elog "You must be in the vboxusers group to use VirtualBox," |
184 |
elog "" |
185 |
elog "The last user manual is available for download at:" |
186 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
187 |
elog "" |
188 |
} |
189 |
|
190 |
pkg_postrm() { |
191 |
fdo-mime_desktop_database_update |
192 |
} |
193 |
|
194 |
|
195 |
|
196 |
-- |
197 |
gentoo-commits@l.g.o mailing list |