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

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

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

Revision 1.13 Revision 1.14
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.1.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/Attic/wine-1.2.1.ebuild,v 1.14 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"
27SRC_URI="${SRC_URI} 27SRC_URI="${SRC_URI}
28 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" 28 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
29 29
30LICENSE="LGPL-2.1" 30LICENSE="LGPL-2.1"
31SLOT="0" 31SLOT="0"
32IUSE="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" 32IUSE="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"
33REQUIRED_USE="elibc_glibc? ( threads )" #286560
33RESTRICT="test" #72375 34RESTRICT="test" #72375
34 35
35MLIB_DEPS="amd64? ( 36MLIB_DEPS="amd64? (
36 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) 37 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
37 X? ( 38 X? (
64 x11-libs/libXxf86vm 65 x11-libs/libXxf86vm
65 x11-apps/xmessage 66 x11-apps/xmessage
66 ) 67 )
67 xinerama? ( x11-libs/libXinerama ) 68 xinerama? ( x11-libs/libXinerama )
68 alsa? ( media-libs/alsa-lib ) 69 alsa? ( media-libs/alsa-lib )
69 esd? ( media-sound/esound )
70 nas? ( media-libs/nas ) 70 nas? ( media-libs/nas )
71 cups? ( net-print/cups ) 71 cups? ( net-print/cups )
72 opengl? ( virtual/opengl ) 72 opengl? ( virtual/opengl )
73 pulseaudio? ( media-sound/pulseaudio ) 73 pulseaudio? ( media-sound/pulseaudio )
74 gsm? ( media-sound/gsm ) 74 gsm? ( media-sound/gsm )
132 $(use_with alsa) \ 132 $(use_with alsa) \
133 $(use_with capi) \ 133 $(use_with capi) \
134 $(use_with lcms cms) \ 134 $(use_with lcms cms) \
135 $(use_with cups) \ 135 $(use_with cups) \
136 $(use_with ncurses curses) \ 136 $(use_with ncurses curses) \
137 $(use_with esd) \ 137 --without-esd \
138 $(use_with fontconfig) \ 138 $(use_with fontconfig) \
139 $(use_with gnutls) \ 139 $(use_with gnutls) \
140 $(use_with gphoto2 gphoto) \ 140 $(use_with gphoto2 gphoto) \
141 $(use_with gsm) \ 141 $(use_with gsm) \
142 --without-hal \ 142 --without-hal \
161 $(use_with xinerama) \ 161 $(use_with xinerama) \
162 $(use_with xml) \ 162 $(use_with xml) \
163 $(use_with xml xslt) \ 163 $(use_with xml xslt) \
164 $2 164 $2
165 165
166 emake -j1 depend || die "depend" 166 emake -j1 depend
167 167
168 popd >/dev/null 168 popd >/dev/null
169} 169}
170src_configure() { 170src_configure() {
171 export LDCONFIG=/bin/true 171 export LDCONFIG=/bin/true
182src_compile() { 182src_compile() {
183 local b 183 local b
184 for b in 64 32 ; do 184 for b in 64 32 ; do
185 local builddir="${WORKDIR}/wine${b}" 185 local builddir="${WORKDIR}/wine${b}"
186 [[ -d ${builddir} ]] || continue 186 [[ -d ${builddir} ]] || continue
187 emake -C "${builddir}" all || die 187 emake -C "${builddir}" all
188 done 188 done
189} 189}
190 190
191src_install() { 191src_install() {
192 local b 192 local b
193 for b in 64 32 ; do 193 for b in 64 32 ; do
194 local builddir="${WORKDIR}/wine${b}" 194 local builddir="${WORKDIR}/wine${b}"
195 [[ -d ${builddir} ]] || continue 195 [[ -d ${builddir} ]] || continue
196 emake -C "${builddir}" install DESTDIR="${D}" || die 196 emake -C "${builddir}" install DESTDIR="${D}"
197 done 197 done
198 dodoc ANNOUNCE AUTHORS README 198 dodoc ANNOUNCE AUTHORS README
199 if use gecko ; then 199 if use gecko ; then
200 insinto /usr/share/wine/gecko 200 insinto /usr/share/wine/gecko
201 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die 201 doins "${DISTDIR}"/wine_gecko-${GV}.cab
202 fi 202 fi
203 if ! use perl ; then 203 if ! use perl ; then
204 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die 204 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
205 fi 205 fi
206} 206}

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

  ViewVC Help
Powered by ViewVC 1.1.20