[arch-commits] Commit in mygui/repos (6 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Wed Jul 10 16:58:56 UTC 2013


    Date: Wednesday, July 10, 2013 @ 18:58:56
  Author: svenstaro
Revision: 93827

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  mygui/repos/community-staging-i686/
  mygui/repos/community-staging-i686/PKGBUILD
    (from rev 93826, mygui/trunk/PKGBUILD)
  mygui/repos/community-staging-i686/mygui.install
    (from rev 93826, mygui/trunk/mygui.install)
  mygui/repos/community-staging-x86_64/
  mygui/repos/community-staging-x86_64/PKGBUILD
    (from rev 93826, mygui/trunk/PKGBUILD)
  mygui/repos/community-staging-x86_64/mygui.install
    (from rev 93826, mygui/trunk/mygui.install)

----------------------------------------+
 community-staging-i686/PKGBUILD        |   79 +++++++++++++++++++++++++++++++
 community-staging-i686/mygui.install   |    3 +
 community-staging-x86_64/PKGBUILD      |   79 +++++++++++++++++++++++++++++++
 community-staging-x86_64/mygui.install |    3 +
 4 files changed, 164 insertions(+)

Copied: mygui/repos/community-staging-i686/PKGBUILD (from rev 93826, mygui/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-07-10 16:58:56 UTC (rev 93827)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Andrew Belitsky <belitsky.a at gmail.com>
+pkgbase=mygui
+pkgname=('mygui' 'mygui-docs')
+pkgver=3.2.0
+pkgrel=6
+pkgdesc="A multilayer and overlappable GUI System for OGRE"
+arch=('i686' 'x86_64')
+url="http://mygui.info/"
+license=('LGPL')
+depends=('boost-libs' 'ogre' 'ois')
+makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu')
+install=mygui.install
+source=("http://downloads.sourceforge.net/my-gui/MyGUI_$pkgver.zip")
+md5sums=('7c20486a0db82f497d8b7c5300613b61')
+
+build() {
+  cd $srcdir/MyGUI_$pkgver
+
+  # change CMake config so demos install to /opt
+  sed -i 's:"bin:"../opt/MYGUI:' CMake/Utils/MyGUIConfigTargets.cmake
+  sed -i -e 's:../share:/usr/share:' \
+         -e 's:"bin":"../opt/MYGUI":' \
+         CMake/InstallResources.cmake
+  sed -i '71 i set(MYGUI_GCC_VISIBILITY_FLAGS "")' CMakeLists.txt
+  sed -i 's/\${OIS_LIBRARIES}/${OIS_LIBRARIES} boost_system/g' Common/CMakeLists.txt
+
+  # get a clean build dir
+  [[ -d build ]] && rm -rf build
+  mkdir build && cd build
+
+  # generate CMake Makefile
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DMYGUI_INSTALL_SAMPLES=TRUE \
+    -DMYGUI_INSTALL_TOOLS=TRUE \
+    -DMYGUI_INSTALL_DOCS=TRUE \
+    -DMYGUI_INSTALL_MEDIA=TRUE \
+    -DCMAKE_BUILD_TYPE=Release # set=Debug for debugging version
+
+  # compile
+  make
+
+  # generate docs
+  if [[ $(which dot) && $(which doxygen) ]]; then
+    make api-docs 2>/dev/null
+  fi
+}
+
+package_mygui() {
+  optdepends=('mygui-docs: documentation')
+
+  cd $srcdir/MyGUI_$pkgver
+  
+  cd build
+
+  # install the whole bunch
+  make DESTDIR="$pkgdir" install
+
+  # make demos work
+  chown root:users $pkgdir/opt/MYGUI
+  chmod 775 $pkgdir/opt/MYGUI
+}
+
+package_mygui-docs() {
+  pkgdesc="Documentation for mygui"
+  depends=()
+
+  cd $srcdir/MyGUI_$pkgver
+  
+  cd build
+
+  # install docs
+  install -d $pkgdir/usr/share/doc/
+  cp -r Docs/html $pkgdir/usr/share/doc/MYGUI
+}
+
+# vim:set ts=2 sw=2 et:

Copied: mygui/repos/community-staging-i686/mygui.install (from rev 93826, mygui/trunk/mygui.install)
===================================================================
--- community-staging-i686/mygui.install	                        (rev 0)
+++ community-staging-i686/mygui.install	2013-07-10 16:58:56 UTC (rev 93827)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the MyGUI samples, go to /opt/MYGUI/ and run the samples individually"
+}

Copied: mygui/repos/community-staging-x86_64/PKGBUILD (from rev 93826, mygui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-07-10 16:58:56 UTC (rev 93827)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Andrew Belitsky <belitsky.a at gmail.com>
+pkgbase=mygui
+pkgname=('mygui' 'mygui-docs')
+pkgver=3.2.0
+pkgrel=6
+pkgdesc="A multilayer and overlappable GUI System for OGRE"
+arch=('i686' 'x86_64')
+url="http://mygui.info/"
+license=('LGPL')
+depends=('boost-libs' 'ogre' 'ois')
+makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu')
+install=mygui.install
+source=("http://downloads.sourceforge.net/my-gui/MyGUI_$pkgver.zip")
+md5sums=('7c20486a0db82f497d8b7c5300613b61')
+
+build() {
+  cd $srcdir/MyGUI_$pkgver
+
+  # change CMake config so demos install to /opt
+  sed -i 's:"bin:"../opt/MYGUI:' CMake/Utils/MyGUIConfigTargets.cmake
+  sed -i -e 's:../share:/usr/share:' \
+         -e 's:"bin":"../opt/MYGUI":' \
+         CMake/InstallResources.cmake
+  sed -i '71 i set(MYGUI_GCC_VISIBILITY_FLAGS "")' CMakeLists.txt
+  sed -i 's/\${OIS_LIBRARIES}/${OIS_LIBRARIES} boost_system/g' Common/CMakeLists.txt
+
+  # get a clean build dir
+  [[ -d build ]] && rm -rf build
+  mkdir build && cd build
+
+  # generate CMake Makefile
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DMYGUI_INSTALL_SAMPLES=TRUE \
+    -DMYGUI_INSTALL_TOOLS=TRUE \
+    -DMYGUI_INSTALL_DOCS=TRUE \
+    -DMYGUI_INSTALL_MEDIA=TRUE \
+    -DCMAKE_BUILD_TYPE=Release # set=Debug for debugging version
+
+  # compile
+  make
+
+  # generate docs
+  if [[ $(which dot) && $(which doxygen) ]]; then
+    make api-docs 2>/dev/null
+  fi
+}
+
+package_mygui() {
+  optdepends=('mygui-docs: documentation')
+
+  cd $srcdir/MyGUI_$pkgver
+  
+  cd build
+
+  # install the whole bunch
+  make DESTDIR="$pkgdir" install
+
+  # make demos work
+  chown root:users $pkgdir/opt/MYGUI
+  chmod 775 $pkgdir/opt/MYGUI
+}
+
+package_mygui-docs() {
+  pkgdesc="Documentation for mygui"
+  depends=()
+
+  cd $srcdir/MyGUI_$pkgver
+  
+  cd build
+
+  # install docs
+  install -d $pkgdir/usr/share/doc/
+  cp -r Docs/html $pkgdir/usr/share/doc/MYGUI
+}
+
+# vim:set ts=2 sw=2 et:

Copied: mygui/repos/community-staging-x86_64/mygui.install (from rev 93826, mygui/trunk/mygui.install)
===================================================================
--- community-staging-x86_64/mygui.install	                        (rev 0)
+++ community-staging-x86_64/mygui.install	2013-07-10 16:58:56 UTC (rev 93827)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the MyGUI samples, go to /opt/MYGUI/ and run the samples individually"
+}




More information about the arch-commits mailing list