alonbl      14/09/03 08:29:29

  Modified:             ChangeLog
  Added:                mingw64-runtime-3.2.0.ebuild
  Log:
  Version bump, bug#521876
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

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

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog   10 Jan 2014 19:25:41 -0000      1.15
+++ ChangeLog   3 Sep 2014 08:29:29 -0000       1.16
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/mingw64-runtime
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.15 
2014/01/10 19:25:41 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.16 
2014/09/03 08:29:29 alonbl Exp $
+
+*mingw64-runtime-3.2.0 (03 Sep 2014)
+
+  03 Sep 2014; Alon Bar-Lev <[email protected]> +mingw64-runtime-3.2.0.ebuild:
+  Version bump, bug#521876
 
 *mingw64-runtime-3.1.0 (10 Jan 2014)
 



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

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

Index: mingw64-runtime-3.2.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-3.2.0.ebuild,v 
1.1 2014/09/03 08:29:29 alonbl Exp $

EAPI=5

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/mingw-w64-release/mingw-w64-v${PV}.tar.bz2"

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

S="${WORKDIR}"

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_configure() {
        local extra_conf=()

        if just_headers; then
                extra_conf+=( --without-crt )
        else
                extra_conf+=( --with-crt )
        fi

        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} strip-unsupported-flags
        CHOST=${CTARGET} econf \
                --prefix=/usr/${CTARGET} \
                --includedir=/usr/${CTARGET}/usr/include \
                --with-headers \
                --enable-sdk \
                $(use_enable idl) \
                "${extra_conf[@]}"
}

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"
}




Reply via email to