mirror of
https://github.com/Pixelplanet/Pixel-VR-Player.git
synced 2026-10-20 13:00:46 +02:00
- Add ThumbnailCache: a worker thread extracts 256x144 thumbnails and media metadata with FFmpeg, SBS-aware cropping, and an on-disk cache under ~/.cache/pixelvr/thumbs. - Draw thumbnails on browser cards through a new rounded-corner thumb.frag pipeline with per-card descriptor sets. - Redesign the browser as a sidebar + card grid, with horizontal stick navigation and direct shortcuts to Network/Home/Videos/Downloads/Drives. - Expand Settings: screen curvature, UI text scale and colour, accent colour and UI distance, organised into sections. - Downloads window: per-job state, progress, speed and ETA, plus pause/resume and cancel-active controls. - Decoder: multi-threaded software decode and four V4L2 output buffers. - docs: unified UI concept, redesign plan and mockups. Release packaging is now reproducible: tools/run.sh is the shipped launcher, tools/package-release.sh assembles the tarball, and a GitHub Actions workflow builds it natively on ARM64 for every v* tag. Stop committing release tarballs; they are attached to releases instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
33 lines
1.1 KiB
Bash
Executable File
33 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Configure and build Pixel VR Player.
|
|
#
|
|
# ./tools/build.sh # native host build (desktop, SteamVR-streamed dev)
|
|
# ./tools/build.sh --aarch64 # cross-compile for the Steam Frame
|
|
#
|
|
# For --aarch64, set PIXELVR_SYSROOT to an aarch64 sysroot containing the Vulkan
|
|
# loader (and FFmpeg once the media engine is enabled).
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
BUILD_DIR="build"
|
|
CMAKE_ARGS=(-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo)
|
|
|
|
if [[ "${1:-}" == "--aarch64" ]]; then
|
|
BUILD_DIR="build-aarch64"
|
|
CMAKE_ARGS+=(-DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-aarch64-linux.cmake)
|
|
# PIXELVR_SYSROOT is optional: set it to a device-captured sysroot
|
|
# (tools/fetch-sysroot.sh) for a runtime-compatible build, otherwise the
|
|
# toolchain falls back to Debian/Ubuntu arm64 multiarch libraries.
|
|
if [[ -n "${PIXELVR_SYSROOT:-}" ]]; then
|
|
CMAKE_ARGS+=(-DPIXELVR_SYSROOT="${PIXELVR_SYSROOT}")
|
|
fi
|
|
shift
|
|
fi
|
|
|
|
cmake -B "${BUILD_DIR}" "${CMAKE_ARGS[@]}" "$@"
|
|
cmake --build "${BUILD_DIR}" --parallel
|
|
|
|
echo
|
|
echo "Built ${BUILD_DIR}/bin/pixelvr"
|