[arch-commits] Commit in gigi/repos (4 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Fri Aug 16 17:28:27 UTC 2013
Date: Friday, August 16, 2013 @ 19:28:27
Author: arodseth
Revision: 95771
archrelease: copy trunk to community-x86_64, community-i686
Added:
gigi/repos/community-i686/PKGBUILD
(from rev 95770, gigi/trunk/PKGBUILD)
gigi/repos/community-x86_64/PKGBUILD
(from rev 95770, gigi/trunk/PKGBUILD)
Deleted:
gigi/repos/community-i686/PKGBUILD
gigi/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 122 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 80 ----------------------------
community-x86_64/PKGBUILD | 80 ----------------------------
3 files changed, 122 insertions(+), 160 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-08-16 17:24:11 UTC (rev 95770)
+++ community-i686/PKGBUILD 2013-08-16 17:28:27 UTC (rev 95771)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: fana-m <geminin at gmx.net>
-# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Manuel Gaul <inkaine at hotmail.com>
-
-pkgname=gigi
-pkgver=6142
-pkgrel=1
-pkgdesc='Small, efficient and feature rich GUI for OpenGL and C++ (freeorion fork)'
-#url='http://gigi.sourceforge.net/'
-url='http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/GG/'
-arch=('x86_64' 'i686')
-license=('LGPL')
-depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
-makedepends=('subversion' 'cmake' 'setconf' 'doxygen' 'mesa-libgl')
-#https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/
-source=("$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/GG/#revision=6142") # 5780 # 5407
-sha256sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- svnversion | tr -d [A-z]
-}
-
-build() {
- cd "$srcdir/$pkgname"
-
- msg2 'Configuring...'
- setconf cmake/GiGiOgre.pc.in prefix /usr
- setconf cmake/GiGi.pc.in prefix /usr
- setconf cmake/GiGiSDL.pc.in prefix /usr
- # It would be better if CMAKE_INSTALL_PREFIX or the resulting Makefiles
- # could be re-configured in the package() function, but this works too.
- cmake \
- -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
- -D BUILD_TUTORIALS=OFF \
- -D CPACK_GENERATOR=GiGiDevel \
- -D CMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
- .
-
- #msg2 'Building documentation...'
- #cd doc
- #doxygen
- #cd ..
-
- msg2 'Compiling...'
- make -j1
-}
-
-package() {
- cd "$srcdir/$pkgname"
-
- msg2 'Packaging files...'
- make install
-
- msg2 'Moving files to the right location...'
- mv -v "$srcdir/pkg/usr" "$pkgdir/"
-
- #msg2 'Fixing documentation...'
- #mkdir -p "$pkgdir/usr/share/doc"
- #mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/$pkgname"
-
- #for f in `find "$pkgdir/usr/share/doc" -name "dir_*.html"`; do
- # sed -i "s:$srcdir:/:g" "$f"
- #done
-
- msg2 'Python 3 fix...'
- for f in `find "$pkgdir/usr" -name "*.py"`; do
- sed -i "s:/env python:/python3:g" "$f"
- done
-
- msg2 'Packaging license...'
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: gigi/repos/community-i686/PKGBUILD (from rev 95770, gigi/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-08-16 17:28:27 UTC (rev 95771)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: fana-m <geminin at gmx.net>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Manuel Gaul <inkaine at hotmail.com>
+
+pkgname=gigi
+pkgver=6142
+pkgrel=1
+pkgdesc='Small, efficient and feature rich GUI for OpenGL and C++ (freeorion fork)'
+#url='http://gigi.sourceforge.net/'
+url='http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/GG/'
+arch=('x86_64' 'i686')
+license=('LGPL')
+depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
+makedepends=('subversion' 'cmake' 'setconf' 'doxygen' 'addinclude') #'mesa-libgl')
+#https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/
+source=("$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/GG/")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ svnversion | tr -d [A-z]
+}
+
+prepare() {
+ cd "$pkgname"
+
+ setconf cmake/GiGiOgre.pc.in prefix /usr
+ setconf cmake/GiGi.pc.in prefix /usr
+ setconf cmake/GiGiSDL.pc.in prefix /usr
+ addinclude -n GG/adobe/once.hpp '#include <stdint.h>'
+}
+
+build() {
+ cd "$pkgname"
+
+ cmake \
+ -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
+ -D BUILD_TUTORIALS=OFF \
+ -D CPACK_GENERATOR=GiGiDevel \
+ -D CMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
+ .
+ make -j1
+}
+
+package() {
+ cd "$pkgname"
+
+ make install
+ mv -v "$srcdir/pkg/usr" "$pkgdir/"
+
+ # python3 fix
+ for f in `find "$pkgdir/usr" -name "*.py"`; do
+ sed -i "s:/env python:/python3:g" "$f"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-08-16 17:24:11 UTC (rev 95770)
+++ community-x86_64/PKGBUILD 2013-08-16 17:28:27 UTC (rev 95771)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: fana-m <geminin at gmx.net>
-# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Manuel Gaul <inkaine at hotmail.com>
-
-pkgname=gigi
-pkgver=6142
-pkgrel=1
-pkgdesc='Small, efficient and feature rich GUI for OpenGL and C++ (freeorion fork)'
-#url='http://gigi.sourceforge.net/'
-url='http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/GG/'
-arch=('x86_64' 'i686')
-license=('LGPL')
-depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
-makedepends=('subversion' 'cmake' 'setconf' 'doxygen' 'mesa-libgl')
-#https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/
-source=("$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/GG/#revision=6142") # 5780 # 5407
-sha256sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- svnversion | tr -d [A-z]
-}
-
-build() {
- cd "$srcdir/$pkgname"
-
- msg2 'Configuring...'
- setconf cmake/GiGiOgre.pc.in prefix /usr
- setconf cmake/GiGi.pc.in prefix /usr
- setconf cmake/GiGiSDL.pc.in prefix /usr
- # It would be better if CMAKE_INSTALL_PREFIX or the resulting Makefiles
- # could be re-configured in the package() function, but this works too.
- cmake \
- -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
- -D BUILD_TUTORIALS=OFF \
- -D CPACK_GENERATOR=GiGiDevel \
- -D CMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
- .
-
- #msg2 'Building documentation...'
- #cd doc
- #doxygen
- #cd ..
-
- msg2 'Compiling...'
- make -j1
-}
-
-package() {
- cd "$srcdir/$pkgname"
-
- msg2 'Packaging files...'
- make install
-
- msg2 'Moving files to the right location...'
- mv -v "$srcdir/pkg/usr" "$pkgdir/"
-
- #msg2 'Fixing documentation...'
- #mkdir -p "$pkgdir/usr/share/doc"
- #mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/$pkgname"
-
- #for f in `find "$pkgdir/usr/share/doc" -name "dir_*.html"`; do
- # sed -i "s:$srcdir:/:g" "$f"
- #done
-
- msg2 'Python 3 fix...'
- for f in `find "$pkgdir/usr" -name "*.py"`; do
- sed -i "s:/env python:/python3:g" "$f"
- done
-
- msg2 'Packaging license...'
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: gigi/repos/community-x86_64/PKGBUILD (from rev 95770, gigi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-08-16 17:28:27 UTC (rev 95771)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: fana-m <geminin at gmx.net>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Manuel Gaul <inkaine at hotmail.com>
+
+pkgname=gigi
+pkgver=6142
+pkgrel=1
+pkgdesc='Small, efficient and feature rich GUI for OpenGL and C++ (freeorion fork)'
+#url='http://gigi.sourceforge.net/'
+url='http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/GG/'
+arch=('x86_64' 'i686')
+license=('LGPL')
+depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
+makedepends=('subversion' 'cmake' 'setconf' 'doxygen' 'addinclude') #'mesa-libgl')
+#https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/
+source=("$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/GG/")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ svnversion | tr -d [A-z]
+}
+
+prepare() {
+ cd "$pkgname"
+
+ setconf cmake/GiGiOgre.pc.in prefix /usr
+ setconf cmake/GiGi.pc.in prefix /usr
+ setconf cmake/GiGiSDL.pc.in prefix /usr
+ addinclude -n GG/adobe/once.hpp '#include <stdint.h>'
+}
+
+build() {
+ cd "$pkgname"
+
+ cmake \
+ -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
+ -D BUILD_TUTORIALS=OFF \
+ -D CPACK_GENERATOR=GiGiDevel \
+ -D CMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
+ .
+ make -j1
+}
+
+package() {
+ cd "$pkgname"
+
+ make install
+ mv -v "$srcdir/pkg/usr" "$pkgdir/"
+
+ # python3 fix
+ for f in `find "$pkgdir/usr" -name "*.py"`; do
+ sed -i "s:/env python:/python3:g" "$f"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list