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

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

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

Revision 1.29 Revision 1.30
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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-9999.ebuild,v 1.29 2009/01/21 08:52:46 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.30 2009/01/24 15:05:06 vapier Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 EGIT_REPO_URI="git://source.winehq.org/git/wine.git" 8 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
22SRC_URI="${SRC_URI} 22SRC_URI="${SRC_URI}
23 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" 23 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
24 24
25LICENSE="LGPL-2.1" 25LICENSE="LGPL-2.1"
26SLOT="0" 26SLOT="0"
27IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl win64 xml +X" 27IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl win64 +X xcomposite xinerama xml"
28RESTRICT="test" #72375 28RESTRICT="test" #72375
29 29
30RDEPEND=">=media-libs/freetype-2.0.0 30RDEPEND=">=media-libs/freetype-2.0.0
31 media-fonts/corefonts 31 media-fonts/corefonts
32 ncurses? ( >=sys-libs/ncurses-5.2 ) 32 ncurses? ( >=sys-libs/ncurses-5.2 )
76 if [[ ${PV} == "9999" ]] ; then 76 if [[ ${PV} == "9999" ]] ; then
77 git_src_unpack 77 git_src_unpack
78 else 78 else
79 unpack ${MY_P}.tar.bz2 79 unpack ${MY_P}.tar.bz2
80 fi 80 fi
81 cd "${S}" 81}
82 82
83src_prepare() {
83 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die 84 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
84 sed -i '/^MimeType/d' tools/wine.desktop || die #117785 85 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
85} 86}
86 87
87src_compile() { 88src_configure() {
88 export LDCONFIG=/bin/true 89 export LDCONFIG=/bin/true
89 90
90 # XXX: should check out these flags too: 91 # XXX: should check out these flags too:
91 # audioio capi fontconfig freetype gphoto 92 # audioio capi fontconfig freetype gphoto
92 econf \ 93 econf \
114 $(use_with xml) \ 115 $(use_with xml) \
115 $(use_with xml xslt) \ 116 $(use_with xml xslt) \
116 || die "configure failed" 117 || die "configure failed"
117 118
118 emake -j1 depend || die "depend" 119 emake -j1 depend || die "depend"
120}
121
122src_compile() {
119 emake all || die "all" 123 emake all || die "all"
120} 124}
121 125
122src_install() { 126src_install() {
123 emake DESTDIR="${D}" install || die 127 emake DESTDIR="${D}" install || die

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20