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
parent
74647577c0
commit
b5974e0c08
|
@ -0,0 +1 @@
|
|||
../Formula/basis_universal.rb
|
|
@ -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
|
Loading…
Reference in New Issue