Compare commits

7 Commits

Author SHA1 Message Date
cc08e59aea 🔧 Renamed mygui-ogre 2023-05-23 12:28:17 +00:00
ff406be5da 🐛 Fixed git packages 2023-05-23 12:26:55 +00:00
0c18d91440 🐛 Fixed rigs of rods install 2023-05-23 12:50:22 +02:00
657f0a99cf 🚧 ror 2023-05-23 12:50:22 +02:00
f2f861612a ⬆️ Updated angelscript 2023-05-23 12:49:57 +02:00
3b46a67de6 ⬆️ Updated socketw 2023-05-23 12:49:54 +02:00
0c91fe295e 🔧 Build Orge with nodeless positioning 2023-05-23 12:49:49 +02:00
9 changed files with 76 additions and 10 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
**/src/** **/src/**
**/pkg/** **/pkg/**
*.tar.* *.tar.*
*.zip
*.deb *.deb

View File

@@ -1,7 +1,7 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=angelscript pkgname=angelscript
pkgver=2.35.1 pkgver=2.36.1
pkgrel=1 pkgrel=1
pkgdesc="An extremely flexible cross-platform scripting library" pkgdesc="An extremely flexible cross-platform scripting library"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@ url="http://angelcode.com/angelscript/"
license=('custom:ZLIB') license=('custom:ZLIB')
source=("http://angelcode.com/angelscript/sdk/files/${pkgname}_${pkgver}.zip" source=("http://angelcode.com/angelscript/sdk/files/${pkgname}_${pkgver}.zip"
LICENSE) LICENSE)
sha512sums=('b15083c7a77434c291e72ea82cfbab7734fa79df654d911a822f306d526669ebe9e55a981e8a1914deda0d2a52ebdc0ffb51a4179f307632c8c7d74b1abc69fa' sha512sums=('d6d213ce72135c89e47e67521f654611ff67673f3decd9db3da4b7bf317a04a3f91c5c6ae36658ec3f2b20498facd069af02a91255a24ec79c96d8c90d6b554e'
'89225460b1f342d4611af27f5982d5d36c41b6948d9c72cb8d6a616b730eb830446a87e68e3a37ac2df41200d7637ec6338f935d8f88f9891d6b1b3fb4f10bb2') '89225460b1f342d4611af27f5982d5d36c41b6948d9c72cb8d6a616b730eb830446a87e68e3a37ac2df41200d7637ec6338f935d8f88f9891d6b1b3fb4f10bb2')
build() { build() {

View File

@@ -1,6 +1,6 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=mygui pkgname=mygui-ogre
pkgver=3.4.2 pkgver=3.4.2
pkgrel=1 pkgrel=1
pkgdesc="A library for creating Graphical User Interfaces for games and 3D applications" pkgdesc="A library for creating Graphical User Interfaces for games and 3D applications"

View File

@@ -1,10 +1,10 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=ogre-caelum-git pkgname=ogre-caelum-git
pkgver=0.6.3.r38.g7763bff pkgver=0.6.4.4bd1b05
pkgrel=1 pkgrel=1
pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects." pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects."
arch=('i686' 'x86_64') arch=('i686' 'amd64')
url="https://ogrecave.github.io/ogre-caelum/" url="https://ogrecave.github.io/ogre-caelum/"
depends=('ogre') depends=('ogre')
makedepends=('cmake' 'git') makedepends=('cmake' 'git')
@@ -16,7 +16,11 @@ sha512sums=('SKIP')
pkgver() { pkgver() {
cd ${srcdir}/ogre-caelum cd ${srcdir}/ogre-caelum
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
_gitcommit=$(git rev-parse --short HEAD)
echo $_ver.$_gitcommit
} }
build() { build() {

View File

@@ -1,10 +1,10 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=ogre-pagedgeometry-git pkgname=ogre-pagedgeometry-git
pkgver=1.2.0.r59.g95194bc pkgver=1.3.0.30965c8
pkgrel=1 pkgrel=1
pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass." pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass."
arch=('i686' 'x86_64') arch=('i686' 'amd64')
url="https://ogrecave.github.io/ogre-pagedgeometry/" url="https://ogrecave.github.io/ogre-pagedgeometry/"
license=('MIT') license=('MIT')
depends=('ogre') depends=('ogre')
@@ -16,7 +16,11 @@ sha512sums=('SKIP')
pkgver() { pkgver() {
cd ${srcdir}/ogre-pagedgeometry cd ${srcdir}/ogre-pagedgeometry
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
_gitcommit=$(git rev-parse --short HEAD)
echo $_ver.$_gitcommit
} }
build() { build() {

View File

@@ -28,6 +28,7 @@ build() {
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
-DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE \ -DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE \
-DOGRE_NODELESS_POSITIONING=TRUE \
-DOGRE_BUILD_SAMPLES=FALSE \ -DOGRE_BUILD_SAMPLES=FALSE \
-DOGRE_INSTALL_DOCS=FALSE -DOGRE_INSTALL_DOCS=FALSE

47
rigsofrods/PKGBUILD Normal file
View File

@@ -0,0 +1,47 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
_pkgname=rigsofrods
_gitname=rigs-of-rods
pkgname=$_pkgname
pkgver=2021.10
pkgrel=1
pkgdesc="An open source vehicle simulator based on soft-body physics"
arch=('i686' 'x86_64')
url="http://rigsofrods.com"
license=('GPL')
depends=('ogre' 'mygui' 'socketw' 'angelscript' 'nvidia-cg-toolkit' 'libopenal-dev' 'libfmt-dev' 'rapidjson-dev' 'libcurl4-openssl-dev')
makedepends=('cmake' 'git')
conflicts=('rigsofrods-git')
provides=('rigsofrods')
source=("https://github.com/AnotherFoxGuy/rigs-of-rods/archive/refs/heads/build-sys-V3.zip"
"rigsofrods.png"
"RoR.desktop"
)
sha512sums=('SKIP'
'8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710'
'21a6f930d0efe6a2d73edea08a28cf3584a9caa413969a6ff258d2dbe8a8e1f58411ec5c10118f116a7b6c341b6debbba22ceee0842a1b335a40edfa5d1cfc84'
)
prepare() {
mkdir -p "$srcdir/$_gitname-build-sys-V3/build"
}
build() {
cd "$srcdir/$_gitname-build-sys-V3/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DROR_FORCE_SYSTEM_DEPENDENCIES=ON \
-DROR_LIB_PREFERENCE=SYSTEM \
-DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
mkdir -p "$pkgdir/opt/games/$_pkgname"
cp -r $srcdir/$_gitname-build-sys-V3/build/bin/* "$pkgdir/opt/games/$_pkgname/"
install -Dm755 rigsofrods.png "$pkgdir/usr/share/pixmaps/rigsofrods.png"
install -Dm755 RoR.desktop "$pkgdir/usr/share/applications/RoR.desktop"
}

9
rigsofrods/RoR.desktop Normal file
View File

@@ -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/games/rigsofrods/RoR
Terminal=false
Categories=Application;Game;

BIN
rigsofrods/rigsofrods.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB