/[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.56 Revision 1.57
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.56 2010/07/24 04:42:23 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.57 2010/08/03 18:43:25 vapier Exp $
4 4
5EAPI="2" 5EAPI="2"
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"
11 inherit git 11 inherit git autotools
12 SRC_URI="" 12 SRC_URI=""
13 #KEYWORDS="" 13 #KEYWORDS=""
14else 14else
15 AUTOTOOLS_AUTO_DEPEND="no"
16 inherit autotools
15 MY_P="${PN}-${PV/_/-}" 17 MY_P="${PN}-${PV/_/-}"
16 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" 18 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
17 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" 19 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
18 S=${WORKDIR}/${MY_P} 20 S=${WORKDIR}/${MY_P}
19fi 21fi
20 22
23pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; }
21GV="1.0.0-x86" 24GV="1.0.0-x86"
22DESCRIPTION="free implementation of Windows(tm) on Unix" 25DESCRIPTION="free implementation of Windows(tm) on Unix"
23HOMEPAGE="http://www.winehq.org/" 26HOMEPAGE="http://www.winehq.org/"
24SRC_URI="${SRC_URI} 27SRC_URI="${SRC_URI}
25 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` )"
26 30
27LICENSE="LGPL-2.1" 31LICENSE="LGPL-2.1"
28SLOT="0" 32SLOT="0"
29IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype +win32 +win64 +X xcomposite xinerama xml" 33IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype +win32 +win64 +X xcomposite xinerama xml"
30RESTRICT="test" #72375 34RESTRICT="test" #72375
31 35
36MLIB_DEPS="amd64? (
37 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
38 X? (
39 >=app-emulation/emul-linux-x86-xlibs-2.1
40 >=app-emulation/emul-linux-x86-soundlibs-2.1
41 )
42 openal? ( app-emulation/emul-linux-x86-sdl )
43 opengl? ( app-emulation/emul-linux-x86-opengl )
44 app-emulation/emul-linux-x86-baselibs
45 >=sys-kernel/linux-headers-2.6
46 )"
32RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) 47RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
33 perl? ( dev-lang/perl dev-perl/XML-Simple ) 48 perl? ( dev-lang/perl dev-perl/XML-Simple )
34 capi? ( net-dialup/capi4k-utils ) 49 capi? ( net-dialup/capi4k-utils )
35 ncurses? ( >=sys-libs/ncurses-5.2 ) 50 ncurses? ( >=sys-libs/ncurses-5.2 )
36 fontconfig? ( media-libs/fontconfig ) 51 fontconfig? ( media-libs/fontconfig )
52 alsa? ( media-libs/alsa-lib ) 67 alsa? ( media-libs/alsa-lib )
53 esd? ( media-sound/esound ) 68 esd? ( media-sound/esound )
54 nas? ( media-libs/nas ) 69 nas? ( media-libs/nas )
55 cups? ( net-print/cups ) 70 cups? ( net-print/cups )
56 opengl? ( virtual/opengl ) 71 opengl? ( virtual/opengl )
72 pulseaudio? ( media-sound/pulseaudio ${AUTOTOOLS_DEPEND} )
57 gsm? ( media-sound/gsm ) 73 gsm? ( media-sound/gsm )
58 jpeg? ( media-libs/jpeg ) 74 jpeg? ( media-libs/jpeg )
59 ldap? ( net-nds/openldap ) 75 ldap? ( net-nds/openldap )
60 lcms? ( =media-libs/lcms-1* ) 76 lcms? ( =media-libs/lcms-1* )
61 mp3? ( >=media-sound/mpg123-1.5.0 ) 77 mp3? ( >=media-sound/mpg123-1.5.0 )
62 samba? ( >=net-fs/samba-3.0.25 ) 78 samba? ( >=net-fs/samba-3.0.25 )
63 xml? ( dev-libs/libxml2 dev-libs/libxslt ) 79 xml? ( dev-libs/libxml2 dev-libs/libxslt )
64 scanner? ( media-gfx/sane-backends ) 80 scanner? ( media-gfx/sane-backends )
65 ssl? ( dev-libs/openssl ) 81 ssl? ( dev-libs/openssl )
66 png? ( media-libs/libpng ) 82 png? ( media-libs/libpng )
67 !win64? ( amd64? ( 83 !win64? ( ${MLIB_DEPS} )
68 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) 84 win32? ( ${MLIB_DEPS} )
69 X? (
70 >=app-emulation/emul-linux-x86-xlibs-2.1
71 >=app-emulation/emul-linux-x86-soundlibs-2.1
72 )
73 openal? ( app-emulation/emul-linux-x86-sdl )
74 opengl? ( app-emulation/emul-linux-x86-opengl )
75 app-emulation/emul-linux-x86-baselibs
76 >=sys-kernel/linux-headers-2.6
77 ) )
78 xcomposite? ( x11-libs/libXcomposite ) " 85 xcomposite? ( x11-libs/libXcomposite ) "
79DEPEND="${RDEPEND} 86DEPEND="${RDEPEND}
80 X? ( 87 X? (
81 x11-proto/inputproto 88 x11-proto/inputproto
82 x11-proto/xextproto 89 x11-proto/xextproto
97 unpack ${MY_P}.tar.bz2 104 unpack ${MY_P}.tar.bz2
98 fi 105 fi
99} 106}
100 107
101src_prepare() { 108src_prepare() {
109 if use pulseaudio ; then
110 EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"`
111 eautoreconf
112 fi
102 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 113 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
103 epatch_user #282735 114 epatch_user #282735
104 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die 115 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
105 sed -i '/^MimeType/d' tools/wine.desktop || die #117785 116 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
106} 117}
133 $(use_with opengl) \ 144 $(use_with opengl) \
134 $(use_with ssl openssl) \ 145 $(use_with ssl openssl) \
135 $(use_with oss) \ 146 $(use_with oss) \
136 $(use_with png) \ 147 $(use_with png) \
137 $(use_with threads pthread) \ 148 $(use_with threads pthread) \
149 $(use pulseaudio && use_with pulseaudio pulse) \
138 $(use_with scanner sane) \ 150 $(use_with scanner sane) \
139 $(use_enable test tests) \ 151 $(use_enable test tests) \
140 $(use_with truetype freetype) \ 152 $(use_with truetype freetype) \
141 $(use_with X x) \ 153 $(use_with X x) \
142 $(use_with xcomposite) \ 154 $(use_with xcomposite) \

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20