1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Complete rename to Luanti in package metadata (#16017)

This commit is contained in:
Lars Müller 2025-05-17 15:03:12 +02:00 committed by GitHub
parent 3020c192b2
commit a817fdffd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 8 deletions

View file

@ -92,7 +92,7 @@ jobs:
- name: Check indent spaces
run: |
if git ls-files |\
grep -E '^src/.*\.cpp$|^src/.*\.[ch]$|\.lua' |\
grep -E '^src/.*\.cpp$|^src/.*\.[ch]$|\.lua$' |\
xargs grep -n -P '^\t*[ ]';\
then\
echo -e "\033[0;31mFound incorrect indent whitespaces";\

View file

@ -265,8 +265,8 @@ install(FILES "minetest.conf.example" DESTINATION "${EXAMPLE_CONF_DIR}")
if(UNIX AND NOT APPLE)
install(FILES "doc/luanti.6" "doc/luantiserver.6" DESTINATION "${MANDIR}/man6")
install(FILES "misc/net.minetest.minetest.desktop" DESTINATION "${XDG_APPS_DIR}")
install(FILES "misc/net.minetest.minetest.metainfo.xml" DESTINATION "${METAINFODIR}")
install(FILES "misc/org.luanti.luanti.desktop" DESTINATION "${XDG_APPS_DIR}")
install(FILES "misc/org.luanti.luanti.metainfo.xml" DESTINATION "${METAINFODIR}")
install(FILES "misc/luanti.svg" DESTINATION "${ICONDIR}/hicolor/scalable/apps")
install(FILES "misc/luanti-xorg-icon-128.png"
DESTINATION "${ICONDIR}/hicolor/128x128/apps"

View file

@ -3,7 +3,7 @@ version: 1
AppDir:
path: AppDir
app_info:
id: net.minetest.minetest
id: org.luanti.luanti
name: Luanti
icon: luanti
version: !ENV ${VERSION}
@ -57,4 +57,4 @@ script: |
mkdir -p AppDir/usr/share/luanti/misc
cp AppDir/usr/share/icons/hicolor/128x128/apps/luanti.png AppDir/usr/share/luanti/misc/luanti-xorg-icon-128.png
# Validation issues
sed -i '/PrefersNonDefaultGPU/d' AppDir/usr/share/applications/net.minetest.minetest.desktop
sed -i '/PrefersNonDefaultGPU/d' AppDir/usr/share/applications/org.luanti.luanti.desktop

View file

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.minetest.minetest</id>
<id>org.luanti.luanti</id>
<provides>
<id>net.minetest.minetest</id>
</provides>
<replaces>
<id>net.minetest.minetest</id>
</replaces>
<name>Luanti</name>
<summary>Block-based multiplayer game platform</summary>
@ -10,7 +16,7 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-2.1+ AND CC-BY-SA-3.0 AND MIT AND Apache-2.0</project_license>
<developer id="net.minetest">
<developer id="org.luanti">
<name>Luanti Team</name>
</developer>
@ -119,7 +125,7 @@
</ul>
</description>
<launchable type="desktop-id">net.minetest.minetest.desktop</launchable>
<launchable type="desktop-id">org.luanti.luanti.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://www.luanti.org/media/gallery/1.jpg</image>