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

Jelle van der Waa jelle at archlinux.org
Wed Apr 22 15:53:18 UTC 2020


    Date: Wednesday, April 22, 2020 @ 15:53:16
  Author: jelle
Revision: 617671

archrelease: copy trunk to community-x86_64

Added:
  chromium-bsu/repos/community-x86_64/PKGBUILD
    (from rev 617670, chromium-bsu/trunk/PKGBUILD)
  chromium-bsu/repos/community-x86_64/use_fabs_for_floats.patch
    (from rev 617670, chromium-bsu/trunk/use_fabs_for_floats.patch)
Deleted:
  chromium-bsu/repos/community-x86_64/PKGBUILD
  chromium-bsu/repos/community-x86_64/use_fabs_for_floats.patch

---------------------------+
 PKGBUILD                  |   67 +++++++++++++++++++++-----------------------
 use_fabs_for_floats.patch |   52 +++++++++++++++++-----------------
 2 files changed, 59 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 15:53:05 UTC (rev 617670)
+++ PKGBUILD	2020-04-22 15:53:16 UTC (rev 617671)
@@ -1,34 +0,0 @@
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=chromium-bsu
-pkgver=0.9.16
-pkgrel=2
-pkgdesc="A fast paced top scrolling shooter"
-arch=('x86_64')
-url="http://chromium-bsu.sourceforge.net/"
-license=('custom:artistic')
-depends=('freeglut' 'glu' 'sdl_image' 'openal' 'freealut' 'ftgl' 'fontconfig')
-source=(https://downloads.sourceforge.net/project/chromium-bsu/Chromium%20B.S.U.%20source%20code/chromium-bsu-$pkgver.tar.gz use_fabs_for_floats.patch)
-md5sums=('3d3fb58fa0503061605f51a0c2563bad'
-         'f229516bbc25e7b2dc136674a4c090b4')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-
-  patch -Np1 -i $srcdir/use_fabs_for_floats.patch
-}
-
-build(){
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/chromium-bsu/LICENSE
-}
-

Copied: chromium-bsu/repos/community-x86_64/PKGBUILD (from rev 617670, chromium-bsu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 15:53:16 UTC (rev 617671)
@@ -0,0 +1,33 @@
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=chromium-bsu
+pkgver=0.9.16.1
+pkgrel=1
+pkgdesc="A fast paced top scrolling shooter"
+arch=('x86_64')
+url="http://chromium-bsu.sourceforge.net/"
+license=('custom:artistic')
+depends=('freeglut' 'glu' 'sdl_image' 'openal' 'freealut' 'ftgl' 'fontconfig')
+source=(https://downloads.sourceforge.net/project/chromium-bsu/Chromium%20B.S.U.%20source%20code/chromium-bsu-$pkgver.tar.gz use_fabs_for_floats.patch)
+sha512sums=('1d202c0704e16b31d93c552ae6cfc17caf1182a9ec80730a981cd99c8ca8cb64d4e6e838691aa86e17ea23b7c2c0b1e7b1f4dab91bbc6129f9bf86801f2b27c8'
+            '78b0de083c1c11e56aa0e864900c0c2c163f9828505402e63d5eba6092cb2ce2449747c7d5dbd40b96e801f872795a57dc5f247818f4e3d142a3f3af0d4d188d')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  patch -Np1 -i $srcdir/use_fabs_for_floats.patch
+}
+
+build(){
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr
+  make LDFLAGS=${LDFLAGS}
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/chromium-bsu/LICENSE
+}

Deleted: use_fabs_for_floats.patch
===================================================================
--- use_fabs_for_floats.patch	2020-04-22 15:53:05 UTC (rev 617670)
+++ use_fabs_for_floats.patch	2020-04-22 15:53:16 UTC (rev 617671)
@@ -1,26 +0,0 @@
-diff -aur chromium-bsu-0.9.16/src/MainSDL_Event.cpp chromium-bsu-0.9.16.new/src/MainSDL_Event.cpp
---- chromium-bsu-0.9.16/src/MainSDL_Event.cpp	2016-06-30 17:26:58.000000000 +0200
-+++ chromium-bsu-0.9.16.new/src/MainSDL_Event.cpp	2016-08-14 21:37:55.746045707 +0200
-@@ -515,14 +515,14 @@
- 		#define KP8 SDLK_KP8
- 		#define KP9 SDLK_KP9
- #endif
--		if( keystate[LEFT]  || keystate[KP4] ) key_speed_x -= 2.0 + abs(key_speed_x)*0.4;
--		if( keystate[RIGHT] || keystate[KP6] ) key_speed_x += 2.0 + abs(key_speed_x)*0.4;
--		if( keystate[UP]    || keystate[KP8] ) key_speed_y -= 2.0 + abs(key_speed_y)*0.4;
--		if( keystate[DOWN]  || keystate[KP2] ) key_speed_y += 2.0 + abs(key_speed_y)*0.4;
--		if( keystate[KP7] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
--		if( keystate[KP9] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
--		if( keystate[KP3] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
--		if( keystate[KP1] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
-+		if( keystate[LEFT]  || keystate[KP4] ) key_speed_x -= 2.0 + fabs(key_speed_x)*0.4;
-+		if( keystate[RIGHT] || keystate[KP6] ) key_speed_x += 2.0 + fabs(key_speed_x)*0.4;
-+		if( keystate[UP]    || keystate[KP8] ) key_speed_y -= 2.0 + fabs(key_speed_y)*0.4;
-+		if( keystate[DOWN]  || keystate[KP2] ) key_speed_y += 2.0 + fabs(key_speed_y)*0.4;
-+		if( keystate[KP7] ){ key_speed_x -= 2.0 + fabs(key_speed_x)*0.4; key_speed_y -= 2.0 + fabs(key_speed_y)*0.4; }
-+		if( keystate[KP9] ){ key_speed_x += 2.0 + fabs(key_speed_x)*0.4; key_speed_y -= 2.0 + fabs(key_speed_y)*0.4; }
-+		if( keystate[KP3] ){ key_speed_x += 2.0 + fabs(key_speed_x)*0.4; key_speed_y += 2.0 + fabs(key_speed_y)*0.4; }
-+		if( keystate[KP1] ){ key_speed_x -= 2.0 + fabs(key_speed_x)*0.4; key_speed_y += 2.0 + fabs(key_speed_y)*0.4; }
- 		//float s = (1.0-game->speedAdj)+(game->speedAdj*0.7);
- 		float s = 0.7;
- 		key_speed_x *= s;

Copied: chromium-bsu/repos/community-x86_64/use_fabs_for_floats.patch (from rev 617670, chromium-bsu/trunk/use_fabs_for_floats.patch)
===================================================================
--- use_fabs_for_floats.patch	                        (rev 0)
+++ use_fabs_for_floats.patch	2020-04-22 15:53:16 UTC (rev 617671)
@@ -0,0 +1,26 @@
+diff -aur chromium-bsu-0.9.16/src/MainSDL_Event.cpp chromium-bsu-0.9.16.new/src/MainSDL_Event.cpp
+--- chromium-bsu-0.9.16/src/MainSDL_Event.cpp	2016-06-30 17:26:58.000000000 +0200
++++ chromium-bsu-0.9.16.new/src/MainSDL_Event.cpp	2016-08-14 21:37:55.746045707 +0200
+@@ -515,14 +515,14 @@
+ 		#define KP8 SDLK_KP8
+ 		#define KP9 SDLK_KP9
+ #endif
+-		if( keystate[LEFT]  || keystate[KP4] ) key_speed_x -= 2.0 + abs(key_speed_x)*0.4;
+-		if( keystate[RIGHT] || keystate[KP6] ) key_speed_x += 2.0 + abs(key_speed_x)*0.4;
+-		if( keystate[UP]    || keystate[KP8] ) key_speed_y -= 2.0 + abs(key_speed_y)*0.4;
+-		if( keystate[DOWN]  || keystate[KP2] ) key_speed_y += 2.0 + abs(key_speed_y)*0.4;
+-		if( keystate[KP7] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
+-		if( keystate[KP9] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
+-		if( keystate[KP3] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
+-		if( keystate[KP1] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
++		if( keystate[LEFT]  || keystate[KP4] ) key_speed_x -= 2.0 + fabs(key_speed_x)*0.4;
++		if( keystate[RIGHT] || keystate[KP6] ) key_speed_x += 2.0 + fabs(key_speed_x)*0.4;
++		if( keystate[UP]    || keystate[KP8] ) key_speed_y -= 2.0 + fabs(key_speed_y)*0.4;
++		if( keystate[DOWN]  || keystate[KP2] ) key_speed_y += 2.0 + fabs(key_speed_y)*0.4;
++		if( keystate[KP7] ){ key_speed_x -= 2.0 + fabs(key_speed_x)*0.4; key_speed_y -= 2.0 + fabs(key_speed_y)*0.4; }
++		if( keystate[KP9] ){ key_speed_x += 2.0 + fabs(key_speed_x)*0.4; key_speed_y -= 2.0 + fabs(key_speed_y)*0.4; }
++		if( keystate[KP3] ){ key_speed_x += 2.0 + fabs(key_speed_x)*0.4; key_speed_y += 2.0 + fabs(key_speed_y)*0.4; }
++		if( keystate[KP1] ){ key_speed_x -= 2.0 + fabs(key_speed_x)*0.4; key_speed_y += 2.0 + fabs(key_speed_y)*0.4; }
+ 		//float s = (1.0-game->speedAdj)+(game->speedAdj*0.7);
+ 		float s = 0.7;
+ 		key_speed_x *= s;



More information about the arch-commits mailing list