23 changed files with 204 additions and 140 deletions
@ -1,6 +1,6 @@
|
||||
/out |
||||
/debian/tmp |
||||
/.vscode |
||||
/build |
||||
/CMakeLists.txt.user |
||||
out |
||||
debian/tmp |
||||
.vscode |
||||
build |
||||
CMakeLists.txt.user |
||||
*.autosave |
||||
|
@ -1,8 +1,7 @@
|
||||
# Compile For x86_64 |
||||
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake") |
||||
if(NOT HOST_ARCHITECTURE STREQUAL "x86_64") |
||||
# Use x86_64 Cross-Compiler |
||||
setup_toolchain("x86_64-linux-gnu") |
||||
endif() |
||||
# Use x86_64 Cross-Compiler |
||||
setup_toolchain("x86_64-linux-gnu") |
||||
# Details |
||||
set(CMAKE_SYSTEM_NAME "Linux") |
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64") |
@ -1,11 +0,0 @@
|
||||
# Compile For ARM |
||||
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake") |
||||
if(HOST_ARCHITECTURE STREQUAL "aarch64_be" OR HOST_ARCHITECTURE STREQUAL "aarch64" OR HOST_ARCHITECTURE STREQUAL "armv8b" OR HOST_ARCHITECTURE STREQUAL "armv8l") |
||||
# Force 32-Bit Compile |
||||
add_compile_options("-m32") |
||||
elseif((NOT HOST_ARCHITECTURE STREQUAL "arm") AND (NOT HOST_ARCHITECTURE STREQUAL "armv7l")) |
||||
# Use ARM Cross-Compiler |
||||
setup_toolchain("arm-linux-gnueabihf") |
||||
endif() |
||||
set(CMAKE_SYSTEM_NAME "Linux") |
||||
set(CMAKE_SYSTEM_PROCESSOR "arm") |
@ -1,8 +1,7 @@
|
||||
# Compile For ARM64 |
||||
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake") |
||||
if(NOT (HOST_ARCHITECTURE STREQUAL "aarch64_be" OR HOST_ARCHITECTURE STREQUAL "aarch64" OR HOST_ARCHITECTURE STREQUAL "armv8b" OR HOST_ARCHITECTURE STREQUAL "armv8l")) |
||||
# Use ARM64 Cross-Compiler |
||||
setup_toolchain("aarch64-linux-gnu") |
||||
endif() |
||||
# Use ARM64 Cross-Compiler |
||||
setup_toolchain("aarch64-linux-gnu") |
||||
# Details |
||||
set(CMAKE_SYSTEM_NAME "Linux") |
||||
set(CMAKE_SYSTEM_PROCESSOR "aarch64") |
||||
|
@ -0,0 +1,7 @@
|
||||
# Compile For ARM |
||||
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake") |
||||
# Use ARM Cross-Compiler |
||||
setup_toolchain("arm-linux-gnueabihf") |
||||
# Details |
||||
set(CMAKE_SYSTEM_NAME "Linux") |
||||
set(CMAKE_SYSTEM_PROCESSOR "arm") |
@ -0,0 +1,7 @@
|
||||
# Compile For i386 |
||||
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake") |
||||
# Use i386 Cross-Compiler |
||||
setup_toolchain("i386-linux-gnu") |
||||
# Details |
||||
set(CMAKE_SYSTEM_NAME "Linux") |
||||
set(CMAKE_SYSTEM_PROCESSOR "i386") |
@ -0,0 +1,6 @@
|
||||
* |
||||
!control |
||||
!copyright |
||||
!rukes |
||||
!source |
||||
!.gitignore |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-client |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: armhf |
||||
Depends: libc6, libstdc++6, zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1 |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-client |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: arm64 |
||||
Depends: libc6, libstdc++6, libc6:armhf, libstdc++6:armhf, zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1 |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-client |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: amd64 |
||||
Depends: libc6, libstdc++6, libc6-armhf-cross, libstdc++6-armhf-cross, zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1, qemu-user-static |
@ -0,0 +1,21 @@
|
||||
Source: minecraft-pi-reborn |
||||
Section: games |
||||
Priority: optional |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Build-Depends: debhelper-compat (= 12), clang:native, lld:native, cmake, make:native, libglfw3, libglfw3-dev, libfreeimage3, libfreeimage-dev:native, libopenal1, libopenal-dev, crossbuild-essential-armhf |
||||
Standards-Version: 4.4.1 |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Vcs-Browser: https://gitea.thebrokenrail.com/TheBrokenRail/minecraft-pi-reborn |
||||
Vcs-Git: https://gitea.thebrokenrail.com/TheBrokenRail/minecraft-pi-reborn.git |
||||
|
||||
Package: minecraft-pi-reborn-client |
||||
Architecture: amd64 i386 arm64 armhf |
||||
Multi-Arch: foreign |
||||
Depends: libc6, libstdc++6, libc6-armhf-cross [!arm64 !armhf], libstdc++6-armhf-cross [!arm64 !armhf], zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1, qemu-user-static [!arm64 !armhf] |
||||
Description: Fun with Blocks |
||||
|
||||
Package: minecraft-pi-reborn-server |
||||
Architecture: amd64 i386 arm64 armhf |
||||
Multi-Arch: foreign |
||||
Depends: libc6, libstdc++6, libc6-armhf-cross [!arm64 !armhf], libstdc++6-armhf-cross [!arm64 !armhf], qemu-user-static [!arm64 !armhf] |
||||
Description: Fun with Blocks (Dedicated Server) |
@ -0,0 +1,21 @@
|
||||
MIT License |
||||
|
||||
Copyright (c) 2021 TheBrokenRail |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
of this software and associated documentation files (the "Software"), to deal |
||||
in the Software without restriction, including without limitation the rights |
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
copies of the Software, and to permit persons to whom the Software is |
||||
furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in all |
||||
copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||
SOFTWARE. |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-server |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: armhf |
||||
Depends: libc6, libstdc++6 |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-server |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: arm64 |
||||
Depends: libc6, libstdc++6, libc6:armhf, libstdc++6:armhf |
@ -1,7 +0,0 @@
|
||||
Package: minecraft-pi-reborn-server |
||||
Version: ${VERSION} |
||||
Maintainer: TheBrokenRail <connor24nolan@live.com> |
||||
Description: Fun with Blocks |
||||
Homepage: https://www.minecraft.net/en-us/edition/pi |
||||
Architecture: amd64 |
||||
Depends: libc6, libstdc++6, libc6-armhf-cross, libstdc++6-armhf-cross, qemu-user-static |
@ -1,14 +0,0 @@
|
||||
#!/bin/sh |
||||
|
||||
set -e |
||||
|
||||
# Clean Prefix |
||||
rm -rf out |
||||
|
||||
# Build |
||||
./scripts/build.sh client x86_64 |
||||
./scripts/build.sh server x86_64 |
||||
./scripts/build.sh client arm64 |
||||
./scripts/build.sh server arm64 |
||||
./scripts/build.sh client arm |
||||
./scripts/build.sh server arm |
Loading…
Reference in new issue