public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/mingw64-runtime: mingw64-runtime-2.0.7.ebuild ChangeLog
@ 2013-02-18 19:52 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2013-02-18 19:52 UTC (permalink / raw
  To: gentoo-commits

vapier      13/02/18 19:52:50

  Modified:             ChangeLog
  Added:                mingw64-runtime-2.0.7.ebuild
  Log:
  Version bump #457684 by Dennis Schridde.
  
  (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

Revision  Changes    Path
1.11                 dev-util/mingw64-runtime/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	6 Jun 2012 19:58:24 -0000	1.10
+++ ChangeLog	18 Feb 2013 19:52:50 -0000	1.11
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/mingw64-runtime
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.10 2012/06/06 19:58:24 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.11 2013/02/18 19:52:50 vapier Exp $
+
+*mingw64-runtime-2.0.7 (18 Feb 2013)
+
+  18 Feb 2013; Mike Frysinger <vapier@gentoo.org> +mingw64-runtime-2.0.7.ebuild:
+  Version bump #457684 by Dennis Schridde.
 
   06 Jun 2012; Mike Frysinger <vapier@gentoo.org> mingw64-runtime-2.0.1.ebuild:
   Always provide mingw symlink in sysroot for gcc #419601 by Alon Bar-Lev.
@@ -56,4 +61,3 @@
   09 Dec 2009; Mike Frysinger <vapier@gentoo.org>
   +mingw64-runtime-20090419.ebuild, +metadata.xml:
   Initial ebuild based on mingw-runtime by Suertreus #271197.
-



1.1                  dev-util/mingw64-runtime/mingw64-runtime-2.0.7.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-2.0.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-2.0.7.ebuild?rev=1.1&content-type=text/plain

Index: mingw64-runtime-2.0.7.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-2.0.7.ebuild,v 1.1 2013/02/18 19:52:50 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-v${PV}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="crosscompile_opts_headers-only"
RESTRICT="strip"

S=${WORKDIR}/mingw-w64-v${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 --enable-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
	if is_crosscompile ; then
		# gcc is configured to look at specific hard-coded paths for mingw #419601
		dosym usr /usr/${CTARGET}/mingw
		dosym usr /usr/${CTARGET}/${CTARGET}
		dosym usr/include /usr/${CTARGET}/sys-include
	fi
	just_headers && return 0

	emake install DESTDIR="${D}" || die
	env -uRESTRICT CHOST=${CTARGET} prepallstrip
	rm -rf "${D}"/usr/doc
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-18 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 19:52 [gentoo-commits] gentoo-x86 commit in dev-util/mingw64-runtime: mingw64-runtime-2.0.7.ebuild ChangeLog Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox