[arch-commits] Commit in flightgear/repos/community-x86_64 (4 files)

Sergej Pupykin spupykin at archlinux.org
Mon Nov 21 13:59:46 UTC 2016


    Date: Monday, November 21, 2016 @ 13:59:45
  Author: spupykin
Revision: 196452

archrelease: copy trunk to community-x86_64

Added:
  flightgear/repos/community-x86_64/PKGBUILD
    (from rev 196451, flightgear/trunk/PKGBUILD)
  flightgear/repos/community-x86_64/build-fix.patch
    (from rev 196451, flightgear/trunk/build-fix.patch)
Deleted:
  flightgear/repos/community-x86_64/PKGBUILD
  flightgear/repos/community-x86_64/build-fix.patch

-----------------+
 PKGBUILD        |  100 +++++++++++++++++++++++++++---------------------------
 build-fix.patch |   40 ++++++++++-----------
 2 files changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-21 13:50:46 UTC (rev 196451)
+++ PKGBUILD	2016-11-21 13:59:45 UTC (rev 196452)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: William Rea <sillywilly at gmail.com>
-# Contributor: Hans Janssen <hans at janserv.xs4all.nl>
-
-pkgname=flightgear
-pkgver=2016.3.1
-_pkgver=2016.3
-pkgrel=1
-pkgdesc="An open-source, multi-platform flight simulator"
-arch=(i686 x86_64)
-depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal')
-makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'qt5-base')
-optdepends=('qt5-base: fgfs --launcher')
-license=("GPL")
-url="http://www.flightgear.org/"
-options=('!makeflags')
-source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2"
-	"build-fix.patch")
-md5sums=('70936a91c80ee18a7dd7ed663c0273e3'
-         'b3d60c225955fd4b8d80ac2087288e43')
-
-prepare() {
-  cd $srcdir/flightgear-$pkgver
-  patch -p1 -i $srcdir/build-fix.patch
-}
-
-build() {
-  cd $srcdir/flightgear-$pkgver
-  cmake \
-	-DCMAKE_INSTALL_PREFIX=/usr \
-	-DCMAKE_INSTALL_LIBDIR=lib \
-	-DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
-  uudecode -o package/flightgear.png package/flightgear.png.uue
-  make
-  sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop
-}
-
-package() {
-  depends=(${depends[@]} 'flightgear-data')
-
-  cd $srcdir/flightgear-$pkgver
-  make DESTDIR=$pkgdir install
-
-  install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop
-  install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico
-  install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png
-  install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs
-  ln -sf flightgear $pkgdir/usr/share/FlightGear
-}

Copied: flightgear/repos/community-x86_64/PKGBUILD (from rev 196451, flightgear/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-11-21 13:59:45 UTC (rev 196452)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: William Rea <sillywilly at gmail.com>
+# Contributor: Hans Janssen <hans at janserv.xs4all.nl>
+
+pkgname=flightgear
+pkgver=2016.4.1
+_pkgver=2016.4
+pkgrel=1
+pkgdesc="An open-source, multi-platform flight simulator"
+arch=(i686 x86_64)
+depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal')
+makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'qt5-base')
+optdepends=('qt5-base: fgfs --launcher')
+license=("GPL")
+url="http://www.flightgear.org/"
+options=('!makeflags')
+source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2"
+	"build-fix.patch")
+sha256sums=('714183cd1e3eb926b0a37dca0192981aef791ca369a238afdaa05e4f4b91efc8'
+            '439a9a63b6a6c7e3cfc647946bb1f749022c27d921aad574a17d1cf575256ed2')
+
+prepare() {
+  cd "$srcdir"/flightgear-$pkgver
+#  patch -p1 -i "$srcdir"/build-fix.patch
+}
+
+build() {
+  cd "$srcdir"/flightgear-$pkgver
+  cmake \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_INSTALL_LIBDIR=lib \
+	-DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
+  uudecode -o package/flightgear.png package/flightgear.png.uue
+  make
+  sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop
+}
+
+package() {
+  depends=(${depends[@]} 'flightgear-data')
+
+  cd "$srcdir"/flightgear-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm0644 package/flightgear.desktop "$pkgdir"/usr/share/applications/flightgear.desktop
+  install -Dm0644 package/flightgear.ico "$pkgdir"/usr/share/icons/flightgear.ico
+  install -Dm0644 package/flightgear.png "$pkgdir"/usr/share/icons/flightgear.png
+  install -Dm0644 scripts/completion/fg-completion.bash "$pkgdir"/usr/share/bash-completion/completions/fgfs
+  ln -sf flightgear "$pkgdir"/usr/share/FlightGear
+}

Deleted: build-fix.patch
===================================================================
--- build-fix.patch	2016-11-21 13:50:46 UTC (rev 196451)
+++ build-fix.patch	2016-11-21 13:59:45 UTC (rev 196452)
@@ -1,20 +0,0 @@
-diff -wbBur flightgear-2016.2.1.org/src/Navaids/PositionedOctree.hxx flightgear-2016.2.1/src/Navaids/PositionedOctree.hxx
---- flightgear-2016.2.1.org/src/Navaids/PositionedOctree.hxx	2016-05-17 11:36:25.000000000 +0300
-+++ flightgear-2016.2.1/src/Navaids/PositionedOctree.hxx	2016-05-17 21:20:17.788837738 +0300
-@@ -31,6 +31,7 @@
- #include <cassert>
- #include <map>
- #include <functional>
-+#include <cmath>
- 
- // SimGear
- #include <simgear/math/SGGeometry.hxx>
-@@ -60,7 +61,7 @@
-     _order(x),
-     _inner(v)
-     {
--      assert(!isnan(x));
-+      assert(!std::isnan(x));
-     }
-     
-     Ordered(const Ordered<T>& a) :

Copied: flightgear/repos/community-x86_64/build-fix.patch (from rev 196451, flightgear/trunk/build-fix.patch)
===================================================================
--- build-fix.patch	                        (rev 0)
+++ build-fix.patch	2016-11-21 13:59:45 UTC (rev 196452)
@@ -0,0 +1,20 @@
+diff -wbBur flightgear-2016.2.1.org/src/Navaids/PositionedOctree.hxx flightgear-2016.2.1/src/Navaids/PositionedOctree.hxx
+--- flightgear-2016.2.1.org/src/Navaids/PositionedOctree.hxx	2016-05-17 11:36:25.000000000 +0300
++++ flightgear-2016.2.1/src/Navaids/PositionedOctree.hxx	2016-05-17 21:20:17.788837738 +0300
+@@ -31,6 +31,7 @@
+ #include <cassert>
+ #include <map>
+ #include <functional>
++#include <cmath>
+ 
+ // SimGear
+ #include <simgear/math/SGGeometry.hxx>
+@@ -60,7 +61,7 @@
+     _order(x),
+     _inner(v)
+     {
+-      assert(!isnan(x));
++      assert(!std::isnan(x));
+     }
+     
+     Ordered(const Ordered<T>& a) :



More information about the arch-commits mailing list