1 |
ryao 13/05/30 07:20:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: crossover-bin-12.2.1.ebuild |
5 |
Log: |
6 |
Version bump app-emulation/crossover-bin to 12.2.1 |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 app-emulation/crossover-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 2 May 2013 19:33:03 -0000 1.5 |
24 |
+++ ChangeLog 30 May 2013 07:20:28 -0000 1.6 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/crossover-bin |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.5 2013/05/02 19:33:03 ryao Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.6 2013/05/30 07:20:28 ryao Exp $ |
30 |
+ |
31 |
+*crossover-bin-12.2.1 (30 May 2013) |
32 |
+ |
33 |
+ 30 May 2013; Richard Yao <ryao@g.o> +crossover-bin-12.2.1.ebuild: |
34 |
+ Version bump app-emulation/crossover-bin to 12.2.1 |
35 |
|
36 |
02 May 2013; Richard Yao <ryao@g.o> crossover-bin-12.2.0.ebuild: |
37 |
Merge hasufell's changes into 12.2.0 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/crossover-bin/crossover-bin-12.2.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: crossover-bin-12.2.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.1.ebuild,v 1.1 2013/05/30 07:20:28 ryao Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
54 |
PYTHON_REQ_USE="threads" |
55 |
|
56 |
inherit python-single-r1 unpacker |
57 |
|
58 |
DESCRIPTION="Commercial version of app-emulation/wine with paid support." |
59 |
HOMEPAGE="http://www.codeweavers.com/products/crossover/" |
60 |
SRC_URI="install-crossover-${PV}.bin" |
61 |
|
62 |
LICENSE="CROSSOVER-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="-* ~amd64 ~x86" |
65 |
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l" |
66 |
RESTRICT="fetch test" |
67 |
QA_FLAGS_IGNORED="opt/cxoffice/.*" |
68 |
QA_PRESTRIPPED="opt/cxoffice/lib/.* |
69 |
opt/cxoffice/bin/cxburner |
70 |
opt/cxoffice/bin/cxntlm_auth |
71 |
opt/cxoffice/bin/wineserver |
72 |
opt/cxoffice/bin/unrar |
73 |
opt/cxoffice/bin/wine-preloader |
74 |
opt/cxoffice/bin/cxdiag |
75 |
opt/cxoffice/bin/cxgettext |
76 |
opt/cxoffice/bin/wineloader |
77 |
" |
78 |
S="${WORKDIR}" |
79 |
|
80 |
MLIB_DEPS="amd64? ( |
81 |
openal? ( app-emulation/emul-linux-x86-sdl ) |
82 |
opengl? ( app-emulation/emul-linux-x86-opengl ) |
83 |
scanner? ( app-emulation/emul-linux-x86-medialibs ) |
84 |
v4l? ( app-emulation/emul-linux-x86-medialibs ) |
85 |
app-emulation/emul-linux-x86-baselibs |
86 |
app-emulation/emul-linux-x86-soundlibs |
87 |
|| ( |
88 |
( |
89 |
>=media-libs/freetype-2.0.0[abi_x86_32] |
90 |
x11-libs/libICE[abi_x86_32] |
91 |
x11-libs/libSM[abi_x86_32] |
92 |
x11-libs/libX11[abi_x86_32] |
93 |
x11-libs/libXau[abi_x86_32] |
94 |
x11-libs/libXdmcp[abi_x86_32] |
95 |
x11-libs/libXext[abi_x86_32] |
96 |
x11-libs/libXi[abi_x86_32] |
97 |
x11-libs/libXrandr[abi_x86_32] |
98 |
x11-libs/libXxf86vm[abi_x86_32] |
99 |
x11-libs/libxcb[abi_x86_32] |
100 |
) |
101 |
app-emulation/emul-linux-x86-xlibs |
102 |
) |
103 |
)" |
104 |
|
105 |
X86_DEPS="x86? ( |
106 |
capi? ( net-dialup/capi4k-utils ) |
107 |
cups? ( net-print/cups ) |
108 |
gsm? ( media-sound/gsm ) |
109 |
jpeg? ( virtual/jpeg ) |
110 |
lcms? ( media-libs/lcms:0 ) |
111 |
ldap? ( net-nds/openldap ) |
112 |
gphoto2? ( media-libs/libgphoto2 ) |
113 |
mp3? ( >=media-sound/mpg123-1.5.0 ) |
114 |
nls? ( sys-devel/gettext ) |
115 |
openal? ( media-libs/openal ) |
116 |
opengl? ( |
117 |
virtual/glu |
118 |
virtual/opengl |
119 |
) |
120 |
png? ( media-libs/libpng:0 ) |
121 |
scanner? ( media-gfx/sane-backends ) |
122 |
ssl? ( dev-libs/openssl:0 ) |
123 |
v4l? ( media-libs/libv4l ) |
124 |
media-libs/alsa-lib |
125 |
>=media-libs/freetype-2.0.0 |
126 |
media-libs/mesa |
127 |
sys-apps/util-linux |
128 |
sys-libs/zlib |
129 |
x11-libs/libICE |
130 |
x11-libs/libSM |
131 |
x11-libs/libX11 |
132 |
x11-libs/libXau |
133 |
x11-libs/libXdmcp |
134 |
x11-libs/libXext |
135 |
x11-libs/libXi |
136 |
x11-libs/libXrandr |
137 |
x11-libs/libXxf86vm |
138 |
x11-libs/libxcb |
139 |
)" |
140 |
|
141 |
DEPEND="dev-lang/perl |
142 |
app-arch/unzip" |
143 |
|
144 |
RDEPEND="${DEPEND} |
145 |
!prefix? ( sys-libs/glibc ) |
146 |
>=dev-python/pygtk-2.10 |
147 |
dev-util/desktop-file-utils |
148 |
sys-apps/dbus |
149 |
!app-emulation/crossover-office-pro-bin |
150 |
!app-emulation/crossover-office-bin |
151 |
${MLIB_DEPS} |
152 |
${X86_DEPS} |
153 |
" |
154 |
|
155 |
pkg_nofetch() { |
156 |
einfo "Please visit ${HOMEPAGE}" |
157 |
einfo "and place ${A} in ${DISTDIR}" |
158 |
} |
159 |
|
160 |
src_unpack() { |
161 |
# self unpacking zip archive; unzip warns about the exe stuff |
162 |
unpack_zip ${A} |
163 |
} |
164 |
|
165 |
src_prepare() { |
166 |
python_fix_shebang . |
167 |
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \ |
168 |
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh" |
169 |
|
170 |
# Remove unnecessary files |
171 |
rm -r license.txt guis/ || die "Could not remove files" |
172 |
use doc || rm -r doc/ || die "Could not remove files" |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
# Install documentation |
177 |
dodoc README changelog.txt |
178 |
rm README changelog.txt || die "Could not remove README and changelog.txt" |
179 |
|
180 |
# Install files |
181 |
dodir /opt/cxoffice |
182 |
cp -r ./* "${ED}opt/cxoffice" \ |
183 |
|| die "Could not install into ${ED}opt/cxoffice" |
184 |
|
185 |
# Install configuration file |
186 |
insinto /opt/cxoffice/etc |
187 |
doins share/crossover/data/cxoffice.conf |
188 |
|
189 |
# Install requisite directories for menus |
190 |
dodir "/usr/share/applications" |
191 |
dodir "/etc/xdg/menus/applications-merged" |
192 |
|
193 |
# Install menus |
194 |
XDG_CONFIG_DIRS="${ED}etc/xdg" \ |
195 |
XDG_DATA_DIRS="${ED}usr/share" \ |
196 |
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \ |
197 |
|| die "Could not install menus" |
198 |
|
199 |
# Fix menus |
200 |
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \ |
201 |
|| die "Could not fix menus" |
202 |
} |