Skip to content

Commit

Permalink
cegui: Update to 0.8.4 (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Sep 24, 2014
1 parent 70f1e6f commit e0cc3f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
17 changes: 8 additions & 9 deletions mingw-w64-cegui/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>

_realname=cegui

pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.8.3
pkgrel=2
pkgver=0.8.4
pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines (mingw-w64)"
arch=('any')
url="http://crayzedsgui.sourceforge.net"
url="http://cegui.org.uk"
license=("MIT")
#makedepends=('doxygen' 'gtk2' 'graphviz' 'irrlicht' 'glm' 'tolua++')
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
Expand Down Expand Up @@ -36,25 +35,25 @@ depends=("${MINGW_PACKAGE_PREFIX}-tinyxml"
"${MINGW_PACKAGE_PREFIX}-xerces-c"
"${MINGW_PACKAGE_PREFIX}-zlib")
options=('staticlibs' 'strip')
source=("http://downloads.sourceforge.net/crayzedsgui/cegui-${pkgver}.tar.gz"
source=("http://downloads.sourceforge.net/crayzedsgui/cegui-${pkgver}.tar.bz2"
freetype.patch
mingw-w64-fix.patch
fix-finding-glew.patch
fix-finding-directx.patch
fix-finding-glfw3.patch
fix-dxerr-libname.patch)
md5sums=('142cca3648cee034e04d0f61bd9863ce'
md5sums=('344917301b5ed867a07575ee6a828667'
'4c5f81f109f36718045bb4ba5ba25602'
'ac605f26c068cf0b90bc24add094ca6d'
'b60459d7cf5854dee5b8bbdd519778ea'
'db4b135df45db6716c242042a8003893'
'3a754a1caf9ab0cb0c732bd68f6f29a0'
'77649c26d817dc7d4d57b9c54d3641f4')
'1b75c82065e628a7b9afc4367d14c3fa')

prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i ${srcdir}/freetype.patch
patch -p1 -i ${srcdir}/mingw-w64-fix.patch
#patch -p1 -i ${srcdir}/freetype.patch
#patch -p1 -i ${srcdir}/mingw-w64-fix.patch
patch -p1 -i ${srcdir}/fix-finding-glew.patch
patch -p1 -i ${srcdir}/fix-finding-directx.patch
#patch -p1 -i ${srcdir}/fix-finding-glfw3.patch
Expand Down
6 changes: 3 additions & 3 deletions mingw-w64-cegui/fix-dxerr-libname.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
@@ -221,7 +221,7 @@
endif()

if (CEGUI_SAMPLES_USE_DIRECT3D9 OR CEGUI_SAMPLES_USE_DIRECT3D10 OR CEGUI_SAMPLES_USE_DIRECT3D11)
if (CEGUI_BUILD_RENDERER_DIRECT3D9 OR CEGUI_BUILD_RENDERER_DIRECT3D10 OR CEGUI_BUILD_RENDERER_DIRECT3D11)
- cegui_target_link_libraries(${CEGUI_TARGET_NAME} dxerr)
+ cegui_target_link_libraries(${CEGUI_TARGET_NAME} dxerr9 dinput8 dxguid)
+ cegui_target_link_libraries(${CEGUI_TARGET_NAME} dxerr9)

if (CEGUI_SAMPLES_USE_DIRECT3D9)
if (CEGUI_BUILD_RENDERER_DIRECT3D9)
cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CEGUI_DIRECT3D9_RENDERER_LIBNAME} d3d9)

0 comments on commit e0cc3f1

Please sign in to comment.