Skip to content

Commit

Permalink
package/ci: Build with Basis Universal 1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
pezcode committed Sep 14, 2024
1 parent 3a0e6e8 commit 96807d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package/archlinux/magnum-plugins-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Author: mosra <[email protected]>
pkgname=magnum-plugins-git
pkgver=2020.06.r1061.g24295477
_basis_pkgver=1_15_update2
_basis_pkgver=1_50_0_2
pkgrel=1
pkgdesc="Plugins for the Magnum C++11/C++14 graphics engine (Git version)"
arch=('i686' 'x86_64')
Expand All @@ -14,7 +14,7 @@ conflicts=('magnum-plugins')
source=("git+https://github.com/mosra/magnum-plugins.git"
"https://github.com/BinomialLLC/basis_universal/archive/v${_basis_pkgver}.tar.gz")
sha1sums=('SKIP'
'b9615d48ebfc62a53f333ebf8a582558a058b0e9')
'4946d685424556efb07376b97e95a4cbb3245e40')

pkgver() {
cd "$srcdir/${pkgname%-git}"
Expand Down
2 changes: 1 addition & 1 deletion package/ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ install:
- IF "%TARGET%" == "desktop" IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF "%COMPILER:~0,4%" == "msvc" appveyor DownloadFile https://ci.magnum.graphics/freetype-2.10.4-windows-2016.zip && 7z x freetype-2.10.4-windows-2016.zip -o%APPVEYOR_BUILD_FOLDER%\deps

# Basis Universal
- set BASIS_VERSION=1_15_update2
- set BASIS_VERSION=1_50_0_2
- IF NOT EXIST %APPVEYOR_BUILD_FOLDER%\v%BASIS_VERSION%.zip appveyor DownloadFile https://github.com/BinomialLLC/basis_universal/archive/v%BASIS_VERSION%.zip
- 7z x v%BASIS_VERSION%.zip && ren basis_universal-%BASIS_VERSION% basis_universal
# We want to use the external Zstd instead of this
Expand Down
2 changes: 1 addition & 1 deletion package/ci/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ commands:
- run:
name: Install Basis Universal
command: |
export BASIS_VERSION=v1_15_update2
export BASIS_VERSION=v1_50_0_2
mkdir -p $HOME/basis_universal && cd $HOME/basis_universal
wget -nc https://github.com/BinomialLLC/basis_universal/archive/$BASIS_VERSION.tar.gz
tar --strip-components 1 -xzf $BASIS_VERSION.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions package/homebrew/magnum-plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ class MagnumPlugins < Formula
depends_on "webp" => :recommended

def install
# Bundle Basis Universal, v1_15_update2 for HEAD builds, a commit that's
# Bundle Basis Universal, v1_50_0_2 for HEAD builds, a commit that's
# before the UASTC support (which was not implemented yet) on 2020.06.
# The repo has massive useless files in its history, so we're downloading
# just a snapshot instead of a git clone. Also, WHY THE FUCK curl needs -L
# and -o?! why can't it just work?!
if build.head?
system "curl", "-L", "https://github.com/BinomialLLC/basis_universal/archive/v1_15_update2.tar.gz", "-o", "src/external/basis-universal.tar.gz"
system "curl", "-L", "https://github.com/BinomialLLC/basis_universal/archive/v1_50_0_2.tar.gz", "-o", "src/external/basis-universal.tar.gz"
else
system "curl", "-L", "https://github.com/BinomialLLC/basis_universal/archive/2f43afcc97d0a5dafdb73b4e24e123cf9687a418.tar.gz", "-o", "src/external/basis-universal.tar.gz"
end
Expand Down

0 comments on commit 96807d3

Please sign in to comment.