[arch-commits] Commit in cegui/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Jan 2 12:06:39 UTC 2017


    Date: Monday, January 2, 2017 @ 12:06:38
  Author: bpiotrowski
Revision: 204286

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

Added:
  cegui/repos/community-staging-i686/
  cegui/repos/community-staging-i686/PKGBUILD
    (from rev 204285, cegui/trunk/PKGBUILD)
  cegui/repos/community-staging-x86_64/
  cegui/repos/community-staging-x86_64/PKGBUILD
    (from rev 204285, cegui/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   49 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   49 ++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

Copied: cegui/repos/community-staging-i686/PKGBUILD (from rev 204285, cegui/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-01-02 12:06:38 UTC (rev 204286)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Bjorn Lindeijer <bjorn at lindeijer.nl>
+
+pkgname=cegui
+pkgver=0.8.7
+_tag=0-8-7
+pkgrel=6
+pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
+arch=('i686' 'x86_64')
+url="http://cegui.org.uk"
+license=("MIT")
+depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly')
+makedepends=('cmake' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa' 'tolua++' 'mercurial' 'ois')
+optdepends=('ogre: ogre module'
+            'ois: running samples'
+            'gtk2: gtk2 module'
+            'irrlicht: irrlicht module')
+source=("hg+https://bitbucket.org/cegui/cegui#tag=v${_tag}")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir/cegui"
+
+  sed -i "s/lib64/lib/g" CMakeLists.txt
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCEGUI_LIB_INSTALL_DIR=lib \
+      -DCEGUI_BUILD_PYTHON_MODULES=OFF \
+      # -DCEGUI_BUILD_PYTHON_MODULES=ON \
+      # -DPYTHON_EXECUTABLE=/usr/bin/python2
+
+  make
+  make html
+}
+
+package() {
+  cd "$srcdir/cegui"/build
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: cegui/repos/community-staging-x86_64/PKGBUILD (from rev 204285, cegui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-01-02 12:06:38 UTC (rev 204286)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Bjorn Lindeijer <bjorn at lindeijer.nl>
+
+pkgname=cegui
+pkgver=0.8.7
+_tag=0-8-7
+pkgrel=6
+pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
+arch=('i686' 'x86_64')
+url="http://cegui.org.uk"
+license=("MIT")
+depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly')
+makedepends=('cmake' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa' 'tolua++' 'mercurial' 'ois')
+optdepends=('ogre: ogre module'
+            'ois: running samples'
+            'gtk2: gtk2 module'
+            'irrlicht: irrlicht module')
+source=("hg+https://bitbucket.org/cegui/cegui#tag=v${_tag}")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir/cegui"
+
+  sed -i "s/lib64/lib/g" CMakeLists.txt
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCEGUI_LIB_INSTALL_DIR=lib \
+      -DCEGUI_BUILD_PYTHON_MODULES=OFF \
+      # -DCEGUI_BUILD_PYTHON_MODULES=ON \
+      # -DPYTHON_EXECUTABLE=/usr/bin/python2
+
+  make
+  make html
+}
+
+package() {
+  cd "$srcdir/cegui"/build
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list