Commit fea1b7ae authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack: add unreal-engine

parent 70de6936
...@@ -15,3 +15,4 @@ ArmorPaintVKRT ArmorPaintVKRT_*_linux64.zip ...@@ -15,3 +15,4 @@ ArmorPaintVKRT ArmorPaintVKRT_*_linux64.zip
1c83-universal deb64_*.zip 1c83-universal deb64_*.zip
1c83-universal thin.client_*.deb64.zip 1c83-universal thin.client_*.deb64.zip
satvision-v.2.0 VMS-Pro64_SATVISION_Satvision*.zip satvision-v.2.0 VMS-Pro64_SATVISION_Satvision*.zip
unreal-engine Linux_Unreal_Engine_*.zip
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
PRODUCT=unreal-engine
. $(dirname $0)/common.sh
# Linux_Unreal_Engine_5.6.1.zip
BASENAME=$(basename $TAR .zip)
VERSION=$(echo $BASENAME | sed -e 's|Linux_Unreal_Engine_||' )
mkdir -p opt
erc $TAR || fatal
mv -v $BASENAME opt/unreal-engine || fatal
# Application & MIME icons
#for res in 16 24 32 48 64 256; do
for res in 256; do
mkdir -p usr/share/icons/hicolor/${res}x${res}/mimetypes/
install_file "ipfs://QmdrhQDe3BhyYvxKZpoLwXXAPHqwgm4qrrZ5xM83gN1v5n?filename=256.png" /usr/share/icons/hicolor/${res}x${res}/apps/unreal-engine.png || \
install_file "https://aur.archlinux.org/cgit/aur.git/plain/256.png?h=unreal-engine-bin" /usr/share/icons/hicolor/${res}x${res}/apps/unreal-engine.png
ln -s ../apps/unreal-engine.png usr/share/icons/hicolor/${res}x${res}/mimetypes/application-x-uproject.png
done
install_file "ipfs://QmNnvL93ax27uhApdYqDqpe4xcXgU2dCwFq7Sf8zq7obSi?filename=unreal-engine.desktop" /usr/share/applications/unreal-engine.desktop || \
install_file "https://aur.archlinux.org/cgit/aur.git/plain/unreal-engine.desktop?h=unreal-engine-bin" /usr/share/applications/unreal-engine.desktop
install_file "ipfs://QmQYxgQgq4kcipXzBwR7Xq1W25gf8tWtDsocdptJHzGrHS?filename=unreal-engine.xml" /usr/share/mime/packages/unreal-engine.xml || \
install_file "https://aur.archlinux.org/cgit/aur.git/plain/unreal-engine.xml?h=unreal-engine-bin" /usr/share/mime/packages/unreal-engine.xml
PKGNAME=$PRODUCT-$VERSION
# use tar.gz to save space
erc pack $PKGNAME.tar.gz opt usr || fatal
# remove unneed files right here
rm -rf opt usr
return_tar $PKGNAME.tar.gz
#!/bin/sh
PKGNAME=unreal-engine
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION=" (stub for epm pack)"
URL="https://www.unrealengine.com/"
. $(dirname $0)/common.sh
DESCRIPTION="Professional A/V post-production software suite from Blackmagic Design (stub for epm pack)"
URL="https://www.blackmagicdesign.com"
cat <<EOF
Since Epic Games provides the Unreal Engine download link only to registered users, we cannot create a complete play script.
Please download the zip file manually from https://www.unrealengine.com/linux and run
epm install Linux_Unreal_Engine**.zip
EOF
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
# this repack rule only to skip requires
# add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment