wined3d: Fix 64bit builds.
This commit is contained in:
@@ -16,73 +16,73 @@ options=('staticlibs' 'strip')
|
||||
source=(http://prdownloads.sourceforge.net/$_realname/$_realname-$pkgver.tar.bz2)
|
||||
md5sums=('e0e55105e5c7ba5277023bd54ac60d44')
|
||||
|
||||
case ${MINGW_CHOST} in
|
||||
i686*)
|
||||
_mach=x86
|
||||
;;
|
||||
x86_64*)
|
||||
_mach=x86_64
|
||||
;;
|
||||
esac
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$_realname-$pkgver
|
||||
./configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--disable-tests \
|
||||
--without-alsa \
|
||||
--without-capi \
|
||||
--without-coreaudio \
|
||||
--without-cups \
|
||||
--without-curses \
|
||||
--without-dbus \
|
||||
--without-fontconfig \
|
||||
--without-freetype \
|
||||
--without-gettext \
|
||||
--without-gphoto \
|
||||
--with-glu \
|
||||
--without-gnutls \
|
||||
--without-gsm \
|
||||
--without-gstreamer \
|
||||
--without-hal \
|
||||
--without-jpeg \
|
||||
--without-ldap \
|
||||
--without-mpg123 \
|
||||
--without-netapi \
|
||||
--without-openal \
|
||||
--without-opencl \
|
||||
--with-opengl \
|
||||
--without-osmesa \
|
||||
--without-oss \
|
||||
--without-png \
|
||||
--with-pthread \
|
||||
--without-sane \
|
||||
--without-tiff \
|
||||
--without-v4l \
|
||||
--without-xcomposite \
|
||||
--without-xcursor \
|
||||
--without-xinerama \
|
||||
--without-xinput \
|
||||
--without-xinput2 \
|
||||
--without-xml \
|
||||
--without-xrandr \
|
||||
--without-xrender \
|
||||
--without-xshape \
|
||||
--without-xshm \
|
||||
--without-xslt \
|
||||
--without-xxf86vm \
|
||||
--without-zlib \
|
||||
--without-x \
|
||||
CFLAGS="-O2 -DUSE_WIN32_OPENGL -DWINE_NOWINSOCK"
|
||||
make LN_S='ln -s' dlls/d3d8 dlls/d3d9 dlls/d3d10 dlls/d3d10core dlls/dxgi dlls/wined3d
|
||||
case ${MINGW_CHOST} in
|
||||
i686*)
|
||||
_extra=
|
||||
;;
|
||||
x86_64*)
|
||||
_extra="--enable-win64"
|
||||
;;
|
||||
esac
|
||||
cd ${srcdir}/$_realname-$pkgver
|
||||
./configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--disable-tests \
|
||||
--without-alsa \
|
||||
--without-capi \
|
||||
--without-coreaudio \
|
||||
--without-cups \
|
||||
--without-curses \
|
||||
--without-dbus \
|
||||
--without-fontconfig \
|
||||
--without-freetype \
|
||||
--without-gettext \
|
||||
--without-gphoto \
|
||||
--with-glu \
|
||||
--without-gnutls \
|
||||
--without-gsm \
|
||||
--without-gstreamer \
|
||||
--without-hal \
|
||||
--without-jpeg \
|
||||
--without-ldap \
|
||||
--without-mpg123 \
|
||||
--without-netapi \
|
||||
--without-openal \
|
||||
--without-opencl \
|
||||
--with-opengl \
|
||||
--without-osmesa \
|
||||
--without-oss \
|
||||
--without-png \
|
||||
--with-pthread \
|
||||
--without-sane \
|
||||
--without-tiff \
|
||||
--without-v4l \
|
||||
--without-xcomposite \
|
||||
--without-xcursor \
|
||||
--without-xinerama \
|
||||
--without-xinput \
|
||||
--without-xinput2 \
|
||||
--without-xml \
|
||||
--without-xrandr \
|
||||
--without-xrender \
|
||||
--without-xshape \
|
||||
--without-xshm \
|
||||
--without-xslt \
|
||||
--without-xxf86vm \
|
||||
--without-zlib \
|
||||
--without-x \
|
||||
$_extra \
|
||||
CFLAGS="-O2 -DUSE_WIN32_OPENGL -DWINE_NOWINSOCK"
|
||||
make LN_S='ln -s' dlls/d3d8 dlls/d3d9 dlls/d3d10 dlls/d3d10core dlls/dxgi dlls/wined3d
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/$_realname-$pkgver
|
||||
mkdir -p ${pkgdir}${MINGW_PREFIX}/bin
|
||||
local _dll_files=( $(find ${srcdir}/$_realname-$pkgver -type f -name "*.dll") )
|
||||
cp -f ${_dll_files[@]} ${pkgdir}${MINGW_PREFIX}/bin/
|
||||
cd ${srcdir}/$_realname-$pkgver
|
||||
mkdir -p ${pkgdir}${MINGW_PREFIX}/bin
|
||||
local _dll_files=( $(find ${srcdir}/$_realname-$pkgver -type f -name "*.dll") )
|
||||
cp -f ${_dll_files[@]} ${pkgdir}${MINGW_PREFIX}/bin/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user