Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add org.upbge.UPBGE #4713

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.flatpak-builder
repo
builddir
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "shared-modules"]
path = shared-modules
url = https://github.com/flathub/shared-modules.git
3 changes: 3 additions & 0 deletions flathub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"only-arches": ["x86_64"]
}
90 changes: 90 additions & 0 deletions org.upbge.UPBGE.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
[Desktop Entry]
Name=UPBGE
GenericName=3D modeler
GenericName[ar]=3D المنمذج ثلاثي الأبعاد
GenericName[ca]=Modelador 3D
GenericName[cs]=3D modelování
GenericName[da]=3D-modellering
GenericName[de]=3D-Modellierer
GenericName[el]=Μοντελοποιητής 3D
GenericName[es]=Modelador 3D
GenericName[et]=3D modelleerija
GenericName[fi]=3D-mallintaja
GenericName[fr]=Modeleur 3D
GenericName[gl]=Modelador 3D
GenericName[hu]=3D modellező
GenericName[it]=Modellatore 3D
GenericName[ja]=3D モデラー
GenericName[lt]=3D modeliavimas
GenericName[nb]=3D-modellering
GenericName[nl]=3D-modeller
GenericName[pl]=Modelowanie 3D
GenericName[pt_BR]=Modelador 3D
GenericName[ro]=Arhitect 3D
GenericName[ru]=Редактор 3D-моделей
GenericName[tr]=3D modelleyici
GenericName[uk]=Редактор 3D-моделей
GenericName[wa]=Modeleu 3D
GenericName[zh_CN]=3D 建模
GenericName[zh_TW]=3D 模型
Comment=3D modeling, animation, rendering and post-production
Comment[ar]=3D النمذجة، الرسوم المتحركة، والتجسيد، وما بعد الإنتاج
Comment[ast]=Modeláu 3D, animación, renderizáu y postproducción
Comment[eu]=3D modelatzea, animazioa, errendatzea eta post-produkzioa
Comment[be]=Праграма прасторавага мадэлявання, анімацыі, апрацоўкі відэа і давядзення відэапрадукцыі
Comment[bn]=ত্রিমাত্রিক মডেল, অ্যানিমেশন, রেন্ডারিং এবং পোস্ট-উৎপাদন
Comment[bs]=3D modeliranje, animacija, obrada i postprodukcija
Comment[bg]=3D моделиране, анимиране, рендиране и пост-продукция
Comment[ca]=Modelat 3D, animació, renderització i post-producció
Comment[ca@valencia]=Modelat 3D, animació, renderització i post-producció
Comment[crh]=3B modelleme, animasyon, işleme ve son üretim
Comment[cs]=3D modelování, animace, rederování a postprodukce
Comment[da]=3D-modellering, animation, rendering og efterbehandling
Comment[de]=3D-Modellierung, Animation, Rendering und Nachbearbeitung
Comment[nl]=3d-modelleren, animeren, renderen en post-productie
Comment[el]=Μοντελοποίηση 3D, κινούμενα σχέδια, αποτύπωση και οργάνωση διαδικασίας μετά-την-παραγωγή
Comment[eo]=3D-modelado, animacio, renderado kaj postproduktado
Comment[es]=Modelado 3D, animación, renderizado y post-producción
Comment[et]=Kolmemõõtmeline modelleerimine, animeerimine, esitlemine ja järeltöötlemine
Comment[fi]=3D-mallinnus, -animaatiot, -renderöinti ja -tuotanto
Comment[fr]=Modélisation 3D, animation, rendu et post-production
Comment[fr_CA]=Modélisation 3D, animation, rendu et post-production
Comment[gl]=Modelado 3D, animación, renderizado e postprodución
Comment[hu]=3D modellek és animációk létrehozása és szerkesztése
Comment[is]=Þrívíddarmódel, hreyfimyndir, myndgerð og frágangur myndskeiða
Comment[it]=Modellazione 3D, animazione, rendering e post-produzione
Comment[ja]=3Dモデリング、アニメーション、レンダリング、ポストプロダクションのツール
Comment[ko]=3D 모델링, 애니메이션, 렌더링과 포스트 프로덕션
Comment[lt]=3D modeliavimas, animacijų kūrimas, atvaizdavimas ir tobulinimas
Comment[lv]=3D modelēšana, animācija, renderēšana un pēcapstrāde
Comment[ms]=Pemodelan, animasi, penerapan dan post-produksi 3D
Comment[nb]=3D-modellering, animasjon, rendering og postproduksjon
Comment[oc]=Modelizacion 3D, animacion, rendut e post-produccion
Comment[pl]=Modelowanie 3D, animacja, renderowanie i postprodukcja
Comment[pt]=Modelação 3D, animação, renderização e pós-produção
Comment[pt_BR]=Modelagem 3D, animação, renderização e pós-produção
Comment[ro]=Modelare, animare, afișare și post-producție 3D
Comment[ru]=3D-моделирование, анимация, рендеринг и компоновка
Comment[sl]=3D modeliranje, animacija, izrisovanje in nadaljnje obdelovanje
Comment[sq]=Animacion i modeleve 3D, rregullim dhe më pas prodhim
Comment[sr]=3Д моделовање, анимација, исцртавање и постпродукција
Comment[sv]=3d-modellering, animering, rendering och efterbehandling
Comment[ta]=முப்பரிமாண ஒப்புருவாக்கம், அசைவூட்டம், காட்சியாக்கம் மற்றும் உருவாக்கத்துக்கு பிந்தைய செயல்பாடுகள்
Comment[tg]=Моделсозии 3D, аниматсия, пешниҳод ва истеҳсоли баъдӣ
Comment[tr]=3B modelleme, animasyon, işleme ve son üretim
Comment[uk]=Програма просторового моделювання, анімації, обробки відео та доведення відеопродуктів
Comment[vi]=Tạo hình mẫu 3D, hoạt họa, dựng hình và các công việc hậu kỳ
Comment[wa]=Modelaedje 3D, animåcion, rindou eyet après-produccion
Comment[zh_HK]=3D 模型、動畫、算圖和後製
Comment[zh_CN]=3D 建模、动画、渲染和后期制作
Comment[zh_TW]=3D 模型、動畫、算圖和後製
Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;python;
Exec=blender %f
Icon=org.upbge.UPBGE
Terminal=false
Type=Application
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;
StartupWMClass=Blender
65 changes: 65 additions & 0 deletions org.upbge.UPBGE.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>org.upbge.UPBGE</id>
<name>UPBGE</name>
<summary>UPBGE is a free and open source 3D Game Engine integrated in Blender</summary>
<developer id="org.upbge">
<name>
UPBGE Community
</name>
</developer>
<content_rating type="oars-1.1" />
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<description>
<p>
An independent fork of Blender created by Porteries Tristan, aiming to clean up and improve current Blender Game Engine (BGE) code, experiment with new features, and implement forgotten features that currently exist but have not been merged with the official releases of Blender.
</p>
<p>
UPBGE is a public, free and open-source project held together by its community. Hundreds of contributors have volunteered to make this project possible.
</p>
</description>
<url type="homepage">https://upbge.org</url>
<url type="bugtracker">https://github.com/UPBGE/upbge/issues</url>
<launchable type="desktop-id">org.upbge.UPBGE.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://upbge.org/975e00fef0bd07865974.jpg</image>
</screenshot>
<screenshot>
<image>https://upbge.org/1d46281dc23f6cb1ab1a.jpg</image>
</screenshot>
</screenshots>
<releases>
<release version="0.36.1" date="2023-08-20">
<description>
<p>New features:</p>
<ul>
<li>Most of new features comes from Blender development itself.</li>
<li>Convert DupliGroups/Instance collections at bge runtime.</li>
<li>BGUI library added to python modules folder.</li>
<li>Easy Online addon included.</li>
<li>Enable support of SoftBody volumes when we uncheck Shape Match.</li>
<li>Added the ability to play NLA tracks with Action actuator.</li>
<li>Added the possibility to convert actions at runtime.</li>
<li>Remove hardcoded limit for objects linked in logic bricks editor.</li>
<li>Allow antialiasing for ImageRender if nothing is moving.</li>
<li>Allow full rendered passes in ImageRender.</li>
<li>Added number of render passes per frame option.</li>
<li>Added an option for AddObject to duplicate object data.</li>
<li>Added an option to update LOD physics.</li>
<li>Allow hidden lodlevels to be evaluated by depsgraph.</li>
<li>Added experimental support for openXR.</li>
<li>Allow activity culling for all object types.</li>
<li>Blender realtime compositor in viewport works in game engine now.</li>
<li>Option for Show Profile and Debug Properties in bigger size for High Dpi Screens.</li>
<li>Added a "Soft Shadow Override" per light switch.</li>
<li>4 extra buttons added for Mouse.</li>
<li>Support for Grease Pencil modifiers animation added.</li>
<li>Use the up-to-date dshow format instead of death vfwcap format for camera capture.</li>
<li>New video play and video capture component template.</li>
</ul>
</description>
</release>
</releases>-
</component>
70 changes: 70 additions & 0 deletions org.upbge.UPBGE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
id: org.upbge.UPBGE
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: blender
finish-args:
- "--share=ipc"
- "--socket=wayland"
- "--socket=fallback-x11"
- "--socket=pulseaudio"
- "--device=dri"
- "--share=network"
- "--filesystem=host"
TingPing marked this conversation as resolved.
Show resolved Hide resolved
- "--filesystem=/run/spnav.sock:ro"
- "--env=SPNAV_SOCKET=/run/spnav.sock"
- "--env=TMP_DIR=/tmp"
- "--env=TMP=/tmp"
bbhtt marked this conversation as resolved.
Show resolved Hide resolved
add-extensions:
org.upbge.UPBGE.Codecs:
directory: lib/codecs
add-ld-path: lib
bundle: true
autodelete: true
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
version: '23.08'
add-ld-path: "."
cleanup-commands:
- mkdir -p /app/lib/ffmpeg
modules:
- shared-modules/libdecor/libdecor-0.1.1.json
- name: x264
config-opts:
- "--prefix=/app/lib/codecs"
- "--enable-lto"
- "--enable-pic"
- "--enable-shared"
- "--disable-cli"
sources:
- type: git
url: https://code.videolan.org/videolan/x264.git
commit: baee400fa9ced6f5481a728138fed6e867b0ff7f
cleanup:
- "/lib/codecs/include"
- "/lib/codecs/lib/pkgconfig"
- name: upbge
buildsystem: simple
build-commands:
- mv upbge*linux* blender
- install -Dm755 blender.sh /app/bin/blender
- mv blender /app/blender
- install -Dm644 $FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop
- install -Dm644 /app/blender/upbge.svg /app/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg
- install -Dm644 /app/blender/upbge-symbolic.svg /app/share/icons/hicolor/symbolic/apps/$FLATPAK_ID-symbolic.svg
- cd /app/blender/*.*/datafiles && mv locale /app/share/locale && ln -sf /app/share/locale locale
- install -Dm644 $FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml
sources:
- type: archive
url: https://github.com/UPBGE/upbge/releases/download/v0.36.1/upbge-0.36.1-linux-x86_64.tar.xz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no build from source?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building Blender and its forks from source is extremely convoluted and not sustainable. Building each dependency from source is currently not very well supported by Blender, and as such you need to use the pre-compiled binaries which in return causes problems with building in a sandbox because of how their build system works. If there's a problem with this, please take it up to the official Blender Flatpak because I'm following their footsteps.

sha256: 0d53fdace0f9755c3475e5cb98dfee3e63f9968aa2b7fe516b0a8c4b1326ca4f
strip-components: 0
- type: script
commands:
- cd /app/blender
- exec ./blender "$@"
dest-filename: blender.sh
- type: file
path: org.upbge.UPBGE.desktop
- type: file
path: org.upbge.UPBGE.metainfo.xml
1 change: 1 addition & 0 deletions shared-modules
Submodule shared-modules added at 17c149