Commit 084884ec authored by supechicken666's avatar supechicken666 Committed by GitHub

Merge pull request #3 from skycocker/master

update
parents 7d50880e 365ed744
......@@ -108,6 +108,9 @@ class Template < Package # Notice the capitals, EG: 'I3' - would be used for an
depends_on '#' => :build # Only required when the package
is built from source
# Notice the newline
def self.preflight # For preflight checks, not required
system '#' # Replace '#' with a disk space check, for example
end
def self.prebuild # For sed operations, not required
system '#' # Replace '#' with a sed operation
end
......
......@@ -51,6 +51,9 @@ DOCOPT
# If CREW_XZ_OPT is defined, use it by default. Use `-7e`, otherwise.
ENV["XZ_OPT"] = ENV['CREW_XZ_OPT'] || "-7e -T #{CREW_NPROC}"
# If CURL environment variable exists use it in lieu of curl.
CURL = ENV['CURL'] || 'curl'
# Parse arguments using docopt
require_relative 'lib/docopt'
begin
......@@ -327,6 +330,7 @@ def const (var)
'ARCH',
'ARCH_LIB',
'CHROMEOS_RELEASE',
'CURL',
'CREW_BREW_DIR',
'CREW_BUILD',
'CREW_CMAKE_LIBSUFFIX_OPTIONS',
......@@ -380,7 +384,7 @@ def whatprovides (pkgName)
if packageList[/\.filelist$/]
packageName = File.basename packageList, '.filelist'
File.readlines(packageList).each do |line|
found = line[/#{Regexp.new(pkgName)}/]
found = line[/#{pkgName}/] if line.ascii_only?
if found
fileLine = packageName + ': ' + line
if not fileArray.include? fileLine
......@@ -529,7 +533,7 @@ def download
end
end
system "curl --retry 3 -#{@verbose}#LC - --insecure \'#{url}\' --output #{filename}"
system "#{CURL} --retry 3 -#{@verbose}#LC - --insecure \'#{url}\' --output #{filename}"
abort 'Checksum mismatch. :/ Try again.'.lightred unless
Digest::SHA256.hexdigest( File.read(filename) ) == sha256sum
......@@ -736,6 +740,7 @@ def expand_dependencies
end
def resolve_dependencies
@pkg.preflight
expand_dependencies
# leave only not installed packages in dependencies
......@@ -836,7 +841,8 @@ def install
file.write JSON.pretty_generate(output)
end
# Update shared library cache after install is complete.
system "#{CREW_PREFIX}/sbin/ldconfig || true"
system "echo #{CREW_LIB_PREFIX} > #{CREW_PREFIX}/etc/ld.so.conf"
system "#{CREW_PREFIX}/sbin/ldconfig -f #{CREW_PREFIX}/etc/ld.so.conf -C #{CREW_PREFIX}/etc/ld.so.cache"
end
def resolve_dependencies_and_build
......
......@@ -4,9 +4,9 @@
set -e
#chromebrew directories
OWNER="skycocker"
REPO="chromebrew"
BRANCH="master"
OWNER="${OWNER:-skycocker}"
REPO="${REPO:-chromebrew}"
BRANCH="${BRANCH:-master}"
URL="https://raw.githubusercontent.com/${OWNER}/${REPO}/${BRANCH}"
CREW_PREFIX="${CREW_PREFIX:-/usr/local}"
CREW_LIB_PATH="${CREW_PREFIX}/lib/crew/"
......@@ -14,6 +14,7 @@ CREW_CONFIG_PATH="${CREW_PREFIX}/etc/crew/"
CREW_BREW_DIR="${CREW_PREFIX}/tmp/crew/"
CREW_DEST_DIR="${CREW_BREW_DIR}/dest"
CREW_PACKAGES_PATH="${CREW_LIB_PATH}/packages"
CURL="${CURL:-curl}"
EARLY_PACKAGES="gcc10 llvm brotli c_ares libcyrussasl libiconv libidn2 \
libmetalink libnghttp2 libpsl libssh2 libtirpc libunistring openldap \
......@@ -85,7 +86,7 @@ case "${ARCH}" in
esac
for package in $EARLY_PACKAGES; do
pkgfile="$(curl -Lsf "${URL}"/packages/"$package".rb)"
pkgfile="$($CURL -Lsf "${URL}"/packages/"$package".rb)"
temp_url="$(echo "$pkgfile" | grep -m 3 "$ARCH": | head -n 1 | cut -d\' -f2 | tr -d \' | tr -d \" | sed 's/,//g')"
temp_sha256="$(echo "$pkgfile" | grep -m 3 "$ARCH": | tail -n 1 | cut -d\' -f2 | tr -d \' | tr -d \" | sed 's/,//g')"
urls[k]="$temp_url"
......@@ -99,7 +100,7 @@ function download_check () {
#download
echo -e "${BLUE}Downloading ${1}...${RESET}"
curl '-#' -C - -L --ssl "${2}" -o "${3}"
$CURL '-#' -C - -L --ssl "${2}" -o "${3}"
#verify
echo -e "${BLUE}Verifying ${1}...${RESET}"
......
# Defines common constants used in different parts of crew
CREW_VERSION = '1.7.8'
CREW_VERSION = '1.7.11'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines
......
......@@ -69,6 +69,11 @@ class Package
@is_fake
end
# Function to perform pre-flight operations prior to dependency checks.
def self.preflight
end
# Function to perform patch operations prior to build from source.
def self.patch
......
......@@ -3,18 +3,18 @@ require 'package'
class Android_studio < Package
description 'Android Studio is the official IDE for Android development.'
homepage 'https://developer.android.com/studio'
version '3.5.3.0'
version '4.1.2.0'
compatibility 'x86_64'
case ARCH
when 'x86_64'
source_url 'https://dl.google.com/dl/android/studio/ide-zips/3.5.3.0/android-studio-ide-191.6010548-linux.tar.gz'
source_sha256 'af630d40f276b0d169c6ac8c7663a989f562b0ac48a1d3f0d720f5b6472355db'
source_url 'https://dl.google.com/dl/android/studio/ide-zips/4.1.2.0/android-studio-ide-201.7042882-linux.tar.gz'
source_sha256 '89f7c3a03ed928edeb7bbb1971284bcb72891a77b4f363557a7ad4ed37652bb9'
depends_on 'jdk8'
depends_on 'xdg_base'
depends_on 'sommelier'
end
def self.preinstall
def self.preflight
free_space = `echo $(($(stat -f --format="%a*%S" .)))`.chomp.to_i
abort 'Not enough free disk space. You need at least 6 GB to install.'.lightred if free_space < 6442450944
end
......@@ -26,11 +26,11 @@ class Android_studio < Package
FileUtils.cd(CREW_DEST_PREFIX + '/bin') do
FileUtils.ln_s(CREW_PREFIX + '/share/android-studio/bin/studio.sh', 'studio')
end
FileUtils.mkdir_p(CREW_DEST_PREFIX + '/.config/.AndroidStudio3.5')
FileUtils.mkdir_p(CREW_DEST_PREFIX + '/.config/.AndroidStudio4.1')
FileUtils.mkdir_p(CREW_DEST_PREFIX + '/.config/Android')
FileUtils.mkdir_p(CREW_DEST_HOME)
FileUtils.cd(CREW_DEST_HOME) do
FileUtils.ln_sf(CREW_PREFIX + '/.config/.AndroidStudio3.5/', '.AndroidStudio3.5')
FileUtils.ln_sf(CREW_PREFIX + '/.config/.AndroidStudio4.1/', '.AndroidStudio4.1')
FileUtils.ln_sf(CREW_PREFIX + '/.config/Android/', 'Android')
end
end
......@@ -39,11 +39,22 @@ class Android_studio < Package
puts
puts 'To start using Android Studio, type `studio`.'.lightblue
puts
puts 'To completely remove Android Studio, including the'.lightblue
puts 'settings, SDK and tools, execute the following:'.lightblue
puts 'crew remove android_studio'.lightblue
puts "rm -rf #{CREW_PREFIX}/.config/Android".lightblue
puts "rm -rf #{CREW_PREFIX}/.config/.AndroidStudio3.5".lightblue
puts
end
def self.remove
config_dirs = ["#{CREW_PREFIX}/.config/Android", "#{CREW_PREFIX}/.config/.AndroidStudio4.1"]
config_dirs.each { |config_dir|
if Dir.exists? config_dir
puts
print "Would you like to remove #{config_dir}? [y/N] "
case STDIN.getc
when "y", "Y"
FileUtils.rm_rf config_dir
puts "#{config_dir} removed.".lightred
else
puts "#{config_dir} saved.".lightgreen
end
end
}
end
end
......@@ -3,22 +3,22 @@ require 'package'
class Avahi < Package
description 'Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite.'
homepage 'http://www.avahi.org/'
version '0.8-1'
version '0.8-2'
compatibility 'all'
source_url 'https://github.com/lathiat/avahi/releases/download/v0.8/avahi-0.8.tar.gz'
source_sha256 '060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '63dc17aedb4b78b919cc5f7cd0b6750173ce42fd0c2c5a134fa26d082d214a4f',
armv7l: '63dc17aedb4b78b919cc5f7cd0b6750173ce42fd0c2c5a134fa26d082d214a4f',
i686: '78fba762d54fa7ba3dece48de92b625cbec4b27327a8e3a9c9c73d785cf96a0a',
x86_64: '69565bde70da558b2b058acf2a4b4e861ba2732176aa7f637ba4e9330722ad00',
binary_sha256({
aarch64: 'f37472d2cacfb5bcb342209d43938ac578dfa37de30662d8b73a74d386a60d83',
armv7l: 'f37472d2cacfb5bcb342209d43938ac578dfa37de30662d8b73a74d386a60d83',
i686: '2e77803a7d2dca48ad76c0ee08544008ea330ec1824db4600766a2f968a3ced5',
x86_64: 'de20f11d7e0d269f7940a0b75cd9647e55ccaac1bb49a05b383b16561318a6af'
})
depends_on 'gtk3'
......@@ -28,12 +28,14 @@ class Avahi < Package
depends_on 'qtbase'
def self.build
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--with-distro=none \
--disable-python \
--disable-xmltoman"
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--with-dbus-sys=#{CREW_PREFIX}/share/dbus-1 \
--with-distro=none \
--disable-python \
--disable-xmltoman"
system "sed -i '695d' Makefile"
system 'make'
end
......
......@@ -8,6 +8,19 @@ class Benchmark < Package
source_url 'https://github.com/google/benchmark/archive/v1.5.2.tar.gz'
source_sha256 'dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/benchmark-1.5.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/benchmark-1.5.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/benchmark-1.5.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/benchmark-1.5.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9aa663f4068a79d821bc556f6dc60b0e6ee2278505cd747e94a0fd7750258711',
armv7l: '9aa663f4068a79d821bc556f6dc60b0e6ee2278505cd747e94a0fd7750258711',
i686: 'e8f37ed6c926979e2c13949f3cf8eaeb9e7e9eedbc751d550ead9680e0a87a5c',
x86_64: '71f73a3dc296d91b2a5ed685396cbad25ad69e0d231cbed59a5d44391e98aa31',
})
def self.patch
@limitsh = <<~EOF
--- a/src/benchmark_register.h
......
......@@ -3,42 +3,46 @@ require 'package'
class Bind < Package
description 'BIND is open source software that enables you to publish your Domain Name System (DNS) information on the Internet, and to resolve DNS queries for your users.'
homepage 'https://www.isc.org/downloads/bind/'
version '9.17.8'
@_ver = '9.17.10'
version @_ver
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.8-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'c757c886c9760396405166ee258b1953935ea3a61e40e6490c44aecbf64a5041',
armv7l: 'c757c886c9760396405166ee258b1953935ea3a61e40e6490c44aecbf64a5041',
i686: '54a28fd25b2602ac2fec3781e148c6ce9222537978b6ab79bc9457a0ab5ce534',
x86_64: '0d5568f9e16d5b76fd8da2815efce5dbbecb435ee99e8757141c10e8edd9539c',
binary_sha256({
aarch64: '0655729fa11a71e11da25627a813aabb4110a1e8b694d0ac711adcdec7bf19c9',
armv7l: '0655729fa11a71e11da25627a813aabb4110a1e8b694d0ac711adcdec7bf19c9',
i686: '0fc34d77bd997d9b771ef9309f6a62a61cebbd4878889a383790e57f4b8fd0b4',
x86_64: '052251db56246ff7701b00ad91e868b602e400bf1cba2001fff96026f2fc493a'
})
depends_on 'libcap'
depends_on 'libseccomp'
depends_on 'libuv'
depends_on 'libidn2'
def self.build
system "git config --global advice.detachedHead false"
system 'git clone --depth=1 -b v9_17_8 https://gitlab.isc.org/isc-projects/bind9.git'
system 'git config --global advice.detachedHead false'
@_ver_ = @_ver.gsub(/[.]/, '_')
system "git clone --depth=1 -b v#{@_ver_} https://gitlab.isc.org/isc-projects/bind9.git"
Dir.chdir 'bind9' do
system 'pip3 install ply==3.11'
system 'autoreconf -fi'
system "env CFLAGS='-DDIG_SIGCHASE -flto=auto' ./configure \
#{CREW_OPTIONS} \
--enable-fixed-rrset \
--enable-full-report \
--with-openssl \
--with-libidn2 \
--disable-maintainer-mode"
system "env CFLAGS='-DDIG_SIGCHASE -flto=auto' \
CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--enable-fixed-rrset \
--enable-full-report \
--with-openssl \
--with-libidn2 \
--disable-maintainer-mode"
system 'make'
end
end
......
......@@ -3,34 +3,33 @@ require 'package'
class Binutils < Package
description 'The GNU Binutils are a collection of binary tools.'
homepage 'https://www.gnu.org/software/binutils/'
@_ver = '2.36'
@_ver = '2.36.1'
version @_ver
compatibility 'all'
source_url "https://ftpmirror.gnu.org/binutils/binutils-#{@_ver}.tar.xz"
source_sha256 '5788292cc5bbcca0848545af05986f6b17058b105be59e99ba7d0f9eb5336fb8'
source_sha256 'e81d9edf373f193af428a0f256674aea62a9d74dfe93f65192d4eae030b0f3b0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.36.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'fd86f02633b27be6d0eaf1ca5f30c0d1e93b4b6e0c08311972bf9f74892b1dcf',
armv7l: 'fd86f02633b27be6d0eaf1ca5f30c0d1e93b4b6e0c08311972bf9f74892b1dcf',
i686: '1ce06b9e18bd84abe16156e61a68f67e35c749d88733e8d6d69d8b4a14f1aa70',
x86_64: '10738895b575f9a41a463c8d0a67a18ba0c134bdf71c9388c1a7d6706e5479fd',
binary_sha256({
aarch64: '22a88c3eb29672805441c78fa2c37414a4d49bec790252391c1caf45edc20426',
armv7l: '22a88c3eb29672805441c78fa2c37414a4d49bec790252391c1caf45edc20426',
i686: '7f47210024759db0485292d7695f46532ae0c4c579c03ba0c6450a5174ce9f6f',
x86_64: '624fb52ce022d6caea7c99a8c6a08f872e51fe0c8be09bb3c3f72e186ad60d3a'
})
depends_on 'filecmd'
depends_on 'texinfo'
def self.build
system 'filefix'
Dir.mkdir 'build'
Dir.chdir 'build' do
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
../configure #{CREW_OPTIONS} \
--with-system-zlib \
--disable-maintainer-mode \
--enable-shared \
--enable-gold \
......
# Adapted from Arch Linux cargo-c PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/cargo-c/trunk/PKGBUILD
require 'package'
class Cargo_c < Package
description 'A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries'
homepage 'https://github.com/lu-zero/cargo-c/'
version '0.7.3'
compatibility 'all'
source_url 'https://github.com/lu-zero/cargo-c/archive/v0.7.3/cargo-c-0.7.3.tar.gz'
source_sha256 '533c65d555330e86b91415753efc140ffdb900abd59b5b6403352c4264941a99'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cargo_c-0.7.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cargo_c-0.7.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cargo_c-0.7.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cargo_c-0.7.3-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '9063b96616c64d564f99cd16611ca86f8b8a72a88f5afd03582aaba51941acea',
armv7l: '9063b96616c64d564f99cd16611ca86f8b8a72a88f5afd03582aaba51941acea',
i686: '3618f6dc7d77a526c22ed2dd05ea46af032b812d01c5f93c1f8546192d41acbf',
x86_64: 'de92ff24a09ed7d26f0b8490e174c83ff9941ab33b417a8d20243d0f85d18ef3'
})
depends_on 'rust' => ':build'
def self.build
system "cargo fetch \
--manifest-path Cargo.toml"
system "cargo build \
--release \
--frozen \
--manifest-path Cargo.toml"
end
def self.install
system "cargo install \
--frozen \
--offline \
--no-track \
--path . \
--root #{CREW_DEST_PREFIX}"
end
end
......@@ -21,6 +21,7 @@ class Ccache < Package
x86_64: '5c4c9e014f23977f2f031eb9f9b367881a20fa8effeac9e38289cd723aa11e62',
})
depends_on 'xdg_base'
depends_on 'asciidoc' => :build
def self.build
......
require 'package'
class Cfitsio < Package
description 'A library of C and Fortran subroutines for reading and writing data files in FITS Flexible Image Transport System data format'
homepage 'https://heasarc.gsfc.nasa.gov/fitsio/'
version '3.49'
compatibility 'all'
source_url 'https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz'
source_sha256 '5b65a20d5c53494ec8f638267fca4a629836b7ac8dd0ef0266834eab270ed4b3'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cfitsio-3.49-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cfitsio-3.49-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cfitsio-3.49-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cfitsio-3.49-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '0d24de398a86b55b04f5601e856f872cccbe1e9d347bf918f7ad18af8bae776e',
armv7l: '0d24de398a86b55b04f5601e856f872cccbe1e9d347bf918f7ad18af8bae776e',
i686: '728f1602789e0eacf81236e0739d59dd27dca649c6c57a9c9947a730d0aa2d25',
x86_64: '9957f638dd3ea9188ded8bbee7970955947784d51633033a3693ebb746158330'
})
def self.patch
system "sed -e 's|LDFLAGS=.*|LDFLAGS=$LDFLAGS|g' -i configure.in # Fix LDFLAGS"
end
def self.build
system 'autoreconf -vi'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} --enable-reentrant"
system 'make shared'
system 'make utils'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -4,38 +4,33 @@ class Chrome < Package
description 'Google Chrome is a fast, easy to use, and secure web browser.'
homepage 'https://www.google.com/chrome'
compatibility 'x86_64'
@_ver = '87.0.4280.141'
@_ver = '88.0.4324.182'
@_deb = "google-chrome-stable_#{@_ver}-1_amd64.deb"
version @_ver
case ARCH
when 'x86_64'
source_url "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/#{@_deb}"
source_sha256 'b7edb7cd5c166bf3c0a1d245baa5924e242c3b81b97090468bec778f41f40373'
depends_on 'alien' => :build
if ARCH == 'x86_64' then
depends_on 'nspr'
depends_on 'cairo'
depends_on 'gtk3'
depends_on 'expat'
depends_on 'cras'
depends_on 'sommelier'
end
def self.build
Dir.chdir '..' do
system "alien -tc #{@_deb}"
system "tar xf google-chrome-stable-#{@_ver}.tgz"
end
source_url "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/#{@_deb}"
source_sha256 'ab00e9412f5f20e30c7db5dc987473248f4adf9ebf2c3f928ef62e1ffb104fe6'
end
def self.install
Dir.chdir '..' do
ENV['CREW_NOT_STRIP'] = '1'
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mv 'opt/', CREW_DEST_PREFIX
FileUtils.mv 'usr/share', CREW_DEST_PREFIX
FileUtils.mv 'etc', CREW_DEST_PREFIX
FileUtils.ln_s "#{CREW_PREFIX}/opt/google/chrome/google-chrome", "#{CREW_DEST_PREFIX}/bin/google-chrome"
end
ENV['CREW_NOT_STRIP'] = '1'
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mv Dir.glob('usr/share/*'), './'
FileUtils.mv Dir.glob('opt/google/chrome/*'), './'
FileUtils.rm_rf ['usr', 'opt']
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome-stable'
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome'
FileUtils.mv Dir.glob('*'), "#{CREW_DEST_PREFIX}/share"
end
end
......@@ -7,6 +7,19 @@ class Civetweb < Package
compatibility 'all'
source_url 'https://github.com/civetweb/civetweb/archive/v1.13.tar.gz'
source_sha256 'a7ccc76c2f1b5f4e8d855eb328ed542f8fe3b882a6da868781799a98f4acdedc'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/civetweb-1.13-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/civetweb-1.13-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/civetweb-1.13-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/civetweb-1.13-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a9c69122c495afd89473928171d8b6528d8d1980d136cc16160733a317e21704',
armv7l: 'a9c69122c495afd89473928171d8b6528d8d1980d136cc16160733a317e21704',
i686: '856eeb6d5543fe03baec996f21324ad0bb14bc0a2e9c080d61cf33614697a36d',
x86_64: 'a314284c9ea9b1f3190174645c5c13872387520dc1877a3fb7eb5397916b8bed',
})
def self.build
Dir.mkdir "builddir"
......
require 'package'
class Clutter_gtk < Package
description 'The Clutter Gtk package is a library providing facilities to integrate Clutter into GTK+ applications.'
homepage 'https://wiki.gnome.org/Projects/Clutter'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '1.8.4'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clutter_gtk-1.8.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clutter_gtk-1.8.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clutter_gtk-1.8.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clutter_gtk-1.8.4-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '7f759c259b71f86c1e13ec5ffb8e0add079b5dfa4cddae06d81700db6834ac7d',
armv7l: '7f759c259b71f86c1e13ec5ffb8e0add079b5dfa4cddae06d81700db6834ac7d',
i686: '499108e196161dffd762aff54ffa8bbd338863c9d9cc8c2af54fd5728d11cb7d',
x86_64: '3b5b60ce00a67815def67ff992aac8caf89fb4ee0ef68d7a51c857ce30a3461e'
})
depends_on 'gtk3'
depends_on 'libgee'
depends_on 'clutter'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,10 +3,10 @@ require 'package'
class Composer < Package
description 'Dependency Manager for PHP'
homepage 'https://getcomposer.org/'
version '2.0.9'
version '2.0.11'
compatibility 'all'
source_url "https://github.com/composer/composer/archive/#{version}.tar.gz"
source_sha256 '2334cbd4236c7a30afc871cb045a19e4941b2f9bdecb943180d10b3a040d1e8b'
source_sha256 '025d332242b696ec5d10dcc4d9ad9460321d9740b09e967849017f3e67d3fcb2'
depends_on 'php74' unless File.exists? "#{CREW_PREFIX}/bin/php"
depends_on 'xdg_base'
......@@ -23,7 +23,7 @@ class Composer < Package
def self.install
system "curl -Ls -o composer https://github.com/composer/composer/releases/download/#{version}/composer.phar"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('composer') ) == '8e91344a5ca2fc0fb583c50f195a1f36918908561c4ea3d6f01a4ef01c3b8560'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('composer') ) == 'd6eee0d4637f4bd82bdae098fceda300dcb3ec35bf502604fbe7510933b8f952'
system "install -Dm755 composer #{CREW_DEST_PREFIX}/bin/composer"
end
......
require 'package'
class Consolekit < Package
description 'A framework for defining and tracking users, login sessions, and seats'
homepage 'https://github.com/ConsoleKit2/ConsoleKit2'
@_ver = '1.2.2'
version @_ver
compatibility 'all'
source_url "https://github.com/ConsoleKit2/ConsoleKit2/archive/#{@_ver}.tar.gz"
source_sha256 '104fd9f41c2d572ad62f4032de46c4c384c3522602b0ad953cf55759c6c64c1d'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/consolekit-1.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/consolekit-1.2.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/consolekit-1.2.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/consolekit-1.2.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '4b9173ec6798adc23824c4189a050744b888de6b58d60442d1ec89bf0df81443',
armv7l: '4b9173ec6798adc23824c4189a050744b888de6b58d60442d1ec89bf0df81443',
i686: '2c4ab4d6ff0790b619db2c7093712a0100c5bdb9f3e43c50877b9781215faeb4',
x86_64: '61b5b664b28cc6f5ce61d4065849ff8ebf1ac612140686c9178ef9b915fb3372'
})
depends_on 'dbus'
depends_on 'libx11'
depends_on 'polkit'
depends_on 'linux_pam'
depends_on 'eudev'
depends_on 'xmlto' => ':build'
def self.build
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./autogen.sh \
#{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc \
--sbindir=#{CREW_PREFIX}/usr/bin \
--with-rundir=/run \
--libexecdir=#{CREW_LIB_PREFIX}/ConsoleKit \
--localstatedir=/var \
--enable-polkit \
--enable-pam-module \
--enable-udev-acl \
--enable-libevdev \
--with-dbus-services=#{CREW_PREFIX}/share/dbus-1/services \
--with-xinitrc-dir=#{CREW_PREFIX}/etc/X11/xinit/xinitrc.d \
--with-pam-module-dir=#{CREW_LIB_PREFIX}/security \
--without-systemdsystemunitdir \
--disable-cgroups"
system 'make'
# From Arch:
system 'echo "d /run/ConsoleKit 0755 - - -" > consolekit.tmpfiles.conf'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}/tmpfiles.d"
FileUtils.install 'consolekit.tmpfiles.conf', "#{CREW_DEST_LIB_PREFIX}/tmpfiles.d/consolekit.conf", mode: 0o644
end
end
......@@ -3,34 +3,37 @@ require 'package'
class Cups < Package
description 'CUPS is the standards-based, open source printing system'
homepage 'https://github.com/OpenPrinting/cups'
version '2.3.3op1'
@_ver = '2.3.3op2'
version @_ver
compatibility 'all'
source_url 'https://github.com/OpenPrinting/cups/archive/v2.3.3op1.tar.gz'
source_sha256 '64148c7f7c0d2b2715db1be2fb557042ccb0b0f19a03456a83fbf6353bb73c89'
source_url "https://github.com/OpenPrinting/cups/releases/download/v#{@_ver}/cups-#{@_ver}-source.tar.gz"
source_sha256 'deb3575bbe79c0ae963402787f265bfcf8d804a71fc2c94318a74efec86f96df'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cups-2.3.3op2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '60913c27b5497ec10aca5df086a0f0fa8f73e78b598feba8a3da378cc1209e3e',
armv7l: '60913c27b5497ec10aca5df086a0f0fa8f73e78b598feba8a3da378cc1209e3e',
i686: '329feb5a3de9327a6f840d7f2591a3857d844388090db32b365a81ba77ecde41',
x86_64: '29c084f76614805e3c8deb3620d422a6f4f4e52cbab587d2fa7835561481848b',
binary_sha256({
aarch64: 'cf7fb54c659bb5f01c3097274864c3e0bf1669f0d6a8a1e6df82e6c403ad5264',
armv7l: 'cf7fb54c659bb5f01c3097274864c3e0bf1669f0d6a8a1e6df82e6c403ad5264',
i686: '74e029c12bf5af1545ca74ffddf0f70fda68bebaaab22c264d7541c2c7b570aa',
x86_64: '993136847f961e31b04906a36334278df723c12c5e55c7d7cf9ee797fad2ed88'
})
depends_on 'acl'
depends_on 'krb5'
depends_on 'libusb'
depends_on 'linux_pam'
depends_on 'psmisc'
def self.build
system "./configure #{CREW_OPTIONS} \
--disable-launchd --disable-systemd \
--enable-libusb"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--disable-launchd \
--disable-systemd \
--enable-libusb"
system 'make'
system "echo '#!/bin/bash' > startcupsd"
system "echo 'CUPSD=#{CREW_PREFIX}/sbin/cupsd' >> startcupsd"
......@@ -64,21 +67,28 @@ class Cups < Package
def self.install
system 'make',
"DESTDIR=#{CREW_DEST_DIR}",
"DATADIR=#{CREW_DEST_PREFIX}/share/cups",
"DOCDIR=#{CREW_DEST_PREFIX}/share/doc/cups",
"MANDIR=#{CREW_DEST_PREFIX}/share/man",
"ICONDIR=#{CREW_PREFIX}/share/icons",
"MENUDIR=#{CREW_PREFIX}/share/applications",
"INITDIR=#{CREW_PREFIX}/etc/init.d",
"SERVERROOT=#{CREW_DEST_PREFIX}/etc/cups",
"SERVERBIN=#{CREW_DEST_PREFIX}/libexec/cups",
"CACHEDIR=#{CREW_DEST_PREFIX}/var/cache/cups",
"LOCALEDIR=#{CREW_DEST_PREFIX}/share/locale",
'install'
"DESTDIR=#{CREW_DEST_DIR}",
"DATADIR=#{CREW_DEST_PREFIX}/share/cups",
"DOCDIR=#{CREW_DEST_PREFIX}/share/doc/cups",
"MANDIR=#{CREW_DEST_PREFIX}/share/man",
"ICONDIR=#{CREW_PREFIX}/share/icons",
"MENUDIR=#{CREW_PREFIX}/share/applications",
"INITDIR=#{CREW_PREFIX}/etc/init.d",
"SERVERROOT=#{CREW_DEST_PREFIX}/etc/cups",
"SERVERBIN=#{CREW_DEST_PREFIX}/libexec/cups",
"CACHEDIR=#{CREW_DEST_PREFIX}/var/cache/cups",
"LOCALEDIR=#{CREW_DEST_PREFIX}/share/locale",
'install'
system "install -Dm755 startcupsd #{CREW_DEST_PREFIX}/bin/startcupsd"
system "install -Dm755 stopcupsd #{CREW_DEST_PREFIX}/bin/stopcupsd"
FileUtils.rm "#{CREW_DEST_DIR}/etc/dbus-1/system.d/cups.conf"
if File.exist?("#{CREW_DEST_DIR}/etc/dbus-1/system.d/cups.conf")
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/dbus-1/system.d"
FileUtils.mv "#{CREW_DEST_DIR}/etc/dbus-1/system.d/cups.conf", "#{CREW_DEST_PREFIX}/share/dbus-1/system.d/"
end
if File.exist?("#{CREW_DEST_DIR}/etc/pam.d/cups")
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/pam.d"
FileUtils.mv "#{CREW_DEST_DIR}/etc/pam.d/cups", "#{CREW_DEST_PREFIX}/etc/pam.d/"
end
end
def self.postinstall
......@@ -86,7 +96,7 @@ class Cups < Package
puts "To start the cups daemon, run 'startcupsd'".lightblue
puts "To stop the cups daemon, run 'stopcupsd'".lightblue
puts
puts "For more information, see https://docs.oracle.com/cd/E23824_01/html/821-1451/gllgm.html".lightblue
puts 'For more information, see https://docs.oracle.com/cd/E23824_01/html/821-1451/gllgm.html'.lightblue
puts
end
end
......@@ -4,22 +4,22 @@ class Curl < Package
description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.se/'
@_ver = '7.75.0'
version @_ver
version "#{@_ver}-1"
compatibility 'all'
source_url "https://curl.se/download/curl-#{@_ver}.tar.xz"
source_sha256 'fe0c49d8468249000bda75bcfdf9e30ff7e9a86d35f1a21f428d79c389d55675'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '6d0b932c52ecb2ca3dec9e6f713804d632e0744c243019c93fc92eabe5a01edd',
armv7l: '6d0b932c52ecb2ca3dec9e6f713804d632e0744c243019c93fc92eabe5a01edd',
i686: '8944cd73ecbc7cbda1a3afc18aafdea28486baad7b7664d6b16c3ccc23ca2c07',
x86_64: 'a511db565f40b830a623a173739d29a3c935ea2698ebb407b65a630d1e279b17'
aarch64: '5931c7a220565a764e6e07dd29ee9d3faeccfc5c8a8cd55c1e2f461ab2b91ce1',
armv7l: '5931c7a220565a764e6e07dd29ee9d3faeccfc5c8a8cd55c1e2f461ab2b91ce1',
i686: 'affda80ebef656f6def4997e7b444dfc587c9310affa23a2f7be7afc28b1e4d7',
x86_64: '06153ae00ddc65055fe7b4aae6421101befbf611ce884ce0b794d080a585f088'
})
depends_on 'groff' => :build
......@@ -33,17 +33,23 @@ class Curl < Package
depends_on 'openldap'
depends_on 'zstd'
depends_on 'rtmpdump'
depends_on 'ca_certificates'
def self.build
raise StandardError, 'Please remove libiconv before building.' if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so")
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto'\
./configure #{CREW_OPTIONS} \
--disable-maintainer-mode \
--enable-ares \
--with-ldap-lib=ldap \
--with-lber-lib=lber \
--with-libmetalink"
system './configure --help'
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto'\
./configure #{CREW_OPTIONS} \
--disable-maintainer-mode \
--enable-ares \
--with-ldap-lib=ldap \
--with-lber-lib=lber \
--with-libmetalink \
--with-ca-path=#{CREW_PREFIX}/etc/ssl/certs \
--with-ca-bundle=#{CREW_PREFIX}/etc/ssl/certs/ca-certificates.crt \
--with-ca-fallback"
system 'make'
end
......
......@@ -3,33 +3,35 @@ require 'package'
class Dav1d < Package
description '**dav1d** is a new **AV1** cross-platform **d**ecoder, open-source, and focused on speed and correctness.'
homepage 'https://code.videolan.org/videolan/dav1d'
version '0.4.0'
@_ver = '0.8.2'
version @_ver
compatibility 'all'
source_url 'http://get.videolan.org/dav1d/0.4.0/dav1d-0.4.0.tar.xz'
source_sha256 '2553b2e65081c0ec799c11a752ea43ad8f2d11b2fb36a83375972d1a00add823'
source_url "https://get.videolan.org/dav1d/#{@_ver}/dav1d-#{@_ver}.tar.xz"
source_sha256 '3dd91d96b44e9d8ba7e82ad9e730d6c579ab5e19edca0db857a60f5ae6a0eb13'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.4.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.4.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.4.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.4.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.8.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.8.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.8.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/dav1d-0.8.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '8f6ba95b0a42b98fa23e0550db70779205531b101932b67e06458030f4d2b712',
armv7l: '8f6ba95b0a42b98fa23e0550db70779205531b101932b67e06458030f4d2b712',
i686: '8808245f9c03815ada09d3cdc5cde3844050f77fbfae8577808dd6d0783067e6',
x86_64: 'adb925f84ce45e4276ca13f686ad3588aec5821217e9d042b0190143482ad80b',
binary_sha256({
aarch64: '1e55f2fb0514c8a5fb6b991a2280495b0706ff95f5ae4013e67e70de2e8b5bfe',
armv7l: '1e55f2fb0514c8a5fb6b991a2280495b0706ff95f5ae4013e67e70de2e8b5bfe',
i686: 'a2115b3d09915b60f6fdffff5ad624df55bbfb3207b55eea08277b77680c34c9',
x86_64: '86edb8b9bcd8d7ae8e5062da704f8c223a7c3745340108d13325100c96aafb2e'
})
depends_on 'meson' => :build
depends_on 'nasm' => :build
def self.build
system 'meson build --buildtype release'
system 'ninja -C build'
system "meson #{CREW_MESON_LTO_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,14 +3,27 @@ require 'package'
class Elogind < Package
description 'Standalone systemd-logind fork'
homepage 'https://github.com/elogind/elogind'
version '246.9.2'
@_ver = '246.10'
version "#{@_ver}-1"
compatibility 'all'
source_url 'https://github.com/elogind/elogind/archive/v246.9.2.tar.gz'
source_sha256 'dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9'
source_url "https://github.com/elogind/elogind/archive/v#{@_ver}.tar.gz"
source_sha256 'c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/elogind-246.10-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/elogind-246.10-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/elogind-246.10-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/elogind-246.10-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '7bf79ff8159f5d90f36c8680f70bb4ad8b36276c0600e4aac664ce79b8808b6e',
armv7l: '7bf79ff8159f5d90f36c8680f70bb4ad8b36276c0600e4aac664ce79b8808b6e',
i686: '2a4c82de76b21a2fd0ea1e2b53c96ea5e90650d012fe5509e48f837258771648',
x86_64: 'a12c145e41d5f8691731bf29a3d832f7974fea3e887677b649dbc43ea5888a9a'
})
depends_on 'eudev'
depends_on 'libcap'
depends_on 'libseccomp'
depends_on 'linux_pam' # For _pam_macros.h
depends_on 'dbus'
depends_on 'docbook_xsl'
......@@ -18,22 +31,28 @@ class Elogind < Package
depends_on 'libxslt'
depends_on 'shadow'
depends_on 'glib'
depends_on 'polkit'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Drootprefix=#{CREW_PREFIX} \
--strip \
-Dcgroup-controller=elogind \
-Dman=false \
-Ddefault-hierarchy=legacy \
-Ddefault-kill-user-processes=false \
-Dhalt-path=/sbin/halt \
-Drootlibdir=#{CREW_PREFIX}/#{ARCH_LIB} \
-Drootlibexecdir=#{CREW_PREFIX}/libexec/elogind \
-Drootbindir=#{CREW_PREFIX}/bin \
-Dreboot-path=/sbin/reboot \
builddir"
system "ninja -C builddir"
-Dc_args='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dc_link_args='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dcpp_args='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dcpp_link_args='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Drootprefix=#{CREW_PREFIX} \
-Dsysconfdir=#{CREW_PREFIX}/etc \
--strip \
-Dcgroup-controller=elogind \
-Dman=true \
-Ddefault-hierarchy=legacy \
-Ddefault-kill-user-processes=false \
-Dhalt-path=/sbin/halt \
-Drootlibdir=#{CREW_PREFIX}/#{ARCH_LIB} \
-Drootlibexecdir=#{CREW_PREFIX}/libexec/elogind \
-Drootbindir=#{CREW_PREFIX}/bin \
-Dreboot-path=/sbin/reboot \
builddir"
system 'ninja -C builddir'
end
def self.install
......
......@@ -3,30 +3,32 @@ require 'package'
class Fftw < Package
description 'FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data'
homepage 'http://www.fftw.org/'
version '3.3.8'
@_ver = '3.3.9'
version @_ver
compatibility 'all'
source_url 'http://www.fftw.org/fftw-3.3.8.tar.gz'
source_sha256 '6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303'
source_url "http://www.fftw.org/fftw-#{@_ver}.tar.gz"
source_sha256 'bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.8-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fftw-3.3.9-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'f3e94c3a07e8966eafe02daa3673de462bab1fbbb0f1aefcc844ffbc53c84307',
armv7l: 'f3e94c3a07e8966eafe02daa3673de462bab1fbbb0f1aefcc844ffbc53c84307',
i686: '03800193d0be4a716331a27a948022d0a6ac94183a6b2fe0a988f5d94e3e8ff9',
x86_64: '47c9b73133cf16339ab6c229ba74ec73155f0fc1bf01bfd0e4e2c6ac7c46f78e',
binary_sha256({
aarch64: '6c5328195b9c1fccaa1ed40c642706d4681bc7cf77429cefcab3b44280db1428',
armv7l: '6c5328195b9c1fccaa1ed40c642706d4681bc7cf77429cefcab3b44280db1428',
i686: 'dab931ee59bb137e8a8f644670cc3d645a59cc2ca765b055aa35a8dc51a52344',
x86_64: '095ec26abe2d9ede1c9c3016850b5e5be43706a102a184de26f93928014e7740'
})
def self.build
system './configure',
'--enable-shared=yes',
'--disable-maintainer-mode',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-shared=yes \
--disable-maintainer-mode"
system 'make'
end
......
......@@ -4,22 +4,22 @@ class Flatpak < Package
description 'Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.'
homepage 'https://flatpak.org'
@_ver = '1.10.1'
version @_ver
version "#{@_ver}-1"
compatibility 'all'
source_url "https://github.com/flatpak/flatpak/releases/download/#{@_ver}/flatpak-#{@_ver}.tar.xz"
source_sha256 'c70215792b7cbece83c489dab86adc9bfaf9b140c506affe2a48c92afa3d69b7'
source_sha256 'c1354f42bf3b5d51aeb4028c9b62fd4ffc673ef2ff6e583c17777f5dafdbdcb7'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.1-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '6927a9717a15f4d52e1b2316e159a2f43026431bc91a68627bc6fce5f9634b31',
armv7l: '6927a9717a15f4d52e1b2316e159a2f43026431bc91a68627bc6fce5f9634b31',
i686: '56abe90a29219a9937b2939a71b4413d90198d7eabc1cb802b3fc6a759a93335',
x86_64: '588c3a2c502e0cc6088b4d17e3b133103fdeb0dc653bad0bef79674709b7bf22'
aarch64: '83e2e39dc010f7c028f7bbc882c5c00284b1be854aeeba1bd5a2dcd35753a2ca',
armv7l: '83e2e39dc010f7c028f7bbc882c5c00284b1be854aeeba1bd5a2dcd35753a2ca',
i686: 'e727e2e071eecd24664d3f8ff0e605c503be6caccbe90b24b4245fda9824e528',
x86_64: '1827d8327cc2986bb1928dfe9de2f74e05d7149b6ebe86c04ca27cf0264ad993'
})
depends_on 'xdg_base'
......@@ -43,12 +43,25 @@ class Flatpak < Package
Digest::SHA256.hexdigest(File.read(patch_filename)) == patch_sha256
puts 'patch downloaded'.lightgreen
system 'patch -p 1 --forward < patch || true'
# Source has libglnx repo as submodule
@git_dir = 'libglnx'
@git_hash = '4c9055ac08bb64dca146724f488cce4c1ce4c628'
@git_url = 'https://gitlab.gnome.org/GNOME/libglnx.git'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build
system 'env NOCONFIGURE=1 ./autogen.sh'
system 'filefix'
system "env BWRAP=#{CREW_PREFIX}/bin/bwrap CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
system "env BWRAP=#{CREW_PREFIX}/bin/bwrap CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--with-system-install-dir=#{CREW_PREFIX}/var/lib/flatpak \
--enable-sandboxed-triggers \
......@@ -89,6 +102,9 @@ class Flatpak < Package
#{CREW_PREFIX}/bin/flatpak.elf \$FLATPAK_FLAGS "\$@"
FLATPAK_HEREDOC
IO.write("#{CREW_DEST_PREFIX}/bin/flatpak", @flatpak_sh, perm: 0o755)
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/dbus-1/system.d"
FileUtils.mv "#{CREW_DEST_PREFIX}/etc/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf",
"#{CREW_DEST_PREFIX}/share/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf"
end
def self.postinstall
......
require 'package'
class Gcalculator < Package
description 'Calculator for solving mathematical equations'
homepage 'https://gitlab.gnome.org/GNOME/gnome-calculator'
version '3.38.1'
description 'GNOME desktop calculator'
homepage 'https://wiki.gnome.org/Apps/Calculator'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gnome-calculator/-/archive/3.38.1/gnome-calculator-3.38.1.tar.bz2'
source_sha256 '33706fe3ade10b58e39c008f005a5bcca1b59239047b8c8f3ed595d0b7bd6894'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gcalculator-3.38.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gcalculator-3.38.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gcalculator-3.38.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gcalculator-3.38.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1ab4852cb55661918bc646bf6b1ca1ecf153c3fcc78d46cf13b1e7bc830ee69d',
armv7l: '1ab4852cb55661918bc646bf6b1ca1ecf153c3fcc78d46cf13b1e7bc830ee69d',
i686: '0eb813d120d974365d2910e9a21bee9bdb6e533b0d21e26510b40cbe09d3c4ca',
x86_64: '8b1478a211443794b6aba531b30ff9359080cb580e5214d27d8df97beac3c0ec',
})
@_app = 'gnome-calculator'
@_fullver = '3.38.2'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'setuptools' => :build
depends_on 'gtk3'
depends_on 'gtksourceview'
depends_on 'itstool'
depends_on 'libgee'
depends_on 'libsoup'
depends_on 'sommelier'
def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir"
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
@_wrapper = <<~EOF
#!/bin/sh
WAYLAND_DISPLAY=wayland-0
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
exec #{@_app}.elf "$@"
EOF
File.write(@_app, @_wrapper)
FileUtils.mv "#{CREW_DEST_PREFIX}/bin/#{@_app}", "#{CREW_DEST_PREFIX}/bin/#{@_app}.elf"
FileUtils.install @_app, "#{CREW_DEST_PREFIX}/bin/#{@_app}", mode: 0755
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
puts
puts "To use the gui calculator, execute 'gnome-calculator'".lightblue
puts "To use the graphical calculator, execute 'gnome-calculator'".lightblue
puts
puts "To use the cli calculator, execute 'gcalccmd'".lightblue
puts "To use the command line calculator, execute 'gcalccmd'".lightblue
puts
end
end
......@@ -3,22 +3,23 @@ require 'package'
class Geoclue < Package
description 'Modular geoinformation service built on the D-Bus messaging system'
homepage 'https://www.freedesktop.org/wiki/Software/GeoClue/'
version '2.5.7'
@_ver = '2.5.7'
version "#{@_ver}-1"
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/2.5.7/geoclue-2.5.7.tar.bz2'
source_url "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/#{@_ver}/geoclue-#{@_ver}.tar.bz2"
source_sha256 '6cc7dbe4177b4e7f3532f7fe42262049789a3cd6c55afe60a3564d7394119c27'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/geoclue-2.5.7-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'ca4c050657f094f10ccf46f4cba13d309d0757830c4be084e8190d72e3ca8949',
armv7l: 'ca4c050657f094f10ccf46f4cba13d309d0757830c4be084e8190d72e3ca8949',
i686: 'cb9adf521670add9b3d4d0e4491daa10965ab2638f0b5da89ea81a8df0870688',
x86_64: '85a1879573e68dea80192fade6cdd52934ea0b2c02c22e959ec3a88b029f144b'
aarch64: '8208222a9240c0d90afaac07a4111ad27e5b02f9ea3ba55211278440f065dad2',
armv7l: '8208222a9240c0d90afaac07a4111ad27e5b02f9ea3ba55211278440f065dad2',
i686: '17377ae86e1205882121acc6fd1beee159ff0a4d090b2081dfa6582d73248ba2',
x86_64: '214403eb81cd51b173365be83577e79b3f30266941f54f8ceec7659565d3cba8'
})
depends_on 'libsoup'
......@@ -33,9 +34,10 @@ class Geoclue < Package
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dsystemd=disabled \
-D3g-source=false \
-Ddbus-sys-dir=#{CREW_PREFIX}/share/dbus-1 \
-D3g-source=true \
-Dcdma-source=false \
-Dmodem-gps-source=false \
-Dmodem-gps-source=true \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
......
......@@ -3,42 +3,37 @@ require 'package'
class Gexiv2 < Package
description 'gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.'
homepage 'https://wiki.gnome.org/Projects/gexiv2/'
version '0.10.8'
@_ver = '0.12.2'
@_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver
compatibility 'all'
source_url 'https://download.gnome.org/sources/gexiv2/0.10/gexiv2-0.10.8.tar.xz'
source_sha256 '81c528fd1e5e03577acd80fb77798223945f043fd1d4e06920c71202eea90801'
source_url "https://download.gnome.org/sources/gexiv2/#{@_ver_prelastdot}/gexiv2-#{@_ver}.tar.xz"
source_sha256 '2322b552aca330eef79724a699c51a302345d5e074738578b398b7f2ff97944c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.10.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.10.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.10.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.10.8-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.12.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.12.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.12.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gexiv2-0.12.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '237da7c428e80aabb82fe529cc54d51912656c43356096b43e24e44a5a8784d2',
armv7l: '237da7c428e80aabb82fe529cc54d51912656c43356096b43e24e44a5a8784d2',
i686: '4f74a753cfc4286e93d65f96e046661957f5b0bfef54732b20a8793f514d1fb8',
x86_64: 'bda3197ee000806a1151f44587eb422b0afedc3b8b6b28c9def8ca490ff8db6a',
binary_sha256({
aarch64: '305a56146c461035262b294710aacb8e5401d2bcee8e1828661e35e78b5bf47e',
armv7l: '305a56146c461035262b294710aacb8e5401d2bcee8e1828661e35e78b5bf47e',
i686: '278e97c62e7dbc3e8f68fffd8c7ac0802ddf07db1dd9f623ce309f598173db12',
x86_64: '81500e05e77186cad22c4e000af94395e760b502913920245015417fae5ba94c'
})
depends_on 'libexiv2'
depends_on 'gobject_introspection'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode',
'--with-python2-girdir',
'--with-python3-girdir'
system 'make'
end
def self.check
# system "make check"
system "meson #{CREW_MESON_LTO_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -2,34 +2,47 @@ require 'package'
class Git_lfs < Package
description 'Git extension for versioning large files'
homepage 'https://git-lfs.github.com/'
version '2.2.1'
homepage 'https://git-lfs.github.com'
@_ver = '2.13.2'
version @_ver
compatibility 'all'
source_url 'https://github.com/git-lfs/git-lfs/archive/v2.2.1.tar.gz'
source_sha256 'fede2b31b0539fd4a580f831867caac1b5d5dc4405e938c4ee0bfeacfb78ad7a'
source_url "https://github.com/git-lfs/git-lfs/releases/download/v#{@_ver}/git-lfs-v#{@_ver}.tar.gz"
source_sha256 '782e6275df9ca370730945112e16a0b8c64b9819f0b61fae52ba1ebbc8dce2d5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.2.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.2.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.2.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.2.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.13.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.13.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.13.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/git_lfs-2.13.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '7b4b7371e813ca12a6c2261602c3e55f52d3b856869d65f2f7f20aa86762e130',
armv7l: '7b4b7371e813ca12a6c2261602c3e55f52d3b856869d65f2f7f20aa86762e130',
i686: '67fac00c8c74a5e7bd756b387275b9d33200de3e36474c5b29e91400745caad6',
x86_64: '10a0ed5b9ec97692c89314d2fbfb38e173e23414d6724464b71a310db11c18be',
binary_sha256({
aarch64: '28dd4fe263e71d34c1af024f7955e975a7baa239b25d8fed9982cce213248d5a',
armv7l: '28dd4fe263e71d34c1af024f7955e975a7baa239b25d8fed9982cce213248d5a',
i686: 'df546bc44ec2978165ffa8c0b31bad8504df93e86e52aac58288df707692a4af',
x86_64: '6078b2db1ac18189f96da4aa5cd9ddd78db5575e89080e85824a08b2dc21e958'
})
depends_on 'go'
depends_on 'go' => ':build'
depends_on 'go_tools' => ':build'
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system 'script/bootstrap'
system 'gem install -N ronn'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CGO_CPPFLAGS=${CXXFLAGS} \
CGO_CFLAGS=${CFLAGS} \
CGO_CXXFLAGS=${CXXFLAGS} \
CGO_LDFLAGS=${LDFLAGS} \
GOFLAGS='-buildmode=pie -trimpath -mod=vendor -modcacherw -ldflags=-linkmode=external' \
go generate ./commands && go build ."
system 'make man'
system 'gem uninstall --ignore-dependencies ronn'
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "cp -r bin/ #{CREW_DEST_PREFIX}"
system "install -Dm755 git-lfs #{CREW_DEST_PREFIX}/bin/git-lfs"
system "install -Dm644 -t #{CREW_DEST_MAN_PREFIX}/man1 man/*.1"
system "install -Dm644 -t #{CREW_DEST_MAN_PREFIX}/man5 man/*.5"
end
end
This diff is collapsed.
require 'package'
class Gnome_autoar < Package
description 'Automatic archives creating and extracting library'
homepage 'https://wiki.gnome.org/TingweiLan/GSoC2013Final'
@_ver = '0.3.0'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gnome-autoar/-/archive/#{@_ver}/gnome-autoar-#{@_ver}.tar.bz2"
source_sha256 '6cf0cd7ce7f3ba959d1501701fdb65eeb8c90f6b3a194456df59c3488bb44ef3'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_autoar-0.3.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_autoar-0.3.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_autoar-0.3.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_autoar-0.3.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '54fc0dafb5bba4b0adf454950630ac94cb32e2fad75eabf464db127cd87316ba',
armv7l: '54fc0dafb5bba4b0adf454950630ac94cb32e2fad75eabf464db127cd87316ba',
i686: '3473a340cea842e11769920aa126dca0176d387b4a1222759c4255f129f11556',
x86_64: '90bf2079ba631bebdcd3a27c2ba0229c47a3413359c9fa24aabf7fa3c39c1e82'
})
depends_on 'libarchive'
depends_on 'gtk3'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'vala' => ':build'
depends_on 'autoconf_archive' => ':build'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--enable-gtk-doc"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
require 'package'
class Gnome_klotski < Package
description 'A puzzle game for GNOME.'
homepage 'https://wiki.gnome.org/Apps/Klotski'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '3.38.2'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'clutter_gtk'
depends_on 'gsound'
depends_on 'librsvg'
depends_on 'libgnome_games_support'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
@_wrapper = <<~EOF
#!/bin/sh
WAYLAND_DISPLAY=wayland-0
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
exec #{@_app}.elf "$@"
EOF
File.write(@_app, @_wrapper)
FileUtils.mv "#{CREW_DEST_PREFIX}/bin/#{@_app}", "#{CREW_DEST_PREFIX}/bin/#{@_app}.elf"
FileUtils.install @_app, "#{CREW_DEST_PREFIX}/bin/#{@_app}", mode: 0755
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gnome_mines < Package
description 'GNOME Mines (formerly known as Gnomine) is minesweeper clone for GNOME'
homepage 'https://wiki.gnome.org/Apps/Mines'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '3.36.1'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'clutter_gtk'
depends_on 'gsound'
depends_on 'librsvg'
depends_on 'libgnome_games_support'
def self.build
system "env CFLAGS='-fuse-ld=lld' CXXFLAGS='-fuse-ld=lld' \
meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
@_wrapper = <<~EOF
#!/bin/sh
WAYLAND_DISPLAY=wayland-0
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
exec #{@_app}.elf "$@"
EOF
File.write(@_app, @_wrapper)
FileUtils.mv "#{CREW_DEST_PREFIX}/bin/#{@_app}", "#{CREW_DEST_PREFIX}/bin/#{@_app}.elf"
FileUtils.install @_app, "#{CREW_DEST_PREFIX}/bin/#{@_app}", mode: 0755
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gnome_nibbles < Package
description 'snake game, up to four players'
homepage 'https://wiki.gnome.org/Apps/Nibbles'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '3.38.2'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'clutter_gtk'
depends_on 'gsound'
depends_on 'librsvg'
depends_on 'libgnome_games_support'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
@_wrapper = <<~EOF
#!/bin/sh
WAYLAND_DISPLAY=wayland-0
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
exec #{@_app}.elf "$@"
EOF
File.write(@_app, @_wrapper)
FileUtils.mv "#{CREW_DEST_PREFIX}/bin/#{@_app}", "#{CREW_DEST_PREFIX}/bin/#{@_app}.elf"
FileUtils.install @_app, "#{CREW_DEST_PREFIX}/bin/#{@_app}", mode: 0755
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gnome_session < Package
description 'The GNOME Session Handler'
homepage 'https://gitlab.gnome.org/GNOME/gnome-session'
@_ver = '40.beta'
version @_ver
compatibility 'x86_64 aarch64 armv7l'
source_url "https://gitlab.gnome.org/GNOME/gnome-session/-/archive/#{@_ver}/gnome-session-#{@_ver}.tar.bz2"
source_sha256 '0dd8c38c29568db6ffbd2a788f12b9e93262296ffd6d4c40fc2a830099d46883'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_session-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_session-40.beta-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_session-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '9bdad789a49f45e3574f829455a1d89d71b1cddbfe8d0cb7c6868b892ad5ae98',
armv7l: '9bdad789a49f45e3574f829455a1d89d71b1cddbfe8d0cb7c6868b892ad5ae98',
x86_64: 'b2a8ebdb421823febd16ed797e73fe26c33e53d407db2665af166b96015a0f74'
})
depends_on 'elogind'
depends_on 'dconf'
depends_on 'gsettings_desktop_schemas'
depends_on 'gtk3'
depends_on 'gnome_desktop'
depends_on 'mesa' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'libxtrans' => ':build'
depends_on 'xmlto' => ':build'
depends_on 'docbook_xsl' => ':build'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS}\
-Dsystemd=false \
-Dsystemd_session=disable \
-Dsystemd_journal=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Gnome_settings_daemon < Package
description 'GNOME Settings Daemon'
homepage 'https://gitlab.gnome.org/GNOME/gnome-settings-daemon'
version '40.beta'
compatibility 'all'
source_url 'https://download.gnome.org/core/40/40.beta/sources/gnome-settings-daemon-40.beta.tar.xz'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_settings_daemon-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_settings_daemon-40.beta-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_settings_daemon-40.beta-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_settings_daemon-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '089b400c60fa5649fbccf332972501766a7f79085ca20c952aeb5319644defe0',
armv7l: '089b400c60fa5649fbccf332972501766a7f79085ca20c952aeb5319644defe0',
i686: '65a330c824166575f3190da5f651945cdc37eb9c6e9a86e75fe00fad599708c8',
x86_64: '74cd5aab21d63c98297acb71cdf967659a876a221f12cd3d627b62f5672a1aa7'
})
depends_on 'dconf'
depends_on 'gnome_desktop'
depends_on 'gsettings_desktop_schemas'
depends_on 'libcanberra'
depends_on 'libnotify'
depends_on 'libxslt' => ':build'
depends_on 'docbook_xsl' => ':build'
depends_on 'geocode_glib'
depends_on 'polkit'
depends_on 'upower'
depends_on 'libgweather'
depends_on 'elogind'
depends_on 'geoclue'
depends_on 'gcr'
def self.patch
# Source has libgnome-volume-control repo as submodule
@git_dir = 'subprojects/gvc'
@git_hash = '7a621180b46421e356b33972e3446775a504139c'
@git_url = 'https://gitlab.gnome.org/GNOME/libgnome-volume-control.git'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dsystemd=false \
-Dcolord=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Gnome_shell < Package
description 'Next generation desktop shell'
homepage 'https://wiki.gnome.org/Projects/GnomeShell'
version '40.beta'
compatibility 'x86_64 aarch64 armv7l'
source_url "https://github.com/GNOME/gnome-shell/archive/#{version}.tar.gz"
source_sha256 'fd929eba43ca52c1f620460be02de0c116ea7ba792e504329eb85c83e5800ada'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_shell-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_shell-40.beta-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_shell-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'c033e58da3bd7f34d3bdb49dea3254aa18a5bd9093ed6c516e23c413aac58ac9',
armv7l: 'c033e58da3bd7f34d3bdb49dea3254aa18a5bd9093ed6c516e23c413aac58ac9',
x86_64: '3bffb1ccc2ca22a72c37599ece8b61c01f75fc7e3157d1e7c0ef2e7a2f47dd88'
})
depends_on 'gcr'
depends_on 'gjs'
depends_on 'ibus'
depends_on 'mutter'
depends_on 'sassc'
depends_on 'asciidoc'
depends_on 'startup_notification'
depends_on 'gnome_autoar'
depends_on 'upower'
depends_on 'gnome_session'
depends_on 'gtk_doc' => ':build'
depends_on 'evolution_data_server' => ':build'
depends_on 'gobject_introspection' => ':build'
def self.patch
# Source has libgnome-volume-control repo as submodule
@git_dir = 'subprojects/gvc'
@git_hash = '7a621180b46421e356b33972e3446775a504139c'
@git_url = 'https://gitlab.gnome.org/GNOME/libgnome-volume-control.git'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dgtk_doc=true \
-Dsystemd=false \
-Dnetworkmanager=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Gnome_sudoku < Package
description 'Sudoku puzzle game for GNOME'
homepage 'https://wiki.gnome.org/Apps/Sudoku'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '3.38.0'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'clutter_gtk'
depends_on 'gsound'
depends_on 'librsvg'
depends_on 'qqwing'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
# comment due to the display bug in wayland mode, may fixed in next build
#
#@_wrapper = <<~EOF
# #!/bin/sh
# WAYLAND_DISPLAY=wayland-0
# GDK_BACKEND=wayland
# CLUTTER_BACKEND=wayland
# exec #{@_app}.elf "$@"
#EOF
#File.write(@_app, @_wrapper)
#FileUtils.mv "#{CREW_DEST_PREFIX}/bin/#{@_app}", "#{CREW_DEST_PREFIX}/bin/#{@_app}.elf"
#FileUtils.install @_app, "#{CREW_DEST_PREFIX}/bin/#{@_app}", mode: 0755
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gnome_tweaks < Package
description 'Graphical interface for advanced GNOME 3 settings Tweak Tool'
@_ver = '40.beta'
version @_ver
compatibility 'x86_64 aarch64 armv7l'
source_url "https://gitlab.gnome.org/GNOME/gnome-tweaks/-/archive/#{@_ver}/gnome-tweaks-#{@_ver}.tar.bz2"
source_sha256 'b274a4a9bf93405bd487f5a2bb93fc15bfe0312b21dbebfe5088b8d477d63416'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_tweaks-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_tweaks-40.beta-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_tweaks-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'fb04b6ae9e7bc37672bd78e1c4776d98d4b0e9dce170d0c68efbb06cc779b684',
armv7l: 'fb04b6ae9e7bc37672bd78e1c4776d98d4b0e9dce170d0c68efbb06cc779b684',
x86_64: 'b6088a18bd9568a8b6c6a6f983e85e3e8df5efc084283035eff6b6d5cbbe2f28'
})
depends_on 'gnome_settings_daemon'
depends_on 'gsettings_desktop_schemas'
depends_on 'pygobject'
depends_on 'libhandy'
depends_on 'libnotify'
def self.build
system "meson setup #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -28,7 +28,7 @@ class Gnome_weather < Package
depends_on 'gnome_desktop'
depends_on 'gobject_introspection' => ':build'
depends_on 'appstream_glib' => ':build'
depends_on 'libhandy1'
depends_on 'libhandy'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
......
......@@ -3,58 +3,79 @@ require 'package'
class Go < Package
description 'Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.'
homepage 'https://golang.org/'
version '1.15.5'
@_ver = '1.16'
version @_ver
compatibility 'all'
source_url 'https://dl.google.com/go/go1.15.5.src.tar.gz'
source_sha256 'c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
source_url "https://dl.google.com/go/go#{@_ver}.src.tar.gz"
source_sha256 '7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.15.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.15.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.15.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.15.5-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.16-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.16-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.16-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.16-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '272f22f883fc7215ae6d5fb5edfa77b0d7b569fe4505ca7d7cf02ad0b594ebeb',
armv7l: '272f22f883fc7215ae6d5fb5edfa77b0d7b569fe4505ca7d7cf02ad0b594ebeb',
i686: 'd93951d4ba4c9dc07ed89db5eaa7f62b9e60d70c49712c5cc24a8debe28fb66c',
x86_64: '228376a806cec3c5ddc6e4276fabfcd1bc002d57f84dd2124d49bf2c0907ddfa',
binary_sha256({
aarch64: '5c8a7c1dba8d2d58cf474e6d0dfbe0d327268b3795fa6d59c84cf7e578c890e5',
armv7l: '5c8a7c1dba8d2d58cf474e6d0dfbe0d327268b3795fa6d59c84cf7e578c890e5',
i686: 'c1e8ef3998c06c069e49703af7f8c8bc719dcbd3c488322d9b3c3db765ee4dc8',
x86_64: '163773e1e201b0829189724b6781c6aa8e78eccf2041aa3cb09f07d7bc44e777'
})
@env ||= ''
# Tests require perl
depends_on 'perl' => :build
# go is required to build versions of go > 1.4
unless File.exist? "#{CREW_PREFIX}/share/go/bin/go"
depends_on 'go_bootstrap' => :build
case ARCH
when 'x86_64'
@go_bootstrap_url = "https://golang.org/dl/go#{@_ver}.linux-amd64.tar.gz"
when 'i686'
@go_bootstrap_url = "https://golang.org/dl/go#{@_ver}.linux-386.tar.gz"
when 'aarch64', 'armv7l'
unless File.exist? "#{CREW_PREFIX}/share/go/bin/go"
depends_on 'go_bootstrap' => :build
@env += " PATH=$PATH:#{CREW_PREFIX}/share/go_bootstrap/go/bin"
end
end
def self.build
FileUtils.cd 'src' do
ENV['GOROOT'] = '..'
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
ENV['GOROOT_FINAL'] = "#{CREW_PREFIX}/share/go"
ENV['GOHOSTARCH'] = 'arm' if ARCH == 'aarch64'
# install with go_bootstrap if go is not in the path
unless File.exist? "#{CREW_PREFIX}/share/go/bin/go"
ENV['GOROOT_BOOTSTRAP'] = "#{CREW_PREFIX}/share/go_bootstrap/go"
ENV['PATH'] = ENV['PATH'] + ":#{CREW_PREFIX}/share/go_bootstrap/go/bin"
else
ENV['GOROOT_BOOTSTRAP'] = "#{CREW_PREFIX}/share/go"
# Binaries not available for armv7l, so build those.
case ARCH
when 'aarch64', 'armv7l'
FileUtils.cd 'src' do
@env += "GOROOT='..'"
@env += " TMPDIR=#{CREW_PREFIX}/tmp"
@env += " GOROOT_FINAL=#{CREW_PREFIX}/share/go"
@env += ' GOHOSTARCH=arm' if ARCH == 'aarch64'
# install with go_bootstrap if go is not in the path
if File.exist? "#{CREW_PREFIX}/share/go/bin/go"
@env += " GOROOT_BOOTSTRAP=#{CREW_PREFIX}/share/go"
else
@env += " GOROOT_BOOTSTRAP=#{CREW_PREFIX}/share/go_bootstrap/go"
@env += " PATH=$PATH:#{CREW_PREFIX}/share/go_bootstrap/go/bin"
end
system "env #{@env} ./make.bash"
end
system './make.bash'
end
end
def self.check
FileUtils.cd 'src' do
system "PATH=\"#{Dir.pwd}/../bin:$PATH\" GOROOT=\"#{Dir.pwd}/..\" TMPDIR=\"#{CREW_PREFIX}/tmp\" go tool dist test"
case ARCH
when 'aarch64', 'armv7l'
Dir.chdir 'src' do
system "PATH=\"#{Dir.pwd}/../bin:$PATH\" GOROOT=\"#{Dir.pwd}/..\" TMPDIR=\"#{CREW_PREFIX}/tmp\" go tool dist test"
end
end
end
def self.install
dest = "#{CREW_DEST_PREFIX}/share/"
FileUtils.mkdir_p dest
FileUtils.cp_r Dir.pwd, dest
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share"
case ARCH
when 'i686', 'x86_64'
system "curl -Ls #{@go_bootstrap_url} | tar -C #{CREW_DEST_PREFIX}/share/ -zxf -"
when 'aarch64', 'armv7l'
FileUtils.cp_r Dir.pwd, "#{CREW_DEST_PREFIX}/share/"
end
# make a symbolic link for #{CREW_PREFIX}/bin/{go,gofmt}
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
......@@ -66,13 +87,13 @@ class Go < Package
puts
puts "Installed Go for #{ARCH} in #{CREW_PREFIX}/share/go".lightblue
puts
puts "To use `go run`, execute the following:".lightblue
puts 'To use `go run`, execute the following:'.lightblue
puts "export TMPDIR=#{CREW_PREFIX}/tmp".lightblue
puts
puts "To develop with `go`, execute the following:".lightblue
puts 'To develop with `go`, execute the following:'.lightblue
puts "mkdir -p #{CREW_PREFIX}/work/go".lightblue
puts "ln -s #{CREW_PREFIX}/work/go $HOME/go".lightblue
puts "export PATH=\"$HOME/go/bin:$PATH\"".lightblue
puts 'export PATH="$HOME/go/bin:$PATH"'.lightblue
puts "export TMPDIR=#{CREW_PREFIX}/tmp".lightblue
puts
end
......
require 'package'
class Go_tools < Package
description 'Developer tools for the Go programming language'
homepage 'https://github.com/golang/tools'
@_ver = '0.6.6'
version @_ver
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/go_tools-0.6.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/go_tools-0.6.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/go_tools-0.6.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/go_tools-0.6.6-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '5c938388e815f2d03343301f391640a1cbc11fac3b31e20fc74b77c0963723df',
armv7l: '5c938388e815f2d03343301f391640a1cbc11fac3b31e20fc74b77c0963723df',
i686: '02e41321fa7030598a80a396887289027889ad08784bf04c68f38196f33f02ec',
x86_64: '61c25f3eae11e32d625f917f8d853e134a24581a555b5edd47e76fcef96f565d'
})
depends_on 'go' => ':build'
def self.install
@git_dir = 'go_tools_git'
@git_hash = "gopls/v#{@_ver}"
@git_url = 'https://github.com/golang/tools/'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
system "GOBIN=#{CREW_DEST_PREFIX}/bin go install ./cmd..."
end
end
end
require 'package'
class Gpm < Package
description 'A mouse server for the console and xterm'
homepage 'https://www.nico.schottelius.org/software/gpm/'
version '1.20.7-e82d'
compatibility 'all'
source_url 'https://github.com/telmich/gpm/archive/e82d1a653ca94aa4ed12441424da6ce780b1e530.zip'
source_sha256 'd3a693fde3eb1176fdcbee78768f18115e0b634c4ce29a3c3ccc953ba20e10bf'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gpm-1.20.7-e82d-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gpm-1.20.7-e82d-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gpm-1.20.7-e82d-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gpm-1.20.7-e82d-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '4a14aada6427aa44ca96c59b24efc36352e44b67037a3cc44b14a43c529d128a',
armv7l: '4a14aada6427aa44ca96c59b24efc36352e44b67037a3cc44b14a43c529d128a',
i686: 'dd67b22232f2376f7eb343cf3c6adc31f037e152b6b946e9def7803706224f1d',
x86_64: 'deddcca380cff6e26b34eb93ff6902d50fc6107f35e5fc21022a8ee4ef7c5bde'
})
depends_on 'procps'
def self.build
system './autogen.sh'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc \
--sbindir=#{CREW_PREFIX}/bin"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/systemd/system"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/profile.d"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/profile.d"
# via https://github.com/archlinux/svntogit-packages/tree/master/gpm/trunk
@gpm_path = <<~'GPM_PATH_EOF'
[Unit]
Description=Virtual console mouse server
[Path]
PathExists=/dev/input/mice
GPM_PATH_EOF
IO.write("#{CREW_DEST_PREFIX}/systemd/system/gpm.path", @gpm_path)
FileUtils.chmod 0o644, "#{CREW_DEST_PREFIX}/systemd/system/gpm.path"
@gpm_service = <<~GPM_SERVICE_EOF
[Unit]
Description=Virtual console mouse server
Requires=systemd-udevd.service
After=systemd-udevd.service
Wants=gpm.path
ConditionPathExists=/dev/input/mice
[Service]
Type=forking
ExecStart=#{CREW_PREFIX}/bin/gpm -m /dev/input/mice -t imps2
[Install]
WantedBy=multi-user.target
GPM_SERVICE_EOF
IO.write("#{CREW_DEST_PREFIX}/systemd/system/gpm.service", @gpm_service)
FileUtils.chmod 0o644, "#{CREW_DEST_PREFIX}/systemd/system/gpm.service"
Dir.chdir CREW_DEST_LIB_PREFIX do
system 'ln -sfr libgpm.so.2.* libgpm.so'
end
FileUtils.chmod 0o755, Dir.glob("#{CREW_DEST_LIB_PREFIX}/libgpm.so.*")
end
end
......@@ -3,44 +3,45 @@ require 'package'
class Graphviz < Package
description 'Graphviz is open source graph visualization software.'
homepage 'https://www.graphviz.org/'
version '2.44.1'
@_ver = '2.46.1'
version @_ver
compatibility 'all'
source_url 'https://gitlab.com/graphviz/graphviz/-/archive/2.44.1/graphviz-2.44.1.tar.bz2'
source_sha256 '0f8f3fbeaddd474e0a270dc9bb0e247a1ae4284ae35125af4adceffae5c7ae9b'
source_url "https://gitlab.com/graphviz/graphviz/-/archive/#{@_ver}/graphviz-#{@_ver}.tar.bz2"
source_sha256 'e5d7580b3dfcbeb0b86f28dd3c2df76f32086bb428f67c8ae8512e5fd969324d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.44.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.44.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.44.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.44.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.46.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.46.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.46.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/graphviz-2.46.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'da98580f38a3061a10b951562da06f0802dc7524e7d17bbc1b33f57f6913a441',
armv7l: 'da98580f38a3061a10b951562da06f0802dc7524e7d17bbc1b33f57f6913a441',
i686: '3178c12127d2256d6859975726039c1d81ae3a53f07346dd6d2b1d457889e3e4',
x86_64: '42842a1c3fc77efe32ee82cea9edd29c5024019053103347a4d4ff9da5d6fd2f',
binary_sha256({
aarch64: 'd0cef37f5ff984c4dd87a9c8c99fca254b19764bd898b46a79665668dc812857',
armv7l: 'd0cef37f5ff984c4dd87a9c8c99fca254b19764bd898b46a79665668dc812857',
i686: '39f81cec1ac499d981af16aa448e0130a71a4ea5ac8d28eeee19a920d8366bd1',
x86_64: '23ee20353fee590a3fe35c5185c0404c32f6f82749b2ecf612b8658f21c5ebdb'
})
depends_on 'libgd'
depends_on 'pango'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'cmake',
"-DGLIBCONFIG_INCLUDE_DIR=#{CREW_LIB_PREFIX}/glib-2.0/include",
"-DCMAKE_C_FLAGS='-I#{CREW_PREFIX}/include/harfbuzz'",
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
'-DCMAKE_BUILD_TYPE=Release',
'..'
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I#{CREW_PREFIX}/include/harfbuzz' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
AWK=#{CREW_PREFIX}/bin/mawk \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
.."
end
system 'ninja -C builddir'
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
Dir.chdir CREW_DEST_PREFIX do
FileUtils.mv 'lib', 'lib64' if ARCH == 'x86_64'
end
......
......@@ -3,35 +3,33 @@ require 'package'
class Gsettings_desktop_schemas < Package
description 'Collection of GSettings schemas for GNOME desktop.'
homepage 'https://git.gnome.org/browse/gsettings-desktop-schemas'
version '3.38.0'
version '40.beta'
compatibility 'all'
source_url 'https://github.com/GNOME/gsettings-desktop-schemas/archive/3.38.0.tar.gz'
source_sha256 'b808bd285ac7176f2e9e3a8763c3913121ab9f109d2988c70e3f1f8e742a630d'
source_url 'https://github.com/GNOME/gsettings-desktop-schemas/archive/40.beta.tar.gz'
source_sha256 '885170738e15afe1a4dc60b2b9c006fce37e2b220f26ecf35f13fec8ef84657e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-3.38.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-3.38.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-3.38.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-3.38.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-40.beta-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-40.beta-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gsettings_desktop_schemas-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'dd97405ae148e26b65dfce4f91711dd73c54a021fc8d1f3463c9af30c1874d82',
armv7l: 'dd97405ae148e26b65dfce4f91711dd73c54a021fc8d1f3463c9af30c1874d82',
i686: '87eb145275e5d3c3bbb2042b6dd0bfd334012d3665b086dd1c4c722d10510287',
x86_64: '69e40284e42d687b48fd5c35ef84d695a94ba0e8483ce2cb0654cc07886a177b',
binary_sha256({
aarch64: 'eae7ad09c2366645c76c215ed299ee7094de9312ba0cde263ad2f55c9a2a3dda',
armv7l: 'eae7ad09c2366645c76c215ed299ee7094de9312ba0cde263ad2f55c9a2a3dda',
i686: '3dcde7b6d32af1899840ced478120c06fe681274d618fa933fbc32c088468e1b',
x86_64: '2707ac29a96c529759e7ac6a46725f1b474c0aca2c5dcab59372ec9d8429e16d'
})
depends_on 'gnome_common'
depends_on 'glib'
depends_on 'gobject_introspection'
depends_on 'gtk4'
def self.build
system "sed -i -r 's:\"(/system):\"/org/gnome\1:g' schemas/*.in"
ENV['CFLAGS'] = "-fuse-ld=lld"
ENV['CXXFLAGS'] = "-fuse-ld=lld"
system "meson #{CREW_MESON_OPTIONS} builddir"
system "meson configure builddir"
system "ninja -C builddir"
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
......@@ -41,5 +39,4 @@ class Gsettings_desktop_schemas < Package
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gsound < Package
description 'GSound is a small library for playing system sounds.'
homepage 'https://wiki.gnome.org/Projects/GSound'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '1.0.2'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
depends_on 'gobject_introspection'
depends_on 'libcanberra'
def self.build
system './autogen.sh' if File.exist?('autogen.sh')
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system "make", "check"
end
end
......@@ -3,36 +3,48 @@ require 'package'
class Gusb < Package
description 'GUsb is a GObject wrapper for libusb1'
homepage 'https://www.openhub.net/p/gusb'
version '0.2.11-0'
@_ver = '0.3.5'
version @_ver
compatibility 'all'
source_url 'https://github.com/hughsie/libgusb/archive/gusb_0_2_11.tar.gz'
source_sha256 '090eb605e75f8a5b0b3df7ff29d96dd51730850ac89417378d4a8d39fab13702'
source_url "https://github.com/hughsie/libgusb/archive/#{@_ver}.tar.gz"
source_sha256 '188c7964422417d39b02a5c645e136b1389c80e38e7abfa911fc196b9c748f45'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.2.11-0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.2.11-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.2.11-0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.2.11-0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.3.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.3.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.3.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gusb-0.3.5-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '7c75eff68455aad38547deac7a50f44992bc47dc8a72ec12e5038f72783266cb',
armv7l: '7c75eff68455aad38547deac7a50f44992bc47dc8a72ec12e5038f72783266cb',
i686: '84a56516c6b57823eb7f921c96e7de2989b6fc6b0fbd2777b15510059cc8f04f',
x86_64: 'fa9af05a8ab68391a7221b5b3b6feb986b66c40f1bbebde98bf1a1c4fd9089bd',
binary_sha256({
aarch64: '57ca56f4b7f50e7365d47bd7296d162ee24d0983894c838d2a4e0191902f8537',
armv7l: '57ca56f4b7f50e7365d47bd7296d162ee24d0983894c838d2a4e0191902f8537',
i686: '90abb8dce0577287d373178ded6be2fd200270a4513a4f2fb028f7475b133a71',
x86_64: '90a04122895b2567cd67751e63c59e1b39c934c1b1e7c6d604a73b8e17444f20'
})
depends_on 'gtk_doc'
depends_on 'libusb'
depends_on 'usbutils'
depends_on 'gobject_introspection'
def self.patch
system "sed -i 's/-fstack-protector-strong/-flto/g' meson.build"
end
def self.build
system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dc_args='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dc_link_args='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dcpp_args='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dcpp_link_args='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
-Dusb_ids=#{CREW_PREFIX}/share/hwdata/usb.ids \
-Ddocs=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,58 +3,77 @@ require 'package'
class Gvim < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (with advanced features, such as a GUI)'
homepage 'http://www.vim.org/'
version '8.2.1976'
@_ver = '8.2.2580'
version @_ver
compatibility 'all'
source_url 'https://github.com/vim/vim/archive/v8.2.1976.tar.gz'
source_sha256 'd2d8bc28e28e9c5a63be570cdb44be39470621bb57dcbace5abbd86e15690678'
source_url 'https://github.com/vim/vim/archive/v8.2.2580.tar.gz'
source_sha256 'd0a508ca9726c8ff69bc5f5ab1ebe251c256e01e730f7b36afd03a66c89fcf79'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.1976-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.1976-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.1976-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.1976-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '3bec0434e49ab556c45b6755e858d8a1bf917f238e2906a35a7fbcffebe575bb',
armv7l: '3bec0434e49ab556c45b6755e858d8a1bf917f238e2906a35a7fbcffebe575bb',
i686: '62a0405196e9e701f54025447bfe23e59554e5c5abe298d080246384378a6a28',
x86_64: '087edd65ce9f13039ab9d8d9a8c6a5c9d6c02f47ad9a2c519970085d8999473f',
binary_sha256({
aarch64: 'c06a89c4a40a50d68232218248bce92fe6613cf7e1ec88711f3ac9fcc25e8d9d',
armv7l: 'c06a89c4a40a50d68232218248bce92fe6613cf7e1ec88711f3ac9fcc25e8d9d',
i686: 'ec59a0ce5aea951488100381333ef8e30f11880b2fadc66cbc9a90db06c7ff31',
x86_64: 'a3fa1854b694e1ae034086950a51909825bdd5886dbb7ed29e8651dc53673458'
})
depends_on 'vim_runtime'
depends_on 'gtk3'
depends_on 'sommelier'
def self.preflight
abort('Please remove libiconv before building.') if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so")
vim = `which vim 2> /dev/null`.chomp
abort "vim version #{version} already installed.".lightgreen unless vim.to_s == ''
end
def self.patch
# set the system-wide vimrc path
FileUtils.cd('src') do
system "sed", "-i", "s|^.*#define SYS_VIMRC_FILE.*$|#define SYS_VIMRC_FILE \"#{CREW_PREFIX}/etc/vimrc\"|", "feature.h"
system "sed", "-i", "s|^.*#define SYS_GVIMRC_FILE.*$|#define SYS_GVIMRC_FILE \"#{CREW_PREFIX}/etc/gvimrc\"|", "feature.h"
system 'sed', '-i', "s|^.*#define SYS_VIMRC_FILE.*$|#define SYS_VIMRC_FILE \"#{CREW_PREFIX}/etc/vimrc\"|",
'feature.h'
system 'sed', '-i', "s|^.*#define SYS_GVIMRC_FILE.*$|#define SYS_GVIMRC_FILE \"#{CREW_PREFIX}/etc/gvimrc\"|",
'feature.h'
system 'autoconf'
end
end
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--localstatedir=#{CREW_PREFIX}/var/lib/vim",
'--with-features=huge',
"--with-compiledby='Chromebrew'",
'--with-x=yes',
'--enable-gui=gtk3',
'--enable-multibyte',
'--enable-cscope',
'--enable-fontset',
'--enable-perlinterp=dynamic',
'--enable-pythoninterp=dynamic',
'--enable-python3interp=dynamic',
'--enable-rubyinterp=dynamic',
'--disable-selinux'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure \
#{CREW_OPTIONS} \
--localstatedir=#{CREW_PREFIX}/var/lib/vim \
--with-features=huge \
--with-compiledby='Chromebrew' \
--enable-gpm \
--enable-acl \
--with-x=yes \
--enable-gnome-check \
--enable-multibyte \
--enable-cscope \
--enable-netbeans \
--enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
--enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \
--enable-tclinterp=dynamic \
--disable-canberra \
--disable-selinux \
--disable-nls"
system 'make'
end
def self.install
system 'make', "VIMRCLOC=#{CREW_PREFIX}/etc", "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.ln_s "#{CREW_PREFIX}/bin/vim", "#{CREW_DEST_PREFIX}/bin/vi"
# these are provided by 'vim_runtime'
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/vim"
......@@ -63,9 +82,9 @@ class Gvim < Package
def self.postinstall
puts
puts "The config files are located in #{CREW_PREFIX}/etc".lightblue
puts "User-specific configuration should go in ~/.gvimrc".lightblue
puts 'User-specific configuration should go in ~/.gvimrc'.lightblue
puts
puts "If you are upgrading from an earlier version, edit ~/.bashrc".orange
puts 'If you are upgrading from an earlier version, edit ~/.bashrc'.orange
puts "and remove the 'export VIMRUNTIME' and 'export LC_ALL=C' lines.".orange
puts
end
......
require 'package'
class Ibus < Package
description 'Next Generation Input Bus for Linux'
homepage 'https://github.com/ibus/ibus/wiki'
@_ver = '1.5.24'
version @_ver
compatibility 'all'
source_url "https://github.com/ibus/ibus/releases/download/#{@_ver}/ibus-#{@_ver}.tar.gz"
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '5bc9429dff55a5b81418d29168b724d5b3a828742ddc8862c603ac5427a53705',
armv7l: '5bc9429dff55a5b81418d29168b724d5b3a828742ddc8862c603ac5427a53705',
i686: '197cc0876e47976e0fce6a628adc8782ddbbf7dbd047f4a08f84be8456307566',
x86_64: '9443bc2b1285cb3588c0aabadbf71b0c08800df28ff6d808ff05aaa8bec6364a'
})
depends_on 'dconf'
depends_on 'gtk3'
depends_on 'gtk4'
depends_on 'hicolor_icon_theme'
depends_on 'libnotify'
depends_on 'pygobject'
depends_on 'unicode_emoji'
depends_on 'unicode_cldr'
depends_on 'gobject_introspection' => ':build'
depends_on 'vala' => ':build'
depends_on 'gnome_common' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'gtk2' => ':build'
depends_on 'qtbase' => ':build'
def self.patch
system "sed -i 's|/usr/bin/python|#{CREW_PREFIX}/bin/python3|' engine/gensimple.py"
system "sed -i 's|/usr/bin/python|#{CREW_PREFIX}/bin/python3|' engine/iso639converter.py"
system "sed -i 's|\$(libibus) \$(libibus_emoji_dialog)|\$(libibus_emoji_dialog) \$(libibus)|' ui/gtk3/Makefile.am"
end
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system 'filefix'
system './configure --help'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--libexecdir=#{CREW_LIB_PREFIX}/ibus \
--sysconfdir=#{CREW_PREFIX}/etc \
--enable-dconf \
--enable-wayland \
--enable-gtk4 \
--disable-memconf \
--enable-ui \
--disable-python2 \
--with-unicode-emoji-dir=#{CREW_PREFIX}/share/unicode/emoji \
--with-emoji-annotation-dir=#{CREW_PREFIX}/share/unicode/cldr/common/annotations \
--with-python=python3 \
--with-ucd-dir=#{CREW_PREFIX}/share/unicode"
unless File.exist?('engine/denylist.txt')
system "curl -Lf https://github.com/ibus/ibus/raw/#{@_ver}/engine/denylist.txt -o engine/denylist.txt"
end
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -3,22 +3,19 @@ require 'package'
class Igt_gpu_tools < Package
description 'Tools for development and testing of the Intel DRM driver'
homepage 'https://gitlab.freedesktop.org/drm/igt-gpu-tools'
version '1.25'
compatibility 'all'
source_url 'https://xorg.freedesktop.org/releases/individual/app/igt-gpu-tools-1.25.tar.xz'
@_ver = '1.25'
version "#{@_ver}-1"
compatibility 'x86_64 i686'
source_url "https://xorg.freedesktop.org/releases/individual/app/igt-gpu-tools-#{@_ver}.tar.xz"
source_sha256 '40454d8f0484ea2477862007398a08eef78a6c252c4defce1c934548593fdd11'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-chromeos-x86_64.tar.xz',
binary_url({
i686: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/igt_gpu_tools-1.25-1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '51336627a5f9bb5a662785bbf5dff89a9be2b61b76a8c1312802ba2d1321539a',
armv7l: '51336627a5f9bb5a662785bbf5dff89a9be2b61b76a8c1312802ba2d1321539a',
i686: '367feaaf23ac996aef045a1749c4ade02297270cb2cfef325e132d965ffcb675',
x86_64: '83df59cfaf3e9c45f268b752ff3e7df823f367744a72d2b09c53ecc13f467ec4',
binary_sha256({
i686: 'eabf18c03916648a85b9f6211a197738ad51ad92900949cb257aeedc4e2bb2e3',
x86_64: '72bfc16dbd9532d049a67a8a8c328b50d8f5764f6922445bfe9899129735fcd1'
})
depends_on 'libdrm'
......@@ -32,22 +29,18 @@ class Igt_gpu_tools < Package
depends_on 'peg'
depends_on 'swig' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'util_macros' => ':build'
depends_on 'xorg_proto' => ':build'
def self.build
system "meson #{CREW_MESON_OPTIONS} \
-Dc_link_args='-fuse-ld=lld' \
-Db_asneeded=false \
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Ddocs=disabled \
-Dtests=disabled \
-Doping=disabled \
-Drunner=disabled \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
......
......@@ -3,7 +3,7 @@ require 'package'
class Imagemagick < Package
description 'Use ImageMagick to create, edit, compose, or convert bitmap images.'
homepage 'http://www.imagemagick.org/script/index.php'
version '6.9.11-29-7.0.10-29'
version '6.9.11-29-7.0.11-2'
compatibility 'all'
is_fake
......@@ -14,7 +14,7 @@ class Imagemagick < Package
puts
puts " Select the version to install:"
puts " 6 = ImageMagick 6.9.11-29"
puts " 7 = ImageMagick 7.0.10-29"
puts " 7 = ImageMagick 7.0.11-2"
puts " 0 = Cancel"
while version = STDIN.gets.chomp
......
......@@ -3,47 +3,45 @@ require 'package'
class Imagemagick7 < Package
description 'Use ImageMagick to create, edit, compose, or convert bitmap images.'
homepage 'http://www.imagemagick.org/script/index.php'
version '7.0.10-29'
compatibility 'aarch64,armv7l,x86_64'
case ARCH
when 'aarch64', 'armv7l', 'x86_64'
source_url 'https://github.com/ImageMagick/ImageMagick/archive/7.0.10-29.tar.gz'
source_sha256 '7a3a3347e8b0dae2396663c879644cebcb8d4ed115645b4c9dba66494022b2fd'
depends_on 'flif'
depends_on 'freeimage'
depends_on 'freetype'
depends_on 'ghostscript'
depends_on 'graphviz'
depends_on 'jbigkit'
depends_on 'jemalloc'
depends_on 'lzma'
depends_on 'libheif'
depends_on 'librsvg'
depends_on 'libwebp'
depends_on 'libwmf'
depends_on 'msttcorefonts'
depends_on 'openexr'
depends_on 'openjpeg'
depends_on 'pango'
depends_on 'python27'
depends_on 'zstd'
depends_on 'sommelier'
end
@_ver = '7.0.11-2'
version @_ver
compatibility 'all'
source_url "https://github.com/ImageMagick/ImageMagick/archive/#{@_ver}.tar.gz"
source_sha256 '936959ba77bb9d8fdab4d9c69f90316c02a7e2467dea3790ad36b4d500c31a22'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.10-29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.10-29-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.10-29-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.11-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.11-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.11-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/imagemagick7-7.0.11-2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '2b36714b61050e4da65ccaf8860cf654d13f530122edbb21edd5e633f07db297',
armv7l: '2b36714b61050e4da65ccaf8860cf654d13f530122edbb21edd5e633f07db297',
x86_64: '8557c63c17dcfe443d9ed6e8d78aa555cf032b4165ec39157bb209581c0daf41',
binary_sha256({
aarch64: '04025f5ae6e216cf6e79f2c1a6eccc79ee4a3228eb4d13d9475938a031bb1986',
armv7l: '04025f5ae6e216cf6e79f2c1a6eccc79ee4a3228eb4d13d9475938a031bb1986',
i686: '2a8cae3b4c308c75078f199e8bb9b005baf0babfdce0ff9f5b5f52b23ca71fa0',
x86_64: '8bc32c289e65e5499660cda89afab1dfb68b14de9c70b4f3e82924fa3dafe80a'
})
depends_on 'flif'
depends_on 'freeimage'
depends_on 'freetype'
depends_on 'ghostscript'
depends_on 'graphviz'
depends_on 'jbigkit'
depends_on 'jemalloc'
depends_on 'lzma'
depends_on 'libheif'
depends_on 'librsvg'
depends_on 'libwebp'
depends_on 'libwmf'
depends_on 'msttcorefonts'
depends_on 'openexr'
depends_on 'openjpeg'
depends_on 'pango'
def self.preinstall
imver = `stream -version 2> /dev/null | head -1 | cut -d' ' -f3`.chomp
abort "ImageMagick version #{imver} already installed.".lightgreen unless "#{imver}" == ""
abort "ImageMagick version #{imver} already installed.".lightgreen unless imver.to_s == ''
end
def self.patch
......@@ -51,19 +49,24 @@ class Imagemagick7 < Package
end
def self.build
system "./configure",
"CFLAGS=-I#{CREW_PREFIX}/include/gdk-pixbuf-2.0 -I#{CREW_PREFIX}/include/c++/v1/support/xlocale",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--mandir=#{CREW_MAN_PREFIX}",
"--with-windows-font-dir=#{CREW_PREFIX}/share/fonts/truetype/msttcorefonts",
'--disable-dependency-tracking',
'--with-jemalloc',
'--with-modules',
'--enable-hdri',
'--with-perl',
'--with-rsvg',
'--with-x'
system "env CFLAGS='-pipe -flto=auto -fno-stack-protector -U_FORTIFY_SOURCE \
-I#{CREW_PREFIX}/include/gdk-pixbuf-2.0 \
-I#{CREW_PREFIX}/include/c++/v1/support/xlocale' \
CXXFLAGS='-pipe -flto=auto -fno-stack-protector -U_FORTIFY_SOURCE' \
LDFLAGS='-flto=auto -fno-stack-protector -U_FORTIFY_SOURCE' \
./configure \
#{CREW_OPTIONS} \
--mandir=#{CREW_MAN_PREFIX} \
--program-prefix='' \
--with-windows-font-dir=#{CREW_PREFIX}/share/fonts/truetype/msttcorefonts \
--disable-dependency-tracking \
--enable-hugepages \
--with-jemalloc \
--with-modules \
--enable-hdri \
--with-perl \
--with-rsvg \
--with-x"
system 'make'
end
......
......@@ -7,6 +7,19 @@ class Irrlicht < Package
compatibility 'all'
source_url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip'
source_sha256 'f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht-1.8.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht-1.8.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht-1.8.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht-1.8.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'e98dcd9e79dda539dcc77a4aa5da24fa59f8a465e5f4a42704f2840ad0ddcc9f',
armv7l: 'e98dcd9e79dda539dcc77a4aa5da24fa59f8a465e5f4a42704f2840ad0ddcc9f',
i686: '33c6fe1559e924ef6c3ebe75d9bcf5b27d419fe6d31c6989cec84637cd586c93',
x86_64: 'cad40fccc5ca753ff9d2044bfc720e2d00f775d58691401771eaa731076e4651',
})
depends_on 'libxrandr'
depends_on 'libglvnd'
......
......@@ -7,6 +7,19 @@ class Irrlicht_examples < Package
compatibility 'all'
source_url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip'
source_sha256 'f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_examples-1.8.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_examples-1.8.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_examples-1.8.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_examples-1.8.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '016e609af12216dbb79dded23cf223d668eefbee5c33087921ac9a2faf99fddb',
armv7l: '016e609af12216dbb79dded23cf223d668eefbee5c33087921ac9a2faf99fddb',
i686: '8653b1d919a602d0269484daec98047d0e4b5e655b50bae8d49341b04b4a0e2e',
x86_64: '6c366e0e444594fe94ef29cf6bcf309940d1a3daa2e0c0f151329e73fc142990',
})
depends_on 'irrlicht'
depends_on 'dos2unix' => :build
......
......@@ -7,6 +7,19 @@ class Irrlicht_tools < Package
compatibility 'all'
source_url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip'
source_sha256 'f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_tools-1.8.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_tools-1.8.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_tools-1.8.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/irrlicht_tools-1.8.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'fb12a3c4e9d2e57b9eff5c08558090035e33a4790723edb8df19b1a02070be6b',
armv7l: 'fb12a3c4e9d2e57b9eff5c08558090035e33a4790723edb8df19b1a02070be6b',
i686: 'bfd76b9b6a999d06581b48103e2c3b603333e7df5186d03e75621b1160cf09f1',
x86_64: 'e988f9c00466346b85df68d01290763d0f8a43e824e59a1d836978eb55b6f900',
})
depends_on 'irrlicht'
depends_on 'dos2unix' => :build
......
......@@ -3,29 +3,30 @@ require 'package'
class Jansson < Package
description 'Jansson is a C library for encoding, decoding and manipulating JSON data.'
homepage 'http://www.digip.org/jansson/'
version '2.12'
@_ver = '2.13.1'
version @_ver
compatibility 'all'
source_url 'https://github.com/akheron/jansson/archive/v2.12.tar.gz'
source_sha256 '76260d30e9bbd0ef392798525e8cd7fe59a6450c54ca6135672e3cd6a1642941'
source_url "https://github.com/akheron/jansson/archive/v#{@_ver}.tar.gz"
source_sha256 'f22901582138e3203959c9257cf83eba9929ac41d7be4a42557213a22ebcc7a0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.12-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.12-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.12-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.12-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.13.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.13.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.13.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.13.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '1268da5b1e8fb780fa300e2435992978ad3ca1dca671fcb157591795b219cee3',
armv7l: '1268da5b1e8fb780fa300e2435992978ad3ca1dca671fcb157591795b219cee3',
i686: '1a5b9a9099cb64e5b097090bc17a0ae3b225c66815dd06f3db0a32d4adedac03',
x86_64: '3cb0754c45a3997f7c41cc0d941964c4ec55f12e28792712ececc2d5f41a42e4',
binary_sha256({
aarch64: '934cd7813f9a0c8ad07c967f0d65de05a545d697cc10c6a270c09e6dbbdf30df',
armv7l: '934cd7813f9a0c8ad07c967f0d65de05a545d697cc10c6a270c09e6dbbdf30df',
i686: '3a4c91fbfd2b20b52174e9dfb28b16d1ed22767af66379711e1da77ac9ec9e86',
x86_64: '224290a4b9c5e4361d7a41171745ec02211281582af9a6f7aa0b7de47a06b7de'
})
def self.build
system 'autoreconf -i'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
......
......@@ -3,30 +3,34 @@ require 'package'
class Lcms < Package
description 'Little CMS intends to be an OPEN SOURCE small-footprint color management engine, with special focus on accuracy and performance.'
homepage 'http://www.littlecms.com/'
version '2.9'
@_ver = '2.12'
version @_ver
compatibility 'all'
source_url 'https://downloads.sourceforge.net/lcms/lcms2-2.9.tar.gz'
source_sha256 '48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20'
source_url "https://github.com/mm2/Little-CMS/releases/download/lcms#{@_ver}/lcms2-#{@_ver}.tar.gz"
source_sha256 '18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.9-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.12-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.12-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.12-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lcms-2.12-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '4e99a0236ce9f49f2a73fbc3b796112c0bc548c8bf6bb6af454e2b8c8fca5fd7',
armv7l: '4e99a0236ce9f49f2a73fbc3b796112c0bc548c8bf6bb6af454e2b8c8fca5fd7',
i686: '468dcb84ddeb0b7f4f486f766e7530e60ecdb020b5457cc65b5dbc3e5e0137d5',
x86_64: '47e4c1c86f4a455920106d10bfa4ec8cd47f36e41b71ea27e3bac6551a09d68c',
binary_sha256({
aarch64: '9cad876e65a97e351278154858ae68200828b01f0d93330b821ecf53d5b31ad5',
armv7l: '9cad876e65a97e351278154858ae68200828b01f0d93330b821ecf53d5b31ad5',
i686: '262396399c146e50ad5b38725355bb301f3db2f6beddeaea041f962bfdae9907',
x86_64: '8fba4add85dcbdd7498a64c065579a7c3625914c437f8ffe363c15cd3b8d67bb'
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Libaom < Package
description 'AV1 video codec from Alliance for Open Media'
homepage 'https://aomedia.org/'
version '1.0.0'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '333119009f00f96ab6fda4ea900eb19bf81bd8c446775d6b073a4ac56a0d2066',
armv7l: '333119009f00f96ab6fda4ea900eb19bf81bd8c446775d6b073a4ac56a0d2066',
i686: 'cdece1990fc30a8f45847ae13aa2e6dab6f9321365bb9412283d00586f23489f',
x86_64: 'c7bb9de577e4ff32458c47d9bf2c3a329a6011368f3f3bbde8e072fd9530d5c8'
})
depends_on 'yasm' => ':build'
def self.prebuild
@git_dir = 'aom_git'
@git_hash = '8b6eaa4d37b992efffe432fa513889e6d11ae04f'
@git_url = 'https://aomedia.googlesource.com/aom'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build
Dir.mkdir 'aom_git/builddir'
Dir.chdir 'aom_git/builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DBUILD_SHARED_LIBS:BOOL='ON' \
-DCMAKE_COLOR_MAKEFILE:BOOL='ON' \
-DENABLE_CCACHE:BOOL='OFF' \
-DENABLE_DECODE_PERF_TESTS:BOOL='OFF' \
-DENABLE_EXAMPLES:BOOL='ON' \
-DENABLE_DISTCC:BOOL='OFF' \
-DENABLE_DOCS:BOOL='ON' \
-DENABLE_GOMA:BOOL='OFF' \
-DENABLE_NASM:BOOL='ON' \
-DENABLE_TESTS:BOOL='OFF' \
-DENABLE_TOOLS:BOOL='ON' \
-DENABLE_WERROR:BOOL='OFF' \
-DINCLUDE_INSTALL_DIR:PATH='#{CREW_PREFIX}/include' \
-DLIB_INSTALL_DIR:PATH='#{CREW_LIB_PREFIX}' \
-Wno-dev \
.."
end
system 'ninja -C aom_git/builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C aom_git/builddir install"
end
end
# Adapted from Arch Linux libavif PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/libavif/trunk/PKGBUILD
require 'package'
class Libavif < Package
description 'Library for encoding and decoding .avif files'
homepage 'https://github.com/AOMediaCodec/libavif'
@_ver = '0.9.0'
version @_ver
compatibility 'all'
source_url "https://github.com/AOMediaCodec/libavif/archive/v#{@_ver}.tar.gz"
source_sha256 'ea1603fc18e7dd20cf01f0b405156576886ecb5df84db8c0e87187cd2f8a00f4'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '1f61a3c2509df65e7206ddc4ac79c5e4328f5f369d59da384c3f76fef87aa287',
armv7l: '1f61a3c2509df65e7206ddc4ac79c5e4328f5f369d59da384c3f76fef87aa287',
i686: 'd519816e462351cb38c44734dd9ce82fc8ed553614ca40a2683e88c710bd15fd',
x86_64: '639ba89c4a63d68f714bcf1bb56314594bd5eb5e41ba764424a5e115c97ce6c7'
})
depends_on 'libaom'
depends_on 'dav1d'
depends_on 'rav1e' unless ARCH == 'i686'
depends_on 'svt_av1' if ARCH == 'x86_64'
depends_on 'libpng'
depends_on 'libjpeg'
depends_on 'libyuv'
depends_on 'nasm' => ':build'
depends_on 'pkgconf' => ':build'
depends_on 'gdk_pixbuf' => ':build'
def self.build
ARCH == 'i686' ? (@rav1e = 'OFF') : (@rav1e = 'ON')
ARCH == 'x86_64' ? (@svt = 'ON') : (@svt = 'OFF')
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I#{CREW_PREFIX}/include/harfbuzz' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DAVIF_BUILD_APPS=ON \
-DAVIF_CODEC_AOM=ON \
-DAVIF_CODEC_DAV1D=ON \
-DAVIF_CODEC_RAV1E=#{@rav1e} \
-DAVIF_CODEC_SVT=#{@svt} \
-DAVIF_BUILD_GDK_PIXBUF=ON \
.."
end
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,34 +3,39 @@ require 'package'
class Libcroco < Package
description 'Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit.'
homepage 'https://git.gnome.org/browse/libcroco/'
version '0.6.12'
@_ver = '0.6.13'
@_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver
compatibility 'all'
source_url 'http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.12.tar.xz'
source_sha256 'ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860'
source_url "http://ftp.gnome.org/pub/gnome/sources/libcroco/#{@_ver_prelastdot}/libcroco-#{@_ver}.tar.xz"
source_sha256 '767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.12-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.12-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.12-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.12-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.13-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.13-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.13-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libcroco-0.6.13-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '1997e3255d0cc8495c869a6f1de7dc9e6b7e83c066bf9fda0c07d8d808b59a2a',
armv7l: '1997e3255d0cc8495c869a6f1de7dc9e6b7e83c066bf9fda0c07d8d808b59a2a',
i686: '913d41daf21e307c5c06d04d82b0f55e3a14fa31baf552475380217748ba3455',
x86_64: '21b8c0b44777da7c607c08b85732f1a91a805f248a1937351f4c92ec50444975',
binary_sha256({
aarch64: '60fc1383b5e017354c7c2125a8357d5856c13eea76a765b92bf64e3f92df5341',
armv7l: '60fc1383b5e017354c7c2125a8357d5856c13eea76a765b92bf64e3f92df5341',
i686: '68afcab6e597a792079edfd6090a51ac49daac65cc45b20aca79c678e77328b7',
x86_64: '2d3dd17c43cb509d6c4ed2f5b5e1b29e7f54d63f673c2cc2beac549efcd5e748'
})
depends_on 'gtk_doc'
depends_on 'six' => :build
def self.build
system "sh autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system 'sh autogen.sh'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,33 +3,40 @@ require 'package'
class Libde265 < Package
description 'Open h.265 video codec implementation.'
homepage 'https://github.com/strukturag/libde265'
version '1.0.3'
@_ver = '1.0.8'
version @_ver
compatibility 'all'
source_url 'https://github.com/strukturag/libde265/releases/download/v1.0.3/libde265-1.0.3.tar.gz'
source_sha256 'e4206185a7c67d3b797d6537df8dcaa6e5fd5a5f93bd14e65a755c33cd645f7a'
source_url "https://github.com/strukturag/libde265/releases/download/v#{@_ver}/libde265-#{@_ver}.tar.gz"
source_sha256 '24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.3-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libde265-1.0.8-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '851a496c32ead6b6da9cf6f1ec14ae991f47592d400fa714151cf72552a4a58d',
armv7l: '851a496c32ead6b6da9cf6f1ec14ae991f47592d400fa714151cf72552a4a58d',
i686: '8a70ce6f43f78f6edba1f50e47cd17956ee21d92c534454785de4f143d3a5775',
x86_64: '0833d3f548c83b9706fe7a8797f0b695c907fac1f2aebbbabb936d0aea440f8a',
binary_sha256({
aarch64: 'f2ca6f26fd80159a03e6dc9e3ba62f24ab690c98b03444dc0bad602461643fde',
armv7l: 'f2ca6f26fd80159a03e6dc9e3ba62f24ab690c98b03444dc0bad602461643fde',
i686: 'b08e6380514f8c61a026f74bba03cc29eeefddbd3b430065de0c42da5a28d105',
x86_64: '4d4f93fd7b4cc7ac4003fba0a8a1a42edc43045fae6496b72a78b6f312b1e6cb'
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking'
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
.."
end
system 'ninja -C builddir'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,35 +3,38 @@ require 'package'
class Libexif < Package
description 'A library for parsing, editing, and saving EXIF data'
homepage 'https://libexif.github.io/'
version '0.6.21'
@_ver = '0.6.22'
@_ver_ = @_ver.gsub(/[.]/, '_')
version @_ver
compatibility 'all'
source_url 'https://github.com/libexif/libexif/archive/libexif-0_6_21-release.tar.gz'
source_sha256 '8cb37aa1745ca9050403c501ad4da2924e98ec5460bbd5c9d09bd57f0c746636'
source_url "https://github.com/libexif/libexif/releases/download/libexif-#{@_ver_}-release/libexif-#{@_ver}.tar.xz"
source_sha256 '5048f1c8fc509cc636c2f97f4b40c293338b6041a5652082d5ee2cf54b530c56'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.21-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.21-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.21-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.21-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.22-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.22-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.22-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libexif-0.6.22-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'c4d28a7a1a806559be725e264daf15759921281cd53d584fc66a2de955c4b48a',
armv7l: 'c4d28a7a1a806559be725e264daf15759921281cd53d584fc66a2de955c4b48a',
i686: '7b03b0d97715f99eebdeac70afe4d3562309eda01523d648a6680b02107eb5cf',
x86_64: 'ffe068550dd1f366252762ee529a8bd10984f1036d11984bfefabb468893da21',
binary_sha256({
aarch64: '4294ea1bb5c87281c0033466c28213309c29888b7b38dc31ca7952399eb05bf1',
armv7l: '4294ea1bb5c87281c0033466c28213309c29888b7b38dc31ca7952399eb05bf1',
i686: '0065d20692bdf287574972b3e4f3b03d18c63e4cfdc53196565d75d977132afd',
x86_64: 'd8d0f76f087122ac63d088ec1233e45f6b88880f80ab08bea72f2461bd4e2aa4'
})
def self.build
system 'autoreconf -i -f'
system "sed -i '69,70d' po/Makefile.in.in"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--disable-maintainer-mode"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,39 +3,52 @@ require 'package'
class Libexiv2 < Package
description 'Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.'
homepage 'http://exiv2.org/'
version '0.26'
@_ver = '0.27.3-d8dd'
version @_ver
compatibility 'all'
source_url 'http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz'
source_sha256 'c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb'
source_url 'https://github.com/Exiv2/exiv2/archive/d8dd632ad511db37245e4fe644a3cd399d770399.zip'
source_sha256 '4cf76787b665186c7a484f16aaf92b306be3fa34feb1edbda79442811dd4287e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.26-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.26-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.26-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.26-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.27.3-d8dd-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.27.3-d8dd-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.27.3-d8dd-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libexiv2-0.27.3-d8dd-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '0b53cffbe725a525c6d76d9fb1ab331c362ad3dd5efb927f99dcb5f9a886060e',
armv7l: '0b53cffbe725a525c6d76d9fb1ab331c362ad3dd5efb927f99dcb5f9a886060e',
i686: '3134164696ecd93e2547198bd578a502e0a9ae648397a945bdbb3479362b1a96',
x86_64: '69e5df22bbc44b8adc08b8260a49087f787e517472e1472be9783d5e424a4713',
binary_sha256({
aarch64: 'd5e464080d02bd02f92cc8faab43eae4ed3f65a86dd931302e9d3400df65ece1',
armv7l: 'd5e464080d02bd02f92cc8faab43eae4ed3f65a86dd931302e9d3400df65ece1',
i686: '182b35e673f39fc2288839ce36df148ecf646ed3aa239992001abf224c5e91e1',
x86_64: 'f538547a42943c62fbdc847a17ffb38304ffda35648116477885e661fcefd2f4'
})
depends_on 'curl'
depends_on 'libssh'
depends_on 'ccache' => :build
def self.patch
system "sed -i 's/MINGW OR CYGWIN OR CMAKE_HOST_SOLARIS/UNIX/g' cmake/compilerFlags.cmake"
end
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-curl=#{CREW_PREFIX}/include/curl",
"--with-ssh=#{CREW_PREFIX}/include/libssh",
'--enable-webready',
'--enable-video'
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DEXIV2_ENABLE_CURL=ON \
-DEXIV2_ENABLE_SSH=ON \
-DEXIV2_ENABLE_WEBREADY=ON \
-DEXIV2_ENABLE_VIDEO=ON \
-DBUILD_WITH_CCACHE=ON \
.."
end
system 'ninja -C builddir'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,38 +3,45 @@ require 'package'
class Libgd < Package
description 'GD is an open source code library for the dynamic creation of images by programmers.'
homepage 'https://libgd.github.io/'
version '2.3.0'
@_ver = '2.3.2'
version @_ver
compatibility 'all'
source_url 'https://github.com/libgd/libgd/releases/download/gd-2.3.0/libgd-2.3.0.tar.gz'
source_sha256 '32590e361a1ea6c93915d2448ab0041792c11bae7b18ee812514fe08b2c6a342'
source_url "https://github.com/libgd/libgd/archive/gd-#{@_ver}.tar.gz"
source_sha256 'dcc22244d775f469bee21dce1ea42552adbb72ba0cc423f9fa6a64601b3a1893'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.3.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'f08ad9e3eea1b99d9c1528337d1a6fb0e764c35abcc82908acfd8d7635aa5890',
armv7l: 'f08ad9e3eea1b99d9c1528337d1a6fb0e764c35abcc82908acfd8d7635aa5890',
i686: 'ae9c98c5282c68e9f1e089281669c9e3e8a02c92a4398bb7725b9fe32ee92a65',
x86_64: '8e5ade77f722c7e76e8448483d1f6dc9119269173a642368f15fca9322cba14e',
binary_sha256({
aarch64: 'af41a2f68397421ae6d8974b1caaf41e559ddfce9b381dfa45ad235b8f912f1c',
armv7l: 'af41a2f68397421ae6d8974b1caaf41e559ddfce9b381dfa45ad235b8f912f1c',
i686: 'd6a56c32366bb5014e5cf04bd7a0ad4e9eb0038bb95df2e2ec7793d67111e4bc',
x86_64: '41a0e61d953cca647d9a31bf88c294918f7f089689f3552fb93cf2903aadeabe'
})
depends_on 'cmake'
depends_on 'libpng'
depends_on 'libavif'
depends_on 'libheif'
def self.build
FileUtils.mkdir('build')
FileUtils.cd('build') do
system "cmake -DCMAKE_INCLUDE_PATH=#{CREW_PREFIX}/include -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} .."
system "make"
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I#{CREW_PREFIX}/include/harfbuzz' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DCMAKE_INCLUDE_PATH=#{CREW_PREFIX}/include \
.."
end
system 'ninja -C builddir'
end
def self.install
FileUtils.cd('build') do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -8,6 +8,19 @@ class Libglvnd < Package
source_url 'https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v1.3.2/libglvnd-v1.3.2.tar.bz2'
source_sha256 '8eb697a879245c6246ffabf2c1ed72a5ae335769f0772f55cbe4fee3e50223fe'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libglvnd-1.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libglvnd-1.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libglvnd-1.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libglvnd-1.3.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '70735287c0e3ec8a7adc8a0b73ff3094f64fc05033f00a7c97b3b9f135f89b5e',
armv7l: '70735287c0e3ec8a7adc8a0b73ff3094f64fc05033f00a7c97b3b9f135f89b5e',
i686: '0539bb9968725480639004fae14c4ef2014d13290ad1353ed8532fb601b9a1db',
x86_64: '24b0f3aa36dbe3832edc8d2ee787962416f5fb2cac13c1e31d71146adbe9660f',
})
depends_on 'libxext'
depends_on 'libx11'
depends_on 'glproto'
......
require 'package'
class Libgnome_games_support < Package
description 'libgnome-games-support is a small library intended for internal use by GNOME Games.'
homepage 'https://gitlab.gnome.org/GNOME/libgnome-games-support'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '1.8.0'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgnome_games_support-1.8.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgnome_games_support-1.8.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgnome_games_support-1.8.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgnome_games_support-1.8.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'a19aa61c3719f84c94394fc3f435ff51d02821e17005f3afd0088a934e0e3fce',
armv7l: 'a19aa61c3719f84c94394fc3f435ff51d02821e17005f3afd0088a934e0e3fce',
i686: 'f979572afa1af8325e4c9d480f20bac1574b9278409c4bd80e413a08ba13d610',
x86_64: '5ecda51e0782e91ebf5454e5f0869260a17f97ae2d48f16d0313d5f4fbdfb21a'
})
depends_on 'gtk3'
depends_on 'libgee'
depends_on 'clutter'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,22 +3,24 @@ require 'package'
class Libgphoto < Package
description 'The libgphoto2 camera access and control library.'
homepage 'http://www.gphoto.org/'
version '2.5.23'
@_ver = '2.5.27'
@_ver_ = @_ver.gsub(/[.]/, '_')
version @_ver
compatibility 'all'
source_url 'https://github.com/gphoto/libgphoto2/archive/libgphoto2-2_5_23-release.tar.gz'
source_sha256 '8de52fd997aceda895abad5d8d95a888bce24a1c739079cff64dae1da7039dde'
source_url "https://github.com/gphoto/libgphoto2/archive/libgphoto2-#{@_ver_}-release.tar.gz"
source_sha256 '9ac1ab84fc5070d40194181efd0775044220c8d5cdee830386d528710e864ec9'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.23-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.23-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.23-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.23-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.27-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.27-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.27-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgphoto-2.5.27-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'dfb2080fbbd42cfffdc05a6bb6d52775b807825d1b3b7ca18934c70d88beb1be',
armv7l: 'dfb2080fbbd42cfffdc05a6bb6d52775b807825d1b3b7ca18934c70d88beb1be',
i686: '9f33a1541717bf823171eef395dd8fe32aacf3804c120591e771c08034ea374a',
x86_64: '5993b9961a3b8dd1129186aa05370b72c3fd24cd6eaef0b33377a288be713609',
binary_sha256({
aarch64: 'f3111fd01e63280e864e24c38ac199bff329766a305b8c2b7009c600078bf66b',
armv7l: 'f3111fd01e63280e864e24c38ac199bff329766a305b8c2b7009c600078bf66b',
i686: '9f732d1e5202630f789a45645eadf4a7ea012c9acda7db31d1ad92627cf9578a',
x86_64: '5edaedd9d40c26c2c8462794288b499e72f64b2ce89b42fdc571a64187991110'
})
depends_on 'gtk_doc'
......@@ -27,10 +29,11 @@ class Libgphoto < Package
def self.build
system 'autoreconf --install --symlink'
system './configure',
'--with-camlibs=all,outdated',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--with-camlibs=all,outdated"
system 'make'
end
......
......@@ -3,37 +3,41 @@ require 'package'
class Libgsf < Package
description 'The G Structured File Library'
homepage 'https://gitlab.gnome.org/GNOME/libgsf'
version '1.14.44'
@_ver = '1.14.47'
@_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver
compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/libgsf/1.14/libgsf-1.14.44.tar.xz'
source_sha256 '68bede10037164764992970b4cb57cd6add6986a846d04657af9d5fac774ffde'
source_url "https://download.gnome.org/sources/libgsf/#{@_ver_prelastdot}/libgsf-#{@_ver}.tar.xz"
source_sha256 'd188ebd3787b5375a8fd38ee6f761a2007de5e98fa0cf5623f271daa67ba774d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.47-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.47-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.47-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.47-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '2ddd44b20669d3a473e11a3404533c18555c4b42d8809862a8cb0343c733606d',
armv7l: '2ddd44b20669d3a473e11a3404533c18555c4b42d8809862a8cb0343c733606d',
i686: '511a6260e66c54dd62eea8cb31bf372a746ac1d0757c718f76cd8553631ecb55',
x86_64: 'd120538959fa7d352b23aeaf8d9eb637d73ba9c38c0002dfb495b7bf1b086589',
binary_sha256({
aarch64: 'fdb327f0c46a75e3cd5c5e4bc7e2701fe5b622881837894f9b2314bcc4b29501',
armv7l: 'fdb327f0c46a75e3cd5c5e4bc7e2701fe5b622881837894f9b2314bcc4b29501',
i686: '200b8890ef591be47d6554bb280d4a60fcf2798bf2f970910207e3471c733842',
x86_64: '8d8c0cf26f3bad537ddc82020078ebb52062f83c7a33709f1b2c4cac0abc33c6'
})
depends_on 'gdk_pixbuf'
depends_on 'gtk_doc'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode',
'--enable-introspection'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-shared=yes \
--disable-maintainer-mode \
--enable-introspection"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,23 +3,23 @@ require 'package'
class Libhandy < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.'
homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
@_ver = '1.0.3'
@_ver = '1.1.90'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libhandy/-/archive/#{@_ver}/libhandy-#{@_ver}.tar.bz2"
source_sha256 '8cdeb88deaf13efbc0da73306bf8f8d14b6e5b108807a4f7b43d6a7c6e3a158d'
source_sha256 '6ddac98a287e4e9b31e3ec3d72dae756c4ef6e12f3b1150db7ec2ee339750bde'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '4e5c2b68cdf5884bf233086a4cb8258c39d7c4f3abc84e262b9dc485292eff1a',
armv7l: '4e5c2b68cdf5884bf233086a4cb8258c39d7c4f3abc84e262b9dc485292eff1a',
i686: 'fabc2b197a1b8c6c1560a0ba3dd4f6a1839715e38f7079a11bd6169dbf54f38b',
x86_64: 'b2b09e3a0ded79ce0ab151c489d95549c3b8c508ee485d8fdfdb4f4e0edcfb29',
binary_sha256({
aarch64: '55c875283be39533c6683a967e1857ad844c4e8cdf6d638852118ba8e2b61d16',
armv7l: '55c875283be39533c6683a967e1857ad844c4e8cdf6d638852118ba8e2b61d16',
i686: '5cba24d72415faa55c8064c0693ad79051ad88545d9b55b2ad2f5deede171921',
x86_64: '89e363e201acb5c7040ceb5f4b34d0800996816c3559059b8a8abb0b3d341b38'
})
depends_on 'vala'
......
require 'package'
class Libhandy1 < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.'
homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
@_ver = '1.1.90'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libhandy/-/archive/#{@_ver}/libhandy-#{@_ver}.tar.bz2"
source_sha256 '6ddac98a287e4e9b31e3ec3d72dae756c4ef6e12f3b1150db7ec2ee339750bde'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '790a2510e89e4712c6d82cb07326b2fd5c9c34cc2e0f4fefe257d5fcc0c84615',
armv7l: '790a2510e89e4712c6d82cb07326b2fd5c9c34cc2e0f4fefe257d5fcc0c84615',
i686: 'fa28e0f5fdde0cc2cb79bf8cfff0222f3afe3de97025ffbd3f754722c4c3eb6c',
x86_64: 'df36a10a4e9e86c84d98142bfbbec8e0431162002ffce3d0b837042d13a67d9f'
})
depends_on 'vala'
def self.prebuild
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build"
end
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,38 +3,51 @@ require 'package'
class Libheif < Package
description 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.'
homepage 'https://github.com/strukturag/libheif'
version '1.3.2'
@_ver = '1.11.0'
version @_ver
compatibility 'all'
source_url 'https://github.com/strukturag/libheif/releases/download/v1.3.2/libheif-1.3.2.tar.gz'
source_sha256 'a9e12a693fc172baa16669f427063edd7bf07964a1cb623ee57cd056c06ee3fc'
source_url "https://github.com/strukturag/libheif/releases/download/v#{@_ver}/libheif-#{@_ver}.tar.gz"
source_sha256 'c550938f56ff6dac83702251a143f87cb3a6c71a50d8723955290832d9960913'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.3.2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '1a4a0c34e2e35401d321c4bc0cf2a358faa64faca7d10f42f83d8d8b36af31a2',
armv7l: '1a4a0c34e2e35401d321c4bc0cf2a358faa64faca7d10f42f83d8d8b36af31a2',
i686: '03927285a07e05f8f5f30f4d8c40b2cdc18af13cc2ae6be65ecf2a168cd89453',
x86_64: 'd676736b107aa2245707d64afa0fe49eca476671a44dc34a6a8b013220b72ad0',
binary_sha256({
aarch64: '6895e7a1367487e59d771e82498f9f4c6c1c0408099e878716e40ebc27bb2cc6',
armv7l: '6895e7a1367487e59d771e82498f9f4c6c1c0408099e878716e40ebc27bb2cc6',
i686: '570e56cbe7ad4ed99872cd8e12f2e461d103e9fcb6c8b942c798e14dca2d484a',
x86_64: '28fccd530636486eadbc579ce29b6d25ab5e86355e891d070cc485f606dc8f18'
})
depends_on 'libde265'
depends_on 'libjpeg'
depends_on 'libpng'
depends_on 'libx265'
depends_on 'libaom'
depends_on 'dav1d'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking'
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
.."
end
system 'ninja -C builddir'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
end
end
# Adapted from Arch Linux libimagequant PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/libimagequant/trunk/PKGBUILD
require 'package'
class Libimagequant < Package
description 'Library for high-quality conversion of RGBA images to 8-bit indexed-color palette images'
homepage 'https://pngquant.org/lib/'
version '2.14.1'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://github.com/ImageOptim/libimagequant/archive/2.14.1/libimagequant-2.14.1.tar.gz'
source_sha256 'b5fa27da1f3cf3e8255dd02778bb6a51dc71ce9f99a4fc930ea69b83200a7c74'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libimagequant-2.14.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libimagequant-2.14.1-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libimagequant-2.14.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'eeff7663ff38b663fef766a1244ea4c0be6c465cd216f9f5b0409affd9f03ae3',
armv7l: 'eeff7663ff38b663fef766a1244ea4c0be6c465cd216f9f5b0409affd9f03ae3',
x86_64: 'a684ca8eeeb2a38a696eb8a1b3395e0d08929ef219c17df23ac87fbd6989d963'
})
def self.build
# system "sed -r 's/^install:.*/install:/;/install.*STATICLIB/d' -i Makefile"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} --with-openmp"
system 'make shared imagequant.pc'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} PREFIX=/usr install"
end
end
......@@ -3,22 +3,23 @@ require 'package'
class Libinput < Package
description 'libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver.'
homepage 'https://www.freedesktop.org/wiki/Software/libinput'
version '1.10.2'
@_ver = '1.17.0'
version @_ver
compatibility 'all'
source_url 'https://www.freedesktop.org/software/libinput/libinput-1.10.2.tar.xz'
source_sha256 '1509766d348efe8c6da4285efad3acff4a4c955defb43309e3e4851849197bb9'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.10.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.10.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.10.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.10.2-chromeos-x86_64.tar.xz',
source_url "https://www.freedesktop.org/software/libinput/libinput-#{@_ver}.tar.xz"
source_sha256 'c560cfca14cb5c50d2a1b7551df06bc5d4306e32c128f3e3d37e137285dedbad'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.17.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.17.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.17.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libinput-1.17.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'c6c6f2b976bb841063b5411c5c7d8c3c1d76c3291f15559f20de6650b2d5ad3f',
armv7l: 'c6c6f2b976bb841063b5411c5c7d8c3c1d76c3291f15559f20de6650b2d5ad3f',
i686: 'a93a6da4b2f41ed20142acfa3515d016b185f8c628d14bc0e5fac77ee3b9ba77',
x86_64: 'f1a15a0d4782ab26d86907f1228d1cc1c3ca1d67ba034a8a0458d9dc56d8ea11',
binary_sha256({
aarch64: 'a449ec4b3a457cf1222606c053bd90d6ff857434f06fdce33689d2bc198f2280',
armv7l: 'a449ec4b3a457cf1222606c053bd90d6ff857434f06fdce33689d2bc198f2280',
i686: '3b5cd49e73d1351369a4afd268a5bb84dc1a6ac00a0381fc9d94b89e753ca7c1',
x86_64: '7f4ed0a79f83c740aa1c708accf6f483b00345507df91a4d164117cd5bbb498e'
})
depends_on 'mtdev'
......@@ -27,28 +28,25 @@ class Libinput < Package
depends_on 'libunwind'
depends_on 'libcheck'
depends_on 'valgrind' => :build
depends_on 'meson' => :build
# If debug-gui feature is required, uncomment following lines and remove "-Ddebug-gui=false" to enable it
#depends_on 'graphviz' => :build
#depends_on 'gtk3' => :build
# depends_on 'graphviz' => :build
# depends_on 'gtk3' => :build
def self.build
system "meson \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
-Ddebug-gui=false \
-Ddocumentation=false \
_build"
system "ninja -v -C _build"
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Ddebug-gui=false \
-Ddocumentation=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.check
system 'ninja -C _build test'
system 'ninja -C builddir test || true'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,35 +3,37 @@ require 'package'
class Libmbim < Package
description 'libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.'
homepage 'https://www.freedesktop.org/wiki/Software/libmbim/'
version '1.16.2'
@_ver = '1.24.6'
version @_ver
compatibility 'all'
source_url 'https://www.freedesktop.org/software/libmbim/libmbim-1.16.2.tar.xz'
source_sha256 'eb494fee2c200daf4f5cc8a40061d24a3dfafe8c59151c95c6a826fd96dcb262'
source_url "https://www.freedesktop.org/software/libmbim/libmbim-#{@_ver}.tar.xz"
source_sha256 '760465caaa1ccd699c14290e9791da456d5300dd11ebf4c1486151033e875dfd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.16.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.16.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.16.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.16.2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.24.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.24.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.24.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmbim-1.24.6-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '20e7289ee6494836d2ae1ae555fcd8dcdaaaf17fbd4c60036d0729b548885007',
armv7l: '20e7289ee6494836d2ae1ae555fcd8dcdaaaf17fbd4c60036d0729b548885007',
i686: 'f05206366153c334dacc0320633b8dcb2b4ef331a2ac99d710084a7a19b52f2f',
x86_64: '8e85d643f339222cede9361db492333709a4c5e0f135aff659c996d51020abff',
binary_sha256({
aarch64: 'ffb063051859e2696af5f44b10de9915becb1c22cc90581b3962814be7626f0c',
armv7l: 'ffb063051859e2696af5f44b10de9915becb1c22cc90581b3962814be7626f0c',
i686: '82b1a84f2226675537c939ada353ec29e962ec53000946e91c2a14a599fe98a8',
x86_64: '1e5b4926e3baf334425804688ee72c75e8cc9a6482102d9ef8bf727123561570'
})
depends_on 'glib'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--disable-maintainer-mode"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Libnewt < Package
description 'Not Eriks Windowing Toolkit - text mode windowing with slang'
homepage 'https://pagure.io/newt'
@_ver = '0.52.21'
version @_ver
compatibility 'all'
source_url "https://releases.pagure.org/newt/newt-#{@_ver}.tar.gz"
source_sha256 '265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libnewt-0.52.21-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libnewt-0.52.21-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libnewt-0.52.21-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libnewt-0.52.21-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'd1813f44254d795347e412bfffcc6a86b4dffc934db3e0341b5072f7a7518b12',
armv7l: 'd1813f44254d795347e412bfffcc6a86b4dffc934db3e0341b5072f7a7518b12',
i686: 'e4850288e06cdc7f35233e8beeb2ead16fd934c0eac6afea7c8b26666feaf20a',
x86_64: '07ebbb1fe4cfe931a583e1195d1340fec0387a1bd5c83ee8a0fda9754730f185'
})
depends_on 'gpm'
depends_on 'libxcrypt'
depends_on 'popt'
depends_on 'tcl' => :build
depends_on 'pygments' => :build
def self.patch
patch_url = 'http://deb.debian.org/debian/pool/main/n/newt/newt_0.52.21-4.debian.tar.xz'
patch_sha256 = '163f2f58bf4d0ac8a0907a1c2530a02d7c178b88c53fb98ee69d4b33bc86187d'
system('curl', '-Lf', patch_url, '-o', 'zippatches.tar.xz')
unless Digest::SHA256.hexdigest(File.read('./zippatches.tar.xz')) == patch_sha256
abort 'Checksum mismatch :/ try again'
end
system('tar', '-xf', 'zippatches.tar.xz')
system('for i in `cat debian/patches/series`; do patch -p 1 < debian/patches/$i; done')
system "echo '#define USE_INTERP_RESULT 1' >> config.h"
end
def self.build
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--with-gpm-support"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -3,35 +3,40 @@ require 'package'
class Libpipeline < Package
description 'libpipeline is a C library for manipulating pipelines of subprocesses in a flexible and convenient way.'
homepage 'http://libpipeline.nongnu.org/'
@_ver = '1.5.3'
version @_ver
compatibility 'all'
version '1.5.0'
source_url 'https://mirror.csclub.uwaterloo.ca/nongnu/libpipeline/libpipeline-1.5.0.tar.gz'
source_sha256 '0d72e12e4f2afff67fd7b9df0a24d7ba42b5a7c9211ac5b3dcccc5cd8b286f2b'
source_url "https://mirror.csclub.uwaterloo.ca/nongnu/libpipeline/libpipeline-#{@_ver}.tar.gz"
source_sha256 '5dbf08faf50fad853754293e57fd4e6c69bb8e486f176596d682c67e02a0adb0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libpipeline-1.5.3-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'b22c978f504de0e8356772bdb6c775a6d4b9760cb5422ab540a70940d63e8cab',
armv7l: 'b22c978f504de0e8356772bdb6c775a6d4b9760cb5422ab540a70940d63e8cab',
i686: '5ab87ee758833b15d55b680fee6742f27f26e25394feaeeca5d1c2d6e069b1d5',
x86_64: '9cefcb70b634fa7d1ff081794712ca4e1448e0dbfd57d0be411bbef2a149bd78',
binary_sha256({
aarch64: '95c8b6b79ed89ff9214d8fcd8aa29af940517e5a77e369f509bb2e56a7518cd8',
armv7l: '95c8b6b79ed89ff9214d8fcd8aa29af940517e5a77e369f509bb2e56a7518cd8',
i686: 'f48dc0e7fa58b857de93c586c7eb80b473f1fb4b1ee617eec60304f76c280d22',
x86_64: 'bcdc10711b7697fd61d50f996a5df4467702914d36823d7fbc62590b1f0a5ece'
})
def self.build
system './configure', "--libdir=#{CREW_LIB_PREFIX}", '--disable-static', '--enable-shared', '--with-pic'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--enable-shared \
--with-pic"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system "make", "check"
system 'make', 'check'
end
end
......@@ -3,35 +3,37 @@ require 'package'
class Libqmi < Package
description 'libqmi is a glib-based library for talking to WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.'
homepage 'https://www.freedesktop.org/wiki/Software/libqmi/'
version '1.20.2'
@_ver = '1.28.2'
version @_ver
compatibility 'all'
source_url 'https://www.freedesktop.org/software/libqmi/libqmi-1.20.2.tar.xz'
source_sha256 'c73459ca8bfe1213f8047858d4946fc1f58e164d4f488a7a6904edee25e2ca44'
source_url "https://www.freedesktop.org/software/libqmi/libqmi-#{@_ver}.tar.xz"
source_sha256 '8c8c3ee719874d2529bce9b35b028fe435b36f003979a360d3ad0938449db783'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.20.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.20.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.20.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.20.2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.28.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.28.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.28.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libqmi-1.28.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '30dc112b0c02bec117a00a1a72684d34b4db6e5c60f5ffdbdcac7701b962e23d',
armv7l: '30dc112b0c02bec117a00a1a72684d34b4db6e5c60f5ffdbdcac7701b962e23d',
i686: 'a9e7760a7345e09368cfe8655923e27f8fc534179bbc003afef6eb18c5fa1533',
x86_64: 'e52b18b3f21c9cbe69609e0c0c351ac8e7231c6ac29792d9f360451724818019',
binary_sha256({
aarch64: '03ccdba7bf32be2b5e02951d25a664af9654acceb1eb5c71fcbf5179a46190d7',
armv7l: '03ccdba7bf32be2b5e02951d25a664af9654acceb1eb5c71fcbf5179a46190d7',
i686: '4c313be829849b7d22d803b25d165d4247d89d38451e9ec9d21bb624d52665cd',
x86_64: '49c2629596059768498962291481e1d0212bdb2e56b5bdf37f834aeb84fe8680'
})
depends_on 'libgudev'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--disable-maintainer-mode"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,31 +3,35 @@ require 'package'
class Libseccomp < Package
description 'The libseccomp library provides an easy to use, platform independent, interface to the Linux Kernel\'s syscall filtering mechanism.'
homepage 'https://github.com/seccomp/libseccomp'
version '2.4.1'
@_ver = '2.5.1'
version @_ver
compatibility 'all'
source_url 'https://github.com/seccomp/libseccomp/archive/v2.4.1.tar.gz'
source_sha256 '36aa502c0461ae9efc6c93ec2430d6badd9bf91ecbe73806baf7b7c6f687ab4f'
source_url "https://github.com/seccomp/libseccomp/archive/v#{@_ver}.tar.gz"
source_sha256 '76ad54e31d143b39a99083564045212a965e026a1010a742edd793d26d699829'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.4.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.4.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.4.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.4.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.5.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.5.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.5.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libseccomp-2.5.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'c857c381ba1cd7bc53d0c760d33b308dd0e8b24893828745ac2d9697f4098266',
armv7l: 'c857c381ba1cd7bc53d0c760d33b308dd0e8b24893828745ac2d9697f4098266',
i686: 'e29d38e68b4a4043ef55a39a07b9dcb42429c6fdefedc50842cce784e0670fe7',
x86_64: 'fb72ad86487e84775255ad3c231e4517f490094cfed05da2d22274e2f1006257',
binary_sha256({
aarch64: 'a5fb74e92c03f02a6079796234e0c3c192ec689d71bc5b5dd104c0decdd747b1',
armv7l: 'a5fb74e92c03f02a6079796234e0c3c192ec689d71bc5b5dd104c0decdd747b1',
i686: '4d9b966795112a9bf8a6d3da564345998ee007400c9720b4d86b58e79c7c65ea',
x86_64: 'dc052c6c4962cc1f5b30c1a73f0ab397abd15406d808a18f96ed8ff095a62e25'
})
def self.build
system './autogen.sh'
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,29 +3,28 @@ require 'package'
class Libsoup < Package
description 'libsoup is an HTTP client/server library for GNOME.'
homepage 'https://wiki.gnome.org/Projects/libsoup'
version '2.72-2'
@_ver = '2.99.1'
@_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver
compatibility 'all'
source_url 'https://download.gnome.org/sources/libsoup/2.72/libsoup-2.72.0.tar.xz'
source_sha256 '170c3f8446b0f65f8e4b93603349172b1085fb8917c181d10962f02bb85f5387'
source_url "https://download.gnome.org/sources/libsoup/#{@_ver_prelastdot}/libsoup-#{@_ver}.tar.xz"
source_sha256 '9703c09e1b41d413bc17b5a3b8baac7cd8be1aa89ebd628de802d9a572dc8d44'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.99.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.99.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.99.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.99.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'b400c7ec6e46aa72743e94f1f04c1e91dfac90f4c6af9a02a7b1b7fd7ae1b9c2',
armv7l: 'b400c7ec6e46aa72743e94f1f04c1e91dfac90f4c6af9a02a7b1b7fd7ae1b9c2',
i686: '4e3fd0b050b6d9f6897df32eb13922ceeeac11934fbbfb1df65fd0677ff9af54',
x86_64: '0a16a6d71b389a7196a93af1c4d29fa8c5c2d68dff6cd1b80b909de1d499de26',
binary_sha256({
aarch64: '94593ee64f8dfa68a432dd827f81ab189016a375541c5b52408ba6cd941fdcc6',
armv7l: '94593ee64f8dfa68a432dd827f81ab189016a375541c5b52408ba6cd941fdcc6',
i686: 'c1aac13d94d0a7ab3621a8d8cf75ce3d16afbab6de2452314913136b86213efc',
x86_64: 'e471e82d56d33f1ea7765d287184c481528b1c7277bc703f00bca36a8c928400'
})
depends_on 'glib_networking'
depends_on 'libpsl'
depends_on 'sqlite'
depends_on 'vala'
depends_on 'llvm'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
......
......@@ -8,6 +8,19 @@ class Libspatialindex < Package
source_url 'https://github.com/libspatialindex/libspatialindex/archive/1.9.3.tar.gz'
source_sha256 '7b44340a3edc55c11abfc453bb60f148b29f569cef9e1148583e76132e9c7379'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libspatialindex-1.9.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libspatialindex-1.9.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libspatialindex-1.9.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libspatialindex-1.9.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0b9b9ee6376b93b25ec8ac189df684a99a9951831ef985dbe3103d5af5d0c7c9',
armv7l: '0b9b9ee6376b93b25ec8ac189df684a99a9951831ef985dbe3103d5af5d0c7c9',
i686: '2d1b5785514e7ba09f09d2693ea8a916dedbc04fd55d6643685793fd7c645d02',
x86_64: 'd42e7d8369a4ace82bfaa3638a42174e13b21db67248f2ca893908694e868cd7',
})
def self.build
Dir.mkdir "builddir"
Dir.chdir "builddir" do
......@@ -19,5 +32,6 @@ class Libspatialindex < Package
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
FileUtils.mv "#{CREW_DEST_PREFIX}/lib", CREW_DEST_LIB_PREFIX if ARCH == 'x86_64'
end
end
......@@ -3,41 +3,46 @@ require 'package'
class Libssh < Package
description 'libssh is a multiplatform C library implementing the SSHv2 and SSHv1 protocol on client and server side.'
homepage 'https://www.libssh.org/'
version '0.9.5'
@_ver = '0.9.5'
version "#{@_ver}-1"
compatibility 'all'
source_url 'https://www.libssh.org/files/0.9/libssh-0.9.5.tar.xz'
@_ver_prelastdot = @_ver.rpartition('.')[0]
source_url "https://www.libssh.org/files/#{@_ver_prelastdot}/libssh-#{@_ver}.tar.xz"
source_sha256 'acffef2da98e761fc1fd9c4fddde0f3af60ab44c4f5af05cd1b2d60a3fa08718'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libssh-0.9.5-1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '45e7c8962944c4ac002e9cc979dbd2cf489bb83c7a655c7d06765eebb92fee14',
armv7l: '45e7c8962944c4ac002e9cc979dbd2cf489bb83c7a655c7d06765eebb92fee14',
i686: '84bb42a662fa7c7c4e7e74e014f9fa489c48150ec24c89da7b44241b4da7dae8',
x86_64: '1e288d85f122cf5fbce82464aa665bf453fdb70eb306eb891f39a4ef61b4de43',
binary_sha256({
aarch64: '7823ea3948867ed6b44ff1d62334aa011db8d3e07452c5a6312f5873a26d681c',
armv7l: '7823ea3948867ed6b44ff1d62334aa011db8d3e07452c5a6312f5873a26d681c',
i686: '07e75554e44aaef4210d9bf6a17b098953d03054ff5f2614dc4c4719d6936d8b',
x86_64: 'a3f1c7727f88271291316d186698e2c94afd275493f3b27e93f2eb152679970e'
})
depends_on 'libgcrypt'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system "cmake \
#{CREW_CMAKE_OPTIONS} \
-DCMAKE_C_FLAGS='-fstack-protector-strong' \
-DWITH_GCRYPT=ON \
.."
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake -G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DWITH_STACK_PROTECTOR_STRONG=NO \
-DWITH_STACK_CLASH_PROTECTION=NO \
-DWITH_STACK_PROTECTOR=NO \
-DWITH_GCRYPT=ON \
.."
end
system 'ninja -C builddir'
end
def self.install
Dir.chdir 'build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -3,29 +3,31 @@ require 'package'
class Libuv < Package
description 'libuv is a multi-platform support library with a focus on asynchronous I/O.'
homepage 'http://libuv.org/'
version '1.33.1'
@_ver = '1.39.0'
version @_ver
compatibility 'all'
source_url 'https://dist.libuv.org/dist/v1.33.1/libuv-v1.33.1.tar.gz'
source_sha256 'b4b5dc15103f7bbfecb81a0a9575841fdb7217b9f709634be8118972c1c8ce27'
source_url "https://dist.libuv.org/dist/v#{@_ver}/libuv-v#{@_ver}.tar.gz"
source_sha256 '5c52de5bdcfb322dbe10f98feb56e45162e668ad08bc28ab4b914d4f79911697'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.33.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.33.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.33.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.33.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.39.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.39.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.39.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libuv-1.39.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'a03bac49ca23048badd32c4bcdebd9a1acb948e87c1e8a44011214ebbd946c07',
armv7l: 'a03bac49ca23048badd32c4bcdebd9a1acb948e87c1e8a44011214ebbd946c07',
i686: '44c2c3146a1123a82588183f6291d9365e10a9497b7854a7e8e89d564c875052',
x86_64: '679bc3ae5d4ff33b335840fff43087fc2144619eeb678f5c047689c74840faf8',
binary_sha256({
aarch64: '4b844ba4a96f39e12b4a691c96d76726de85ced70ca4eda8dcc5f6f02fc56b13',
armv7l: '4b844ba4a96f39e12b4a691c96d76726de85ced70ca4eda8dcc5f6f02fc56b13',
i686: '49ad521137cca7a9384d84f3bf88b232edabf9ad9e26f40d1c543ea6975ed5ce',
x86_64: '49f142a0b9e09c4b48a6d9dbac1b20fb2e579536af9391d04c06fb0ef9693844'
})
def self.build
system './autogen.sh'
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,30 +3,32 @@ require 'package'
class Libva < Package
description 'Libva is an implementation for VA-API (VIdeo Acceleration API)'
homepage 'https://01.org/linuxmedia'
version '2.10.0'
@_ver = '2.10.0'
version "#{@_ver}-1"
compatibility 'all'
source_url 'https://github.com/intel/libva/releases/download/2.10.0/libva-2.10.0.tar.bz2'
source_url "https://github.com/intel/libva/releases/download/#{@_ver}/libva-#{@_ver}.tar.bz2"
source_sha256 'fa81e35b50d9818fce5ec9eeeeff08a24a8864ceeb9a5c8e7ae4446eacfc0236'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '5f66aaac102c5c21759a5f4e7395a79b94292f3aa653d970ce0460fdfa2cbfa6',
armv7l: '5f66aaac102c5c21759a5f4e7395a79b94292f3aa653d970ce0460fdfa2cbfa6',
i686: '0511fbc6c345dbf98d46638a20e8ed53341fc9dbe415792217181d535e9819f0',
x86_64: '500ce66bbf4884373920cc09cc5eea80e6d4864c274b8f93e9bc4ffe2394263a',
binary_sha256({
aarch64: 'f15abb28fabd3705d576c431e0f33f4e0d66d4d91265dc48c85c0025bdf27718',
armv7l: 'f15abb28fabd3705d576c431e0f33f4e0d66d4d91265dc48c85c0025bdf27718',
i686: '67c020e5b9d42b3d1ad30bbda26ade95bc50c2e2d32d61c01953d2bc85caf8d1',
x86_64: '6c226597b4cce0c915a83e493fe43d470b31b87c4a21b74bb17cfcdbcb683c77'
})
depends_on 'llvm' => ':build'
depends_on 'libdrm'
def self.build
ENV['CXXFLAGS'] = "-fuse-ld=lld"
system "./configure #{CREW_OPTIONS}"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
......
require 'package'
class Libvips < Package
description 'A fast image processing library with low memory needs'
homepage 'https://libvips.github.io/libvips/'
@_ver = '8.10.6-beta'
version @_ver
compatibility 'all'
source_url "https://github.com/libvips/libvips/archive/v#{@_ver}.tar.gz"
source_sha256 '975371c3650dbfedbde012b6573034338b0bb8f03d5df8d031abb80c3b4c9014'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libvips-8.10.6-beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libvips-8.10.6-beta-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libvips-8.10.6-beta-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libvips-8.10.6-beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '64f9cad9ad9287b1c57086adec379640676a4a456b3e753d9e7797fe0ee92ec7',
armv7l: '64f9cad9ad9287b1c57086adec379640676a4a456b3e753d9e7797fe0ee92ec7',
i686: '504779b4a009c269dc19dc4f3bb0ad60512dc53da38bfbba3507c959540e3d37',
x86_64: '3d719741999b3e75ab54788b99d0468217b539ec9e79d1f672a71f14002a6c96'
})
depends_on 'cfitsio'
depends_on 'fftw'
depends_on 'imagemagick'
depends_on 'libexif'
depends_on 'libgsf'
depends_on 'libheif'
depends_on 'libimagequant'
depends_on 'librsvg'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system 'filefix'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
require 'package'
class Libxcrypt < Package
description 'Modern library for one-way hashing of passwords'
homepage 'https://github.com/besser82/libxcrypt/'
@_ver = '4.4.18'
version @_ver
compatibility 'all'
source_url "https://github.com/besser82/libxcrypt/archive/v#{@_ver}.tar.gz"
source_sha256 '3801f0263a8596b15ec466343fc1fdc4ad4ec7416c51e038a3528fd47f3be01a'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxcrypt-4.4.18-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxcrypt-4.4.18-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxcrypt-4.4.18-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxcrypt-4.4.18-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '5be9496841308529004f767f689f9d0ad681700e12db213f2f94742aec99e1d3',
armv7l: '5be9496841308529004f767f689f9d0ad681700e12db213f2f94742aec99e1d3',
i686: 'c06e88bb39f787c294dbbdb5497887a6b58b24d586965ece1d9915dd3cd82e0c',
x86_64: '36f1ed8e9d2889c62c2eb4f9d98808fcae9400d376e1b6cd8367550998a8188c'
})
def self.build
system 'autoreconf -fi'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--disable-static \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no \
--disable-failure-tokens"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
require 'package'
class Libxss < Package
description 'X11 Screen Saver extension library'
homepage 'https://gitlab.freedesktop.org/xorg/lib/libxscrnsaver'
@_ver = '1.2.3'
version @_ver
compatibility 'all'
source_url "https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-#{@_ver}.tar.bz2"
source_sha256 'f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'cec3f0b92f4c56b7ec262ec05356f6304b6e5e651f3074abdb08177a4ef10099',
armv7l: 'cec3f0b92f4c56b7ec262ec05356f6304b6e5e651f3074abdb08177a4ef10099',
i686: 'a7c94cac209cda5532aba55897b7334586881757f47eeaaf136e64b9f5cdeb0a',
x86_64: '4de949279407adf9abf83328e51e7d86c0630ec2eae6925aa3fc02fe4a0166a5'
})
depends_on 'libxext'
depends_on 'util_macros' => ':build'
def self.build
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -3,29 +3,18 @@ require 'package'
class Libxvmc < Package
description 'X.org X-Video Motion Compensation Library'
homepage 'http://www.x.org'
version '1.0.10'
version '1.0.12'
compatibility 'all'
source_url 'https://www.x.org/archive/individual/lib/libXvMC-1.0.10.tar.gz'
source_sha256 'd8306f71c798d10409bb181b747c2644e1d60c05773c742c12304ab5aa5c8436'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxvmc-1.0.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxvmc-1.0.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxvmc-1.0.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxvmc-1.0.10-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ac5519046391db14195055a0b9c48805b1cdc1120127a4e2c432efa6577165b9',
armv7l: 'ac5519046391db14195055a0b9c48805b1cdc1120127a4e2c432efa6577165b9',
i686: 'ae47a4220ce08f0e85c0e6ad8a207b857f335be8f1f8e5bc4547f287ec5ebfbd',
x86_64: '2194a2e6fd9da51ba1f77f10940c1013a355b50995cc34ca882cb0cf41515734',
})
source_url 'https://www.x.org/archive/individual/lib/libXvMC-1.0.12.tar.gz'
source_sha256 '024c9ec4f001f037eeca501ee724c7e51cf287eb69ced8c6126e16e7fa9864b5'
depends_on 'libxv'
depends_on 'libx11'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system "make"
end
......
require 'package'
class Libyuv < Package
description 'Library for YUV scaling'
homepage 'https://chromium.googlesource.com/libyuv/libyuv/'
version 'd470'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libyuv-d470-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libyuv-d470-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libyuv-d470-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libyuv-d470-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '7fa394f0b0e7da7ccb54fa49dd04ee1fc794eee1518c6a9a39743ab006ca7dd0',
armv7l: '7fa394f0b0e7da7ccb54fa49dd04ee1fc794eee1518c6a9a39743ab006ca7dd0',
i686: '15f7bb558997c8a437997d61aa7a16aed327a87cf50e0d7504373ba9b6796c79',
x86_64: 'e4a3761380386ef8fa07c95b195eedfd4cae05616d5ee3af4e55ae761010efff'
})
depends_on 'libjpeg'
def self.prebuild
@git_dir = 'libyuv_git'
@git_hash = 'd47031c0d42efa8f10842e36f7b8135b52bcd3d0'
@git_url = 'https://chromium.googlesource.com/libyuv/libyuv'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build
Dir.mkdir 'libyuv_git/builddir'
Dir.chdir 'libyuv_git/builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
.."
end
system 'ninja -C libyuv_git/builddir'
system 'du -a libyuv_git/builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C libyuv_git/builddir install"
Dir.chdir CREW_DEST_PREFIX do
FileUtils.mv 'lib', 'lib64' if ARCH == 'x86_64'
end
end
end
......@@ -8,6 +8,19 @@ class Lua < Package
source_url 'https://www.lua.org/ftp/lua-5.4.2.tar.gz'
source_sha256 '11570d97e9d7303c0a59567ed1ac7c648340cd0db10d5fd594c09223ef2f524f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.4.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.4.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.4.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.4.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1d9a0982da7b59fa17892c699f2818ee137a1eaba895da3519c67e71b4aabd6d',
armv7l: '1d9a0982da7b59fa17892c699f2818ee137a1eaba895da3519c67e71b4aabd6d',
i686: '8c04a985efa92609659cb618efd59086c7b57ae7ca3f101ebb6bf68d13a127a9',
x86_64: 'a063effc0721cc63a4872338a6d139e2f5b8611e1eb3b9391c111444279d88f0',
})
def self.build
system "make PLAT=linux-readline"
end
......
......@@ -8,6 +8,19 @@ class Makedepend < Package
source_url 'https://www.x.org/releases/individual/util/makedepend-1.0.6.tar.gz'
source_sha256 '845f6708fc850bf53f5b1d0fb4352c4feab3949f140b26f71b22faba354c3365'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/makedepend-1.0.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/makedepend-1.0.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/makedepend-1.0.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/makedepend-1.0.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cdae9433b0ce1dbf949eac2ba2ccf48561ee1357e3f63b28b76c70eeaecedaa3',
armv7l: 'cdae9433b0ce1dbf949eac2ba2ccf48561ee1357e3f63b28b76c70eeaecedaa3',
i686: 'c66619549ef4a3b57aff4178002efaabad1e0a3aa7424eb92aa510b1ee0e7d5d',
x86_64: 'e4206936533ceacd2cef5c93b42ef119d11339e9faf0a381a4b0c7b950124cea',
})
depends_on 'libx11'
def self.build
......
......@@ -3,39 +3,37 @@ require 'package'
class Mandb < Package
description 'mandb is used to initialize or manually update index database caches that are usually maintained by man.'
homepage 'http://man-db.nongnu.org/'
version '2.9.3'
@_ver = '2.9.4'
version @_ver
compatibility 'all'
source_url 'https://download.savannah.gnu.org/releases/man-db/man-db-2.9.3.tar.xz'
source_sha256 'fa5aa11ab0692daf737e76947f45669225db310b2801a5911bceb7551c5597b8'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-x86_64.tar.xz',
source_url "https://download.savannah.gnu.org/releases/man-db/man-db-#{@_ver}.tar.xz"
source_sha256 'b66c99edfad16ad928c889f87cf76380263c1609323c280b3a9e6963fdb16756'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.4-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '8bad5f96c6b1259cf8c13e72759bf13ddbd74cb76d3ea03a330b9b3b2da7bce6',
armv7l: '8bad5f96c6b1259cf8c13e72759bf13ddbd74cb76d3ea03a330b9b3b2da7bce6',
i686: '336d1b5cd1b6d0abfafd0b9c12e925ccd3e239acca9c55b09835fe9ada917736',
x86_64: 'e6023a153a255916cda39d0598c8cfa7b38345b6c69d5bf61babd54fec66f624',
binary_sha256({
aarch64: 'ccd36d83dc2dcb04d003a79fd503273ebd06a77d4da618f7033d537fda537d4e',
armv7l: 'ccd36d83dc2dcb04d003a79fd503273ebd06a77d4da618f7033d537fda537d4e',
i686: '97a79a235a9ab3c3f077ddf462a79d9d17ff3ff6cd35145321d790253775387f',
x86_64: '30939c206bd1adc66a33a8157d749b288a3726a995a8eb318c057104807c138d'
})
depends_on 'gdbm'
depends_on 'groff'
depends_on 'libpipeline'
depends_on 'libseccomp'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--with-systemdtmpfilesdir=#{CREW_PREFIX}/etc/tmpfiles.d", # we can't write to /usr/lib/tmpfiles.d
'--disable-cache-owner', # we can't create the user 'man'
"--with-pager=#{CREW_PREFIX}/bin/most" # the pager is not at the default location
system 'make'
end
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/cache/man"
def self.patch
system "sed -i 's,/usr/man,#{CREW_PREFIX}/share/man,g' src/man_db.conf.in"
[
'src/man_db.conf.in',
'tools/chconfig'
].each do |file|
system "sed -i 's,/usr/share/man,#{CREW_PREFIX}/share/man,g' #{file}"
end
[
'include/manconfig.h.in',
'src/manp.c',
......@@ -48,14 +46,46 @@ class Mandb < Package
'man/man8/accessdb.man8',
'man/man8/mandb.man8',
'tools/chconfig'
].each { |file|
].each do |file|
system "sed -i 's,/var/cache/man,#{CREW_PREFIX}/cache/man,g' #{file}"
}
system "sed -i 's,/usr/share/man,#{CREW_PREFIX}/share/man,g' tools/chconfig"
end
end
def self.build
raise StandardError, 'Please remove libiconv before building.' if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so")
# we can't write to /usr/lib/tmpfiles.d
# we can't create the user 'man'
# the pager is not at the default location
system './configure --help'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--with-systemdtmpfilesdir=#{CREW_PREFIX}/etc/tmpfiles.d \
--disable-cache-owner \
--disable-setuid \
--enable-automatic-create \
--enable-static \
--without-libiconv-prefix \
--disable-rpath \
--with-pager=#{CREW_PREFIX}/bin/most"
system 'make'
end
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/cache/man"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.postinstall
system 'mandb -c'
system "env MANPATH=#{CREW_MAN_PREFIX} mandb -psc"
pager_in_bashrc = `grep -c "PAGER" ~/.bashrc || true`
unless pager_in_bashrc.to_i.positive?
puts 'Putting PAGER=most in ~/.bashrc'.lightblue
system "echo 'export PAGER=most' >> ~/.bashrc"
puts 'To complete the installation, execute the following:'.orange
puts 'source ~/.bashrc'.orange
end
end
end
require 'package'
class Mobile_broadband_provider_info < Package
description 'Network Management daemon'
homepage 'https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info'
@_ver = '20201225'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info/-/archive/#{@_ver}/mobile-broadband-provider-info-#{@_ver}.tar.bz2"
source_sha256 '0616b3d0580575741d4319ac71ca67c9a378879943d32a67ac0460615767bcdf'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mobile_broadband_provider_info-20201225-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mobile_broadband_provider_info-20201225-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mobile_broadband_provider_info-20201225-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mobile_broadband_provider_info-20201225-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'bcd1950197cad4165f2ae459e479a33ffdf923f8ba15825bf1a7b98759c2ae6e',
armv7l: 'bcd1950197cad4165f2ae459e479a33ffdf923f8ba15825bf1a7b98759c2ae6e',
i686: 'ef85604f9bd2d1094e3a36191c2f30d3e94d75b060e78a85c2a1d42819f8d453',
x86_64: '38026295f81010e8e1a311d5f0c28322b4059213bf012a9897b9b8a8a2a43335'
})
depends_on 'libxslt'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -3,36 +3,39 @@ require 'package'
class Modemmanager < Package
description 'ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections.'
homepage 'https://www.freedesktop.org/wiki/Software/ModemManager/'
version '1.8.2'
@_ver = '1.16.2'
version @_ver
compatibility 'all'
source_url 'https://www.freedesktop.org/software/ModemManager/ModemManager-1.8.2.tar.xz'
source_sha256 '96f2a5f0ed15532b4c4c185b756fdc0326e7c2027cea26a1264f91e098260f80'
source_url "https://www.freedesktop.org/software/ModemManager/ModemManager-#{@_ver}.tar.xz"
source_sha256 'efa9a963499e0885f3f163096d433334143c4937545134ecd682e0157fa591e3'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.8.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.8.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.8.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.8.2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.16.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.16.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.16.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/modemmanager-1.16.2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'fafa7f2a98d6d68491db64205063c636a24662a8097c303d73e0b2ab660d0800',
armv7l: 'fafa7f2a98d6d68491db64205063c636a24662a8097c303d73e0b2ab660d0800',
i686: '18c4897f2fa06868b3b39c1b06c7351ef42f05629c33011f17c837d9c6206593',
x86_64: 'bb5304352a96304749c0f969e24dde97e2c58a307f73ed53882afdb293648f55',
binary_sha256({
aarch64: '63659ccd41a81696e3ac2036d21bcb2279bd3b9aff60de09ef2fbd443712c711',
armv7l: '63659ccd41a81696e3ac2036d21bcb2279bd3b9aff60de09ef2fbd443712c711',
i686: 'be289c76c0103c0a66017f52dbb5c61bcee619f1fca8f160195adfb8d4d8b07f',
x86_64: '290c162bd314ba5d52cdc5f3a9d8abe1efc78349214392c237885653cfdf76a2'
})
depends_on 'libmbim'
depends_on 'libqmi'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \
--with-dbus-sys-dir=#{CREW_PREFIX}/share/dbus-1 \
--disable-maintainer-mode"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,39 +3,40 @@ require 'package'
class Mono < Package
description 'Mono is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation.'
homepage 'http://www.mono-project.com/'
version '6.12.0.107'
@_ver = '6.12.0.122'
version @_ver
compatibility 'all'
source_url 'https://download.mono-project.com/sources/mono/mono-6.12.0.107.tar.xz'
source_sha256 '61f3cd629f8e99371c6b47c1f8d96b8ac46d9e851b5531eef20cdf9ab60d2a5f'
source_url "https://download.mono-project.com/sources/mono/mono-#{@_ver}.tar.xz"
source_sha256 '29c277660fc5e7513107aee1cbf8c5057c9370a4cdfeda2fc781be6986d89d23'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.107-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.107-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.107-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.107-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.122-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.122-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.122-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.12.0.122-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '0a978da374a9ee65506283b67be2cbae8aa5ca4f52d2db776120b4efe7654d0d',
armv7l: '0a978da374a9ee65506283b67be2cbae8aa5ca4f52d2db776120b4efe7654d0d',
i686: 'f39118c36d3356e6ad3c934041821dd9d22a0d60200b4e67a4efb6f9dbb88a65',
x86_64: '4b32a060c7bfefdb6d57f419df73b57ae39ff79ea1bb7fca5605c9db8aae9b92'
aarch64: '78cb6f2adb3dde24509316cc5e7e351a5ece0fbf2dbeae8d8b6c9f88a9381be9',
armv7l: '78cb6f2adb3dde24509316cc5e7e351a5ece0fbf2dbeae8d8b6c9f88a9381be9',
i686: '53e9e0e6b21dc469a1e70df8e15ee9755b384d5ae4e2c7bd8199d23e265c6004',
x86_64: '35ec73376194b71d40ab8e57e01bffb0ec29c43ac66be3a995b03e522abbf017'
})
depends_on 'bc'
depends_on 'libgdiplus'
depends_on 'imake' => :build
def self.prebuild
# Just build on a system or on a container booted from a kernel
# with SYSVIPC=y set.
# system 'if [ ! -f /proc/config.gz ]; then sudo modprobe configs -v; fi'
# system 'cat /proc/config.gz | gunzip | grep SYSVIPC=y || false' # Mono build hangs without this feature enabled.
# Just build on a system or on a container booted from a kernel
# with SYSVIPC=y set.
# system 'if [ ! -f /proc/config.gz ]; then sudo modprobe configs -v; fi'
# system 'cat /proc/config.gz | gunzip | grep SYSVIPC=y || false' # Mono build hangs without this feature enabled.
end
def self.patch
system 'filefix'
end
def self.build
system "env XMKMF=#{CREW_PREFIX}/bin/xmkmf \
./configure #{CREW_OPTIONS} \
......@@ -48,7 +49,7 @@ class Mono < Package
--with-libgdiplus"
system 'make || make' # Make might fail the first time. This is a known upstream bug.
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
......
require 'package'
class Mutter < Package
description 'A window manager for GNOME'
homepage 'https://gitlab.gnome.org/GNOME/mutter'
version '40.beta'
compatibility 'x86_64 aarch64 armv7l'
source_url "https://download.gnome.org/core/40/#{version}/sources/mutter-#{version}.tar.xz"
source_sha256 '22aa7f8a57dbef865bc4e9b88f8fb91f45f18157d70f218199238bc10c25b1a6'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mutter-40.beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mutter-40.beta-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mutter-40.beta-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '6120122d259d3309e5244e06d793d67c7f41327ab1c177422adf0940c1f58c72',
armv7l: '6120122d259d3309e5244e06d793d67c7f41327ab1c177422adf0940c1f58c72',
x86_64: '213c59512a34b6fdc0f2e3f709be654c826742dc50ef20e3d796d92188914900'
})
depends_on 'dconf'
depends_on 'gnome_settings_daemon'
depends_on 'gsettings_desktop_schemas'
depends_on 'gobject_introspection' => ':build'
depends_on 'xorg_server' => ':build'
depends_on 'libinput'
depends_on 'libwacom'
depends_on 'startup_notification'
depends_on 'pipewire'
depends_on 'libcanberra'
depends_on 'ccache' => :build
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dtests=false \
-Dprofiler=false \
-Dopengl=true \
-Dglx=true \
-Dwayland=true \
-Dnative_backend=true \
-Dcogl_tests=true \
-Dxwayland_path=#{CREW_PREFIX}/bin/Xwayland \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,6 +8,19 @@ class Nuitka < Package
source_url 'https://github.com/Nuitka/Nuitka/archive/0.6.12.3.tar.gz'
source_sha256 '4f65349b87c3ffc297e19251308d743ee8b5ef09b695c134d6a46ec89d255216'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nuitka-0.6.12.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nuitka-0.6.12.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nuitka-0.6.12.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nuitka-0.6.12.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '34b1e243d748254248e460992194b40cc79813cb9d59bf01a1c940e2c3519725',
armv7l: '34b1e243d748254248e460992194b40cc79813cb9d59bf01a1c940e2c3519725',
i686: '96be8a2d57245d5f9414bd13242f3e6ae5ab5927a8455afbddd43d27a45b83ce',
x86_64: '5ef1b47e0ec8a22c3852c1ba7b11efc5034558db2ef231f2e23bbe7628b558d9',
})
def self.install
system "python3 -m pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I nuitka==#{version} --no-warn-script-location"
end
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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