Commit 2a1332d2 authored by satmandu's avatar satmandu Committed by GitHub

sass related updates (#5283)

* sass related updates

* Update dart.rb
parent d9d5464a
......@@ -3,31 +3,32 @@ require 'package'
class Dart < Package
description 'The Dart SDK is a set of tools and libraries for the Dart programming language. You can find information about Dart online at dartlang.org.'
homepage 'https://www.dartlang.org'
version '2.9.3'
@_ver = '2.10.5'
version @_ver
compatibility 'all'
case ARCH
when 'aarch64', 'armv7l'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/sdk/dartsdk-linux-arm-release.zip'
source_sha256 'fe5e180c901b4a6bf802211bf7b4918d321c3924f55088339f7fe3a01a8cc735'
source_url "https://storage.googleapis.com/dart-archive/channels/stable/release/#{@_ver}/sdk/dartsdk-linux-arm-release.zip"
source_sha256 '12db2a878a450586da9cba8f22adaec23ae2d7c8b4838a2be58687c28d5b6814'
when 'i686'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/sdk/dartsdk-linux-ia32-release.zip'
source_sha256 '82116dbc7e16ca4bd04c090be2bb6014bce8d0a71823a1ffdc5842b658b6132c'
source_url "https://storage.googleapis.com/dart-archive/channels/stable/release/#{@_ver}/sdk/dartsdk-linux-ia32-release.zip"
source_sha256 'c7319de95d1e9c471d8dbe80ebdabc0c437e5ec21c7814c96b79a9ba79c6e481'
when 'x86_64'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/sdk/dartsdk-linux-x64-release.zip'
source_sha256 '6719026f526f3171274dc9d8322c33fd9ec22e659e8dd833c587038211b83b04'
source_url "https://storage.googleapis.com/dart-archive/channels/stable/release/#{@_ver}/sdk/dartsdk-linux-x64-release.zip"
source_sha256 '5037a2c0fd631afc1e77e8ef86fe1ab60420d810cab67ac86f4179d9f7a866d5'
end
binary_url ({
binary_url({
})
binary_sha256 ({
binary_sha256({
})
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}"
FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}"
FileUtils.cp_r 'bin/', "#{CREW_DEST_PREFIX}"
FileUtils.cp_r 'include/', "#{CREW_DEST_PREFIX}"
FileUtils.cp_r Dir.glob('lib/*'), "#{CREW_DEST_LIB_PREFIX}"
FileUtils.cp 'version', "#{CREW_DEST_PREFIX}" # This stops 'pub get' from throwing errors
FileUtils.mkdir_p CREW_DEST_PREFIX
FileUtils.mkdir_p CREW_DEST_LIB_PREFIX
FileUtils.cp_r 'bin/', CREW_DEST_PREFIX
FileUtils.cp_r 'include/', CREW_DEST_PREFIX
FileUtils.cp_r Dir.glob('lib/*'), CREW_DEST_LIB_PREFIX
FileUtils.cp 'version', CREW_DEST_PREFIX # This stops 'pub get' from throwing errors
end
end
......@@ -3,22 +3,22 @@ require 'package'
class Gtk4 < Package
description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.'
homepage 'https://developer.gnome.org/gtk4/'
version '4.1.0'
version '4.1.1'
compatibility 'all'
source_url 'https://download.gnome.org/sources/gtk/4.1/gtk-4.1.0.tar.xz'
source_sha256 '973f651722a847e91e12be0a1c1c610aae0961f2f8d55c5d1fa39e17267d7ada'
source_url 'https://download.gnome.org/sources/gtk/4.1/gtk-4.1.1.tar.xz'
source_sha256 'f7e1789f6c637b091cffb17de08bd9c3986543282eecdff0750dd04f1673b737'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.0-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk4-4.1.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '660d77d46cd96bc0a9c444d0731e84c6a0e9d36b5df9b27f0214891f5e2c99ca',
armv7l: '660d77d46cd96bc0a9c444d0731e84c6a0e9d36b5df9b27f0214891f5e2c99ca',
i686: 'e800d434423310eee5e81f1973ec51be376a4e3b0cac040da68da4c5e53919ea',
x86_64: '873b3c26ecaf958476f782ae62c10291649f41e1d533aa6381340617beb5aae3'
aarch64: 'dcce3aeb6954b2010a867f2bf84b11995d6d0433a1ece96313ee36d27af4819c',
armv7l: 'dcce3aeb6954b2010a867f2bf84b11995d6d0433a1ece96313ee36d27af4819c',
i686: '182fa221219f0a2b25b5ebe902e86dde0ed09e3e741bb1e52acdd120e8bcb308',
x86_64: '81fbb2bd61ff6c1f0729f686e9c1a21f39c24bfaf8d2bd0a92adb929e3f32475'
})
depends_on 'cups'
......@@ -55,6 +55,7 @@ class Gtk4 < Package
-Dlibsass:default_library=both \
-Dmutest:default_library=both \
-Dsassc:default_library=both \
-Dsassc=enabled \
build"
system 'meson configure build'
system 'ninja -C build'
......
......@@ -3,27 +3,30 @@ require 'package'
class Libsass < Package
description 'LibSass is a C/C++ port of the Sass engine'
homepage 'https://sass-lang.com/libsass'
version '3.6.3'
version '3.6.4'
compatibility 'all'
source_url 'https://github.com/sass/libsass/archive/3.6.3.tar.gz'
source_sha256 'dadb470bb9141e91b437119d367654427180ed2b3d04b8000eab5b0ca47cd5bb'
source_url 'https://github.com/sass/libsass/archive/3.6.4.tar.gz'
source_sha256 'f9484d9a6df60576e791566eab2f757a97fd414fce01dd41fc0a693ea5db2889'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.3-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsass-3.6.4-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '127212de28af881fef04f4507ddad8dcee18ea8028f1c3549626de311d152ea4',
armv7l: '127212de28af881fef04f4507ddad8dcee18ea8028f1c3549626de311d152ea4',
i686: '696212537afd414d5571b23c1ee592fbcccb6ea4e8146f231ea4924d0bb1dd3c',
x86_64: '37b197a5850c29264a624c55706c2cb8c9eb70c2f9293a41b8dbf6a261a7e85c',
binary_sha256({
aarch64: '80f6e743442cc3725a889cd139c89f159f1bb834698f60c4b9e10595bcde3e8c',
armv7l: '80f6e743442cc3725a889cd139c89f159f1bb834698f60c4b9e10595bcde3e8c',
i686: '22f4764ace15192ce1831133b2a46486ce23b6d7628613fd1dc8ca4c5af9c367',
x86_64: 'a8b8f0e1560da7b41ee260f603c6ff57b0c9dea5505b2956b709bba278a550ca'
})
def self.build
system 'autoreconf', '-i'
system './configure', "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS}"
system 'make'
end
......
......@@ -3,20 +3,22 @@ require 'package'
class Sass < Package
description 'A Dart implementation of Sass. Sass makes CSS fun again.'
homepage 'https://sass-lang.com/'
version '1.26.10'
compatibility 'aarch64,armv7l,x86_64'
source_url 'https://github.com/sass/dart-sass/archive/1.26.10.tar.gz'
source_sha256 '9131be72e3eb6d32265e354d6da9f9162d9b28ed5b4910f03744c31509be894f'
version '1.32.8'
compatibility 'all'
source_url 'https://github.com/sass/dart-sass/archive/1.32.8.tar.gz'
source_sha256 '1b7679f55bd621af878265ce8b07e3de404779b5f390b6f74ef76c9bacf292b2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.26.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.26.10-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.26.10-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.32.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.32.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.32.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sass-1.32.8-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '8383f0b0ceb0cd6193bd029bba483bc427fa150ecf2753180a5d75b2f16f4c72',
armv7l: '8383f0b0ceb0cd6193bd029bba483bc427fa150ecf2753180a5d75b2f16f4c72',
x86_64: 'c7bfe1b6caf87fd1f78d7ce0cc9e4ec68633d80f150470e751885df2fe0a0781',
binary_sha256({
aarch64: '12ea3b5e50d909b9375b9e2ae4063f73dd073716d6dc431ee10e0bbdd9eaacfc',
armv7l: '12ea3b5e50d909b9375b9e2ae4063f73dd073716d6dc431ee10e0bbdd9eaacfc',
i686: '3713b8427deb027e3559f340aaeb0bd1b049f7c71f45c770f02cfcf11ae9a7e9',
x86_64: 'cf675aae3203699f6169e42bd342ce8579ca93b920e8675873af7a374006ab6f'
})
depends_on 'dart'
......
......@@ -2,30 +2,32 @@ require 'package'
class Sassc < Package
description 'C implementation of Sass CSS preprocessor.'
version '3.6.1'
version '3.6.1-66f0'
compatibility 'all'
source_url 'https://github.com/sass/sassc/archive/3.6.1.tar.gz'
source_sha256 '8cee391c49a102b4464f86fc40c4ceac3a2ada52a89c4c933d8348e3e4542a60'
source_url 'https://github.com/sass/sassc/archive/66f0ef37e7f0ad3a65d2f481eff09d09408f42d0.zip'
source_sha256 'a2077ae439f29c45ce76c81b9b4e63aed1b7f41e9f5fc82881c2d52752c6f440'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-66f0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-66f0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-66f0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sassc-3.6.1-66f0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'fa342b7f0f008adf721fce11d5576148478d7e8008ec37be8a031e92f416b345',
armv7l: 'fa342b7f0f008adf721fce11d5576148478d7e8008ec37be8a031e92f416b345',
i686: '7f3d0319266009c1b7ee8949de91914116fc31b87949ba6fd57a0df3dd95633b',
x86_64: '156f5f33817ce351f7c890eee9a37a61dcd4abc96939ba9bfa49e31264c412da',
binary_sha256({
aarch64: 'e0beec78444eca58f93f7a874ee660bf07aa67610609a8a615474f0e4be606aa',
armv7l: 'e0beec78444eca58f93f7a874ee660bf07aa67610609a8a615474f0e4be606aa',
i686: '03053905322947680cbe1f4941434beb39217ece66ccf670729338ea853d47b6',
x86_64: '052467d9f5395e41cd73c715a3b3852ce1c45b14e219a5726781a4bdab433fb4'
})
depends_on 'libsass'
def self.build
system "autoreconf -i"
system "./configure #{CREW_OPTIONS}"
system "make"
system 'autoreconf -i'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment