basisu 1.15 (new formula)

New formula for Basis Universal GPU Texture Codec command-line compression tool

Closes #82442.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Emyr Thomas 2021-08-02 17:23:14 +01:00 committed by BrewTestBot
parent 74647577c0
commit b5974e0c08
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 21 additions and 0 deletions

1
Aliases/basisu Symbolic link
View File

@ -0,0 +1 @@
../Formula/basis_universal.rb

View File

@ -0,0 +1,20 @@
class BasisUniversal < Formula
desc "Basis Universal GPU texture codec command-line compression tool"
homepage "https://github.com/BinomialLLC/basis_universal"
url "https://github.com/BinomialLLC/basis_universal/archive/refs/tags/v1.15_rel2.tar.gz"
version "1.15"
sha256 "c7ada78211517176ac5d38850337500d132813e2c0af3bf338e66cac71ee5153"
license "Apache-2.0"
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
system "#{bin}/basisu", test_fixtures("test.png")
assert_predicate testpath/"test.basis", :exist?
end
end