/[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.25 Revision 1.26
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.25 2009/01/06 10:17:24 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.26 2009/01/16 20:04:57 vapier Exp $
4 4
5EAPI="1" 5EAPI="1"
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
12 SRC_URI="" 12 SRC_URI=""
13else 13else
14 MY_P="${PN}-${PV/_/-}"
14 SRC_URI="mirror://sourceforge/${PN}/wine-${PV}.tar.bz2" 15 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
16 S=${WORKDIR}/${MY_P}
15fi 17fi
16 18
19GV="0.9.0"
17DESCRIPTION="free implementation of Windows(tm) on Unix" 20DESCRIPTION="free implementation of Windows(tm) on Unix"
18HOMEPAGE="http://www.winehq.org/" 21HOMEPAGE="http://www.winehq.org/"
19SRC_URI="${SRC_URI} 22SRC_URI="${SRC_URI}
20 gecko? ( mirror://sourceforge/wine/wine_gecko-0.1.0.cab )" 23 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
21 24
22LICENSE="LGPL-2.1" 25LICENSE="LGPL-2.1"
23SLOT="0" 26SLOT="0"
24KEYWORDS="" 27KEYWORDS=""
25IUSE="alsa cups dbus esd +gecko hal jack jpeg lcms ldap nas ncurses +opengl oss samba scanner xml +X" 28IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss samba scanner xml +X"
26RESTRICT="test" #72375 29RESTRICT="test" #72375
27 30
28RDEPEND=">=media-libs/freetype-2.0.0 31RDEPEND=">=media-libs/freetype-2.0.0
29 media-fonts/corefonts 32 media-fonts/corefonts
30 ncurses? ( >=sys-libs/ncurses-5.2 ) 33 ncurses? ( >=sys-libs/ncurses-5.2 )
31 jack? ( media-sound/jack-audio-connection-kit ) 34 jack? ( media-sound/jack-audio-connection-kit )
32 dbus? ( sys-apps/dbus ) 35 dbus? ( sys-apps/dbus )
36 gnutls? ( net-libs/gnutls )
33 hal? ( sys-apps/hal ) 37 hal? ( sys-apps/hal )
34 X? ( 38 X? (
35 x11-libs/libXcursor 39 x11-libs/libXcursor
36 x11-libs/libXrandr 40 x11-libs/libXrandr
37 x11-libs/libXi 41 x11-libs/libXi
49 lcms? ( media-libs/lcms ) 53 lcms? ( media-libs/lcms )
50 samba? ( >=net-fs/samba-3.0.25 ) 54 samba? ( >=net-fs/samba-3.0.25 )
51 xml? ( dev-libs/libxml2 dev-libs/libxslt ) 55 xml? ( dev-libs/libxml2 dev-libs/libxslt )
52 scanner? ( media-gfx/sane-backends ) 56 scanner? ( media-gfx/sane-backends )
53 amd64? ( 57 amd64? (
58 X? (
54 >=app-emulation/emul-linux-x86-xlibs-2.1 59 >=app-emulation/emul-linux-x86-xlibs-2.1
55 >=app-emulation/emul-linux-x86-soundlibs-2.1 60 >=app-emulation/emul-linux-x86-soundlibs-2.1
61 )
56 >=sys-kernel/linux-headers-2.6 62 >=sys-kernel/linux-headers-2.6
57 )" 63 )"
58DEPEND="${RDEPEND} 64DEPEND="${RDEPEND}
59 >=media-gfx/fontforge-20060703
60 X? ( 65 X? (
61 x11-proto/inputproto 66 x11-proto/inputproto
62 x11-proto/xextproto 67 x11-proto/xextproto
63 x11-proto/xf86vidmodeproto 68 x11-proto/xf86vidmodeproto
64 ) 69 )
75 80
76src_unpack() { 81src_unpack() {
77 if [[ ${PV} == "9999" ]] ; then 82 if [[ ${PV} == "9999" ]] ; then
78 git_src_unpack 83 git_src_unpack
79 else 84 else
80 unpack wine-${PV}.tar.bz2 85 unpack ${MY_P}.tar.bz2
81 fi 86 fi
82 cd "${S}" 87 cd "${S}"
83 88
84 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in 89 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
85 sed -i '/^MimeType/d' tools/wine.desktop || die #117785 90 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
86} 91}
87 92
88config_cache() { 93config_cache() {
89 local h ans="no" 94 local h ans="no"
118 use amd64 && multilib_toolchain_setup x86 123 use amd64 && multilib_toolchain_setup x86
119 124
120 # $(use_enable amd64 win64) 125 # $(use_enable amd64 win64)
121 econf \ 126 econf \
122 --sysconfdir=/etc/wine \ 127 --sysconfdir=/etc/wine \
128 $(use_with gnutls) \
123 $(use_with ncurses curses) \ 129 $(use_with ncurses curses) \
124 $(use_with opengl) \ 130 $(use_with opengl) \
125 $(use_with X x) \ 131 $(use_with X x) \
126 || die "configure failed" 132 || die "configure failed"
127 133
129 emake all || die "all" 135 emake all || die "all"
130} 136}
131 137
132src_install() { 138src_install() {
133 emake DESTDIR="${D}" install || die 139 emake DESTDIR="${D}" install || die
134 dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README 140 dodoc ANNOUNCE AUTHORS README
135 if use gecko ; then 141 if use gecko ; then
136 insinto /usr/share/wine/gecko 142 insinto /usr/share/wine/gecko
137 doins "${DISTDIR}"/wine_gecko-*.cab || die 143 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die
138 fi 144 fi
139} 145}
140 146
141pkg_postinst() { 147pkg_postinst() {
142 elog "~/.wine/config is now deprecated. For configuration either use" 148 elog "~/.wine/config is now deprecated. For configuration either use"

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20