mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
a495eb10a9
Aligns ArchR with the ROCKNIX 20260601 batch of dependency bumps: - Mesa 26.0.5 / 26.1.1 -> 26.1.3 (latest stable) - libdrm 2.4.125 -> 2.4.134 - vulkan-headers 1.4.321 / 1.4.347 -> 1.4.354 - vulkan-loader 1.4.321 / 1.4.347 -> 1.4.354 - wayland 1.23.1 / 1.24.0 -> 1.25.0 - wayland-protocols 1.44 / 1.45 -> 1.49 - box64 -> v0.4.2 (commit 7eeb5016) Both top-level packages/ and projects/ArchR/packages/ overrides updated where applicable so the ArchR build resolves the new versions consistently. Mesa keeps the upstream freedesktop tarball at packages/ and the gitlab archive at projects/ArchR/ (no change to delivery URL strategy). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="box64"
|
|
PKG_VERSION="7eeb5016493dab4e143d53da50dd47bfb44a9509" # v0.4.2
|
|
PKG_ARCH="aarch64"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://github.com/ptitSeb/box64"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain ncurses SDL2 cabextract libXss libXdmcp libXft gtk2"
|
|
PKG_LONGDESC="Box64 lets you run x86_64 Linux programs (such as games) on non-x86_64 Linux systems, like ARM."
|
|
PKG_TOOLCHAIN="cmake"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
case ${DEVICE} in
|
|
RK3588)
|
|
PKG_CMAKE_OPTS_TARGET+=" -DRK3588=On"
|
|
;;
|
|
SM8250)
|
|
PKG_CMAKE_OPTS_TARGET+=" -DSD865=On"
|
|
;;
|
|
SM8550)
|
|
PKG_CMAKE_OPTS_TARGET+=" -DSD8G2=On"
|
|
;;
|
|
esac
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/share/box64/lib
|
|
cp ${PKG_BUILD}/x64lib/* ${INSTALL}/usr/share/box64/lib
|
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp ${PKG_BUILD}/.${TARGET_NAME}/box64 ${INSTALL}/usr/bin
|
|
cp ${PKG_BUILD}/tests/box64-bash ${INSTALL}/usr/bin/bash-x64
|
|
|
|
mkdir -p ${INSTALL}/usr/config
|
|
cp ${PKG_BUILD}/system/box64.box64rc ${INSTALL}/usr/config/box64.box64rc
|
|
|
|
mkdir -p ${INSTALL}/etc
|
|
ln -sf /storage/.config/box64.box64rc ${INSTALL}/etc/box64.box64rc
|
|
|
|
mkdir -p ${INSTALL}/etc/binfmt.d
|
|
cp -f ${PKG_DIR}/config/box64.conf ${INSTALL}/etc/binfmt.d/box64.conf
|
|
}
|