Gentoo Archives: gentoo-commits

From: "Richard Yao (ryao)" <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/crossover-bin: crossover-bin-14.1.4.ebuild crossover-bin-14.0.3.ebuild ChangeLog
Date: Wed, 29 Jul 2015 22:06:21
Message-Id: 20150729220616.6F63D112@oystercatcher.gentoo.org
1 ryao 15/07/29 22:06:16
2
3 Modified: crossover-bin-14.0.3.ebuild ChangeLog
4 Added: crossover-bin-14.1.4.ebuild
5 Log:
6 Fix 14.0.3 ebuild and bump to 14.1.4
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
9
10 Revision Changes Path
11 1.4 app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild?r1=1.3&r2=1.4
16
17 Index: crossover-bin-14.0.3.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- crossover-bin-14.0.3.ebuild 14 Jun 2015 18:31:19 -0000 1.3
24 +++ crossover-bin-14.0.3.ebuild 29 Jul 2015 22:06:16 -0000 1.4
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2015 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild,v 1.3 2015/06/14 18:31:19 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3.ebuild,v 1.4 2015/07/29 22:06:16 ryao Exp $
30
31 EAPI=5
32 PYTHON_COMPAT=( python2_7 )
33 @@ -88,6 +88,12 @@
34 src_prepare() {
35 python_fix_shebang .
36
37 + sed -i -e "s:\$link=\"\$xdgdir:\$link=\"${ED}\/\$xdgdir:" "${S}/lib/perl/CXMenu.pm"
38 + sed -i \
39 + -e "s:\"\(.*\)/applications:\"${ED}/\1/applications:" \
40 + -e "s:\"\(.*\)/desktop-directories:\"${ED}/\1/desktop-directories:" \
41 + "${S}/lib/perl/CXMenuXDG.pm"
42 +
43 # Remove unnecessary files
44 rm -r license.txt guis/ || die "Could not remove files"
45 use doc || rm -r doc/ || die "Could not remove files"
46 @@ -114,7 +120,10 @@
47 # XXX: locate_gui.sh automatically detects *-application-merged directories
48 # This means what we install will vary depending on the contents of
49 # /etc/xdg, which is a QA violation. It is not clear how to resolve this.
50 - XDG_CONFIG_HOME="/etc/xdg" \
51 + XDG_DATA_DIRS="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
52 "${ED}opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
53 || die "Could not install menus"
54 +
55 + rm "${ED}usr/share/applications/"*"Uninstall CrossOver Linux.desktop"
56 + sed -i -e "s:${ED}:/:" "${ED}usr/share/applications/"*.desktop
57 }
58
59
60
61 1.21 app-emulation/crossover-bin/ChangeLog
62
63 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.21&view=markup
64 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.21&content-type=text/plain
65 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?r1=1.20&r2=1.21
66
67 Index: ChangeLog
68 ===================================================================
69 RCS file: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v
70 retrieving revision 1.20
71 retrieving revision 1.21
72 diff -u -r1.20 -r1.21
73 --- ChangeLog 14 Jun 2015 18:31:19 -0000 1.20
74 +++ ChangeLog 29 Jul 2015 22:06:16 -0000 1.21
75 @@ -1,6 +1,12 @@
76 # ChangeLog for app-emulation/crossover-bin
77 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
78 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.20 2015/06/14 18:31:19 ulm Exp $
79 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.21 2015/07/29 22:06:16 ryao Exp $
80 +
81 +*crossover-bin-14.1.4 (29 Jul 2015)
82 +
83 + 29 Jul 2015; Richard Yao <ryao@g.o> +crossover-bin-14.1.4.ebuild,
84 + crossover-bin-14.0.3.ebuild:
85 + Fix 14.0.3 ebuild and bump to 14.1.4
86
87 14 Jun 2015; Ulrich Müller <ulm@g.o> crossover-bin-12.5.0-r2.ebuild,
88 crossover-bin-12.5.1-r2.ebuild, crossover-bin-13.0.0-r2.ebuild,
89
90
91
92 1.1 app-emulation/crossover-bin/crossover-bin-14.1.4.ebuild
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4.ebuild?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4.ebuild?rev=1.1&content-type=text/plain
96
97 Index: crossover-bin-14.1.4.ebuild
98 ===================================================================
99 # Copyright 1999-2015 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 # $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4.ebuild,v 1.1 2015/07/29 22:06:16 ryao Exp $
102
103 EAPI=5
104 PYTHON_COMPAT=( python2_7 )
105 PYTHON_REQ_USE="threads"
106
107 inherit python-single-r1 unpacker
108
109 DESCRIPTION="Commercial version of app-emulation/wine with paid support."
110 HOMEPAGE="http://www.codeweavers.com/products/crossover/"
111 SRC_URI="install-crossover-${PV}.bin"
112
113 LICENSE="CROSSOVER-2"
114 SLOT="0"
115 KEYWORDS="-* ~amd64 ~x86"
116 IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
117 RESTRICT="fetch test"
118 QA_FLAGS_IGNORED="opt/cxoffice/.*"
119 QA_PRESTRIPPED="opt/cxoffice/lib/.*
120 opt/cxoffice/bin/cxburner
121 opt/cxoffice/bin/cxntlm_auth
122 opt/cxoffice/bin/wineserver
123 opt/cxoffice/bin/unrar
124 opt/cxoffice/bin/wine-preloader
125 opt/cxoffice/bin/cxdiag
126 opt/cxoffice/bin/cxgettext
127 opt/cxoffice/bin/wineloader
128 "
129 S="${WORKDIR}"
130
131 DEPEND="dev-lang/perl
132 app-arch/unzip
133 ${PYTHON_DEPS}"
134
135 RDEPEND="${DEPEND}
136 !prefix? ( sys-libs/glibc )
137 >=dev-python/pygtk-2.10[${PYTHON_USEDEP}]
138 dev-python/dbus-python[${PYTHON_USEDEP}]
139 dev-util/desktop-file-utils
140 !app-emulation/crossover-office-pro-bin
141 !app-emulation/crossover-office-bin
142 capi? ( net-dialup/capi4k-utils )
143 cups? ( net-print/cups[abi_x86_32(-)] )
144 gsm? ( media-sound/gsm[abi_x86_32(-)] )
145 jpeg? ( virtual/jpeg[abi_x86_32(-)] )
146 lcms? ( media-libs/lcms:2 )
147 ldap? ( net-nds/openldap[abi_x86_32(-)] )
148 gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
149 mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
150 nls? ( sys-devel/gettext[abi_x86_32(-)] )
151 openal? ( media-libs/openal[abi_x86_32(-)] )
152 opengl? (
153 virtual/glu[abi_x86_32(-)]
154 virtual/opengl[abi_x86_32(-)]
155 )
156 png? ( media-libs/libpng:0[abi_x86_32(-)] )
157 scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
158 ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
159 v4l? ( media-libs/libv4l[abi_x86_32(-)] )
160 media-libs/alsa-lib[abi_x86_32(-)]
161 >=media-libs/freetype-2.0.0[abi_x86_32(-)]
162 media-libs/mesa[abi_x86_32(-)]
163 sys-apps/util-linux[abi_x86_32(-)]
164 sys-libs/zlib[abi_x86_32(-)]
165 x11-libs/libICE[abi_x86_32(-)]
166 x11-libs/libSM[abi_x86_32(-)]
167 x11-libs/libX11[abi_x86_32(-)]
168 x11-libs/libXau[abi_x86_32(-)]
169 x11-libs/libXdmcp[abi_x86_32(-)]
170 x11-libs/libXext[abi_x86_32(-)]
171 x11-libs/libXi[abi_x86_32(-)]
172 x11-libs/libXrandr[abi_x86_32(-)]
173 x11-libs/libXxf86vm[abi_x86_32(-)]
174 x11-libs/libxcb[abi_x86_32(-)]"
175
176 pkg_nofetch() {
177 einfo "Please visit ${HOMEPAGE}"
178 einfo "and place ${A} in ${DISTDIR}"
179 }
180
181 src_unpack() {
182 # self unpacking zip archive; unzip warns about the exe stuff
183 unpack_zip ${A}
184 }
185
186 src_prepare() {
187 python_fix_shebang .
188
189 sed -i -e "s:\$link=\"\$xdgdir:\$link=\"${ED}\/\$xdgdir:" "${S}/lib/perl/CXMenu.pm"
190 sed -i \
191 -e "s:\"\(.*\)/applications:\"${ED}/\1/applications:" \
192 -e "s:\"\(.*\)/desktop-directories:\"${ED}/\1/desktop-directories:" \
193 "${S}/lib/perl/CXMenuXDG.pm"
194
195 # Remove unnecessary files
196 rm -r license.txt guis/ || die "Could not remove files"
197 use doc || rm -r doc/ || die "Could not remove files"
198 }
199
200 src_install() {
201 # Install crossover symlink, bug #476314
202 dosym /opt/cxoffice/bin/crossover /opt/bin/crossover
203
204 # Install documentation
205 dodoc README changelog.txt
206 rm README changelog.txt || die "Could not remove README and changelog.txt"
207
208 # Install files
209 dodir /opt/cxoffice
210 cp -r ./* "${ED}opt/cxoffice" \
211 || die "Could not install into ${ED}opt/cxoffice"
212
213 # Install configuration file
214 insinto /opt/cxoffice/etc
215 doins share/crossover/data/cxoffice.conf
216
217 # Install menus
218 # XXX: locate_gui.sh automatically detects *-application-merged directories
219 # This means what we install will vary depending on the contents of
220 # /etc/xdg, which is a QA violation. It is not clear how to resolve this.
221 XDG_DATA_DIRS="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
222 "${ED}opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
223 || die "Could not install menus"
224
225 rm "${ED}usr/share/applications/"*"Uninstall CrossOver Linux.desktop"
226 sed -i -e "s:${ED}:/:" "${ED}usr/share/applications/"*.desktop
227 }