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

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

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

Revision 1.1 Revision 1.5
1# Copyright 1999-2012 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.4.1.ebuild,v 1.1 2012/06/24 23:23:11 tetromino Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/Attic/wine-1.4.1.ebuild,v 1.5 2012/08/23 16:45:20 tetromino Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit autotools eutils flag-o-matic multilib pax-utils 7inherit autotools eutils flag-o-matic multilib pax-utils
8 8
12 SRC_URI="" 12 SRC_URI=""
13 #KEYWORDS="" 13 #KEYWORDS=""
14else 14else
15 MY_P="${PN}-${PV/_/-}" 15 MY_P="${PN}-${PV/_/-}"
16 SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2" 16 SRC_URI="mirror://sourceforge/${PN}/Source/${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="1.4" 21GV="1.4"
22DESCRIPTION="free implementation of Windows(tm) on Unix" 22DESCRIPTION="free implementation of Windows(tm) on Unix"
65 x11-libs/libXcursor 65 x11-libs/libXcursor
66 x11-libs/libXrandr 66 x11-libs/libXrandr
67 x11-libs/libXi 67 x11-libs/libXi
68 x11-libs/libXmu 68 x11-libs/libXmu
69 x11-libs/libXxf86vm 69 x11-libs/libXxf86vm
70 x11-apps/xmessage
71 ) 70 )
72 xinerama? ( x11-libs/libXinerama ) 71 xinerama? ( x11-libs/libXinerama )
73 alsa? ( media-libs/alsa-lib ) 72 alsa? ( media-libs/alsa-lib )
74 cups? ( net-print/cups ) 73 cups? ( net-print/cups )
75 opencl? ( virtual/opencl ) 74 opencl? ( virtual/opencl )
120 unpack ${MY_P}.tar.bz2 119 unpack ${MY_P}.tar.bz2
121 fi 120 fi
122} 121}
123 122
124src_prepare() { 123src_prepare() {
124 local md5="$(md5sum server/protocol.def)"
125 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 125 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
126 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615 126 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
127 epatch_user #282735 127 epatch_user #282735
128 if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
129 einfo "server/protocol.def was patched; running tools/make_requests"
130 tools/make_requests || die #432348
131 fi
128 eautoreconf 132 eautoreconf
129 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die 133 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
130 sed -i '/^MimeType/d' tools/wine.desktop || die #117785 134 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
131} 135}
132 136

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20