New Package: mygui-3.2.2

libmygui: remove arches

libmygui: remove empty depends

removed Demos so it compiles for ARM
This commit is contained in:
John 2017-04-28 17:18:20 +02:00 committed by Michael Aldridge
parent 8783991364
commit 8cdd595d8d
3 changed files with 44 additions and 0 deletions

1
srcpkgs/libmygui-devel Symbolic link
View file

@ -0,0 +1 @@
libmygui

View file

@ -0,0 +1,11 @@
--- Common/Input/OIS/InputManager.h 2015-01-26 16:32:35.000000000 +0100
+++ Common/Input/OIS/InputManager.h2 2017-04-15 14:45:38.090187301 +0200
@@ -8,7 +8,7 @@
#define INPUT_MANAGER_H_
#include <MyGUI.h>
-#include <OIS.h>
+#include <OIS/OIS.h>
namespace input
{

32
srcpkgs/libmygui/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'mygui'
pkgname=libmygui
version=3.2.2
revision=1
wrksrc="mygui-MyGUI${version}"
build_style=cmake
configure_args="-DMYGUI_BUILD_DEMOS=OFF"
makedepends="libX11-devel ois-devel boost-devel freetype-devel libogre-devel"
short_desc="Fast, flexible and simple GUI"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="http://mygui.info"
distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
checksum=0a28d7ec8a47993cb68deb48b36331e28f12dd92580b709eaef21d599b67a78f
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DMYGUI_BUILD_TOOLS=OFF -DMYGUI_RENDERSYSTEM=1"
fi
libmygui-devel_package() {
short-desc += " - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
post_install() {
vlicense COPYING.MIT
}