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

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

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

Revision 1.16 Revision 1.17
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.ebuild,v 1.16 2011/09/18 09:08:12 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/Attic/wine-1.2.ebuild,v 1.17 2012/01/14 03:20:51 tetromino Exp $
4 4
5EAPI="2" 5EAPI="4"
6 6
7AUTOTOOLS_AUTO_DEPEND="no" 7AUTOTOOLS_AUTO_DEPEND="no"
8inherit eutils flag-o-matic multilib autotools 8inherit eutils flag-o-matic multilib autotools
9 9
10if [[ ${PV} == "9999" ]] ; then 10if [[ ${PV} == "9999" ]] ; then
27 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab ) 27 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )
28 pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" 28 pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )"
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 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 win64 +X xcomposite xinerama xml"
33REQUIRED_USE="elibc_glibc? ( threads )" #286560
33RESTRICT="test" #72375 34RESTRICT="test" #72375
34 35
35RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) 36RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
36 perl? ( dev-lang/perl dev-perl/XML-Simple ) 37 perl? ( dev-lang/perl dev-perl/XML-Simple )
37 capi? ( net-dialup/capi4k-utils ) 38 capi? ( net-dialup/capi4k-utils )
50 x11-libs/libXxf86vm 51 x11-libs/libXxf86vm
51 x11-apps/xmessage 52 x11-apps/xmessage
52 ) 53 )
53 xinerama? ( x11-libs/libXinerama ) 54 xinerama? ( x11-libs/libXinerama )
54 alsa? ( media-libs/alsa-lib ) 55 alsa? ( media-libs/alsa-lib )
55 esd? ( media-sound/esound )
56 nas? ( media-libs/nas ) 56 nas? ( media-libs/nas )
57 cups? ( net-print/cups ) 57 cups? ( net-print/cups )
58 opengl? ( virtual/opengl ) 58 opengl? ( virtual/opengl )
59 pulseaudio? ( media-sound/pulseaudio ) 59 pulseaudio? ( media-sound/pulseaudio )
60 gsm? ( media-sound/gsm ) 60 gsm? ( media-sound/gsm )
129 $(use_with alsa) \ 129 $(use_with alsa) \
130 $(use_with capi) \ 130 $(use_with capi) \
131 $(use_with lcms cms) \ 131 $(use_with lcms cms) \
132 $(use_with cups) \ 132 $(use_with cups) \
133 $(use_with ncurses curses) \ 133 $(use_with ncurses curses) \
134 $(use_with esd) \ 134 --without-esd \
135 $(use_with fontconfig) \ 135 $(use_with fontconfig) \
136 $(use_with gnutls) \ 136 $(use_with gnutls) \
137 $(use_with gphoto2 gphoto) \ 137 $(use_with gphoto2 gphoto) \
138 $(use_with gsm) \ 138 $(use_with gsm) \
139 --without-hal \ 139 --without-hal \
156 $(use_enable win64) \ 156 $(use_enable win64) \
157 $(use_with X x) \ 157 $(use_with X x) \
158 $(use_with xcomposite) \ 158 $(use_with xcomposite) \
159 $(use_with xinerama) \ 159 $(use_with xinerama) \
160 $(use_with xml) \ 160 $(use_with xml) \
161 $(use_with xml xslt) \ 161 $(use_with xml xslt)
162 || die "configure failed"
163 162
164 emake -j1 depend || die "depend" 163 emake -j1 depend
165}
166
167src_compile() {
168 emake all || die "all"
169} 164}
170 165
171src_install() { 166src_install() {
172 emake DESTDIR="${D}" install || die 167 emake DESTDIR="${D}" install
173 dodoc ANNOUNCE AUTHORS README 168 dodoc ANNOUNCE AUTHORS README
174 if use gecko ; then 169 if use gecko ; then
175 insinto /usr/share/wine/gecko 170 insinto /usr/share/wine/gecko
176 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die 171 doins "${DISTDIR}"/wine_gecko-${GV}.cab
177 fi 172 fi
178 if ! use perl ; then 173 if ! use perl ; then
179 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die 174 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
180 fi 175 fi
181} 176}

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20