alonbl 15/05/05 11:39:40 Modified: metadata.xml ChangeLog Added: mingw64-runtime-4.0.1.ebuild Log: Version bump, bug#543954 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Revision Changes Path 1.4 dev-util/mingw64-runtime/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/metadata.xml?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/metadata.xml?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/metadata.xml?r1=1.3&r2=1.4 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/metadata.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- metadata.xml 13 Oct 2013 19:23:48 -0000 1.3 +++ metadata.xml 5 May 2015 11:39:40 -0000 1.4 @@ -6,5 +6,11 @@ <flag name='idl'> Install idl files. </flag> + <flag name='libraries'> + Build extra libraries. + </flag> + <flag name='tools'> + Build extra tools. + </flag> </use> </pkgmetadata> 1.20 dev-util/mingw64-runtime/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/ChangeLog?r1=1.19&r2=1.20 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ChangeLog 27 Feb 2015 08:11:21 -0000 1.19 +++ ChangeLog 5 May 2015 11:39:40 -0000 1.20 @@ -1,6 +1,14 @@ # ChangeLog for dev-util/mingw64-runtime # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.19 2015/02/27 08:11:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.20 2015/05/05 11:39:40 alonbl Exp $ + +*mingw64-runtime-4.0.1 (05 May 2015) + + 05 May 2015; Alon Bar-Lev <[email protected]> + +files/mingw64-runtime-4.0.1-build.patch, + +files/mingw64-runtime-4.0.1-winpthreads.patch, +mingw64-runtime-4.0.1.ebuild, + metadata.xml: + Version bump, bug#543954 27 Feb 2015; Mike Frysinger <[email protected]> mingw64-runtime-2.0.8.ebuild, mingw64-runtime-3.0.0.ebuild, mingw64-runtime-3.1.0.ebuild, 1.1 dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild?rev=1.1&content-type=text/plain Index: mingw64-runtime-4.0.1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild,v 1.1 2015/05/05 11:39:40 alonbl Exp $ EAPI=5 export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then if [[ ${CATEGORY} == cross-* ]] ; then export CTARGET=${CATEGORY#cross-} fi fi WANT_AUTOMAKE="1.15" inherit autotools 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/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="crosscompile_opts_headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 } crt_use_enable() { just_headers && echo --without-$2 || use_enable "$@" } crt_use_with() { just_headers && echo --without-$2 || use_with "$@" } pkg_setup() { if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then die "Invalid configuration" fi } src_prepare() { epatch "${FILESDIR}/${P}-winpthreads.patch" epatch "${FILESDIR}/${P}-build.patch" eautoreconf } src_configure() { CHOST=${CTARGET} strip-unsupported-flags if ! just_headers; then mkdir "${WORKDIR}/headers" pushd "${WORKDIR}/headers" > /dev/null CHOST=${CTARGET} "${S}/configure" \ --prefix="${T}/tmproot" \ --with-headers \ --without-crt \ || die popd > /dev/null append-cppflags "-I${T}/tmproot/include" fi local extra_conf=() case ${CTARGET} in x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; *) die "Unsupported ${CTARGET}" ;; esac CHOST=${CTARGET} econf \ --prefix=/usr/${CTARGET} \ --includedir=/usr/${CTARGET}/usr/include \ --with-headers \ --enable-sdk \ $(crt_with crt) \ $(crt_use_enable idl) \ $(crt_use_with libraries libraries winpthreads,libmangle) \ $(crt_use_with tools) \ "${extra_conf[@]}" } src_compile() { if ! just_headers; then emake -C "${WORKDIR}/headers" install fi default } src_install() { default 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 env -uRESTRICT CHOST=${CTARGET} prepallstrip rm -rf "${ED}/usr/share" }
