summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-08 07:49:50 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-08 07:49:50 +0000
commit8fb35de490ef56d71deb305dcecad25371eddb13 (patch)
treeffdf94a3970a113712b0ba7a341ee30fcb4776e6 /app-emulation/wine
parentVersion bump. (diff)
downloadhistorical-8fb35de490ef56d71deb305dcecad25371eddb13.tar.gz
historical-8fb35de490ef56d71deb305dcecad25371eddb13.tar.bz2
historical-8fb35de490ef56d71deb305dcecad25371eddb13.zip
Bump, see http://www.winehq.org/announce/1.5.12 for the announcement.
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/wine')
-rw-r--r--app-emulation/wine/ChangeLog7
-rw-r--r--app-emulation/wine/Manifest18
-rw-r--r--app-emulation/wine/wine-1.5.12.ebuild253
3 files changed, 269 insertions, 9 deletions
diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog
index e7b8ab809467..6a5b652a06da 100644
--- a/app-emulation/wine/ChangeLog
+++ b/app-emulation/wine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/wine
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.427 2012/08/23 16:45:20 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.428 2012/09/08 07:49:50 tetromino Exp $
+
+*wine-1.5.12 (08 Sep 2012)
+
+ 08 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> +wine-1.5.12.ebuild:
+ Bump, see http://www.winehq.org/announce/1.5.12 for the announcement.
23 Aug 2012; Alexandre Rostovtsev <tetromino@gentoo.org> wine-1.2.3.ebuild,
wine-1.3.28.ebuild, wine-1.4.ebuild, wine-1.4.1.ebuild, wine-1.5.0.ebuild,
diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest
index 2d46989f2b69..7a3f978c647a 100644
--- a/app-emulation/wine/Manifest
+++ b/app-emulation/wine/Manifest
@@ -13,6 +13,7 @@ DIST wine-1.5.0.tar.bz2 20132171 SHA256 ad15143d2f8b38e2b5b8569b46efd09f9d13ce55
DIST wine-1.5.1.tar.bz2 20078739 SHA256 6dc578f9afb3c9a0f2b773bbe09af20578ac6fa514dd0712ecc5d05c766045e6 SHA512 afae032255f227bb929d0c1f3e6997c776e0f13f544dfde5ac733edac7cce04f9b0d6b0d113a3ec8ff566d075fa3e9e6823dc0e8372b3f41229414cae85799ba WHIRLPOOL 02bed1c470654f0eaa62bf3e10dd244a096f80ecf1061eb8cfe6fc512ee0bc9b0677b11befe497471d5b28f6ed8d1d6f438f089717b1add3425d23b37debbd61
DIST wine-1.5.10.tar.bz2 20510011 SHA256 f35e7a52faab23647fd15ab9b54ea7a390fc96159d4e9a17e22b118c186f9e13 SHA512 b740dafe11ad64e66f6527cb6c5fdfa33071df762ce69ad79c978486e69560ac54961d751ca92531cc667791468fd136f266fc225d04c28615ceb80850b2efaf WHIRLPOOL a9973a83ea00efeef74e1f50af46980ccf68f56bc3d079a7995422c6fb93e48db2c631ac757529f911e62c0e17f36122a44be857d13650a1b8b68dc531c39ef4
DIST wine-1.5.11.tar.bz2 20651401 SHA256 2854c853546ded26e9c15ba43c29ceace72b7815f25dfd048dd69dc321521488 SHA512 67d1ed430484f89e1d0d52e1452f965f0f558f09803f0ea001a46de73a573acd489898f0475a423c78d148a56fbfcf499169e12422213ba666f06178a4e08e21 WHIRLPOOL 0550476b3fba7558130a82a52d7cabcf85a2b9776703027ca3a811a15b0e12e31a7a2b4a4da0b06ac718ae23680009f684eda24d277097fb5012c1e5614a9409
+DIST wine-1.5.12.tar.bz2 20652437 SHA256 ba987a0e3b1d5c0ba2d42fecdcff1c4e910d7c9949d9baca796b8b5c1318662c SHA512 c16ca8a6343a40f5a287fa123c9d03d6bc60b1e9bd9642cfa94fc473e2acd8bed56d442a149ac590b00292494795aa3b23e3c021990c3ca444641a4899d9a947 WHIRLPOOL 834b79863c158113a3cc71507371110c269aea8edb00bcb9cacadcf5d69a6389bf1836a19d3c9ad6e9b1593aaf02c8f1f90d9cea3149b42a3089983addfcd233
DIST wine-1.5.2.tar.bz2 20104652 SHA256 8ee6fdaf716b5a1c7ccf9be9dc6d9b7546944e79351c4806b2fa596da418342f SHA512 da949f1943a1af1f4f9d75d41d35b5a968b4bb792f25c5d3202de5be944a04deac7116261d70b5b90f233e9fb526ae8d073e2cdd03304ac0f736926108fec7d7 WHIRLPOOL 947bff2ccda47e548e6eec4a1b7cc738b943fbbdf000e5686aa440c9d45962b5dee47e7060e93895cc398c2c82d7dce06c370091859bd46a6d09864c191d357c
DIST wine-1.5.3.tar.bz2 20171697 SHA256 d3e8e484cbc2c4888bc880d0b0c8b52299d36a5cecc96d9367b59142345a1206 SHA512 947c20100d02ec6d393f9bdc1899ddeda21be7fa75869f91953e0eec30f2083b2a7fd31ad92c44765b417e3023914db9cc9945fd241207d8189f20ae92da100a WHIRLPOOL a2e2752731feae4d2a44dd0db1edabadd8c7530abd6e988e5c8f862ba70e234874e1a21ad8a25f4dc68e965d4b5122431278b3ed7674145f7fa935e0c78dcca5
DIST wine-1.5.4.tar.bz2 20187597 SHA256 90b10450b1afb4d54dfd20529e040daa4ee901c52b2f3bc452a86c2e06b4b759 SHA512 cb58358a2af9e15d7ebff21f9f834d521736eeaa44ce0c36d88400f3d3667c5432711bea64322e77c166e024d2ea03d47f64a4fd648d0a802bc44da80e1eb2fe WHIRLPOOL e007bc572181745c585bf24c6aa6a87830df17b57384d180e932b229f89b55d38f2b673243e8b5a5243afb303a18c52092bfbe61f0b49473c7c85edb0056a068
@@ -45,6 +46,7 @@ EBUILD wine-1.5.0.ebuild 6363 SHA256 690f6ff5928d6d89e5b51bd614eaf73a75bd9a74b8e
EBUILD wine-1.5.1.ebuild 6363 SHA256 2ff68c9690db33c8614d45e6d9c49bc61f8c6ee4e1cdf2f96a0bd65a64930d61 SHA512 8996c9740125c1d77909fe181ae290bb9eafa5ecc28cf1b8c4b2c1405299310c3253566223bdecb297ee2930a64d9151d701083ebff7db1c8ddb66e8992e35e5 WHIRLPOOL 0dd261f1bcff063d47d045809746044ffe1a0582463534456ff6a8ee6801cb3e9734e33f6357c54b58f78b52817982e094b5700a7baf602b77e0c83d89c362ca
EBUILD wine-1.5.10.ebuild 7171 SHA256 618cb3dc5ab40020a64f3d7c23c13fac9dbee83c35476192e30b7af672d7ed1d SHA512 91759592d5e329646cae8968f2b2f821afba9fc994237f27b5e70d1f205f454e591a7737a609d5ee9e0bff3a732904b23b4943e847fbc00a628b44639d3e58a7 WHIRLPOOL 9f7d4d138db3c65c50e1f6858ec11f9147dd1de6c6732e740581c6cb958fe8bb73fdc1339055e6912bbeeaa43ab78d05dd37d5cec217abb31467a9725d83137a
EBUILD wine-1.5.11.ebuild 7171 SHA256 7709273c5f87e62bea620bbf99a2b5abdde91b96e6c185f33d85bd2e44f45979 SHA512 37a8cdf9bbd39d7eaa4b95c2b4b180c3c508dbf7867f619bd6bfde9abb833f0e64dce62972043f720a8968f893404584e11299958cd722dfd6de0372f0752c28 WHIRLPOOL 593eec4baf0446bd1cb8f05bf2be6c78a98edf5e322313667ce9017f2244588d67f9ab548a0dc1b7bfa32db3594522c14ff47cfda6db63e3063a9491b86829cc
+EBUILD wine-1.5.12.ebuild 7171 SHA256 4efeb260302a011ed8a20758f6190aa1d26ea99c01acacd0e1bc2c1a4530505e SHA512 29599acf29d42050dc1e1a1b1fa4adee8180c463faa0fbb55c1e612c3804ffeaf634033fd07c9a2444b67e31e450ba93242fe1ddd190f0c43c7093971bddc93c WHIRLPOOL ad8214aacfc4aa73371c479a68ae4caaebaa1cfa9d3d27f8312bdd55ef75dda5d7a54feeec781db775237dc912c5877eebd04f4728160a982a1f4bc20d3d6b8a
EBUILD wine-1.5.2.ebuild 6363 SHA256 1b91e2191b0d3d1d0d51aa326adbc09066f1674a9c82d4db8df8d748e5778fd5 SHA512 6698f98ff324a0a2a4df6def2822d1ffbc3857b89cf5e6bec894c717b5ff53fd4d263f0a1d06b5c713824790dc7f5d7bae00349a21fc2475825984195a780e5a WHIRLPOOL 7e12bdbbc3e56d0461745f12685984ae3f779cc683192771f5ede6e74acf1063a0021b0d0665f4e667114d7efbe7fd4ecccb169ea9a47e5af5a4f854cefd4626
EBUILD wine-1.5.3.ebuild 6363 SHA256 3a357cf391d7d6e2db8929b1768f6e015a3f40ed3e50a845fe564ac7ab70bc9a SHA512 d6e3a964fc1101cf90ceb5ae411b433cfa88dec3bb0e166bb452f130fc05ce308bfee5ad6854733f7732aef02c5ace823a8557427cb05ee23360e56433c065a5 WHIRLPOOL fc79cec7083130afc23b53ed6c17fce0e24a5aadd322947c6a7ee7f7e7d6a0027a6601f17c57dc57147fb9f1db3c9e010e214268e4e365564e0e5c5a2e8b363a
EBUILD wine-1.5.4.ebuild 6363 SHA256 88e351c8ea9112b19d36bcdac05eafd829a08d75e4687554777bd30ae359c97a SHA512 8fdcbe4a97e283d9bacd725d2a579e03ddbd523b3987b843710988a88182dda3c17fb7dde9159876d30f1755e480fcd22579299130721d44beb2b0b8ba8df9f4 WHIRLPOOL fdc36e46c478fd06bd82bfb716fa6344754f4d73132ebd49d8529f1448860f9e4b9b838cc87cf320116d4cccbe78209c6529a4b90a3fec1af62e9788dd5c2df9
@@ -54,16 +56,16 @@ EBUILD wine-1.5.7.ebuild 6831 SHA256 603908d25b9008a8e4acab4cfe7371ba309b1f2c060
EBUILD wine-1.5.8.ebuild 6831 SHA256 5fa94d72d1575331ca4cbd1d2eb866bcd2e91fb3690b6fc85c67056e1a784bb1 SHA512 4dcb45f4810626269aee84a6a30c93c65661cd9a2763d05494fb1cd9fa70e5a2e16e95072590beb084cc636e50a262077929b59d1347d7ce720ed139f4a189ab WHIRLPOOL 80a7c21e6ce87c0b7fb36fd7be6150da4535bcceaf3e7a8c2330aad14fc7f754766d907cdb862ac68495671a83bb0f90e144ea9a1dc2a5e69d76788e2534cbb8
EBUILD wine-1.5.9.ebuild 6831 SHA256 086df3e897d206e9d9be63a46baa11ff22f986fb965c51a040942402b3275031 SHA512 4c62ed02892fa61650c6237919a1f0483b4e6db212f367c8cb995e5c174e926a9bca1686234c2ec7a23dfb22500e8cb6fab59c5e6164dcc090e7ef68fa5f1444 WHIRLPOOL dbffa44126edc3c9d8bb7e62d44947d7c20ce7746d653f059fef1a58a3543056d03ea9302ee211da3e4ef68b22d5cd94b2871ba382ac7bf48fba5b597656f4da
EBUILD wine-9999.ebuild 7171 SHA256 daf33478e4b3f1f135d36d494b6a014d70499ba41f020f89abcafd9a1ef16a40 SHA512 db7fdb71e0efe856109ef6dc96a1418303f953d463049a81c2d0d4cdb91e9c4b620b136bd476e95ea44616186447b815e51d0d66b77a71a639106bf390e3d92a WHIRLPOOL becbe6847148d26a70c4e374bcdc90080965109cf71e2f9eac90f7002503bd77b736ba7d065a24de9ce877351405c055f5323e0eed8520f6bc74f436549302ec
-MISC ChangeLog 94919 SHA256 d3ea6bf182b5c24b17fc67f04918fa6b003dc8a31699499a9589d413552c51f6 SHA512 d1bea504f95bb04f92788029a09fbfa832b2e5967bad251f58ef30b178c8a3fd470f78c687eda492ac262acd9cd904cbd95a45b1ad820dbd6f372d5ef6d5b43b WHIRLPOOL c6f5eec4d77255fc66e0f556e5c697574591bdf8019f7c367a7349babe2a38923a75606f7155d83ef28f6ea5f72b48eec64df91e73175001ba2b6d1a761c3792
+MISC ChangeLog 95100 SHA256 6dc8d403c063ecab930bc1c132c8c6fbd8cccd366169b3e8e8fade8e58446111 SHA512 5428477158754a9f59a9de8edcbd3a4241e4b9b37c2ea48fd087176f172cd9570deea38d2b973f0f2976a08b0dc1376ee02ab2c2ab877dd9728de2cfe1813a2a WHIRLPOOL 6999f4b61e2ec98f06c66f34d9ae8f5dee8aeba15e83a8996d93b2083b015c7f181f53426a205299ef256699ad7156ca5102730fc25906517ca1701618065c1d
MISC metadata.xml 1708 SHA256 3540876c7e1eeb0411e86068a8888ac4ed2dd276a16b9df121bb9ab0b643db2e SHA512 6b76c93bf232384ff7259b40931abb4c97d96dc5fde76849835f1727295c5929ff9628091f94dc00b1c7114a5760772e6bd3189c0cf0166eaabaed67b8589d2a WHIRLPOOL d98cfe4b446364b17ccb6bb679fcbed06b0611829451dff8f25746a42437dafbfbb20217582fe4033342bad609cce3867b37c7524a13764202066198adef58e6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQNl4nAAoJEJ0WA1zPCt1hcGAH+wSNumO3d1bVBoGrkSGu3sRH
-VgjA4rbW8VwehbGFW9y3PKK9xR8WoxK5PlJRTf5mmuDZnmBLD0v2xJRRVmPRgAI3
-plRMWMzKwh2dTT/N6fbkARhAMeiebkj4nrxOlM/ZKH9gRsSufy9J4LRal23jcWLG
-VrOprGoifJ9MBAYARk2sNkf7XnWnsEUCrt+GTmEMvNGhHynAaDK7MrrDOCRI2C/J
-n/LUl3g/y7FLanrhx18dTbu6AEcHm3FiPsNzeplwjpg29quZjBq6GvSdy+uvbI/E
-CGhm+aPRAbiJjf7W1PrFFPaSU2AOv7IF05Gw2Tx1CoEWYEIkFBYU7fqgKtK33xE=
-=PbgS
+iQEcBAEBCAAGBQJQSvikAAoJEJ0WA1zPCt1hE6IIALYpihypSmaIGmfN7xju5dvn
+FofZKHpQBcFEsh+6mzVxcVTkPhZKHdNFG0wzT9rRmhLdIxzYzPXbhwieVyM7Ni6I
+jJabBxFsHu1MpeGWCBqWNAvZ/tov4KwW+i5pyPCJ6MV/vcWf8UiCrhZRRhrK+zGq
+frUZkSzN8Xi2//7qkiq0lrT+6K1pS3taIwZ0esDk7sX/ovwq7VsxuKMkrJ06xSxu
++hK+OIzGvA6wcYSACiJkZtAmBvCraL45jRxsQYH/Qtg/dWt28qXXXCpmNQOGXahq
+CyvxKVqMoAiuSfse0cmfJXdbzZ4v3kIQXAB5aT8AdRv9utd3IN+E3ktXXERKKxI=
+=eJKG
-----END PGP SIGNATURE-----
diff --git a/app-emulation/wine/wine-1.5.12.ebuild b/app-emulation/wine/wine-1.5.12.ebuild
new file mode 100644
index 000000000000..cdbdc61cfdec
--- /dev/null
+++ b/app-emulation/wine/wine-1.5.12.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.12.ebuild,v 1.1 2012/09/08 07:49:50 tetromino Exp $
+
+EAPI="4"
+
+inherit autotools eutils flag-o-matic multilib pax-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
+ inherit git-2
+ SRC_URI=""
+ #KEYWORDS=""
+else
+ MY_P="${PN}-${PV/_/-}"
+ SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
+ KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+ S=${WORKDIR}/${MY_P}
+fi
+
+GV="1.7"
+MV="0.0.4"
+PULSE_PATCH="winepulse-2012.06.15.patch"
+DESCRIPTION="free implementation of Windows(tm) on Unix"
+HOMEPAGE="http://www.winehq.org/"
+SRC_URI="${SRC_URI}
+ gecko? (
+ mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
+ win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
+ )
+ mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
+ http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
+REQUIRED_USE="elibc_glibc? ( threads )
+ mono? ( || ( win32 !win64 ) )
+ osmesa? ( opengl )" #286560
+RESTRICT="test" #72375
+
+MLIB_DEPS="amd64? (
+ truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
+ X? (
+ >=app-emulation/emul-linux-x86-xlibs-2.1
+ >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
+ )
+ mp3? ( app-emulation/emul-linux-x86-soundlibs )
+ odbc? ( app-emulation/emul-linux-x86-db )
+ openal? ( app-emulation/emul-linux-x86-sdl )
+ opengl? ( app-emulation/emul-linux-x86-opengl )
+ scanner? ( app-emulation/emul-linux-x86-medialibs )
+ v4l? ( app-emulation/emul-linux-x86-medialibs )
+ app-emulation/emul-linux-x86-baselibs
+ >=sys-kernel/linux-headers-2.6
+ )"
+RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
+ perl? ( dev-lang/perl dev-perl/XML-Simple )
+ capi? ( net-dialup/capi4k-utils )
+ ncurses? ( >=sys-libs/ncurses-5.2 )
+ fontconfig? ( media-libs/fontconfig )
+ gphoto2? ( media-libs/libgphoto2 )
+ openal? ( media-libs/openal )
+ udisks? (
+ sys-apps/dbus
+ sys-fs/udisks:2
+ )
+ gnutls? ( net-libs/gnutls )
+ gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ X? (
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXxf86vm
+ )
+ xinerama? ( x11-libs/libXinerama )
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ opencl? ( virtual/opencl )
+ opengl? ( virtual/opengl )
+ gsm? ( media-sound/gsm )
+ jpeg? ( virtual/jpeg )
+ ldap? ( net-nds/openldap )
+ lcms? ( =media-libs/lcms-1* )
+ mp3? ( >=media-sound/mpg123-1.5.0 )
+ nls? ( sys-devel/gettext )
+ odbc? ( dev-db/unixODBC )
+ osmesa? ( media-libs/mesa[osmesa] )
+ pulseaudio? ( media-sound/pulseaudio )
+ samba? ( >=net-fs/samba-3.0.25 )
+ selinux? ( sec-policy/selinux-wine )
+ xml? ( dev-libs/libxml2 dev-libs/libxslt )
+ scanner? ( media-gfx/sane-backends )
+ ssl? ( dev-libs/openssl )
+ png? ( media-libs/libpng )
+ v4l? ( media-libs/libv4l )
+ !win64? ( ${MLIB_DEPS} )
+ win32? ( ${MLIB_DEPS} )
+ xcomposite? ( x11-libs/libXcomposite )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ )
+ xinerama? ( x11-proto/xineramaproto )
+ !hardened? ( sys-devel/prelink )
+ virtual/pkgconfig
+ virtual/yacc
+ sys-devel/flex"
+
+src_unpack() {
+ if use win64 ; then
+ [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
+ && die "you need gcc-4.4+ to build 64bit wine"
+ fi
+
+ if use win32 && use opencl; then
+ [[ x$(eselect opencl show) = "xintel" ]] &&
+ die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
+ fi
+
+ if [[ ${PV} == "9999" ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${MY_P}.tar.bz2
+ fi
+}
+
+src_prepare() {
+ local md5="$(md5sum server/protocol.def)"
+ epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
+ epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
+ epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
+ epatch "${DISTDIR}/${PULSE_PATCH}" #421365
+ epatch_user #282735
+ if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
+ einfo "server/protocol.def was patched; running tools/make_requests"
+ tools/make_requests || die #432348
+ fi
+ eautoreconf
+ sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
+ sed -i '/^MimeType/d' tools/wine.desktop || die #117785
+}
+
+do_configure() {
+ local builddir="${WORKDIR}/wine$1"
+ mkdir -p "${builddir}"
+ pushd "${builddir}" >/dev/null
+
+ with_osmesa=$(use_with osmesa)
+ if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
+ elog "win32 osmesa support is disabled for now, see bug #430268"
+ with_osmesa=--without-osmesa
+ fi
+
+ ECONF_SOURCE=${S} \
+ econf \
+ --sysconfdir=/etc/wine \
+ $(use_with alsa) \
+ $(use_with capi) \
+ $(use_with lcms cms) \
+ $(use_with cups) \
+ $(use_with ncurses curses) \
+ $(use_with udisks dbus) \
+ $(use_with fontconfig) \
+ $(use_with gnutls) \
+ $(use_with gphoto2 gphoto) \
+ $(use_with gsm) \
+ $(use_with gstreamer) \
+ --without-hal \
+ $(use_with jpeg) \
+ $(use_with ldap) \
+ $(use_with mp3 mpg123) \
+ $(use_with nls gettext) \
+ $(use_with openal) \
+ $(use_with opencl) \
+ $(use_with opengl) \
+ $(use_with ssl openssl) \
+ ${with_osmesa} \
+ $(use_with oss) \
+ $(use_with png) \
+ $(use_with threads pthread) \
+ $(use_with pulseaudio pulse) \
+ $(use_with scanner sane) \
+ $(use_enable test tests) \
+ $(use_with truetype freetype) \
+ $(use_with v4l) \
+ $(use_with X x) \
+ $(use_with xcomposite) \
+ $(use_with xinerama) \
+ $(use_with xml) \
+ $(use_with xml xslt) \
+ $2
+
+ emake -j1 depend
+
+ popd >/dev/null
+}
+
+src_configure() {
+ export LDCONFIG=/bin/true
+ use custom-cflags || strip-flags
+
+ if use win64 ; then
+ do_configure 64 --enable-win64
+ use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
+ else
+ ABI=x86 do_configure 32 --disable-win64
+ fi
+}
+
+src_compile() {
+ local b
+ for b in 64 32 ; do
+ local builddir="${WORKDIR}/wine${b}"
+ [[ -d ${builddir} ]] || continue
+ emake -C "${builddir}" all
+ done
+}
+
+src_install() {
+ local b
+ for b in 64 32 ; do
+ local builddir="${WORKDIR}/wine${b}"
+ [[ -d ${builddir} ]] || continue
+ emake -C "${builddir}" install DESTDIR="${D}"
+ done
+ dodoc ANNOUNCE AUTHORS README
+ if use gecko ; then
+ insinto /usr/share/wine/gecko
+ doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
+ use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
+ fi
+ if use mono ; then
+ insinto /usr/share/wine/mono
+ doins "${DISTDIR}"/wine-mono-${MV}.msi
+ fi
+ if ! use perl ; then
+ rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
+ fi
+
+ if use win32 || ! use win64; then
+ pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
+ fi
+ use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
+
+ if use win64 && ! use win32; then
+ dosym /usr/bin/wine{64,} # 404331
+ dosym /usr/bin/wine{64,}-preloader
+ fi
+}