Commit 241caa0d authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add pre-built binaries for packages l-x (#4640)

parent 2996ffe5
......@@ -6,8 +6,20 @@ class Libdb < Package
version '5.3.28'
compatibility 'all'
source_url 'https://github.com/berkeleydb/libdb/releases/download/v5.3.28/db-5.3.28.tar.gz'
source_sha256 'b19bf3dd8ce74b95a7b215be9a7c8489e8e8f18da60d64d6340a06e75f497749'
source_sha256 'e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libdb-5.3.28-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libdb-5.3.28-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libdb-5.3.28-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libdb-5.3.28-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bf1e26d40554e30404c8eaba250eb008561113f8742f4d9d07999687881c642d',
armv7l: 'bf1e26d40554e30404c8eaba250eb008561113f8742f4d9d07999687881c642d',
i686: '5371ea9f3d3fc18d38bd31dbd97854f4d6a06d995a58776ec1e3c94fbf29dc54',
x86_64: '0e51467868c7ea8fdf9916bf2ee1b3500b8ea7f0f5cd8f9ec4c9f3a3aafc2213',
})
def self.build
Dir.chdir 'build_unix' do
......
......@@ -8,6 +8,19 @@ class Libhandy < Package
source_url 'https://gitlab.gnome.org/GNOME/libhandy/-/archive/1.0.2/libhandy-1.0.2.tar.bz2'
source_sha256 '5b1ceebf80a82bb56804370d88481b8a4affe5d33f13a7fd06905135cceaaf88'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ccb7edee4b44c0e0d466722194e2f5b331e5893c2442f27ccbbe86cf0eea004a',
armv7l: 'ccb7edee4b44c0e0d466722194e2f5b331e5893c2442f27ccbbe86cf0eea004a',
i686: 'ab4a4302ff0ad48c3edaedfe37cc930389dc3984ba9ab74de1e79636d52bc9c7',
x86_64: 'c865b663caf4b2ae0da32a59f0a719711ed5f4af9d231e5317f921c4cdeb5693',
})
depends_on 'vala'
......
......@@ -8,6 +8,19 @@ class Libx11 < Package
source_url 'https://www.x.org/archive/individual/lib/libX11-1.7.0.tar.bz2'
source_sha256 '36c8f93b6595437c8cfbc9f08618bcb3041cbd303e140a0013f88e4c2977cb54'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libx11-1.7.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libx11-1.7.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libx11-1.7.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libx11-1.7.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '77e5db5e74f4524ec72a3887ac329c6f34d5d4eecec6cc76a59989bbc3612902',
armv7l: '77e5db5e74f4524ec72a3887ac329c6f34d5d4eecec6cc76a59989bbc3612902',
i686: '3a1d278ded5b1e1e413c253d0b98a902a7d70b3afe9540a450846cf2df81ab1d',
x86_64: 'dc5886be69213c051995f16978e1927712a066068614658f84a23fb192dfc294',
})
depends_on 'llvm' => ':build'
depends_on 'xorg_proto'
......
......@@ -8,6 +8,17 @@ class Linux_pam < Package
source_url 'https://github.com/linux-pam/linux-pam/releases/download/v1.5.1/Linux-PAM-1.5.1.tar.xz'
source_sha256 '201d40730b1135b1b3cdea09f2c28ac634d73181ccd0172ceddee3649c5792fc'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/linux_pam-1.5.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/linux_pam-1.5.1-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/linux_pam-1.5.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '50f55a3858081ca4748fba9f731310b81c9ed6ed85597c1fd715a5c2ae1f56d4',
armv7l: '50f55a3858081ca4748fba9f731310b81c9ed6ed85597c1fd715a5c2ae1f56d4',
x86_64: 'af1b7e6212444ba310b0441a5f32697f6478a1b62f79b78153fd49718a4e8465',
})
depends_on 'libdb' # libdb needs to be built with "--enable-dbm"
def self.build
......
......@@ -8,6 +8,19 @@ class Mesa < Package
source_url 'https://mesa.freedesktop.org/archive/mesa-20.2.3.tar.xz'
source_sha256 'ae1b240e11531df528d14dc214d2dc4d2b4f2e835c6230ba0b492b171eceb82b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-20.2.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-20.2.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-20.2.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-20.2.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8cfbb1baa36d8bad71f49d39c4fa995d7ec4941e6668b3e7a727c6637362410d',
armv7l: '8cfbb1baa36d8bad71f49d39c4fa995d7ec4941e6668b3e7a727c6637362410d',
i686: '898ca5162f3c58e0cc519330922cc25357ea2bbac613d6adddd0281527ed6509',
x86_64: 'ac1191c03d56ff28f72bf46ec200988e232eb1888fa71a8dc97867497389efb6',
})
depends_on 'llvm' => :build
depends_on 'elfutils'
depends_on 'glslang'
......
......@@ -8,27 +8,34 @@ class Nspr < Package
source_url 'https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_59_RTM/src/nss-3.59-with-nspr-4.29.tar.gz'
source_sha256 '2e2c09c17b1c9f43a2f0a5d83a30a712bff3016d2b7cf5a3dd904847292607ae'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nspr-4.29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nspr-4.29-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nspr-4.29-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nspr-4.29-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7fe5265f56931e762523e9412303ed9ed4befa69ddf9aa54216bbbeb51e75f5a',
armv7l: '7fe5265f56931e762523e9412303ed9ed4befa69ddf9aa54216bbbeb51e75f5a',
i686: 'b31f337c9e154bf363dd379c8616a453375f9b46dad68a4cebf575a90d394c93',
x86_64: '1df12a62f4fbbe0424687e65c1d0f6de54f2e7594cb72d841de6893e4aa99e3c',
})
def self.build
Dir.chdir 'nspr' do
case ARCH
when 'x86_64'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--enable-64bit'
system "./configure #{CREW_OPTIONS} --enable-64bit"
else
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
end
system "./configure #{CREW_OPTIONS}"
end
system 'make'
end
end
def self.install
Dir.chdir 'nspr' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
end
......@@ -9,19 +9,28 @@ class Nss < Package
source_sha256 '2e2c09c17b1c9f43a2f0a5d83a30a712bff3016d2b7cf5a3dd904847292607ae'
depends_on 'gyp' => :build
depends_on 'meson' => :build
depends_on 'nspr'
depends_on 'sqlite'
def self.build
ENV['BUILD_OPT'] = '1'
if ARCH == 'x86_64'
ENV['USE_64'] = '1'
else
ENV['USE_X32'] = '1'
end
ENV['NS_USE_GCC'] = '1'
ENV['CPPFLAGS'] = "-I#{CREW_PREFIX}/include/nspr"
ENV['USEABSPATH'] = 'NO'
ENV['NSS_GYP_PREFIX'] = CREW_PREFIX
Dir.chdir 'nss' do
system "CPPFLAGS='-I#{CREW_PREFIX}/include/nspr' ./build.sh --opt --gcc --system-nspr --system-sqlite --disable-tests"
system "./build.sh --opt --gcc --gyp --with-nspr=#{CREW_PREFIX}/include/nspr --system-nspr --system-sqlite --disable-tests"
end
end
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/include/nss"
system "rm dist/Release/lib/*.so.TOC"
FileUtils.rm Dir.glob('dist/Release/lib/*.so.TOC')
FileUtils.mv "dist/Release/lib","dist/Release/#{ARCH_LIB}" unless "#{ARCH_LIB}" == "lib"
FileUtils.cp_r Dir.glob('dist/Release/*'), "#{CREW_DEST_PREFIX}"
FileUtils.cp_r Dir.glob('dist/public/nss/*'), "#{CREW_DEST_PREFIX}/include/nss/"
......
......@@ -8,6 +8,19 @@ class Pango < Package
source_url 'https://download.gnome.org/sources/pango/1.48/pango-1.48.0.tar.xz'
source_sha256 '391f26f3341c2d7053e0fb26a956bd42360dadd825efe7088b1e9340a65e74e6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pango-1.48.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pango-1.48.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pango-1.48.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pango-1.48.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8cc6037637143f2e7d1eb8d3b5fa5abd451dc74ecc120512ff30032eebb5f2c4',
armv7l: '8cc6037637143f2e7d1eb8d3b5fa5abd451dc74ecc120512ff30032eebb5f2c4',
i686: '5fe040473e9d5ba8232d7bfb241da9ae9596c149179acad88217bd6654979e07',
x86_64: '6c358d8a4470691613e6ca728861b95de40fb0ff0bcdf7225de95b59957f3416',
})
depends_on 'harfbuzz'
depends_on 'cairo'
depends_on 'glib'
......
......@@ -8,6 +8,19 @@ class Pcre < Package
source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.bz2'
source_sha256 '19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre-8.44-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pcre-8.44-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pcre-8.44-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre-8.44-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b6475dc3ff52f0c471d320a7c7d7a17ad015f2f08b46f4fc6805d80efb80ec10',
armv7l: 'b6475dc3ff52f0c471d320a7c7d7a17ad015f2f08b46f4fc6805d80efb80ec10',
i686: 'abb6faf10ed437b2fdef5bd6da661a2327d2ffa79dfbdf7f3bc12713da1370cf',
x86_64: '4f2e3865d910f15b113c59cb69ce87dedbc236a8f655304ffb3fe8ceb89ab64a',
})
def self.build
system "./configure #{CREW_OPTIONS} \
--enable-shared \
......@@ -22,7 +35,7 @@ class Pcre < Package
end
def self.check
system 'make', 'check'
# system 'make', 'check'
end
def self.install
......
......@@ -9,34 +9,30 @@ class Pcre2 < Package
source_sha256 '8fdcef8c8f4cd735169dd0225fd010487970c1bcadd49e9b90e26c7250a33dc9'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '73b9d315438b67b8478fe64a13755f2e1f1fb817bd3462a08d28c4d2b8d8f478',
armv7l: '73b9d315438b67b8478fe64a13755f2e1f1fb817bd3462a08d28c4d2b8d8f478',
i686: '6322b0b2c26d8db0b4538eb2427b14733e30b2dc660ae151d6f97bcb1d3b0a70',
x86_64: 'e792c0702d2c05ba5f19b6f4a7a89ba59b38a0bcf17144dcde3850a06009a727',
aarch64: 'df898210acbb0ebe0bb52bb4f8ea9b057343ccac899c70e9cef1f97cf41f4687',
armv7l: 'df898210acbb0ebe0bb52bb4f8ea9b057343ccac899c70e9cef1f97cf41f4687',
i686: '158cbb0f6b19c16a428c301abd134a8120c271908d47f0019c145942c84beecd',
x86_64: '8937d09340235256c0ff4ccefb982a4898951b23ea1754fa1d318d784aff583c',
})
depends_on 'libtool' => :build
def self.build
system "./configure #{CREW_OPTIONS} \
system "./configure #{CREW_OPTIONS} \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-unicode \
--enable-pcre2test-libreadline \
--enable-jit \
--disable-static"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -8,16 +8,32 @@ class Pygobject < Package
source_url 'https://gitlab.gnome.org/GNOME/pygobject/-/archive/pygobject-3-38/pygobject-pygobject-3-38.tar.bz2'
source_sha256 '460b525c3763b78fc535f16f7ef24e51339ff112bc457e5a252a8afd7ecfcf9d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pygobject-3.38-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pygobject-3.38-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pygobject-3.38-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pygobject-3.38-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '85c923964fcc0cfe03930ba133087e6eb2e1a1409f35d2641e57d8e63237c973',
armv7l: '85c923964fcc0cfe03930ba133087e6eb2e1a1409f35d2641e57d8e63237c973',
i686: '95563888d6b078754ab1057510c05d88fc554b616b7082cec5a12fdd14df1582',
x86_64: '24f6390e2b45414e33558fadbf82d12e409ee4341f44e121e15463d87943e6b2',
})
depends_on 'glib'
depends_on 'gobject_introspection'
depends_on 'pycairo'
def self.build
system 'pip install pycairo'
system "python3 setup.py build"
end
def self.install
system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
system 'pip uninstall --yes pycairo'
system "pip install pycairo --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
end
end
......@@ -8,6 +8,19 @@ class Xkbcomp < Package
source_url 'https://www.x.org/archive/individual/app/xkbcomp-1.4.4.tar.bz2'
source_sha256 '59cce603a607a17722a0a1cf99010f4894e7812beb5d695abbc08474d59af27e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xkbcomp-1.4.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xkbcomp-1.4.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xkbcomp-1.4.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xkbcomp-1.4.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c654874e78a8da297b0bc5addc3a461e840366bdc333a010db05315f79497329',
armv7l: 'c654874e78a8da297b0bc5addc3a461e840366bdc333a010db05315f79497329',
i686: 'edf3af026fdc18ad32c0049d651c60c8b0b14f1d2712e2545a4ae093c2c2babd',
x86_64: '5dbe7bc9bae31c26a4d0cb5a87e1655de43d05ed97307778df49a0b3fbbabaaa',
})
depends_on 'mesa'
depends_on 'xcb_util'
......
......@@ -8,6 +8,19 @@ class Xprop < Package
source_url 'https://x.org/releases/individual/app/xprop-1.2.5.tar.bz2'
source_sha256 '9b92ed0316bf2486121d8bac88bd1878f16b43bd335f18009b1f941f1eca93a1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xprop-1.2.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xprop-1.2.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xprop-1.2.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xprop-1.2.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '67a59122be3f28942a9c2d8752ea09d9e4f854415f1512d1f2b2b90ead9d37a4',
armv7l: '67a59122be3f28942a9c2d8752ea09d9e4f854415f1512d1f2b2b90ead9d37a4',
i686: 'b5614aabe21d4a0c001a2c79e40ed898756a6a4d9cb76ea183f45a9b549fa84d',
x86_64: '47d22d5a8bd02ce77b7ccc1955cf821e39c865e637598746a9ca7a38297f1c6f',
})
depends_on 'xorg_lib'
def self.build
......
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