virtualx-engine
This commit is contained in:
parent
cb0e18ceab
commit
fa1e476718
2 changed files with 14 additions and 14 deletions
20
PKGBUILD
20
PKGBUILD
|
@ -6,11 +6,11 @@
|
||||||
# Contributor: Cristian Porras <porrascristian@gmail.com>
|
# Contributor: Cristian Porras <porrascristian@gmail.com>
|
||||||
# Contributor: Matthew Bentley <matthew@mtbentley.us>
|
# Contributor: Matthew Bentley <matthew@mtbentley.us>
|
||||||
|
|
||||||
_pkgname=godot
|
_pkgname=virtualx-engine
|
||||||
pkgname=godot3
|
pkgname=virtualx-engine
|
||||||
pkgver=3.6
|
pkgver=3.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Advanced cross-platform 2D and 3D game engine (3.x Branch)'
|
pkgdesc='Game Engine Forked From Godot 3.6'
|
||||||
url='https://godotengine.org'
|
url='https://godotengine.org'
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -19,10 +19,10 @@ depends=(embree3 freetype2 libglvnd libtheora libvorbis libvpx libwebp libwslay
|
||||||
libsquish libxcursor libxi libxinerama libxrandr opusfile miniupnpc
|
libsquish libxcursor libxi libxinerama libxrandr opusfile miniupnpc
|
||||||
zstd zlib glibc libxrender pcre2 libx11 opus libogg libxext)
|
zstd zlib glibc libxrender pcre2 libx11 opus libogg libxext)
|
||||||
optdepends=(pipewire-alsa pipewire-pulse)
|
optdepends=(pipewire-alsa pipewire-pulse)
|
||||||
source=("$_pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz"
|
source=("$_pkgname-$pkgver-stable::git+https://git.asgardius.company/asgardius/virtualx-engine"
|
||||||
"godot3.patch")
|
"godot3.patch")
|
||||||
b2sums=('d70e80218b37be9673f913a24e367c892ab0462ddc42134a8c1707cb038327fc4c5ae1a5ca8c83dc77c0bb5b226d68426a7625074f677e6c178433f762c4a451'
|
b2sums=('SKIP'
|
||||||
'5ed41b79e0121e66614cce997d8c05b3efafefb45d93a426fe4f63bc9917a8dad8519d3f11021a62d6b3a8f7210f2cc86d03361a51dcf79007b0eb71289c1370')
|
'f466f6e37a5f1af4c75e7a9f675c6bb10b7cc4619df87dcff90cbca8bb83e6724181eea406d20497f45edb67c9916e9841208871967726a50288c3e47afa34d1')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# Disable the check that adds -no-pie to LINKFLAGS, for gcc != 6
|
# Disable the check that adds -no-pie to LINKFLAGS, for gcc != 6
|
||||||
|
@ -30,7 +30,7 @@ prepare() {
|
||||||
|
|
||||||
# Make godot build a binary compatible with Godot 4
|
# Make godot build a binary compatible with Godot 4
|
||||||
cd "$srcdir/$_pkgname-$pkgver-stable"
|
cd "$srcdir/$_pkgname-$pkgver-stable"
|
||||||
patch -p1 < "$srcdir/godot3.patch"
|
#patch -p1 < "$srcdir/godot3.patch"
|
||||||
sed -i 's/addr, 16/addr, 16, nullptr, 0/g' "$srcdir/$_pkgname-$pkgver-stable/modules/upnp/upnp.cpp"
|
sed -i 's/addr, 16/addr, 16, nullptr, 0/g' "$srcdir/$_pkgname-$pkgver-stable/modules/upnp/upnp.cpp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,11 +69,11 @@ package() {
|
||||||
# make godot3 compatible with godot
|
# make godot3 compatible with godot
|
||||||
cd "$srcdir/$_pkgname-$pkgver-stable/misc/dist/linux/"
|
cd "$srcdir/$_pkgname-$pkgver-stable/misc/dist/linux/"
|
||||||
|
|
||||||
sed -i 's/Godot Engine/Godot Engine 3 LTS/g' org.godotengine.Godot.desktop
|
#sed -i 's/Godot Engine/Virtualx Game Engine/g' org.godotengine.Godot.desktop
|
||||||
|
|
||||||
cd $srcdir/$_pkgname-$pkgver-stable
|
cd $srcdir/$_pkgname-$pkgver-stable
|
||||||
install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop \
|
install -Dm644 misc/dist/linux/asgardius.page.virtualxengine.desktop \
|
||||||
"$pkgdir/usr/share/applications/org.godotengine.Godot3.desktop"
|
"$pkgdir/usr/share/applications/asgardius.page.virtualxengine.desktop"
|
||||||
install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg"
|
install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg"
|
||||||
install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname"
|
install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname"
|
||||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
|
|
@ -19,8 +19,8 @@ index db0c80e4f1..71be0c88d3 100644
|
||||||
Comment[zh_CN]=多平台 2D 和 3D 游戏引擎,带有功能丰富的编辑器
|
Comment[zh_CN]=多平台 2D 和 3D 游戏引擎,带有功能丰富的编辑器
|
||||||
-Exec=godot %f
|
-Exec=godot %f
|
||||||
-Icon=godot
|
-Icon=godot
|
||||||
+Exec=godot3 %f
|
+Exec=virtualx-engine %f
|
||||||
+Icon=godot3
|
+Icon=virtualx-engine
|
||||||
Terminal=false
|
Terminal=false
|
||||||
PrefersNonDefaultGPU=true
|
PrefersNonDefaultGPU=true
|
||||||
Type=Application
|
Type=Application
|
||||||
|
@ -31,8 +31,8 @@ index 153c199892..2376dcf2fc 100644
|
||||||
@@ -1,5 +1,5 @@
|
@@ -1,5 +1,5 @@
|
||||||
-short_name = "godot"
|
-short_name = "godot"
|
||||||
-name = "Godot Engine"
|
-name = "Godot Engine"
|
||||||
+short_name = "godot3"
|
+short_name = "virtualx-engine"
|
||||||
+name = "Godot Engine 3"
|
+name = "Virtualx Game Engine"
|
||||||
major = 3
|
major = 3
|
||||||
minor = 5
|
minor = 5
|
||||||
patch = 2
|
patch = 2
|
||||||
|
|
Loading…
Reference in a new issue