cegui: update to 0.8.7.20190225

There has not been a release for 6 years while development continued
on github.com. Use the latest commit from 2019-02-25 and create the
missing symbolic links to the plugins for image loaders, XML parsers, and core.
This commit is contained in:
Jürgen Buchmüller 2020-06-02 23:26:56 +02:00
parent 0d1f8125ac
commit f1d7276770

View file

@ -1,12 +1,14 @@
# Template file for 'cegui'
pkgname=cegui
version=0.8.7
revision=10
version=0.8.7.20190225
revision=1
_githash=bfc6a841de45b8e63040d33b9cccc67745337f4e
wrksrc="${pkgname}-${_githash}"
build_style=cmake
make_build_args="all html"
hostmakedepends="graphviz doxygen dejavu-fonts-ttf gd glm perl pkg-config"
makedepends="libxml2-devel boost-devel glu-devel glew-devel glfw-devel
devil-devel ois-devel silly-devel fribidi-devel lua51-devel minizip-devel
makedepends="MesaLib-devel SDL2-devel SDL2_image-devel libxml2-devel boost-devel
devil-devel glfw-devel ois-devel silly-devel fribidi-devel lua-devel minizip-devel
$(vopt_if irrlicht irrlicht-devel)
$(vopt_if ogre libogre-devel)
$(vopt_if python python-devel)
@ -16,8 +18,8 @@ short_desc="Crazy Eddie's Graphical User Interface"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT"
homepage="http://cegui.org.uk/"
distfiles="${SOURCEFORGE_SITE}/crayzedsgui/${pkgname}-${version}.tar.bz2"
checksum=b351e8957716d9c170612c13559e49530ef911ae4bac2feeb2dacd70b430e518
distfiles="https://github.com/cegui/cegui/archive/${_githash}.tar.gz"
checksum=70156257313b81d068d6592887157dd16b91d7bc0dfdcba02a96ed371d329e64
build_options="gtk irrlicht ogre python"
desc_option_gtk="Enable support for GTK2"
@ -30,6 +32,9 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" python"
fi
# Silence log output
CXXFLAGS="-Wno-unused-parameter -Wno-deprecated-copy"
pre_configure() {
# Use /usr/lib instead of /usr/lib64 or /usr/lib32
sed -i ${wrksrc}/CMakeLists.txt \
@ -40,7 +45,13 @@ pre_configure() {
sed -i -e "s/-std=c++03//" CMakeLists.txt
}
post_install() {
local _ver2=0.8
vlicense COPYING
ln -srv ${DESTDIR}/usr/lib/{cegui-${_ver2},}/libCEGUICoreWindowRendererSet.so
ln -srv ${DESTDIR}/usr/lib/{cegui-${_ver2},}/libCEGUISILLYImageCodec.so
ln -srv ${DESTDIR}/usr/lib/{cegui-${_ver2},}/libCEGUIDevILImageCodec.so
ln -srv ${DESTDIR}/usr/lib/{cegui-${_ver2},}/libCEGUIExpatParser.so
ln -srv ${DESTDIR}/usr/lib/{cegui-${_ver2},}/libCEGUILibXMLParser.so
}
cegui-data_package() {
short_desc+=" - data files"
@ -63,6 +74,8 @@ cegui-sample_package() {
pkg_install() {
vmove usr/bin
vmove "usr/lib/cegui-0.8/libCEGUI*Demo.so"
vmove "usr/lib/cegui-0.8/libCEGUI*Demo6.so"
vmove "usr/lib/cegui-0.8/libCEGUI*Minesweeper.so"
}
}
cegui-devel_package() {
@ -71,6 +84,6 @@ cegui-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/libCEGUI*-0.so"
}
}