[arch-commits] Commit in torcs/repos/community-x86_64 (5 files)

Sergej Pupykin spupykin at archlinux.org
Tue Aug 9 18:56:28 UTC 2016


    Date: Tuesday, August 9, 2016 @ 18:56:28
  Author: spupykin
Revision: 186245

archrelease: copy trunk to community-x86_64

Added:
  torcs/repos/community-x86_64/PKGBUILD
    (from rev 186244, torcs/trunk/PKGBUILD)
  torcs/repos/community-x86_64/build-fix.patch
    (from rev 186244, torcs/trunk/build-fix.patch)
  torcs/repos/community-x86_64/torcs.sh
    (from rev 186244, torcs/trunk/torcs.sh)
Deleted:
  torcs/repos/community-x86_64/PKGBUILD
  torcs/repos/community-x86_64/torcs.sh

-----------------+
 PKGBUILD        |   71 +++++++++++++++++++++++++++++-------------------------
 build-fix.patch |   12 +++++++++
 torcs.sh        |    4 +--
 3 files changed, 53 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-09 18:52:50 UTC (rev 186244)
+++ PKGBUILD	2016-08-09 18:56:28 UTC (rev 186245)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Shahar Weiss <sweiss4 at gmx.net>
-
-pkgname=torcs
-pkgver=1.3.6
-pkgrel=2
-pkgdesc="A 3D racing cars simulator using OpenGL"
-url="http://torcs.sourceforge.net"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'libvorbis' 'glu')
-makedepends=('plib' 'mesa')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2)
-md5sums=('e39e33052caa8a11094091f2cdf7b528')
-
-build() {
-  cd $srcdir/$pkgname-${pkgver/_/-}
-  unset LDFLAGS
-  ./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
-  make
-}
-
-package() {
-  depends=(${depends[@]} "torcs-data=$pkgver")
-  cd $srcdir/$pkgname-${pkgver/_/-}
-  make DESTDIR=${pkgdir} install
-  install -D -m644 Ticon.png ${pkgdir}/usr/share/pixmaps/torcs.png
-  install -D -m644 torcs.desktop ${pkgdir}/usr/share/applications/torcs.desktop
-  find ${pkgdir} -type d -exec chmod 755 {} \;
-}

Copied: torcs/repos/community-x86_64/PKGBUILD (from rev 186244, torcs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-09 18:56:28 UTC (rev 186245)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=torcs
+pkgver=1.3.7
+pkgrel=1
+pkgdesc="A 3D racing cars simulator using OpenGL"
+url="http://torcs.sourceforge.net"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'libvorbis' 'glu')
+makedepends=('plib' 'mesa')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2
+	build-fix.patch)
+md5sums=('de314c3e421e8d7d4323d819c5010d23'
+         'e011b533142879b1a399ce1cdeb1772c')
+
+prepare() {
+  cd $srcdir/$pkgname-${pkgver/_/-}
+  patch -p1 <$srcdir/build-fix.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-${pkgver/_/-}
+  unset LDFLAGS
+  ./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
+  make
+}
+
+package() {
+  depends=(${depends[@]} "torcs-data=$pkgver")
+  cd $srcdir/$pkgname-${pkgver/_/-}
+  make DESTDIR=${pkgdir} install
+  install -D -m644 Ticon.png ${pkgdir}/usr/share/pixmaps/torcs.png
+  install -D -m644 torcs.desktop ${pkgdir}/usr/share/applications/torcs.desktop
+  find ${pkgdir} -type d -exec chmod 755 {} \;
+}

Copied: torcs/repos/community-x86_64/build-fix.patch (from rev 186244, torcs/trunk/build-fix.patch)
===================================================================
--- build-fix.patch	                        (rev 0)
+++ build-fix.patch	2016-08-09 18:56:28 UTC (rev 186245)
@@ -0,0 +1,12 @@
+diff -wbBur torcs-1.3.7/src/drivers/olethros/geometry.cpp torcs-1.3.7.my/src/drivers/olethros/geometry.cpp
+--- torcs-1.3.7/src/drivers/olethros/geometry.cpp	2006-01-06 18:22:29.000000000 +0300
++++ torcs-1.3.7.my/src/drivers/olethros/geometry.cpp	2016-08-09 21:44:26.976853102 +0300
+@@ -27,6 +27,8 @@
+ #ifdef WIN32
+ #include <float.h>
+ #define isnan _isnan
++#else
++#define isnan std::isnan
+ #endif
+ 
+ 

Deleted: torcs.sh
===================================================================
--- torcs.sh	2016-08-09 18:52:50 UTC (rev 186244)
+++ torcs.sh	2016-08-09 18:56:28 UTC (rev 186245)
@@ -1,2 +0,0 @@
-#!/bin/bash
-export PATH=$PATH:/opt/torcs/bin

Copied: torcs/repos/community-x86_64/torcs.sh (from rev 186244, torcs/trunk/torcs.sh)
===================================================================
--- torcs.sh	                        (rev 0)
+++ torcs.sh	2016-08-09 18:56:28 UTC (rev 186245)
@@ -0,0 +1,2 @@
+#!/bin/bash
+export PATH=$PATH:/opt/torcs/bin



More information about the arch-commits mailing list