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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Oct 9 22:45:34 UTC 2016


    Date: Sunday, October 9, 2016 @ 22:45:34
  Author: bpiotrowski
Revision: 191762

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 191761, mygui/trunk/PKGBUILD)
  mygui/repos/community-staging-i686/mygui.install
    (from rev 191761, mygui/trunk/mygui.install)
  mygui/repos/community-staging-x86_64/
  mygui/repos/community-staging-x86_64/PKGBUILD
    (from rev 191761, mygui/trunk/PKGBUILD)
  mygui/repos/community-staging-x86_64/mygui.install
    (from rev 191761, mygui/trunk/mygui.install)

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

Copied: mygui/repos/community-staging-i686/PKGBUILD (from rev 191761, mygui/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-09 22:45:34 UTC (rev 191762)
@@ -0,0 +1,73 @@
+# $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.2
+pkgrel=9
+pkgdesc="A multilayer and overlappable GUI System"
+arch=('i686' 'x86_64')
+url="http://mygui.info/"
+license=('LGPL')
+depends=('boost-libs' 'ois')
+makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'ogre')
+optdepends=('ogre: for the ogre plugin and some exaples')
+install=mygui.install
+source=("https://github.com/MyGUI/mygui/archive/MyGUI${pkgver}.tar.gz")
+md5sums=('0023a689a2a63febc2cc703f81f86c62')
+
+build() {
+  cd $srcdir/mygui-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 \
+    -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/ \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_SHARED_LIBS=TRUE
+
+  make
+  make api-docs
+}
+
+package_mygui() {
+  optdepends=('mygui-docs: documentation')
+
+  cd $srcdir/mygui-MyGUI$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+
+  # make demos work
+  install -Dm775 lib/libCommon.so ${pkgdir}/usr/lib/libCommon.so
+  chown root:users $pkgdir/opt/MYGUI
+  chmod 775 $pkgdir/opt/MYGUI
+}
+
+package_mygui-docs() {
+  pkgdesc="Documentation for mygui"
+  depends=()
+
+  cd $srcdir/mygui-MyGUI$pkgver/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 191761, mygui/trunk/mygui.install)
===================================================================
--- community-staging-i686/mygui.install	                        (rev 0)
+++ community-staging-i686/mygui.install	2016-10-09 22:45:34 UTC (rev 191762)
@@ -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 191761, mygui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-09 22:45:34 UTC (rev 191762)
@@ -0,0 +1,73 @@
+# $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.2
+pkgrel=9
+pkgdesc="A multilayer and overlappable GUI System"
+arch=('i686' 'x86_64')
+url="http://mygui.info/"
+license=('LGPL')
+depends=('boost-libs' 'ois')
+makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'ogre')
+optdepends=('ogre: for the ogre plugin and some exaples')
+install=mygui.install
+source=("https://github.com/MyGUI/mygui/archive/MyGUI${pkgver}.tar.gz")
+md5sums=('0023a689a2a63febc2cc703f81f86c62')
+
+build() {
+  cd $srcdir/mygui-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 \
+    -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/ \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_SHARED_LIBS=TRUE
+
+  make
+  make api-docs
+}
+
+package_mygui() {
+  optdepends=('mygui-docs: documentation')
+
+  cd $srcdir/mygui-MyGUI$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+
+  # make demos work
+  install -Dm775 lib/libCommon.so ${pkgdir}/usr/lib/libCommon.so
+  chown root:users $pkgdir/opt/MYGUI
+  chmod 775 $pkgdir/opt/MYGUI
+}
+
+package_mygui-docs() {
+  pkgdesc="Documentation for mygui"
+  depends=()
+
+  cd $srcdir/mygui-MyGUI$pkgver/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 191761, mygui/trunk/mygui.install)
===================================================================
--- community-staging-x86_64/mygui.install	                        (rev 0)
+++ community-staging-x86_64/mygui.install	2016-10-09 22:45:34 UTC (rev 191762)
@@ -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