diff options
author | eroen <eroen@occam.eroen.eu> | 2013-01-09 09:52:09 +0100 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2013-01-09 09:52:09 +0100 |
commit | 60f717351fe1bd0e7c7012d6b21848c463e0677e (patch) | |
tree | b4c8e5a13f83a473b6d45b9afac4f23802dfd541 /app-emulation | |
parent | erlang-15.2.3.1: filter -flto (diff) | |
download | eroen-60f717351fe1bd0e7c7012d6b21848c463e0677e.tar.gz eroen-60f717351fe1bd0e7c7012d6b21848c463e0677e.tar.bz2 eroen-60f717351fe1bd0e7c7012d6b21848c463e0677e.zip |
wine-1.5.21: imported from portage
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/wine/wine-1.5.21.ebuild | 278 |
2 files changed, 281 insertions, 0 deletions
diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest index 4baccdc..24cfc04 100644 --- a/app-emulation/wine/Manifest +++ b/app-emulation/wine/Manifest @@ -4,12 +4,15 @@ AUX wine-1.5.17-osmesa-check.patch 1774 SHA256 dc7dde67c416bb067e528b85228cff018 AUX wine-1.5.19-KUSER_SHARED_DATA_18.patch 3922 SHA256 84959853c303c43e3ba1e10c20a4f8e83589f3a7c3759567ee8b467fb849a412 SHA512 a563f5387f02dcc9f7fd7998629effd8c44c1f2f003fa9fc62fb0f3cf04297c2025703b24c1e3fe3bf9e95f9cf54d637d65dc653580a0804f897f8b31fa7a00d WHIRLPOOL 0354e6d06ea3f5c259e6d5052a2bc0716c25a5cce2e82dbc951d8d367e6d535f578996185e2c2c1806eccff01cdf9ae52e920b2a14d459f71dba9c1c5ea084c1 DIST wine-1.5.19.tar.bz2 21013509 SHA256 51ad795ae62d8392ac6fbc3ad595ac57d44bcc779b716573a9d73ca122961023 SHA512 aefc05cb0ce6b41a7a70861fd85c5f5d30501f61923620837f3a8124b039e1eedaea75d261116b26770b64a21b27a4ee13133a07a36157bebd2cbeddd110de27 WHIRLPOOL 3ca550f2b0fb9d6b096f025e9f94b88648386c04d3a82350802fcd05d6b0604d6fe6aa4f6e68876abe523e60a8906438148613d4bdd8e7badd3a251d3c0e60e5 DIST wine-1.5.20.tar.bz2 21012282 SHA256 75e3073a62a933af5beaa8e8591298325edb57f255ca5b0de55a0f29a4ba2430 SHA512 25de10f4e3f94d79391e61bdadf00af0e6f191b064f61948911d0de4b1c71ab3a727510b7ec4a52882aed0c59e75bb0cd3fb46a0a4da3dc3707045a3af517754 WHIRLPOOL f85ed944dce117761b6509f090161e9d071027571c87675c03f0f78fb29679bf4d4fb382038c5512588e346f8a242ae4a66fa32992a3bacd48af63417158efe2 +DIST wine-1.5.21.tar.bz2 21088257 SHA256 ac77c1dd1a31ccc67f0391b4965959096aeb98745f52c4d91b7bd280e3c8b350 SHA512 3d9847da09f5227d0118f0fc1468134e69ee66dfec3cfee5e069050a4e2b848647d2247264d7f2e9e35f434676be97f4104be170fd02915bb3061b4057c11bb9 WHIRLPOOL 67b5b0693cea4998e48d1e4163b1cd8506401252c268854d559c7a323af082cc635ec10752440e0945b7988b85537af92f204ef645e9e4916e01fc476d19eb85 DIST wine-gentoo-2012.11.24.tar.bz2 57481 SHA256 164248d7ff8cf06053576a3ecc1f6fe88a52763b04058ae53a9a4d5cfb6e7e22 SHA512 2a626ccbd408204dc6d1710ebb524a7961f4f417abc4cf1b65b4954a7b3033592febc8e9886ab47b000fc97dd3fe016a5833079f6bff84cd1d5aeb57a5167e07 WHIRLPOOL c638d0b0d8632d99f34cc4a294c4ddc7b69812af2ef536b3586fcfb41aab88a545d4c85c5a41020911dcb244eb7ed512cc6a957c6efd7ed06bd840f38e91f61d DIST wine-mono-0.0.8.msi 46967296 SHA256 3dfc23bbc29015e4e538dab8b83cb825d3248a0e5cf3b3318503ee7331115402 SHA512 d3009f2301b0a006136e880025a736f24612faa7a954956896124ec7282d35b678f02658e8be12b1c02ee217e594a2c728a9258c36ccb346b186a4781951adbd WHIRLPOOL 1d4b2e88ebab1f603326a238cc908982c7e135a33340087e8645572838d2b6034764e9fe787bb890792dea4c0531d26f9a6a811a7c200edb99ab82f975179389 DIST wine_gecko-1.8-x86.msi 17774592 SHA256 28f3b7e497e1f884a64b2d982b61dda3167efac4c843de198654a1c9144ff9dc SHA512 81cfa990dde3f19e263ecf2957892201a88fd3c683d448d915348f7d8469e03d21c1c724b982f7a65b931857498822d8f6f6cc724205948b462013c0df6064dd WHIRLPOOL 98824a561892a3e0111d7a3becb9a8f4ac7e9dc02c4b612c7c074b2e77ea2f56d85c0666c9cb22f95f6a79b2f43c74f27b533837ffb0ae19e514f5709c2a24ea DIST wine_gecko-1.8-x86_64.msi 18238976 SHA256 53a600a4767225469fd68431263baac0672ceaec29eb2c7747b4363fd2856db2 SHA512 336527adbc6342fe149d706a05e23a51eb25e54e8ce88e67aa98717a1486bc85d36989315b6a2a428ddc10844bbc9130e76625741d997230a541756b429db1e9 WHIRLPOOL 0f40c5d5177335c6736983d37ee677b4ea183260df07d516bca17ff8327d6024693dec3707db934632bf253cf94614127e60c4e7399de764a3a6c5d59e37c54d DIST winepulse-patches-1.5.19.tar.bz2 47081 SHA256 7fc8e5964bcd4cdd8f14b6a5d6d66d474b958084fd80fb0f0531b08eb7fdfc2a SHA512 54b593ce75ce1ecc8015c85e7de713ddea1331a2701a1ec81fab88dce90f41470469f05b4f2d924da824fc99b1b9c52ed6795158291d7e8f15b5b3c4341cb13f WHIRLPOOL 56b1506b0ffc60a052c923334d21e111707443caf138ba05c6708e4d652a5c7ee2d22d8a82862b1a87a12b49dc1c9bdd8d89000f529ddd8f06685ebbc03dd7f4 DIST winepulse-patches-1.5.20_pre20121207.tar.bz2 47206 SHA256 7ce845841d1c53f5d2bee3e09e901598321362f8cabc32ff7012c24e366a47e6 SHA512 e0b575231b19c2231ec9648d9e128a2439c672221d579fa40adbe49218db0e98b548f562151cdcbe75a6f018ff9a1c57dbd048de2374ad0cb5748fc3da8060b7 WHIRLPOOL b5511237bac951b39c1fc707348593adc8e5c5b0bf0543e4714cab3e153b2a653fa7ce809097d8dd376cad6c20b1d5b5a9c06d655e0a28c5e035ae5eec761803 +DIST winepulse-patches-1.5.21.tar.bz2 46068 SHA256 038b672bed96cae5c89a854d2e2980bf37c887f50ace519ea62b1da6b3b351e2 SHA512 00ee2c2cf67b17c33a2e4a9cc1406e20d05fde33ce9f98fde37176b55a123b21f0e136b3cc9066a9b4d6062893db3cd60b4eb9574831aaaae4da757ece5ca003 WHIRLPOOL 21c0266ae03f4bfdf87ebdd8c5bedc98e6c1c6fda4fd0ce47a073a000e7aaf66a50a82bc77bd31649afd2837d35b6b6867a6d38c28df573ce5e1dbab6cb25dc8 EBUILD wine-1.5.19.ebuild 7580 SHA256 25f6243a5000ab90f922abc4b83cd13e47de9bd688fe2f75738712c9cd1c23ad SHA512 01f9fc30dfbe865c4d5c5ca4b85728e4f2ed5f02252793ebc2abaeb37f2a0be9ba080d036056e8bb5752d675b9b2fa3e84dfa5281d63d518df06cd7d54b0ddbc WHIRLPOOL 86f5a127d243582fb74c3c599062dfdea7537df4a1fcc324a0c551b553ee27a462a0d1d26338a9369d2e069f8bcb4cd928346c474b4d899192b6df1a86af82b4 EBUILD wine-1.5.20.ebuild 7771 SHA256 8180085145fcf3c43e41786650dfbafeba0d110f98a2d7f88c4d49e4afd783fc SHA512 725567a63c835c927151e753e9d2cdfdf5b2a2792dc73f90f694b44ac478c91867ebce0a42b9c3328746d5017fc5f0df378b53874a7cfdee19bac4b36825c0fa WHIRLPOOL 124df4eac42a5ab07dda6de08ab5ee99e7634977ed6ff86dba978a0dfbcdc534b54098719bdc40f3d3a876559affcf5a2a239dcaac36fe87297d5eb7c482c08a +EBUILD wine-1.5.21.ebuild 7698 SHA256 378c6af2d5bd53dbe2889d4344f3a9d00ecaadf58349375ac9cf95bb52fb59f4 SHA512 83d906f25a1ecf3e8fffee46ab8a3c21d983d9ab4f9e743077db5df0263b9a7557ad226c00a1199e6c34e8bf1e7e5fd88e055bae28c65da75f54b29306d8c8ad WHIRLPOOL e2e22514929999ac00a04407bcfd75eca80849980bbcc4f7d70a1155852b323d00dabe0574b7052fc95358f8a5d504120ca31a973075882f479544c33333ba42 MISC metadata.xml 1708 SHA256 3540876c7e1eeb0411e86068a8888ac4ed2dd276a16b9df121bb9ab0b643db2e SHA512 6b76c93bf232384ff7259b40931abb4c97d96dc5fde76849835f1727295c5929ff9628091f94dc00b1c7114a5760772e6bd3189c0cf0166eaabaed67b8589d2a WHIRLPOOL d98cfe4b446364b17ccb6bb679fcbed06b0611829451dff8f25746a42437dafbfbb20217582fe4033342bad609cce3867b37c7524a13764202066198adef58e6 diff --git a/app-emulation/wine/wine-1.5.21.ebuild b/app-emulation/wine/wine-1.5.21.ebuild new file mode 100644 index 0000000..7223453 --- /dev/null +++ b/app-emulation/wine/wine-1.5.21.ebuild @@ -0,0 +1,278 @@ +# 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.21.ebuild,v 1.1 2013/01/06 03:09:25 tetromino Exp $ + +EAPI="5" + +inherit autotools eutils flag-o-matic gnome2-utils 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.8" +MV="0.0.8" +PULSE_PATCHES="winepulse-patches-1.5.21" +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? ( + 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://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="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls 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 +win32 +win64 +X xcomposite xinerama xml" +[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio" +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 + ) + 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 ) + osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 ) + 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: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:= ) + png? ( media-libs/libpng:= ) + v4l? ( media-libs/libv4l ) + !win64? ( ${MLIB_DEPS} ) + win32? ( ${MLIB_DEPS} ) + xcomposite? ( x11-libs/libXcomposite )" +[[ ${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" + +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 + + unpack "${PULSE_PATCHES}.tar.bz2" + unpack "${WINE_GENTOO}.tar.bz2" +} + +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.17-osmesa-check.patch #429386 + [[ ${PV} == "9999" ]] || epatch "../${PULSE_PATCHES}"/*.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 + + local usepulse + [[ ${PV} == "9999" ]] || usepulse=$(use_with pulseaudio pulse) + + 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) \ + $(use_with osmesa) \ + $(use_with oss) \ + $(use_with png) \ + $(use_with threads pthread) \ + ${usepulse} \ + $(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 + emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}" + 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 +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |