/[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.41 Revision 1.42
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.41 2009/08/27 11:41:32 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.42 2009/09/11 07:59:11 scarabeus Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit multilib 7inherit multilib eutils
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"
11 inherit git 11 inherit git
12 SRC_URI="" 12 SRC_URI=""
16 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" 16 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
17 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" 17 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
18 S=${WORKDIR}/${MY_P} 18 S=${WORKDIR}/${MY_P}
19fi 19fi
20 20
21GV="0.9.1" 21GV="1.0.0-x86"
22DESCRIPTION="free implementation of Windows(tm) on Unix" 22DESCRIPTION="free implementation of Windows(tm) on Unix"
23HOMEPAGE="http://www.winehq.org/" 23HOMEPAGE="http://www.winehq.org/"
24SRC_URI="${SRC_URI} 24SRC_URI="${SRC_URI}
25 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" 25 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
26 26
27LICENSE="LGPL-2.1" 27LICENSE="LGPL-2.1"
28SLOT="0" 28SLOT="0"
29IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl test win64 +X xcomposite xinerama xml" 29IUSE="alsa cups dbus esd +gecko gnutls gsm hal jack jpeg lcms ldap mp3 nas ncurses +opengl oss png samba scanner ssl test win64 +X xcomposite xinerama xml"
30RESTRICT="test" #72375 30RESTRICT="test" #72375
31 31
32RDEPEND=">=media-libs/freetype-2.0.0 32RDEPEND=">=media-libs/freetype-2.0.0
33 media-fonts/corefonts 33 media-fonts/corefonts
34 dev-lang/perl 34 dev-lang/perl
49 alsa? ( media-libs/alsa-lib ) 49 alsa? ( media-libs/alsa-lib )
50 esd? ( media-sound/esound ) 50 esd? ( media-sound/esound )
51 nas? ( media-libs/nas ) 51 nas? ( media-libs/nas )
52 cups? ( net-print/cups ) 52 cups? ( net-print/cups )
53 opengl? ( virtual/opengl ) 53 opengl? ( virtual/opengl )
54 gsm? ( media-sound/gsm )
54 jpeg? ( media-libs/jpeg ) 55 jpeg? ( media-libs/jpeg )
55 ldap? ( net-nds/openldap ) 56 ldap? ( net-nds/openldap )
56 lcms? ( media-libs/lcms ) 57 lcms? ( media-libs/lcms )
58 mp3? ( media-sound/mpg123 )
57 samba? ( >=net-fs/samba-3.0.25 ) 59 samba? ( >=net-fs/samba-3.0.25 )
58 xml? ( dev-libs/libxml2 dev-libs/libxslt ) 60 xml? ( dev-libs/libxml2 dev-libs/libxslt )
59 scanner? ( media-gfx/sane-backends ) 61 scanner? ( media-gfx/sane-backends )
60 ssl? ( dev-libs/openssl ) 62 ssl? ( dev-libs/openssl )
61 png? ( media-libs/libpng ) 63 png? ( media-libs/libpng )
84 unpack ${MY_P}.tar.bz2 86 unpack ${MY_P}.tar.bz2
85 fi 87 fi
86} 88}
87 89
88src_prepare() { 90src_prepare() {
91 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
89 epatch_user #282735 92 epatch_user #282735
90 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die 93 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
91 sed -i '/^MimeType/d' tools/wine.desktop || die #117785 94 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
92} 95}
93 96
102 --sysconfdir=/etc/wine \ 105 --sysconfdir=/etc/wine \
103 $(use_with alsa) \ 106 $(use_with alsa) \
104 $(use_with cups) \ 107 $(use_with cups) \
105 $(use_with esd) \ 108 $(use_with esd) \
106 $(use_with gnutls) \ 109 $(use_with gnutls) \
110 $(use_with gsm) \
107 $(! use dbus && echo --without-hal || use_with hal) \ 111 $(! use dbus && echo --without-hal || use_with hal) \
108 $(use_with jack) \ 112 $(use_with jack) \
109 $(use_with jpeg) \ 113 $(use_with jpeg) \
110 $(use_with lcms cms) \ 114 $(use_with lcms cms) \
111 $(use_with ldap) \ 115 $(use_with ldap) \
116 $(use_with mp3 mpg123) \
112 $(use_with nas) \ 117 $(use_with nas) \
113 $(use_with ncurses curses) \ 118 $(use_with ncurses curses) \
114 $(use_with opengl) \ 119 $(use_with opengl) \
115 $(use_with oss) \ 120 $(use_with oss) \
116 $(use_with png) \ 121 $(use_with png) \

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20