summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2013-03-31 03:40:08 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2013-03-31 03:40:08 +0000
commit8323f8147d468388ddf1de9a9d8cd3b83c1463fc (patch)
treef5da4c458c92fa0f161df47077e32a1c8d26ce0f /app-emulation
parentRemove old versions. (diff)
downloadhistorical-8323f8147d468388ddf1de9a9d8cd3b83c1463fc.tar.gz
historical-8323f8147d468388ddf1de9a9d8cd3b83c1463fc.tar.bz2
historical-8323f8147d468388ddf1de9a9d8cd3b83c1463fc.zip
Version bump, see http://www.winehq.org/announce/1.5.27 for the announcement.
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/wine/ChangeLog7
-rw-r--r--app-emulation/wine/Manifest18
-rw-r--r--app-emulation/wine/wine-1.5.27.ebuild305
3 files changed, 321 insertions, 9 deletions
diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog
index fcdb237175a3..00b3a564b622 100644
--- a/app-emulation/wine/ChangeLog
+++ b/app-emulation/wine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/wine
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.458 2013/03/18 03:28:57 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.459 2013/03/31 03:40:03 tetromino Exp $
+
+*wine-1.5.27 (31 Mar 2013)
+
+ 31 Mar 2013; Alexandre Rostovtsev <tetromino@gentoo.org> +wine-1.5.27.ebuild:
+ Version bump, see http://www.winehq.org/announce/1.5.27 for the announcement.
*wine-1.5.26 (18 Mar 2013)
diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest
index 9ff6a4552156..a3515862b004 100644
--- a/app-emulation/wine/Manifest
+++ b/app-emulation/wine/Manifest
@@ -32,6 +32,7 @@ DIST wine-1.5.23.tar.bz2 21216425 SHA256 f973fda335dcd5f07f9784fbba27363dc448a5f
DIST wine-1.5.24.tar.bz2 21204749 SHA256 6641fd819312f29a72b5311c29210a323840d05c28702675c4d79cce255cfbfd SHA512 2201722c9b6eb6ee4616ce4ee115f2dddebca8735322553f0a5f77fe51f16eeaeb9b213fa507bfede424431c65f95cee05a9b214bed304708f35fbc7882e9e78 WHIRLPOOL ab158044835be45d92a008215edd5e48529d13ad12b71be214e1fdef4741534f083a79102c50e6e32f429f6587241c46fcb87228d35a7fff8c2d58836a1985ae
DIST wine-1.5.25.tar.bz2 21381514 SHA256 3d93266fbc1bf04fbe28c0028d436610273413884ceeba47c8f8811db6cf2220 SHA512 7a7944afcc925d9de4a6aaea5e47f6ae86304e59ffe7476a936f3a329104558ebb8b7f4ffd1510ac0c6601d53bb63349a8ec282547bf2a3b6027e8a1b8420289 WHIRLPOOL 4b70cf4167b5dd14824cb8614056719601d949779fbd7c2bbcdfd2bb5185dfcf5840add740f91a7ded1cfd1fb12e55e44995b9cb18280b56abcb8b977aeee132
DIST wine-1.5.26.tar.bz2 21359704 SHA256 97a9a3cbbda848c55bbe09fd455be834ccf5ab82472feaef3949a1cd3efe8cc4 SHA512 263b320d08b6142784d665f06d9310bc73193f38bddb01cf07a9c381796888fc651e77bec7e6838adf1ec6cf0abd8673af51eea6e760826deaafb462a7ee318d WHIRLPOOL 058e53ddf6f77da30a809ec8cb6234b13d5a9a416ccfc8a5edfc418ee45ef7373645315fe80f86ef6f045b3e4ffec0bdce8c4f4f5b9342f619eb858f026d6de9
+DIST wine-1.5.27.tar.bz2 22034699 SHA256 ca2bd31d15b6ddb7f900c813ed113b732a61057d7e1669ab37494284c259d4b8 SHA512 429d1c6e90b3b75021b3b37da5fa58d880b4f574a59ddf5f3c626a6dbd1674136942ce433eec2887a0d1a66ab63ec518b78c1d7700e7f4c7305656fe1833a590 WHIRLPOOL 605b762f22bf2cb78008728a3ab3f1f9de0eaf6c2ae656c55778797ed0765bf12bfdab417175e4402c8e55a896d8326c3319ee196b51591e354411213f3b59f4
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
DIST wine-1.5.5.tar.bz2 20158084 SHA256 e7d5ba716d2ac47193fa31eff66cc179145ddcb453c6923eaea70596a82b084e SHA512 f9d080cf3e17b73658222b95e15c353d40963aaaa9cbb4b6293ea69709e68715a97e89854c336288ba6a0a41cb0fc9e2713721705935835e4c9f53fa5b7a3e74 WHIRLPOOL 9f44bf75854410c142f94fe12e028ab120521ffd5b9de682c3eeb6690a35c8b4f5be2eecfd6e02e2bc28594f1524e2b6604035744d6b56a9c3d16d5c0cdc6d5d
@@ -95,6 +96,7 @@ EBUILD wine-1.5.23-r1.ebuild 8161 SHA256 faab900381aa485011ac2d09b2a93fbf669750d
EBUILD wine-1.5.24.ebuild 8158 SHA256 554cbf69aea2116db721fad15b25f3051791681b4cd58707d2bec1a581ad938c SHA512 7b0a1c9a124d57d3cb4e46500d7a32c3a4d9fc6d70254148f492859d5385daf41047bac5f93e68f04248d17d6a2d14e1472f39872c076e3320a15a749975f488 WHIRLPOOL c2a098543d72fdd9c8fb85bd8e96347201318c292fc3f6011273719d4d654a14b31371cab8cef1582c263d275ae238e5706333aff076666c1c9b67d324d781a7
EBUILD wine-1.5.25.ebuild 8794 SHA256 fa2f326e3c91101d25dc0cb7e7c9182f83693ccb6ffd0597b3943e68c02215a7 SHA512 bd1965bc28f14d11edd14d02605c3cf40eb47448991cc7cbf21ff34342afb4c2e6f53e0f2cbee53e6a8b99904b68559d086844118e858733f76a5917628c98f6 WHIRLPOOL a1dac87c85613d3e1a32b4ffecc7839a487224f8e3df81098d812524c25b8448507b2b18986bd5e6d4284d68f91dacbe7c85fc93e802305f87dff419ab23a5bf
EBUILD wine-1.5.26.ebuild 8794 SHA256 22bb522337544abdca902f2c935e2f60ef4ead386a5eedceaf0bae5d2bb93964 SHA512 7ecc174ecedda8a1709de2a15dba628510c6a797d4291c5511ede23cec080c3d0e911071f8ce1ee21559cc29d90312c7beaa2a8f2e744cdcde04d185a745e84f WHIRLPOOL d19b8825a81d4ad89cc7b645bfa1ba8d9b1726bd9523219ed9fe3f4e4a80b4dc76110996cf41d6810c0a7337a53697aea43560d6f2ededee07395252f3c5b697
+EBUILD wine-1.5.27.ebuild 8794 SHA256 b8214a379a8734d7c09a6ba5a26bd6a73d345a7fb46d26d54476c984cb57d438 SHA512 38b3227549307d880e199aa005c3ab35b0b2e811ea844e7ba6834b897c87e5e3c4780f61b8b1936382834ddab35c28d1842d22da993696e5b3bb220d52f549a8 WHIRLPOOL 2cd0c84a4d9c90fcbb538ced3e64a6039353c7dbc7873d009347af35ec9ea1f55ecebd44ce454dad800ca5bd0416465839880927cb692555de09fab8a8ff034f
EBUILD wine-1.5.3.ebuild 6472 SHA256 a30de3a10bffde82ec8dbeb8e672bce3f856eaed01929ba96fb4b349b90b881e SHA512 c15a15bcafdd17781afde71b23ea2702fcbb59955d774c208a2d72f9850698c416a363dd87e8b4e61e54961b7d8eb1ab68bbc7a4b7f85ddc9e53733cb35111c5 WHIRLPOOL 3768fba372eb40db0f777e1e37ef48882b04be70566c93a0ec9b3fde0e8200f38a3fcfe8e434c2231635beab1b33a928b3c27686d7a7c3cde36c1b1b11b503f7
EBUILD wine-1.5.4.ebuild 6472 SHA256 ed7909b53cc4c1834aad421902dd6510084d6ab0d634d444bb78f28f478ec43c SHA512 d840732b25ad02aae9af364a5384db3d6ea69d1bbc71ee48118558f0e127d48c4b90b2ca64ba6d49a2a87a3892547d20c4d85484cf7af5b394be807acf72ab5d WHIRLPOOL def73de0006d9647e8f62e004a29d6a930b5a7e5d4961d33cb10198d694d32652643b0b58301b569499052a1702368d09d46cb4420dfd8ccbd09a213d2c849c0
EBUILD wine-1.5.5.ebuild 6415 SHA256 d247e6e7f72c925c847b37859e5a2b5fb74bcde5c662509d58248a6da8452631 SHA512 27c963d5f5f0f0b64d7b0689273fb9ef5067304468eb4ea865389562cbd3c8c9af4bb892bd6fc6d2c3fb5cf7502dab3410214ff8de274411338e3769949ba30f WHIRLPOOL d3944f8795a06b18db0ecec166f129c43e62390a7f588ec8eca50aa885191905636e55b1a587ce335b6842b8ed079428daf5440f1e18139f677200a1c819d76e
@@ -103,17 +105,17 @@ EBUILD wine-1.5.7.ebuild 6923 SHA256 08ac49eccdb16bbe11e246e01c449b4a46df3fba01e
EBUILD wine-1.5.8.ebuild 6923 SHA256 29f247c643c007c3d45f4e1700d622879f2805935b0c04c8331d8931a523be35 SHA512 e8b0e8df2f18bb3d736091d0f26f6509861244d028b2cf5c5fd6f6fc5071cdcdfa526f1f5f3af7c316926fc0ab5bee2ff7174b3714eb1d06c03a3778f3de33ff WHIRLPOOL 7867d477b5239a283d43ef7c401c34869c969d6aac66c450a627d8d19dfe7e874020823b1f41944dfe4819ab92db81cb137b3a914b101809849267a3779e0eb7
EBUILD wine-1.5.9.ebuild 6923 SHA256 374268a106f968d93a5db63dcdb28b06a6682c30166b03835a18c8c5c70aead2 SHA512 ca61b5d254f015ca808dd665d4f6981090c1da004bc4f11cb5d1d6ea6f42b00763452a606346d1bfe9e60c35f9496bf4efc85ffd6a4cd4080cd7d515bb9d983b WHIRLPOOL e6453e640c3dbe82465e9232fc691b6f5c618f53d6d59794fd081a02112c384836e36551642e5b2430d5d2a7c5f715203b3e1f03667cfba458e96244ff9637e9
EBUILD wine-9999.ebuild 8794 SHA256 46dad1200f67b8e02d856582a8f6f121b7470db49ea4cb9682b078e9042242b2 SHA512 5fe7b93c45b32bfd660c2d68a0b344124069278d228434a98b69901393c38531c8a80353db6f9142cfd1fc1f7f79ec6413048ab9f07323be16fcc5fbaa29f7c5 WHIRLPOOL 8f6eaa2aedfee81de5a1cfb06ae80c1b2cf7baf5a1318dc2c347f422799615381b89f2d5ae354118d6d170d737e5ba74644b2acc1b542dbf392cd4a802421cf6
-MISC ChangeLog 4991 SHA256 488d06b927799a1ed38729e274aba3a9b3e0087468bb50ab7309b909bf0340d4 SHA512 9413392d41c167da130c2f7d01a4ab44c1a804d2a01654b1495f1267795fbe5e9b0812c72039261fb13e1fa8617dae43c422e5ff930a218ac3f61312a8459b72 WHIRLPOOL eb32fcd976450246f8fd3c5269237f51beaf702f391a8d8a1d4d2534e03faf828cf1b7eadcfed76440766be9fc0b4acdea93c64e2a7feb545b8d98dcc8379f94
+MISC ChangeLog 5180 SHA256 68ac415e21b4abb19aefe3234cd9ec585663609c5894102a89f9c3e10197b0a7 SHA512 cf23bcab319a742d117eb568b9aba22aa26bb408472878fafd755ce6d707a83704379d2dbdc3e2d02b85d34b815e2f2e46431867bb389a1f9784e8a37081c3a3 WHIRLPOOL 563bdaa1c49c83130e1f1b2f6153dcf5053781580c914b02e1d53d1b8bdaeb7050942ddeb75a66fbc4f2b48767b73e532722df14dd6e7bb61c5d5eca409afae4
MISC ChangeLog-2012 100362 SHA256 8e70fc54e7945c1f41e3e0b64fef6b9a7fe89acdaf8c79a06a16048fe8d2e26c SHA512 ca875e847ba100e1f19774b31a2b45a81d776275e3d11944be8a7b01dfcdbf4265b1a340d691bc4fe4054fea006059a06ed52bc0516b1f8b44a1772a1c813278 WHIRLPOOL 36ec708601a25cb8fa93b471112538480b6ef82cc4e6703b3d045f883078b49209ceaeef7bafa8417b881c2d11df84df9c83d1985d0d687a11f3db3de5abb014
MISC metadata.xml 1857 SHA256 8a16a223604fe47d86a35f79912e60aa419c467dd050ae21d96ea45d615f92ea SHA512 279a5169d2ab779ad41889f8d6b24e8d2de7bba3a611470d5d9cb6c5f27930d336de07bd2431ae9a0c9065887456c150fb2e3582201280945f8fb1520e0a3a3e WHIRLPOOL 1797da0945b3134c72ed15da155a26b24431f35051bc729edec9466a2db73a49a1919993a562e23c8315c362f10a43b3d26fd9fbec205518fadbf9b6324172d3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJRRon6AAoJEJ0WA1zPCt1hU8YH/RBr8izzIM0ipmgpHTIB2Npv
-Cq0ojPRT+ftrDFZO4zuG6qRXeMs5jqA1afNMKTcUkFK+g0yCk9kdQIbmifLbKddz
-rNEcu/iNINzGGma9LtZAL/PdXgllvjHRuG81uOYO5TiKsKDB30mPrrhWObdr+MmD
-LOjh+fBpGeYgASmMSZD8qH3ZirOkLN3Emo9LW794O2PcIG27IEVMbTZD40vTWxuC
-DHX240BlH1Wk4WP0awq6bEmvVDA+HFdibaW5pPHcsComI1Tw3AMF62VxAfgWEgso
-jinVsq7trOIrKdy4lGGii42rmaV4DhopCI4hIGgGbs1j/wVMsvGbnC9g9eO+/4c=
-=4BuC
+iQEcBAEBCAAGBQJRV7AUAAoJEJ0WA1zPCt1hGm4H/iog6np2uVhzZXlX765RsiCV
+jxDXtwkJ2Md6idOKHrL48mu4qR4eHzG+sN1u0NUvHX7r60ouQL9ISQOJEAYa76sU
+wcc0KJ/HmDfgI8YZYAimP/GRCHFPa6kk+D+CbPazJ6Hg4ZBCcGARLgGVmVZFQLss
+yTGUu7R8mX4+YlfU5RghYC4dWHLv5gYvkIAA2ugdJ0s5qlp9luyk562jeo00y3xy
+qXrJLKUTvwAvF32QSCIqSDABZsW4IjxHkC1B/oR8zFGYXknuk/uAb/p+z7XGImhQ
+YBgGdXjJM9tL2289LhX6ia55vEql08VeFLrsGTATuc+tJ1uZalKVmQ1oKHmvm+Y=
+=07o3
-----END PGP SIGNATURE-----
diff --git a/app-emulation/wine/wine-1.5.27.ebuild b/app-emulation/wine/wine-1.5.27.ebuild
new file mode 100644
index 000000000000..2dc2cbe85fd4
--- /dev/null
+++ b/app-emulation/wine/wine-1.5.27.ebuild
@@ -0,0 +1,305 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.27.ebuild,v 1.1 2013/03/31 03:40:03 tetromino Exp $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-multilib eutils flag-o-matic gnome2-utils multilib pax-utils toolchain-funcs virtualx
+
+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.9"
+MV="0.0.8"
+PULSE_PATCHES="winepulse-patches-1.5.25"
+WINE_GENTOO="wine-gentoo-2012.11.24"
+DESCRIPTION="Free implementation of Windows(tm) on Unix"
+HOMEPAGE="http://www.winehq.org/"
+SRC_URI="${SRC_URI}
+ gecko? (
+ abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
+ abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
+ )
+ mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
+ http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
+ http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="+abi_x86_32 +abi_x86_64 alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +X xcomposite xinerama xml"
+[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
+REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
+ test? ( abi_x86_32 )
+ elibc_glibc? ( threads )
+ mono? ( abi_x86_32 )
+ osmesa? ( opengl )" #286560
+
+# FIXME: the test suite is unsuitable for us; many tests require net access
+# or fail due to Xvfb's opengl limitations.
+RESTRICT="test"
+
+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
+ )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
+ X? (
+ x11-libs/libXcursor
+ x11-libs/libXext
+ 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/glu
+ virtual/opengl
+ )
+ gsm? ( media-sound/gsm:= )
+ jpeg? ( virtual/jpeg:= )
+ ldap? ( net-nds/openldap:= )
+ lcms? ( media-libs/lcms:0= )
+ mp3? ( >=media-sound/mpg123-1.5.0 )
+ nls? ( sys-devel/gettext )
+ odbc? ( dev-db/unixODBC:= )
+ osmesa? ( media-libs/mesa[osmesa] )
+ 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:0=
+ net-libs/gnutls:= )
+ png? ( media-libs/libpng:0= )
+ v4l? ( media-libs/libv4l )
+ xcomposite? ( x11-libs/libXcomposite )
+ amd64? (
+ abi_x86_32? (
+ gstreamer? ( app-emulation/emul-linux-x86-gstplugins )
+ truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] )
+ X? (
+ >=app-emulation/emul-linux-x86-xlibs-2.1[development]
+ >=app-emulation/emul-linux-x86-soundlibs-2.1[development]
+ )
+ mp3? ( app-emulation/emul-linux-x86-soundlibs[development] )
+ odbc? ( app-emulation/emul-linux-x86-db[development] )
+ openal? ( app-emulation/emul-linux-x86-sdl[development] )
+ opengl? ( app-emulation/emul-linux-x86-opengl[development] )
+ osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] )
+ scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
+ v4l? ( app-emulation/emul-linux-x86-medialibs[development] )
+ >=app-emulation/emul-linux-x86-baselibs-20130224[development]
+ >=sys-kernel/linux-headers-2.6
+ )
+ )"
+[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
+ pulseaudio? (
+ media-sound/pulseaudio
+ sys-auth/rtkit
+ )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ )
+ xinerama? ( x11-proto/xineramaproto )
+ prelink? ( sys-devel/prelink )
+ virtual/pkgconfig
+ virtual/yacc
+ sys-devel/flex"
+
+# These use a non-standard "Wine" category, which is provided by
+# /etc/xdg/applications-merged/wine.menu
+QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
+usr/share/applications/wine-notepad.desktop
+usr/share/applications/wine-uninstaller.desktop
+usr/share/applications/wine-winecfg.desktop"
+
+src_unpack() {
+ if use abi_x86_64; then
+ [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
+ && die "you need gcc-4.4+ to build 64bit wine"
+ fi
+
+ if use abi_x86_32 && use opencl; then
+ [[ x$(eselect opencl show) = "xintel" ]] &&
+ die "Cannot build wine[opencl,abi_x86_32]: intel-ocl-sdk is 64-bit only" # 403947
+ fi
+
+ if [[ ${PV} == "9999" ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${MY_P}.tar.bz2
+ fi
+
+ unpack "${PULSE_PATCHES}.tar.bz2"
+ unpack "${WINE_GENTOO}.tar.bz2"
+}
+
+src_prepare() {
+ local md5="$(md5sum server/protocol.def)"
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
+ "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
+ "${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
+ "${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
+ )
+ [[ ${PV} == "9999" ]] || PATCHES+=(
+ "../${PULSE_PATCHES}"/*.patch #421365
+ )
+
+ autotools-utils_src_prepare
+
+ if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
+ einfo "server/protocol.def was patched; running tools/make_requests"
+ tools/make_requests || die #432348
+ fi
+ sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
+ sed -i '/^MimeType/d' tools/wine.desktop || die #117785
+}
+
+do_configure() {
+ local myeconfargs=(
+ "${myeconfargs[@]}"
+ CCAS="$(tc-getAS)"
+ )
+
+ if use amd64; then
+ if [[ ${ABI} == amd64 ]]; then
+ myeconfargs+=( --enable-win64 )
+ else
+ myeconfargs+=( --disable-win64 )
+ fi
+
+ # Note: using --with-wine64 results in problems with multilib.eclass
+ # CC/LD hackery. We're using separate tools instead.
+ fi
+
+ autotools-utils_src_configure
+}
+
+src_configure() {
+ export LDCONFIG=/bin/true
+ use custom-cflags || strip-flags
+
+ local myeconfargs=( # common
+ --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 ssl 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)
+ $(use_with osmesa)
+ $(use_with oss)
+ $(use_with png)
+ $(use_with threads pthread)
+ $(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)
+ )
+
+ [[ ${PV} == "9999" ]] || myeconfargs+=( $(use_with pulseaudio pulse) )
+
+ multilib_parallel_foreach_abi do_configure
+}
+
+src_compile() {
+ autotools-multilib_src_compile depend
+ autotools-multilib_src_compile all
+}
+
+src_test() {
+ if [[ $(id -u) == 0 ]]; then
+ ewarn "Skipping tests since they cannot be run under the root user."
+ ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
+ return
+ fi
+
+ # FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
+ multilib_toolchain_setup x86
+ local BUILD_DIR="${S}-${ABI}"
+ cd "${BUILD_DIR}" || die
+ WINEPREFIX="${T}/.wine-${ABI}" Xemake test
+}
+
+src_install() {
+ local DOCS=( ANNOUNCE AUTHORS README )
+ autotools-multilib_src_install
+
+ emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
+ if use gecko ; then
+ insinto /usr/share/wine/gecko
+ use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
+ use abi_x86_64 && 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
+
+ use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
+ use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
+
+ if use abi_x86_64 && ! use abi_x86_32; then
+ dosym /usr/bin/wine{64,} # 404331
+ dosym /usr/bin/wine{64,}-preloader
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}