diff --git a/srcpkgs/libmygui-devel b/srcpkgs/libmygui-devel new file mode 120000 index 00000000000..de07ae115af --- /dev/null +++ b/srcpkgs/libmygui-devel @@ -0,0 +1 @@ +libmygui \ No newline at end of file diff --git a/srcpkgs/libmygui/patches/0001-OIS.patch b/srcpkgs/libmygui/patches/0001-OIS.patch new file mode 100644 index 00000000000..dbf8382a801 --- /dev/null +++ b/srcpkgs/libmygui/patches/0001-OIS.patch @@ -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 +-#include ++#include + + namespace input + { diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template new file mode 100644 index 00000000000..a575abc51e8 --- /dev/null +++ b/srcpkgs/libmygui/template @@ -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 " +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 +}