Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86005 Details for
Bug 46420
new ebuild file for wxWidgets Library cross-compiled using Xmingw
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for wxWidgets 2.6.3
wx-xmingw-2.6.3.ebuild (text/plain), 2.95 KB, created by
Adrian Smarzewski
on 2006-05-02 11:34:35 UTC
(
hide
)
Description:
ebuild for wxWidgets 2.6.3
Filename:
MIME Type:
Creator:
Adrian Smarzewski
Created:
2006-05-02 11:34:35 UTC
Size:
2.95 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > > >DESCRIPTION="Win32 version of wxWidgets for xmingw cross-compiler" >SRC_URI="mirror://sourceforge/wxwindows/wxWidgets-${PV}.tar.bz2" >HOMEPAGE="http://www.wxwidgets.org/" >LICENSE="wxWinLL-3" >SLOT="0" >KEYWORDS="~x86" >IUSE="debug gdb shared threads monolithic mslu unicode opengl odbc" >DEPEND=">=dev-util/xmingw-runtime-3.2 > dev-util/xmingw-w32api > dev-util/xmingw-gcc" >S=${WORKDIR}/wxWidgets-${PV} > > > ># ># print selected builds ># >pkg_setup() >{ > # basic ansi version is always enabled > einfo "wxWidgets ansi build: enabled" > # ansi debug version is enabled if debug flag specified > einfo "wxWidgets ansi debug build: " \ > `use debug && echo enabled || echo disabled` > # unicode version is enabled if unicode flag specified > einfo "wxWidgets unicode build: " \ > `use unicode && echo enabled || echo disabled` > # unicode debug version if enabled if unicode and debug flag specified > einfo "wxWidgets unicode debug build: " \ > `use unicode && use debug && echo enabled || echo disabled` >} > ># ># Compiles wxWidgets build ># $1 - build name ># $2 - additional configure arguments ># >compile_build() >{ > mkdir build_$1 > cd build_$1 > ../configure \ > --prefix=/opt/xmingw/wxWidgets \ > --host=i386-mingw32msvc \ > --target=i386-mingw32msvc \ > --with-msw \ > `use_enable shared` \ > `use_enable threads` \ > `use_enable monolithic` \ > `use_enable mslu` \ > `use_with opengl` \ > $2 > emake || die "make failed" > cd .. >} > >src_compile() >{ > export PATH="/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin:$PATH" > export CC="i386-mingw32msvc-gcc" > export CXX="i386-mingw32msvc-g++" > > unset CFLAGS > unset CPPFLAGS > unset CXXFLAGS > unset LDFLAGS > > export CFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" > export CXXFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" > > # always compile basic ansi version > compile_build ansi `use_with odbc` > # compile ansi debug version if debug flag specified > if use debug; then > compile_build ansi_debug \ > "`use_enable debug` > `use_enable gdb` > `use_with odbc`" > fi > # compile unicode version if unicode flag specified > if use unicode; then > compile_build unicode `use_enable unicode` > fi > # compile unicode debug version if unicode and debug flag specified > if use unicode && use debug; then > compile_build unicode_debug \ > "`use_enable unicode` > `use_enable debug` > `use_enable gdb`" > fi >} > ># ># Installs wxWidgets build ># $1 - build name ># > >install_build() >{ > cd ${WORKDIR}/wxWidgets-${PV}/build_$1 > make prefix=${D}/opt/xmingw/wxWidgets install || die "install failed" >} > >src_install() >{ > # always install basic ansi version > install_build ansi > # install ansi debug version if debug flag specified > use debug && install_build ansi_debug > # install unicode no-debug version if unicode flag specified > use unicode && install_build unicode > # install unicode debug version if unicode and debug flag specified > use unicode && use debug && install_build unicode_debug >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 46420
:
28473
|
40760
|
50341
|
50951
|
56241
|
86004
| 86005