/[gentoo-x86]/app-emulation/wine/wine-1.2.3.ebuild
Gentoo

Diff of /app-emulation/wine/wine-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild,v 1.11 2012/01/13 00:08:55 tetromino Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild,v 1.12 2012/01/14 03:20:51 tetromino Exp $
4 4
5EAPI="2" 5EAPI="4"
6 6
7inherit eutils flag-o-matic multilib 7inherit eutils flag-o-matic multilib
8 8
9if [[ ${PV} == "9999" ]] ; then 9if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="git://source.winehq.org/git/wine.git" 10 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
28 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab ) 28 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )
29 pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" 29 pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )"
30 30
31LICENSE="LGPL-2.1" 31LICENSE="LGPL-2.1"
32SLOT="0" 32SLOT="0"
33IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" 33IUSE="alsa capi cups custom-cflags dbus elibc_glibc fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml"
34REQUIRED_USE="elibc_glibc? ( threads )" #286560
34RESTRICT="test" #72375 35RESTRICT="test" #72375
35 36
36MLIB_DEPS="amd64? ( 37MLIB_DEPS="amd64? (
37 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) 38 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
38 X? ( 39 X? (
65 x11-libs/libXxf86vm 66 x11-libs/libXxf86vm
66 x11-apps/xmessage 67 x11-apps/xmessage
67 ) 68 )
68 xinerama? ( x11-libs/libXinerama ) 69 xinerama? ( x11-libs/libXinerama )
69 alsa? ( media-libs/alsa-lib ) 70 alsa? ( media-libs/alsa-lib )
70 esd? ( media-sound/esound )
71 nas? ( media-libs/nas ) 71 nas? ( media-libs/nas )
72 cups? ( net-print/cups ) 72 cups? ( net-print/cups )
73 opengl? ( virtual/opengl ) 73 opengl? ( virtual/opengl )
74 pulseaudio? ( media-sound/pulseaudio ) 74 pulseaudio? ( media-sound/pulseaudio )
75 gsm? ( media-sound/gsm ) 75 gsm? ( media-sound/gsm )
134 $(use_with alsa) \ 134 $(use_with alsa) \
135 $(use_with capi) \ 135 $(use_with capi) \
136 $(use_with lcms cms) \ 136 $(use_with lcms cms) \
137 $(use_with cups) \ 137 $(use_with cups) \
138 $(use_with ncurses curses) \ 138 $(use_with ncurses curses) \
139 $(use_with esd) \ 139 --without-esd \
140 $(use_with fontconfig) \ 140 $(use_with fontconfig) \
141 $(use_with gnutls) \ 141 $(use_with gnutls) \
142 $(use_with gphoto2 gphoto) \ 142 $(use_with gphoto2 gphoto) \
143 $(use_with gsm) \ 143 $(use_with gsm) \
144 --without-hal \ 144 --without-hal \
163 $(use_with xinerama) \ 163 $(use_with xinerama) \
164 $(use_with xml) \ 164 $(use_with xml) \
165 $(use_with xml xslt) \ 165 $(use_with xml xslt) \
166 $2 166 $2
167 167
168 emake -j1 depend || die "depend" 168 emake -j1 depend
169 169
170 popd >/dev/null 170 popd >/dev/null
171} 171}
172src_configure() { 172src_configure() {
173 export LDCONFIG=/bin/true 173 export LDCONFIG=/bin/true
184src_compile() { 184src_compile() {
185 local b 185 local b
186 for b in 64 32 ; do 186 for b in 64 32 ; do
187 local builddir="${WORKDIR}/wine${b}" 187 local builddir="${WORKDIR}/wine${b}"
188 [[ -d ${builddir} ]] || continue 188 [[ -d ${builddir} ]] || continue
189 emake -C "${builddir}" all || die 189 emake -C "${builddir}" all
190 done 190 done
191} 191}
192 192
193src_install() { 193src_install() {
194 local b 194 local b
195 for b in 64 32 ; do 195 for b in 64 32 ; do
196 local builddir="${WORKDIR}/wine${b}" 196 local builddir="${WORKDIR}/wine${b}"
197 [[ -d ${builddir} ]] || continue 197 [[ -d ${builddir} ]] || continue
198 emake -C "${builddir}" install DESTDIR="${D}" || die 198 emake -C "${builddir}" install DESTDIR="${D}"
199 done 199 done
200 dodoc ANNOUNCE AUTHORS README 200 dodoc ANNOUNCE AUTHORS README
201 if use gecko ; then 201 if use gecko ; then
202 insinto /usr/share/wine/gecko 202 insinto /usr/share/wine/gecko
203 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die 203 doins "${DISTDIR}"/wine_gecko-${GV}.cab
204 fi 204 fi
205 if ! use perl ; then 205 if ! use perl ; then
206 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die 206 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
207 fi 207 fi
208} 208}

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20