summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2014-03-08 04:36:01 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2014-03-08 04:36:01 +0000
commit415c06d0faf7fcd1bb3a890c09b8c844a194143d (patch)
tree4dae3a550ac6e1295eb8a59315d5f96067a86cb3 /app-emulation/wine
parentVersion bump. (diff)
downloadhistorical-415c06d0faf7fcd1bb3a890c09b8c844a194143d.tar.gz
historical-415c06d0faf7fcd1bb3a890c09b8c844a194143d.tar.bz2
historical-415c06d0faf7fcd1bb3a890c09b8c844a194143d.zip
Version bump, see http://www.winehq.org/announce/1.7.14 for the announcement.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
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.7.14.ebuild445
3 files changed, 454 insertions, 16 deletions
diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog
index 53f79c424ac9..ae5822f01670 100644
--- a/app-emulation/wine/ChangeLog
+++ b/app-emulation/wine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/wine
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.498 2014/03/04 06:10:59 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.499 2014/03/08 04:35:53 tetromino Exp $
+
+*wine-1.7.14 (08 Mar 2014)
+
+ 08 Mar 2014; Alexandre Rostovtsev <tetromino@gentoo.org> +wine-1.7.14.ebuild:
+ Version bump, see http://www.winehq.org/announce/1.7.14 for the announcement.
04 Mar 2014; Alexandre Rostovtsev <tetromino@gentoo.org> wine-1.6.ebuild,
wine-1.6.1.ebuild, wine-1.6.2.ebuild, wine-1.7.0.ebuild, wine-1.7.3.ebuild,
diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest
index b9dbd056fa6a..101761f7ae2c 100644
--- a/app-emulation/wine/Manifest
+++ b/app-emulation/wine/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX wine-1.1.15-winegcc.patch 1556 SHA256 dbd89db561d7583faf317d795b8c11231575d885e21c6414add39079604dbd0d SHA512 a6a6dbde16c1f850a5cb4d6b6fe1a8129bb267c44c19de63a4eb26933fd69ff98e440d257e467d766a6a6ac326d72dd621cae37fb593c8c62e43f588ccef3f25 WHIRLPOOL 3aea848b17217ab215f860c3526c44a5d9bd9e7adfe35c02bb5c841461bdaf4bd8ac4f8e8b990c0558980381fc1b2441b79edc3ff6dcde7455203fbd1fc3f49c
AUX wine-1.2.3-msxml3-libxml2-headers.patch 14328 SHA256 0a046e532343f9a4508307434a2f39e0a3a50a66c165b69e56dd671488d4ba7d SHA512 837bde9cfefa12b81197c9fa2978c8b17f760594eb9d6b8fe96ab4baf2f34b5d2330db245c0ee180a9d5aa59657f52b8500fd976bb70b111d0f32d4103f71f94 WHIRLPOOL e74ff9ad63b95878337d4eac342e9abbc60c73af2f4017cdd87671c472c49bee953759b9786d5b245669352dc23ac338178b415d2c4f01516c385fee66a167b5
AUX wine-1.4_rc2-multilib-portage.patch 1256 SHA256 9d0acd304d11d1bf73f56699754aaa1bfe1facba90648ee330fdbe08d9ff4938 SHA512 ac0b29e2b4c9b04bb6694a4e4da654446f68efbf90cda6809b45dad51e6679ac5410398763fde7e9505ef959493a037aa588cee58d14906563a4746702d2b0e9 WHIRLPOOL 8ea26266c327bc8313eca9b5d39c9741b226037750ca2d1d33262420093e05c306e7f004656c362c3c50b330d050cf9e5fceaa2b024a82809aae8b3617b0ae18
@@ -57,6 +54,7 @@ DIST wine-1.7.10.tar.bz2 21312974 SHA256 44270e4b97ef930e4e4b59088e6e3972e91e85b
DIST wine-1.7.11.tar.bz2 21359534 SHA256 c07d2771ed96c45d428bb11d164c5e4bbe48d6857a0a4cba2e0b73c5f1044f93 SHA512 9743c4cf382b6846d98aa383d9db22cb99bca510ec2db3e9224f10d08095c4a3fe4449b3019d5a6f401458a98696d096a454d00584c667074aed618c47544dcf WHIRLPOOL 38356b5df2c9f5a78b9eb66c6e0f09f7371c57d84f601e6614228b64c629a2c9c222696078d7627df850792a0111e7876fe460c4575bac4accf2f56a391315c6
DIST wine-1.7.12.tar.bz2 21366705 SHA256 2dcdff7bf8bac2bc10da85e3e632e8add830f22cf416173e53abca4ec580b392 SHA512 7b5be06dd6d71512884bbcc386fb021725125fb95a4493a033624c2b801eaec7fb4be4b70894ee914da138d8e310da3ac49b8a32538ee21d127201cebc44b449 WHIRLPOOL fb04306058403f82df8cf3e88d21d8011bd2e7cdfa4c31f28e64ea0d24393cd6ed8f61724839a1b5cde272ac8dd854c6c6185e7dee8271881b9b3eb1612f4bbe
DIST wine-1.7.13.tar.bz2 21385204 SHA256 a72fdee6e1898007b38f3b30584f86d996567ad8d2f1cc0fe3a877be0493b9df SHA512 ba01933770c0fbaf056fe252b77eb7f2c160f5455450cace638bc288683fb8f6d97421927ec935795eda9aae500bfeb19e6ca8d632822c345f8bfb34b3d27d15 WHIRLPOOL e500fb6cebee9d87aa0c9ed788df37e2f744c0cb1453a6dc20e447dabd9e1becabb00f93ea9272856aa35015703e98b7512c2e233f98e67143abc80b1ae7f182
+DIST wine-1.7.14.tar.bz2 21444526 SHA256 2df1937e28936ba33e70a42fddcee01097ca0fbdd4dbf2c2f05d8a2ff5263e09 SHA512 0bd3d74b375c14b3f3601a4e590e4dd1808ff60f6d3d87241596ea8649c910968a2e95bd5031d5065253b6b938ce9002bad159c95457578f2cd9c34e06bac8e6 WHIRLPOOL 31b94611bf5d3c9123829fc9375b8c9306b6e044ed07c08ee0f4d5db47f88c38570f98514e45a0bc326d9352abb385375b9587e84fc23a70152f6696793eb622
DIST wine-1.7.3.tar.bz2 21489049 SHA256 c66c93c2ffec8d1d9922fbaa226b169d62deb77fcbfd0fbd7379b77dbd97d47f SHA512 41109866b259a5f939c9ca4c26ed0a5ca74fa9cafa2f348b83510dd386459c87ac044a6f954f2f83ce00961d866a6e636ed96aa9e94584b7a79486d434b406cc WHIRLPOOL 90e6aed8930e3496701292415ce87f29a87870a1d00ad26d4f3c4adf33cd296093d0ef3d363bf5cead1ebd5ab4e86907ccb015c10d85f6f90d5f48cd81681b0f
DIST wine-1.7.4.tar.bz2 21500746 SHA256 517b3465dbf5b516d3fe886c0f9d4f310dc1d4a38ca4e5580c5d66bab3fb6969 SHA512 4267eb43311fe53537a1864a70e88e4bf444b8979dc858725a1170ed06af4e727604a22bafb3deb448eeb62c170ce67ce8eb8082bce040f5488b1a4c4bc6bb95 WHIRLPOOL 7bb14e0dfd4f9a7411e1d5484dba62f8584a0e03997cc3c6192893dccbc7de316eb79a1e5b0ccf96d20e74cf512ebc79e760076ff4882625bc81b410ad8be0bf
DIST wine-1.7.8.tar.bz2 21463503 SHA256 30e17f5f863a09416f3d229666566b318dbb40f683d4ca6630012c60bb511804 SHA512 1fdaddb7909f818050854bf351d20f445cf6a5906b1bcc789c96ee8d5058c90815a91bbbc6444f3e4527748764f03ab5297585c174b433093a3354a827402fea WHIRLPOOL 3b5b18384ff04b80b936160c2c6e03676d69663c023f484981305c9272d0601b74cda5c5f7d56008b3900d702b1a4fe1929f16b1fba304a6480b076ffede663a
@@ -151,22 +149,12 @@ EBUILD wine-1.7.10.ebuild 12898 SHA256 b405cc7d4dc3bfb37cf814e8d21958298021db28d
EBUILD wine-1.7.11.ebuild 12898 SHA256 157aa456cdbe20b029ae430005a32232ed6c4d0514e43f652d097b96bd89cec2 SHA512 cfdd6f379ad270116ce1830d02a70e2fcbcc980b6f4c17d18fe4c0a972023831d06bb3f921dddf9dce058f1349fd0f2d18e6e0ca2eff60c78832bcf6357775b6 WHIRLPOOL 3e3bcf1d35e1c4ac34e45d9e976557ed7060b466bbe9b6ad0aef02cf8746d8671a7149e5ea2cdf297e91ee3d60017b28e90834df8934fcde41052d7601aa1ef2
EBUILD wine-1.7.12.ebuild 12899 SHA256 e176d47d4a7c898321bde37542a2657cad7a670eb45e21f6ac1b613f249bf524 SHA512 b88e79fc3ed8cb5546df592c088e31f6c4271a80326dc25c2fa43877188a7768a4fa55192cb35efc2555ace306892e539079ebb1a8703554cc724bf1c72a6b19 WHIRLPOOL 49eb48a9f2fd320282ebbdfdcc6aa11905600fc2c150cc7944ea3dd82635dbc8f990e0a601094bd1c9ea07529356614efb995800adea4024a767635426b69ea2
EBUILD wine-1.7.13.ebuild 12899 SHA256 3ed51d65e3da21d52072c0f0995e4235cd6a6596035e7dff6980177b24633adf SHA512 64b3cb170c6decdf4b4eb72d045d252147466da4abd1a7fd35398e21fee8da8d0cf4c23225c3215e3b1062e7f2abdbf8f5a2abbb2c1998a88b8ca9c5f9fcdc85 WHIRLPOOL 38638e6be0b3db9bb32f2dbf7e866e067512a658326525642c5141ad71d824c4a86bf19e934079175fc38dce97e537d069ff368a7f6a5a2e90209343c4c9acc1
+EBUILD wine-1.7.14.ebuild 12899 SHA256 caa5fb174b9022ea4667241acb92da3ede090857be1be63112ea0c51c1842785 SHA512 529fcf1f04237893d24480c120614266183cfa8f95d22afb26af8e01ec5c43319c75282252405a9d3475ec43fc4ac5e257ff32fff14ec143294ffd32ee83c5f1 WHIRLPOOL 58f09c192dc071fcc1c32b363a1f003bed6e487e36a47a4c491b126aed9f3e21e1ece766a52f8c5b5889b76bab655ad852727905964a1ec175f8bebc3b78dc55
EBUILD wine-1.7.3.ebuild 12565 SHA256 d4d42f201a5002b4b9544387d25852cb405f07b2b3aa73eeb10a0cecb803f9fa SHA512 471623eab39c56fa146b033f11101d0146dfaf6af799c0e6bdfc25cf383ac2287a8010fa92c6d1458aa04cc5771d0da0d10d9010755061ab1220955cdaba8d43 WHIRLPOOL d90283e6f9a137b5968f8a0b3a7666442ff1d9386da0faafb78b2de6042712954ea56e802a8e4aa029de2093aca4baa42fc772da7936b5302b5cad2f09b61485
EBUILD wine-1.7.4.ebuild 12565 SHA256 48459fa1d9211d785b6ce3665d51f619ab2f45c50449a3d6ded5df9f17464ea2 SHA512 6265037bfd2440ffe3a2c0f4f7b281c36edc3207dbd3956da9ce596aa46b3f2ddde65d2f7ab39bc5518fddc980fa8578adb0b0a6d1187cedd710f8a85c7d9432 WHIRLPOOL 27df5ace4d2decef09b780e00ab857922b0e308e912484ffd60b57450d653daf9f254d8e2b594efee223fb96467016349282b59ee6e8eeaaa159998b4d943886
EBUILD wine-1.7.8.ebuild 12896 SHA256 84904dbdcf3ecf20b67dacf66a9e2c49f5e58bec5e1e9b68e54f1f8712a22921 SHA512 b8d99f97dd6a271b4f3e7d91c6ef44db942db9fbc1e16058235ef2ac379749e8057e18cb8ba2d8060c215015b568e8432f3c11b94e57aaba8a194edf92d570e7 WHIRLPOOL 5d7e52d8311819473b6fc0507394a04bef4cb86bdf80c77f4341d43367a1a5b27c36f93087b48df92241bb00eb93398f593d9ad52ee3cdcac7f1e7372e20ed3e
EBUILD wine-1.7.9.ebuild 12896 SHA256 1b0432f149e9525e7fc65d97a2f9b2f2aef3b8932cb5b73aa0481936f2e5abe0 SHA512 e59c3e4d7f9a9c290ea3494f90509463e85c37bb1eab7df7706e9bcfa636d9ab3b62ee528ea91dc94b90b8ebe61fafa81b29a371c3b1e7b8da55859a20d7b03e WHIRLPOOL 0eea56d13e09dbdb145cfc798c8f5a4bc507cef5a561ee82a0868fb8ffba0caeb994685b6bc91b47558b2af5fe6ad4ed190c476fe056dece17912950efb73a30
EBUILD wine-9999.ebuild 12899 SHA256 13d707fb0203e0828c0262be6d009614742a4f57fb55e7b76d570b8f3d0d9da9 SHA512 dda434b9fd1d5f6fd0c67924d19a3e141b95ac786cd480246250477c4c46d2fd526a0007ea7d84ce80e5cc7352031d6249c9a040fcc762f3e323c3a0448ea841 WHIRLPOOL bef1f5d48187996b526760cabab2d73db12461e02f24dcb0f1d0bdd4d54e11e20eceb38b4a3d16ae51e51ed27d700ab8dea678ae09aaa48c90a6205f15f4ddff
-MISC ChangeLog 17875 SHA256 558c230d3fc7431b3db9fe579af228f67771d9c496d2e45a9a1dd936acc2ac75 SHA512 44c475ba3473cff6157911f2c6ee2f14d1fb0e8fdf13356dfc28035f0f7c700d888ac3341e0d0f71b9e121004f8019357c5a77057b6ce4706d689fde070e78bb WHIRLPOOL 3ba8c7a546a5506db1865ae3cb110d3d7379572eb8fcc4d4bc95e5c7139ac5ece960564a1a21a35234489aecdbf9698f2e4ed27ded5655d679cde1352162913c
+MISC ChangeLog 18064 SHA256 a335e7fc370fab8c285c51bc306dd316095fc09e8847aae1a24d8d1d3b76869d SHA512 fcee46df0dc43d2ca948905e11ea69da3957b17cc0de4574c1108e2e5ac80b1d8eff3cc9aeb659e326d9f6bf5e1bbf4e17ce0c504f9ab738c31113074d1ae004 WHIRLPOOL f4aa83bd7315823e37257370e317a29828ac13c97dc0d81c0a4d3c1fffe1da39023834e71458c44e8fd577f5212c80cd4dc6dd60e3f7eb939d27a50399276953
MISC ChangeLog-2012 100362 SHA256 8e70fc54e7945c1f41e3e0b64fef6b9a7fe89acdaf8c79a06a16048fe8d2e26c SHA512 ca875e847ba100e1f19774b31a2b45a81d776275e3d11944be8a7b01dfcdbf4265b1a340d691bc4fe4054fea006059a06ed52bc0516b1f8b44a1772a1c813278 WHIRLPOOL 36ec708601a25cb8fa93b471112538480b6ef82cc4e6703b3d045f883078b49209ceaeef7bafa8417b881c2d11df84df9c83d1985d0d687a11f3db3de5abb014
MISC metadata.xml 2236 SHA256 2b4d3de73fa84f3f3d192e3d29d8fd22796d4c5630151a380c3c33597263436e SHA512 884a7aa53e7694cec121453103bf3873cba1a8323f8a6ee5fc5e326b05610f1c2d36c07bc357c12777749a33f0ebf986f78341fea5c752dc14f3ab4b90f137a5 WHIRLPOOL 3a2b66e0af17c2e260621e5e065ece87be1a355c8da5bf3c8638f360ed5d1dcd062c44b0e26e72a708e5bc4fb5d8e054e0049ab58b090fc2fe5ed6e2cdee9c19
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iQEcBAEBCAAGBQJTFW4+AAoJEJ0WA1zPCt1h4BIH/29xVbIbNk+2bE9AfFQyW5Kz
-Pyd9XASBwdXkUCzRy8DQI/D7ZO8A5rsR4SdAG1LfS/k+TdCVUfG77/Z7XfeuxJ27
-QDAd5mA/DbuW4S5TVNpnKDvTCFd4LR1w9Qvju7HXFeyTSZFD7nuKLR9K/MaLm+bc
-M5Ys6ZaOYcwANuzb53G6FkLdNCdGv2K8hhHCOdtmlypDpYZK6tDGnWMoRreTUeEC
-6Ba4WxQeTRDMf4tVw+mX647PHc+fL/T43VRBhAqU16k2P3wiUZeLlqPL/Jv/d2BH
-+EZ3QT90frkJw5oX7m9YY5Zc3Vtx/ADhwGHExs+zPAEPNKxwgD2I2OsOYmiVJdk=
-=ln5J
------END PGP SIGNATURE-----
diff --git a/app-emulation/wine/wine-1.7.14.ebuild b/app-emulation/wine/wine-1.7.14.ebuild
new file mode 100644
index 000000000000..372470a76651
--- /dev/null
+++ b/app-emulation/wine/wine-1.7.14.ebuild
@@ -0,0 +1,445 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.14.ebuild,v 1.1 2014/03/08 04:35:53 tetromino Exp $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
+PLOCALE_BACKUP="en"
+
+inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n 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="2.24"
+MV="4.5.2"
+PULSE_PATCHES="winepulse-patches-1.7.12"
+WINE_GENTOO="wine-gentoo-2013.06.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 )
+ pulseaudio? ( 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 dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
+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"
+
+NATIVE_DEPEND="
+ truetype? ( >=media-libs/freetype-2.0.0 )
+ capi? ( net-dialup/capi4k-utils )
+ ncurses? ( >=sys-libs/ncurses-5.2:= )
+ udisks? ( sys-apps/dbus )
+ fontconfig? ( media-libs/fontconfig:= )
+ gphoto2? ( media-libs/libgphoto2:= )
+ openal? ( media-libs/openal:= )
+ 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/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:0= )
+ ldap? ( net-nds/openldap:= )
+ lcms? ( media-libs/lcms:2= )
+ mp3? ( >=media-sound/mpg123-1.5.0 )
+ netapi? ( net-fs/samba[netapi(+)] )
+ nls? ( sys-devel/gettext )
+ odbc? ( dev-db/unixODBC:= )
+ osmesa? ( media-libs/mesa[osmesa] )
+ pulseaudio? ( media-sound/pulseaudio )
+ xml? ( dev-libs/libxml2 dev-libs/libxslt )
+ scanner? ( media-gfx/sane-backends:= )
+ ssl? ( net-libs/gnutls:= )
+ png? ( media-libs/libpng:0= )
+ v4l? ( media-libs/libv4l )
+ xcomposite? ( x11-libs/libXcomposite )"
+
+COMMON_DEPEND="
+ !amd64? ( ${NATIVE_DEPEND} )
+ amd64? (
+ abi_x86_64? ( ${NATIVE_DEPEND} )
+ abi_x86_32? (
+ truetype? ( || (
+ >=app-emulation/emul-linux-x86-xlibs-2.1[development]
+ >=media-libs/freetype-2.0.0[abi_x86_32]
+ ) )
+ ncurses? ( || (
+ app-emulation/emul-linux-x86-baselibs[development]
+ sys-libs/ncurses[abi_x86_32]
+ ) )
+ udisks? ( || (
+ >=app-emulation/emul-linux-x86-baselibs-20130224[development]
+ sys-apps/dbus[abi_x86_32]
+ ) )
+ fontconfig? ( || (
+ app-emulation/emul-linux-x86-xlibs[development]
+ media-libs/fontconfig[abi_x86_32]
+ ) )
+ gphoto2? (
+ app-emulation/emul-linux-x86-medialibs[development]
+ )
+ openal? ( || (
+ app-emulation/emul-linux-x86-sdl[development]
+ media-libs/openal[abi_x86_32]
+ ) )
+ gstreamer? (
+ app-emulation/emul-linux-x86-gstplugins
+ app-emulation/emul-linux-x86-medialibs[development]
+ )
+ X? ( || (
+ app-emulation/emul-linux-x86-xlibs[development]
+ (
+ x11-libs/libXcursor[abi_x86_32]
+ x11-libs/libXext[abi_x86_32]
+ x11-libs/libXrandr[abi_x86_32]
+ x11-libs/libXi[abi_x86_32]
+ x11-libs/libXxf86vm[abi_x86_32]
+ )
+ ) )
+ xinerama? ( || (
+ app-emulation/emul-linux-x86-xlibs[development]
+ x11-libs/libXinerama[abi_x86_32]
+ ) )
+ alsa? ( || (
+ app-emulation/emul-linux-x86-soundlibs[alsa,development]
+ media-libs/alsa-lib[abi_x86_32]
+ ) )
+ cups? ( app-emulation/emul-linux-x86-baselibs )
+ opencl? ( virtual/opencl[abi_x86_32] )
+ opengl? ( || (
+ app-emulation/emul-linux-x86-opengl[development]
+ (
+ virtual/glu[abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ )
+ ) )
+ gsm? ( || (
+ app-emulation/emul-linux-x86-soundlibs[development]
+ media-sound/gsm[abi_x86_32]
+ ) )
+ jpeg? ( || (
+ app-emulation/emul-linux-x86-baselibs[development]
+ virtual/jpeg:0[abi_x86_32]
+ ) )
+ ldap? ( app-emulation/emul-linux-x86-baselibs[development] )
+ lcms? ( || (
+ app-emulation/emul-linux-x86-baselibs[development]
+ media-libs/lcms:2[abi_x86_32]
+ ) )
+ mp3? ( || (
+ app-emulation/emul-linux-x86-soundlibs[development]
+ >=media-sound/mpg123-1.5.0[abi_x86_32]
+ ) )
+ nls? ( || (
+ app-emulation/emul-linux-x86-baselibs[development]
+ sys-devel/gettext[abi_x86_32]
+ ) )
+ odbc? ( app-emulation/emul-linux-x86-db[development] )
+ osmesa? ( || (
+ >=app-emulation/emul-linux-x86-opengl-20121028[development]
+ media-libs/mesa[osmesa,abi_x86_32]
+ ) )
+ pulseaudio? ( || (
+ app-emulation/emul-linux-x86-soundlibs[development]
+ >=media-sound/pulseaudio-4.0-r1[abi_x86_32]
+ ) )
+ xml? ( || (
+ >=app-emulation/emul-linux-x86-baselibs-20131008[development]
+ (
+ dev-libs/libxml2[abi_x86_32]
+ dev-libs/libxslt[abi_x86_32]
+ )
+ ) )
+ scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
+ ssl? ( app-emulation/emul-linux-x86-baselibs[development] )
+ png? ( || (
+ app-emulation/emul-linux-x86-baselibs[development]
+ media-libs/libpng:0[abi_x86_32]
+ ) )
+ v4l? ( || (
+ app-emulation/emul-linux-x86-medialibs[development]
+ media-libs/libv4l[abi_x86_32]
+ ) )
+ xcomposite? ( || (
+ app-emulation/emul-linux-x86-xlibs[development]
+ x11-libs/libXcomposite[abi_x86_32]
+ ) )
+ )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ dos? ( games-emulation/dosbox )
+ perl? ( dev-lang/perl dev-perl/XML-Simple )
+ samba? ( >=net-fs/samba-3.0.25 )
+ selinux? ( sec-policy/selinux-wine )
+ udisks? ( sys-fs/udisks:2 )
+ pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
+
+DEPEND="${COMMON_DEPEND}
+ amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
+ X? (
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ )
+ xinerama? ( x11-proto/xineramaproto )
+ prelink? ( sys-devel/prelink )
+ >=sys-kernel/linux-headers-2.6
+ 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"
+
+wine_build_environment_check() {
+ [[ ${MERGE_TYPE} = "binary" ]] && return 0
+
+ if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
+ eerror "You need gcc-4.4+ to build 64-bit wine"
+ eerror
+ return 1
+ fi
+
+ if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
+ eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
+ eerror "See https://bugs.gentoo.org/487864 for more details."
+ eerror
+ return 1
+ fi
+}
+
+pkg_pretend() {
+ wine_build_environment_check || die
+}
+
+pkg_setup() {
+ wine_build_environment_check || die
+}
+
+src_unpack() {
+ if [[ ${PV} == "9999" ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${MY_P}.tar.bz2
+ fi
+
+ use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
+ unpack "${WINE_GENTOO}.tar.bz2"
+
+ l10n_find_plocales_changes "${S}/po" "" ".po"
+}
+
+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.7.12-osmesa-check.patch #429386
+ "${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
+ )
+ use pulseaudio && 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
+ if ! use run-exes; then
+ sed -i '/^MimeType/d' tools/wine.desktop || die #117785
+ fi
+
+ # hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
+ cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
+
+ l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
+}
+
+do_configure() {
+ local myeconfargs=( "${myeconfargs[@]}" )
+
+ if use amd64; then
+ if [[ ${ABI} == amd64 ]]; then
+ myeconfargs+=( --enable-win64 )
+ else
+ use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
+ # We currently don't have 32-bit libnetapi on amd64; #494394
+ myeconfargs+=(
+ --without-netapi
+ --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 netapi)
+ $(use_with nls gettext)
+ $(use_with openal)
+ $(use_with opencl)
+ $(use_with opengl)
+ $(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)
+ )
+
+ use pulseaudio && myeconfargs+=( --with-pulse )
+
+ if use amd64 && use abi_x86_32; then
+ # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
+ # set AR and RANLIB to make QA scripts happy; #483342
+ tc-export PKG_CONFIG AR RANLIB
+ fi
+
+ 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 )
+ add_locale_docs() {
+ local locale_doc="documentation/README.$1"
+ [[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
+ }
+ l10n_for_each_locale_do add_locale_docs
+ 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
+
+ # respect LINGUAS when installing man pages, #469418
+ for l in de fr pl; do
+ use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+ done
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}