diff options
author | Dennis Holierhoek | 2016-07-12 19:47:31 +0200 |
---|---|---|
committer | Dennis Holierhoek | 2016-07-12 19:47:31 +0200 |
commit | cbe9f2632e2bcb4a6908e1fd9b49efb064e45a08 (patch) | |
tree | 6a8704d26493516539b18d6d73db4ee5920fdc77 | |
download | aur-cbe9f2632e2bcb4a6908e1fd9b49efb064e45a08.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 41 | ||||
-rw-r--r-- | PKGBUILD | 78 | ||||
-rw-r--r-- | RoR.desktop | 9 | ||||
-rw-r--r-- | RoRConfig.desktop | 9 | ||||
-rw-r--r-- | plugins.cfg | 11 | ||||
-rwxr-xr-x | rigsofrods-config.sh | 4 | ||||
-rw-r--r-- | rigsofrods.png | bin | 0 -> 2635 bytes | |||
-rwxr-xr-x | rigsofrods.sh | 4 | ||||
-rw-r--r-- | water.particle.new | 148 |
9 files changed, 304 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..531a0bb0198c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,41 @@ +pkgbase = rigsofrods-noangelscript-git + pkgdesc = An open source vehicle simulator based on soft-body physics - version without Angelscript - may be required at 32 bit systems + pkgver = 0.4.5.1.r1049.g5fb089e + pkgrel = 1 + url = http://rigsofrods.org + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = git + depends = openal + depends = wxgtk + depends = ogre + depends = caelum-git + depends = mygui + depends = ogre-pagedgeometry-git + depends = socketw + optdepends = sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig + provides = rigsofrods + conflicts = rigsofrods + conflicts = rigsofrods-hg + conflicts = rigsofrods-git + source = git+https://github.com/RigsOfRods/rigs-of-rods.git + source = plugins.cfg + source = rigsofrods.png + source = RoRConfig.desktop + source = RoR.desktop + source = water.particle.new + source = rigsofrods.sh + source = rigsofrods-config.sh + sha512sums = SKIP + sha512sums = aaf465b9afa2acde5300c5721d46147e54a25d74ca42efc560e47fd2e1197717904a33deef3bedcf4a94103228c25129b77f200d386567424a5c1f96fb55b339 + sha512sums = 8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710 + sha512sums = 40a000061d72245265d53d7c2ce0c4acc81eb3dddb6f6beda4b693a154e34922b8eb5c8400062b58c5f43a74be6cdaab938c1cd6427aebfc691d1fa52517fe2d + sha512sums = b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af + sha512sums = e5e2c676e29ef868779c2f3d8896d18a99affd8f56931af0cae96861197b6141c0acbba32ad22508d9794bf21d47d97ca471a1b1d500bbefaac5d6e5071dc0a4 + sha512sums = 83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6 + sha512sums = fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d + +pkgname = rigsofrods-noangelscript-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..44a4039bd0ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,78 @@ +# Maintainer: Artem Vorotnikov <artem@vorotnikov.me> +# Contributor: tritonas00 <tritonas00@gmail.com> + +_pkgname=rigsofrods +_gitname=rigs-of-rods + +pkgname=$_pkgname-noangelscript-git +pkgver=0.4.5.1.r1049.g5fb089e +pkgrel=1 +pkgdesc="An open source vehicle simulator based on soft-body physics - version without Angelscript - may be required at 32 bit systems" +arch=('i686' 'x86_64') +url="http://rigsofrods.org" +license=('GPL') +depends=('openal' 'wxgtk' 'ogre' 'caelum-git' 'mygui' 'ogre-pagedgeometry-git' 'socketw') +optdepends=('sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig') +makedepends=('cmake' 'git') +conflicts=('rigsofrods' 'rigsofrods-hg' 'rigsofrods-git') +provides=('rigsofrods') +source=("git+https://github.com/RigsOfRods/$_gitname.git" + "plugins.cfg" + "rigsofrods.png" + "RoRConfig.desktop" + "RoR.desktop" + "water.particle.new" + "rigsofrods.sh" + "rigsofrods-config.sh") +sha512sums=('SKIP' + 'aaf465b9afa2acde5300c5721d46147e54a25d74ca42efc560e47fd2e1197717904a33deef3bedcf4a94103228c25129b77f200d386567424a5c1f96fb55b339' + '8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710' + '40a000061d72245265d53d7c2ce0c4acc81eb3dddb6f6beda4b693a154e34922b8eb5c8400062b58c5f43a74be6cdaab938c1cd6427aebfc691d1fa52517fe2d' + 'b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af' + 'e5e2c676e29ef868779c2f3d8896d18a99affd8f56931af0cae96861197b6141c0acbba32ad22508d9794bf21d47d97ca471a1b1d500bbefaac5d6e5071dc0a4' + '83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6' + 'fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d') + +pkgver() { + cd "$srcdir/$_gitname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$_gitname" + + # export PKG_CONFIG_PATH="/opt/OGRE-1.8/lib/pkgconfig:/opt/MyGUI-OGRE1.8/lib/pkgconfig:/opt/Caelum-OGRE1.8/lib/pkgconfig:/opt/PagedGeometry-OGRE1.8/lib/pkgconfig:$PKG_CONFIG_PATH" + # export LD_LIBRARY_PATH="/opt/OGRE-1.8/lib:/opt/MyGUI-OGRE1.8/lib:/opt/Caelum-OGRE1.8/lib:/opt/PagedGeometry-OGRE1.8/lib:$LD_LIBRARY_PATH" + + # get a clean build dir + [[ -d build ]] && rm -rf build && find ./bin -type f -maxdepth 1 ! -name resources -delete + mkdir build && cd build + + cmake .. \ + -DROR_USE_MYGUI="TRUE" \ + -DROR_USE_OPENAL="TRUE" \ + -DROR_USE_SOCKETW="TRUE" \ + -DROR_USE_PAGED="TRUE" \ + -DROR_USE_CAELUM="TRUE" \ + -DROR_USE_ANGELSCRIPT="FALSE" \ + -DCMAKE_BUILD_TYPE=RELEASE + + make +} + +package() { + cd $srcdir + + mkdir -p "$pkgdir/opt/$_pkgname" + cp -r $srcdir/$_gitname/bin/* "$pkgdir/opt/$_pkgname/" + cp ../water.particle.new "$pkgdir/opt/$_pkgname/resources/particles/water.particle" + cp $srcdir/$_gitname/build/bin/RoR "$pkgdir/opt/$_pkgname/" + cp $srcdir/$_gitname/build/bin/RoRConfig "$pkgdir/opt/$_pkgname/" + + install -Dm755 ../rigsofrods.png "$pkgdir/usr/share/pixmaps/rigsofrods.png" + install -Dm755 ../RoR.desktop "$pkgdir/usr/share/applications/RoR.desktop" + install -Dm755 ../RoRConfig.desktop "$pkgdir/usr/share/applications/RoRConfig.desktop" + install -Dm755 ../plugins.cfg "$pkgdir/opt/$_pkgname/plugins.cfg" + install -Dm755 ../rigsofrods.sh "$pkgdir/usr/bin/rigsofrods" + install -Dm755 ../rigsofrods-config.sh "$pkgdir/usr/bin/rigsofrods-config" +} diff --git a/RoR.desktop b/RoR.desktop new file mode 100644 index 000000000000..684747173d4d --- /dev/null +++ b/RoR.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Rigs of Rods +Comment=An open source vehicle simulator based on soft-body physics +Icon=rigsofrods.png +Exec=/opt/rigsofrods/RoR +Terminal=false +Categories=Application;Game; diff --git a/RoRConfig.desktop b/RoRConfig.desktop new file mode 100644 index 000000000000..afccdb42c6ab --- /dev/null +++ b/RoRConfig.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Rigs of Rods (config) +Comment=Configuration utility for Rigs of Rods +Icon=rigsofrods.png +Exec=/opt/rigsofrods/RoRConfig +Terminal=false +Categories=Application;Game; diff --git a/plugins.cfg b/plugins.cfg new file mode 100644 index 000000000000..fc3bfc95bfd1 --- /dev/null +++ b/plugins.cfg @@ -0,0 +1,11 @@ +# Defines plugins to load + +# Define plugin folder +PluginFolder=/usr/lib/OGRE + +# Define plugins +Plugin=RenderSystem_GL +Plugin=Plugin_ParticleFX +Plugin=Plugin_OctreeSceneManager +Plugin=Plugin_CgProgramManager +Plugin=../../../../usr/lib/libCaelum.so diff --git a/rigsofrods-config.sh b/rigsofrods-config.sh new file mode 100755 index 000000000000..a66ea556c235 --- /dev/null +++ b/rigsofrods-config.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +cd /opt/rigsofrods +./RoRConfig diff --git a/rigsofrods.png b/rigsofrods.png Binary files differnew file mode 100644 index 000000000000..80ab89219997 --- /dev/null +++ b/rigsofrods.png diff --git a/rigsofrods.sh b/rigsofrods.sh new file mode 100755 index 000000000000..86a4e1c5f099 --- /dev/null +++ b/rigsofrods.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +cd /opt/rigsofrods +./RoR diff --git a/water.particle.new b/water.particle.new new file mode 100644 index 000000000000..a0abed059ee0 --- /dev/null +++ b/water.particle.new @@ -0,0 +1,148 @@ +// splash
+particle_system tracks/particles/water1
+{
+ material tracks/SplashMat
+ particle_width 0.5
+ particle_height 0.5
+ cull_each false
+ quota 5000
+ billboard_type point
+
+ // Area emitter
+ emitter Point
+ {
+ angle 10
+ emission_rate 200
+ time_to_live 20
+ direction 0 -1 0
+ velocity 20
+ colour 1.0, 1.0, 1.0, 1.0
+ }
+
+ affector DeflectorPlane
+ {
+ plane_point 0 0 0
+ plane_normal 0 1 0
+ bounce 0.0
+ }
+ affector LinearForce
+ {
+ force_vector 0 -9.8 0
+ }
+
+ affector ColourFader
+ {
+ alpha -0.1
+ }
+ affector Scaler
+ {
+ rate 3.0
+ }
+ affector Rotator
+ {
+ rotation_range_start 0
+ rotation_range_end 360
+ rotation_speed_range_start -1
+ rotation_speed_range_end 1
+ }
+
+
+}
+
+particle_system tracks/particles/waterRed
+{
+ material tracks/SplashMat
+ particle_width 0.5
+ particle_height 0.5
+ cull_each false
+ quota 5000
+ billboard_type point
+
+ // Area emitter
+ emitter Point
+ {
+ angle 5
+ emission_rate 200
+ time_to_live 20
+ direction 0 -1 0
+ velocity 10
+ colour 1.0, 0.0, 0.0, 1.0
+ }
+
+ affector DeflectorPlane
+ {
+ plane_point 0 0 0
+ plane_normal 0 1 0
+ bounce 0.0
+ }
+ affector LinearForce
+ {
+ force_vector 0 -9.8 0
+ }
+
+ affector ColourFader
+ {
+ alpha -0.1
+ }
+ affector Scaler
+ {
+ rate 3.0
+ }
+ affector Rotator
+ {
+ rotation_range_start 0
+ rotation_range_end 360
+ rotation_speed_range_start -1
+ rotation_speed_range_end 1
+ }
+
+}
+
+particle_system tracks/particles/waterGreen
+{
+ material tracks/SplashMat
+ particle_width 0.5
+ particle_height 0.5
+ cull_each false
+ quota 5000
+ billboard_type point
+
+ // Area emitter
+ emitter Point
+ {
+ angle 5
+ emission_rate 200
+ time_to_live 20
+ direction 0 -1 0
+ velocity 10
+ colour 0.0, 1.0, 0.0, 1.0
+ }
+
+ affector DeflectorPlane
+ {
+ plane_point 0 0 0
+ plane_normal 0 1 0
+ bounce 0.0
+ }
+ affector LinearForce
+ {
+ force_vector 0 -9.8 0
+ }
+
+ affector ColourFader
+ {
+ alpha -0.1
+ }
+ affector Scaler
+ {
+ rate 3.0
+ }
+ affector Rotator
+ {
+ rotation_range_start 0
+ rotation_range_end 360
+ rotation_speed_range_start -1
+ rotation_speed_range_end 1
+ }
+
+}
|