Unreal Engine 5.0.3

This commit is contained in:
William Tang 2022-07-24 00:45:49 +08:00
commit d6f7aa1416
10 changed files with 114 additions and 0 deletions

45
.SRCINFO Normal file
View file

@ -0,0 +1,45 @@
pkgbase = unreal-engine-bin
pkgdesc = The world's most open and advanced real-time 3D creation tool
pkgver = 5.0.3
pkgrel = 1
url = https://www.unrealengine.com/
arch = x86_64
license = custom
depends = alsa-lib
depends = at-spi2-atk
depends = glu
depends = libicu53
depends = libxcomposite
depends = libxcursor
depends = libxrandr
depends = libxss
depends = lttng-ust2.12
depends = ncurses5-compat-libs
depends = nss
depends = pango
optdepends = android-ndk: Android build support
provides = unreal-engine=5.0
conflicts = unreal-engine
conflicts = unreal-engine-4
conflicts = unreal-engine-git
options = !strip
source = manual://Linux_Unreal_Engine_5.0.3.zip
source = unreal-engine.desktop
source = unreal-engine.xml
source = 16.png
source = 24.png
source = 32.png
source = 48.png
source = 64.png
source = 256.png
sha256sums = 6231f9da0092da62db5d7145410b70f3e5190efafaab7fe32c95e3f8987b23ce
sha256sums = 8a71e10dee1d44ad6f85d993bdf25dd4835f6415e983125ac79a912ee0c3d905
sha256sums = 752dc3628639adb84ebda281040ec106227431eb7a5f92375511d96c6ceacf91
sha256sums = 16197bc88f2ec77ad2690fae280bf3584c54c7d7b018d8fa4086b7c00fd4effc
sha256sums = b6f068b2ff5f3831494b913e9bfff69349c88087205579a6b9a96c167e524e60
sha256sums = c10cdd1b627ee53548140c4a255032d39dfb0039413b5c1b9765a1fa0d3f27a9
sha256sums = 521e6a42b587f6e9b964ba2a14c93bfadd94f1f06a2560ed09a7e7dd5043c61e
sha256sums = 7a96ab7db1fa191a6bd087497c2f55239d7cda01dcc226e742daa80c5bc37de2
sha256sums = 2399dfb472a6c753447b847fbb144235145ca6507a60941b5295389c6fc45639
pkgname = unreal-engine-bin

BIN
16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

51
PKGBUILD Normal file
View file

@ -0,0 +1,51 @@
# Maintainer: William Tang <galaxyking0419@gmail.com>
pkgname=unreal-engine-bin
pkgver=5.0.3
pkgrel=1
pkgdesc="The world's most open and advanced real-time 3D creation tool"
arch=('x86_64')
url='https://www.unrealengine.com/'
license=('custom')
conflicts=('unreal-engine' 'unreal-engine-4' 'unreal-engine-git')
provides=('unreal-engine=5.0')
depends=('alsa-lib' 'at-spi2-atk' 'glu' 'libicu53' 'libxcomposite' 'libxcursor'
'libxrandr' 'libxss' 'lttng-ust2.12' 'ncurses5-compat-libs' 'nss' 'pango')
optdepends=('android-ndk: Android build support')
DLAGENTS+=('manual::/usr/bin/echo \ \ Note: Please download the zip file manually from https://www.unrealengine.com/linux')
source=("manual://Linux_Unreal_Engine_${pkgver}.zip"
'unreal-engine.desktop' 'unreal-engine.xml'
{16,24,32,48,64,256}.png)
sha256sums=('6231f9da0092da62db5d7145410b70f3e5190efafaab7fe32c95e3f8987b23ce'
'8a71e10dee1d44ad6f85d993bdf25dd4835f6415e983125ac79a912ee0c3d905'
'752dc3628639adb84ebda281040ec106227431eb7a5f92375511d96c6ceacf91'
'16197bc88f2ec77ad2690fae280bf3584c54c7d7b018d8fa4086b7c00fd4effc'
'b6f068b2ff5f3831494b913e9bfff69349c88087205579a6b9a96c167e524e60'
'c10cdd1b627ee53548140c4a255032d39dfb0039413b5c1b9765a1fa0d3f27a9'
'521e6a42b587f6e9b964ba2a14c93bfadd94f1f06a2560ed09a7e7dd5043c61e'
'7a96ab7db1fa191a6bd087497c2f55239d7cda01dcc226e742daa80c5bc37de2'
'2399dfb472a6c753447b847fbb144235145ca6507a60941b5295389c6fc45639')
options=(!strip)
package() {
# Application files
mkdir -p "$pkgdir"/opt/unreal-engine
mv Engine FeaturePacks Samples Templates "$pkgdir"/opt/unreal-engine/
# Application & MIME icons
for res in 16 24 32 48 64 256; do
mkdir -p "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/{apps,mimetypes}
cp ${res}.png "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/apps/unreal-engine.png
ln -s ../apps/unreal-engine.png "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/mimetypes/application-x-uproject.png
done
# Desktop file
mkdir -p "$pkgdir"/usr/share/applications
cp unreal-engine.desktop "$pkgdir"/usr/share/applications/
# MIME XML file
mkdir -p "$pkgdir"/usr/share/mime/packages
cp unreal-engine.xml "$pkgdir"/usr/share/mime/packages/
}

10
unreal-engine.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Unreal Engine
Comment=The world's most open and advanced real-time 3D creation tool
Path=/opt/unreal-engine/Engine/Binaries/Linux
Exec=/opt/unreal-engine/Engine/Binaries/Linux/UnrealEditor %F
Terminal=false
Icon=unreal-engine
MimeType=application/x-uproject
Categories=AudioVideo;Development;Graphics;

8
unreal-engine.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-uproject">
<comment>Unreal Project</comment>
<generic-icon name="application-x-uproject"/>
<glob pattern="*.uproject"/>
</mime-type>
</mime-info>