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

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

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

Revision 1.12 Revision 1.13
1# Copyright 1999-2011 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/Attic/wine-1.2.2.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/Attic/wine-1.2.2.ebuild,v 1.13 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 )
133 $(use_with alsa) \ 133 $(use_with alsa) \
134 $(use_with capi) \ 134 $(use_with capi) \
135 $(use_with lcms cms) \ 135 $(use_with lcms cms) \
136 $(use_with cups) \ 136 $(use_with cups) \
137 $(use_with ncurses curses) \ 137 $(use_with ncurses curses) \
138 $(use_with esd) \ 138 --without-esd \
139 $(use_with fontconfig) \ 139 $(use_with fontconfig) \
140 $(use_with gnutls) \ 140 $(use_with gnutls) \
141 $(use_with gphoto2 gphoto) \ 141 $(use_with gphoto2 gphoto) \
142 $(use_with gsm) \ 142 $(use_with gsm) \
143 --without-hal \ 143 --without-hal \
162 $(use_with xinerama) \ 162 $(use_with xinerama) \
163 $(use_with xml) \ 163 $(use_with xml) \
164 $(use_with xml xslt) \ 164 $(use_with xml xslt) \
165 $2 165 $2
166 166
167 emake -j1 depend || die "depend" 167 emake -j1 depend
168 168
169 popd >/dev/null 169 popd >/dev/null
170} 170}
171src_configure() { 171src_configure() {
172 export LDCONFIG=/bin/true 172 export LDCONFIG=/bin/true
183src_compile() { 183src_compile() {
184 local b 184 local b
185 for b in 64 32 ; do 185 for b in 64 32 ; do
186 local builddir="${WORKDIR}/wine${b}" 186 local builddir="${WORKDIR}/wine${b}"
187 [[ -d ${builddir} ]] || continue 187 [[ -d ${builddir} ]] || continue
188 emake -C "${builddir}" all || die 188 emake -C "${builddir}" all
189 done 189 done
190} 190}
191 191
192src_install() { 192src_install() {
193 local b 193 local b
194 for b in 64 32 ; do 194 for b in 64 32 ; do
195 local builddir="${WORKDIR}/wine${b}" 195 local builddir="${WORKDIR}/wine${b}"
196 [[ -d ${builddir} ]] || continue 196 [[ -d ${builddir} ]] || continue
197 emake -C "${builddir}" install DESTDIR="${D}" || die 197 emake -C "${builddir}" install DESTDIR="${D}"
198 done 198 done
199 dodoc ANNOUNCE AUTHORS README 199 dodoc ANNOUNCE AUTHORS README
200 if use gecko ; then 200 if use gecko ; then
201 insinto /usr/share/wine/gecko 201 insinto /usr/share/wine/gecko
202 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die 202 doins "${DISTDIR}"/wine_gecko-${GV}.cab
203 fi 203 fi
204 if ! use perl ; then 204 if ! use perl ; then
205 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die 205 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
206 fi 206 fi
207} 207}

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

  ViewVC Help
Powered by ViewVC 1.1.20