mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 09:37:15 +08:00
cegui rverted to 0.7.9, and dependant games rebuilt.
This commit is contained in:
parent
8aaccfc7db
commit
985f6e2c66
@ -5,43 +5,40 @@
|
|||||||
|
|
||||||
pkgname=cegui
|
pkgname=cegui
|
||||||
_pkgname=CEGUI
|
_pkgname=CEGUI
|
||||||
pkgver=0.8.2
|
pkgver=0.7.9
|
||||||
_pkgver=0.8
|
pkgrel=5
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
|
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://crayzedsgui.sourceforge.net"
|
url="http://crayzedsgui.sourceforge.net"
|
||||||
license=("MIT")
|
license=("MIT")
|
||||||
depends=('boost-libs' 'devil' 'expat' 'freeglut' 'freetype2' 'glew' 'glfw' 'irrlicht' 'libxml2' 'lua' 'ogre' 'pcre' 'python2' 'silly' 'toluapp')
|
depends=('boost-libs' 'devil' 'expat' 'freeglut' 'freetype2' 'glew' 'irrlicht' 'libxml2' 'lua' 'ogre' 'pcre' 'python2' 'silly' 'toluapp')
|
||||||
makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'irrlicht' 'mesa' 'ogre' 'python2')
|
makedepends=('boost' 'doxygen' 'graphviz')
|
||||||
optdepends=("python2: python bindings"
|
options=(!libtool)
|
||||||
"ogre: ogre module"
|
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz")
|
||||||
"irrlicht: irrlicht module")
|
md5sums=('a8b682daf82e383edc169c2e6eb2b321')
|
||||||
source=("http://downloads.sourceforge.net/crayzedsgui/CEGUI Mk-2/${pkgname}-${pkgver}.tar.gz")
|
|
||||||
md5sums=('f72951f0cc0374bb2294035cb639bb83')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
sed -i "s/lib64/lib/g" CMakeLists.txt
|
|
||||||
sed -i "s/lib32/lib/g" CMakeLists.txt
|
|
||||||
|
|
||||||
[[ -d build ]] && rm -r build
|
# Typo fixed in Irrlicht 1.8.0, whereas CEGUI 0.7.7 was based on Irrlicht 1.7.x.
|
||||||
mkdir build && cd build
|
# sed -e "s#texureBlend#textureBlend#" -i cegui/src/RendererModules/Irrlicht/CEGUIIrrlichtGeometryBuffer.cpp
|
||||||
cmake \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DCEGUI_LIB_INSTALL_DIR=lib \
|
|
||||||
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
|
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
||||||
..
|
|
||||||
|
|
||||||
make -j5
|
./bootstrap
|
||||||
make html
|
./configure \
|
||||||
|
--enable-null-renderer \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
install -Dm644 ../doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
# Documentation.
|
||||||
|
cd doc/doxygen && doxygen
|
||||||
|
cd .. && make DESTDIR=${pkgdir} install-html
|
||||||
|
|
||||||
|
# License.
|
||||||
|
install -D -m644 "${srcdir}/${_pkgname}-${pkgver}/doc/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user