summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-22 03:35:10 +0000
committerMike Frysinger <vapier@gentoo.org>2010-06-22 03:35:10 +0000
commit155fa5db17d325bc2b114d10508c5257d8bc17c3 (patch)
tree5796a73b137e9297a3c641d60c5aeeeb3bd55497 /dev-util/mingw64-runtime
parentUpdate pulseaudio patch #324817 by Juergen Rose. (diff)
downloadhistorical-155fa5db17d325bc2b114d10508c5257d8bc17c3.tar.gz
historical-155fa5db17d325bc2b114d10508c5257d8bc17c3.tar.bz2
historical-155fa5db17d325bc2b114d10508c5257d8bc17c3.zip
Version bump #323583 by Alon Bar-Lev.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r--dev-util/mingw64-runtime/ChangeLog8
-rw-r--r--dev-util/mingw64-runtime/Manifest12
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild71
3 files changed, 85 insertions, 6 deletions
diff --git a/dev-util/mingw64-runtime/ChangeLog b/dev-util/mingw64-runtime/ChangeLog
index 9ff33703df43..1e5e9f9d74cf 100644
--- a/dev-util/mingw64-runtime/ChangeLog
+++ b/dev-util/mingw64-runtime/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/mingw64-runtime
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.4 2010/01/12 19:52:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.5 2010/06/22 03:35:10 vapier Exp $
+
+*mingw64-runtime-20100604 (22 Jun 2010)
+
+ 22 Jun 2010; Mike Frysinger <vapier@gentoo.org>
+ +mingw64-runtime-20100604.ebuild:
+ Version bump #323583 by Alon Bar-Lev.
12 Jan 2010; Mike Frysinger <vapier@gentoo.org>
mingw64-runtime-20091222.ebuild:
diff --git a/dev-util/mingw64-runtime/Manifest b/dev-util/mingw64-runtime/Manifest
index 0ba476956181..4dd97b720a4d 100644
--- a/dev-util/mingw64-runtime/Manifest
+++ b/dev-util/mingw64-runtime/Manifest
@@ -3,13 +3,15 @@ Hash: SHA256
AUX mingw64-runtime-20091222-mm_shuffle_ps-x86.patch 700 RMD160 94e25f7d9b1208fc1710cc52cbe97dd195c2c7ab SHA1 a09f7daef3e375807429c611a8c412026ce2d0fd SHA256 6d1ca86210c1fa163c3ab7db814dba23d83bc0aa020283af53f1c8683f47758f
DIST mingw-w64-trunk-snapshot-20091222.tar.bz2 4715164 RMD160 2f637ebd46c584b19a02d018da15b3950be1763a SHA1 c71bfb78c54568611e729b0a92533dec96bae8c1 SHA256 9063f19b7940f0bf3ad70a8a02a8041d884a75987ec2fb8bfb1387b7f2d16420
+DIST mingw-w64-v1.0-snapshot-20100604.tar.bz2 4770646 RMD160 35ab8ce9145a819ca5bc03f33b3ecd0201377b7a SHA1 a183616eefe4be5070eb1f3414f09c0b3d0f2e18 SHA256 ede2598f1e83d1131f3722117ce159d8d605a6f69ec8dc6d7bf85e0e91964294
EBUILD mingw64-runtime-20091222.ebuild 1987 RMD160 11a7837270d005880bf7c0a6311ff6285251ffc3 SHA1 0233aa4e5bb96c64ecdc246a5c5e0187c5a9b84f SHA256 b0efef434de59ef38e7e3adff0e35efa1b8c9d3f080c522294d5d1d9cb494744
-MISC ChangeLog 968 RMD160 d78b50ea9cd642fa93167727ab14aefaa6822eb3 SHA1 9a1944b86b2f07f770b07ced8e140525b882b9b3 SHA256 7d9691d7ad92b79f7aee539b202bafd0e39caba57eb82bc9562c00ffbf345144
+EBUILD mingw64-runtime-20100604.ebuild 1930 RMD160 f3329eb94ebd4ebefbdbcec09f3c6863456ed9c5 SHA1 a3549d19db97534173dbf3ac72dc581092865681 SHA256 9dd80807d1f7ed9a6a7b85d4f1adcb2f83a49e07d05c1ba8d7601c440c2eb480
+MISC ChangeLog 1136 RMD160 94cb464cc360546c7a9b440ec0da4af07ac35725 SHA1 ae874b6fcaa91c14ab7a1297f985eeb65cbc6385 SHA256 518f1fe4542dcc4307f6fa42ff60a54508cde19d8183a734338250baef0d9e7c
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iF4EAREIAAYFAktM0xkACgkQTwhj9JtAlp5AEQD/cWhPuDyDL24n/b3ucXetsPc6
-BffwqHk9lMBnllJq1p4A/AleR+fOrIEbfwc06jmyR11nvI9KK+NuRwhlrFl1G58J
-=ad2i
+iF4EAREIAAYFAkwgL2wACgkQTwhj9JtAlp6wygEAjAwrFtvKn3riwzyAiw4dsNCI
+4nH7lQk23SwQQgwtZK4A/16RR19NcK4Gl0kD0/lQFwm0vxagsOHJ2xFSCkixhLJZ
+=8HCM
-----END PGP SIGNATURE-----
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild
new file mode 100644
index 000000000000..17b3b2b3c0dd
--- /dev/null
+++ b/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild,v 1.1 2010/06/22 03:35:10 vapier Exp $
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Free Win64 runtime and import library definitions"
+HOMEPAGE="http://mingw-w64.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-v1.0-snapshot-${PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crosscompile_opts_headers-only"
+RESTRICT="strip"
+
+S=${WORKDIR}/mingw-w64-v1.0-${PV}/mingw-w64-crt
+
+is_crosscompile() {
+ [[ ${CHOST} != ${CTARGET} ]]
+}
+just_headers() {
+ use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
+}
+
+pkg_setup() {
+ if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
+ die "Invalid configuration"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ find "${WORKDIR}" -type f -exec touch -r . {} +
+}
+
+src_compile() {
+ # install the local headers as the crt step wants latest
+ pushd ../mingw-w64-headers >/dev/null
+ CHOST=${CTARGET} econf --with-sdk || die
+ emake install DESTDIR="${WORKDIR}/sysroot" || die
+ popd >/dev/null
+
+ just_headers && return 0
+
+ CHOST=${CTARGET} strip-unsupported-flags
+ append-cppflags -isystem "${WORKDIR}/sysroot/usr/${CTARGET}/include"
+ CHOST=${CTARGET} econf || die
+ emake || die
+}
+
+src_install() {
+ insinto /usr/${CTARGET}/usr/include
+ doins -r "${WORKDIR}"/sysroot/usr/${CTARGET}/include/* || die
+ is_crosscompile \
+ && dosym usr /usr/${CTARGET}/${CTARGET} \
+ && dosym usr/include /usr/${CTARGET}/sys-include
+ just_headers && return 0
+
+ emake install DESTDIR="${D}" || die
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
+ rm -rf "${D}"/usr/doc
+}