Commit 66b3c69e authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add pre-built binaries for packages b-x (#4708)

parent dd310f60
...@@ -8,13 +8,26 @@ class Bash < Package ...@@ -8,13 +8,26 @@ class Bash < Package
source_url 'https://ftpmirror.gnu.org/bash/bash-5.1-rc2.tar.gz' source_url 'https://ftpmirror.gnu.org/bash/bash-5.1-rc2.tar.gz'
source_sha256 'f3274290260e2c74a2ec61606cc932cc0e093028d55c779cf2c7907bdb60abc0' source_sha256 'f3274290260e2c74a2ec61606cc932cc0e093028d55c779cf2c7907bdb60abc0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bash-5.1-rc2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bash-5.1-rc2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bash-5.1-rc2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bash-5.1-rc2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '562213c4787968ce3288bbf1d2386da08f4c91b0138a4f4837de5cfc7f10eabc',
armv7l: '562213c4787968ce3288bbf1d2386da08f4c91b0138a4f4837de5cfc7f10eabc',
i686: '534048335a150bec1db6c7c3a717b550bc3fd80c8693aa2eb5b30298d5df3a85',
x86_64: '8637084b5d2d0d33c6f4df06f9fa99624f59de4f845ef4b1e68335790e881eb0',
})
def self.build def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}" system './configure', "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make" system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.ln_s "#{CREW_PREFIX}/bin/bash", "#{CREW_DEST_PREFIX}/bin/sh" FileUtils.ln_s "#{CREW_PREFIX}/bin/bash", "#{CREW_DEST_PREFIX}/bin/sh"
end end
...@@ -24,5 +37,6 @@ class Bash < Package ...@@ -24,5 +37,6 @@ class Bash < Package
puts "echo '# Make newer version of bash startup automatically' >> ~/.bashrc".lightblue puts "echo '# Make newer version of bash startup automatically' >> ~/.bashrc".lightblue
puts "echo '#{CREW_PREFIX}/bin/sh' >> ~/.bashrc".lightblue puts "echo '#{CREW_PREFIX}/bin/sh' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue puts "source ~/.bashrc".lightblue
puts
end end
end end
...@@ -8,7 +8,18 @@ class Cups < Package ...@@ -8,7 +8,18 @@ class Cups < Package
source_url 'https://github.com/OpenPrinting/cups/archive/v2.3.3op1.tar.gz' source_url 'https://github.com/OpenPrinting/cups/archive/v2.3.3op1.tar.gz'
source_sha256 '64148c7f7c0d2b2715db1be2fb557042ccb0b0f19a03456a83fbf6353bb73c89' source_sha256 '64148c7f7c0d2b2715db1be2fb557042ccb0b0f19a03456a83fbf6353bb73c89'
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_sha256 ({
aarch64: '60913c27b5497ec10aca5df086a0f0fa8f73e78b598feba8a3da378cc1209e3e',
armv7l: '60913c27b5497ec10aca5df086a0f0fa8f73e78b598feba8a3da378cc1209e3e',
i686: '329feb5a3de9327a6f840d7f2591a3857d844388090db32b365a81ba77ecde41',
x86_64: '29c084f76614805e3c8deb3620d422a6f4f4e52cbab587d2fa7835561481848b',
})
depends_on 'acl' depends_on 'acl'
depends_on 'krb5' depends_on 'krb5'
...@@ -52,7 +63,7 @@ class Cups < Package ...@@ -52,7 +63,7 @@ class Cups < Package
end end
def self.install def self.install
system "make", system 'make',
"DESTDIR=#{CREW_DEST_DIR}", "DESTDIR=#{CREW_DEST_DIR}",
"DATADIR=#{CREW_DEST_PREFIX}/share/cups", "DATADIR=#{CREW_DEST_PREFIX}/share/cups",
"DOCDIR=#{CREW_DEST_PREFIX}/share/doc/cups", "DOCDIR=#{CREW_DEST_PREFIX}/share/doc/cups",
...@@ -64,7 +75,7 @@ class Cups < Package ...@@ -64,7 +75,7 @@ class Cups < Package
"SERVERBIN=#{CREW_DEST_PREFIX}/libexec/cups", "SERVERBIN=#{CREW_DEST_PREFIX}/libexec/cups",
"CACHEDIR=#{CREW_DEST_PREFIX}/var/cache/cups", "CACHEDIR=#{CREW_DEST_PREFIX}/var/cache/cups",
"LOCALEDIR=#{CREW_DEST_PREFIX}/share/locale", "LOCALEDIR=#{CREW_DEST_PREFIX}/share/locale",
"install" 'install'
system "install -Dm755 startcupsd #{CREW_DEST_PREFIX}/bin/startcupsd" system "install -Dm755 startcupsd #{CREW_DEST_PREFIX}/bin/startcupsd"
system "install -Dm755 stopcupsd #{CREW_DEST_PREFIX}/bin/stopcupsd" system "install -Dm755 stopcupsd #{CREW_DEST_PREFIX}/bin/stopcupsd"
FileUtils.rm "#{CREW_DEST_DIR}/etc/dbus-1/system.d/cups.conf" FileUtils.rm "#{CREW_DEST_DIR}/etc/dbus-1/system.d/cups.conf"
......
...@@ -8,18 +8,30 @@ class Enchant < Package ...@@ -8,18 +8,30 @@ class Enchant < Package
source_url 'https://github.com/AbiWord/enchant/archive/v2.2.13.tar.gz' source_url 'https://github.com/AbiWord/enchant/archive/v2.2.13.tar.gz'
source_sha256 '783d2e847ee0a49b0552f1c5584a1c93b8ba7e93d4bd95887fc4644fb10b8563' source_sha256 '783d2e847ee0a49b0552f1c5584a1c93b8ba7e93d4bd95887fc4644fb10b8563'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/enchant-2.2.13-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/enchant-2.2.13-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/enchant-2.2.13-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/enchant-2.2.13-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '78082be8cb3c5f1f6c37a80d1f1cfdc634db65b01f14199aeee7fe7702536a81',
armv7l: '78082be8cb3c5f1f6c37a80d1f1cfdc634db65b01f14199aeee7fe7702536a81',
i686: 'e3984a9b8462d07b3c811650c7fac072936172d7a695099db3162bff664698da',
x86_64: 'eb517cf71ab7e0d54cae2027ffc59c4ece70427d2e7764fc60f45c3cb8c9b02f',
})
depends_on 'aspell_en' depends_on 'aspell_en'
depends_on 'hunspell' depends_on 'hunspell'
depends_on 'gnupg' depends_on 'gnupg'
def self.build def self.build
system "./bootstrap" system './bootstrap'
system "./configure #{CREW_OPTIONS} --with-hunspell --with-aspell" system "./configure #{CREW_OPTIONS} --with-hunspell --with-aspell"
system 'make' system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
...@@ -8,6 +8,18 @@ class Fribidi < Package ...@@ -8,6 +8,18 @@ class Fribidi < Package
source_url 'https://github.com/fribidi/fribidi/archive/v1.0.10.tar.gz' source_url 'https://github.com/fribidi/fribidi/archive/v1.0.10.tar.gz'
source_sha256 '3ebb19c4184ed6dc324d2e291d7465bc6108a20be019f053f33228e07e879c4f' source_sha256 '3ebb19c4184ed6dc324d2e291d7465bc6108a20be019f053f33228e07e879c4f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/fribidi-1.0.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/fribidi-1.0.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/fribidi-1.0.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fribidi-1.0.10-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1200e97b55266d2640939faf5d63fb587819d699f248ff65a957263f346e9546',
armv7l: '1200e97b55266d2640939faf5d63fb587819d699f248ff65a957263f346e9546',
i686: '85d3bb92cfbaeacd1c59e68a1be89837f4c626ff8c7b12a754550030ea64b1f9',
x86_64: 'c6785afffafa8144c59319e6629566b3d984f0af685c0ae5acc928bc4f3522fa',
})
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} -Ddocs=false -Dtests=false build" system "meson #{CREW_MESON_OPTIONS} -Ddocs=false -Dtests=false build"
......
...@@ -8,6 +8,18 @@ class Glib_networking < Package ...@@ -8,6 +8,18 @@ class Glib_networking < Package
source_url 'https://github.com/GNOME/glib-networking/archive/2.66.0.tar.gz' source_url 'https://github.com/GNOME/glib-networking/archive/2.66.0.tar.gz'
source_sha256 '186a670c00525d62aa160bc3e492d9efd2f59c540c50477982eb732ed62ee96c' source_sha256 '186a670c00525d62aa160bc3e492d9efd2f59c540c50477982eb732ed62ee96c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glib_networking-2.66.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glib_networking-2.66.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/glib_networking-2.66.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glib_networking-2.66.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '5ec999a6e4353ea7d38d018e29f6e3afb66203d8336135edcd773028715e0955',
armv7l: '5ec999a6e4353ea7d38d018e29f6e3afb66203d8336135edcd773028715e0955',
i686: '9336de8df82c434274c2b7ccdb206dc4bd3603ec1e9e8f97b85071bf97524131',
x86_64: 'fd74a47da0dce066856b4105673187db2e411d032e59ea8a1f3df646209ccb32',
})
depends_on 'libproxy' depends_on 'libproxy'
depends_on 'gsettings_desktop_schemas' depends_on 'gsettings_desktop_schemas'
...@@ -15,8 +27,8 @@ class Glib_networking < Package ...@@ -15,8 +27,8 @@ class Glib_networking < Package
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} -Dstatic_modules=true builddir" system "meson #{CREW_MESON_OPTIONS} -Dstatic_modules=true builddir"
system "meson configure builddir" system 'meson configure builddir'
system "ninja -C builddir" system 'ninja -C builddir'
end end
def self.install def self.install
......
...@@ -8,15 +8,28 @@ class Gobject_introspection < Package ...@@ -8,15 +8,28 @@ class Gobject_introspection < Package
source_url 'https://download.gnome.org/sources/gobject-introspection/1.66/gobject-introspection-1.66.1.tar.xz' source_url 'https://download.gnome.org/sources/gobject-introspection/1.66/gobject-introspection-1.66.1.tar.xz'
source_sha256 'dd44a55ee5f426ea22b6b89624708f9e8d53f5cc94e5485c15c87cb30e06161d' source_sha256 'dd44a55ee5f426ea22b6b89624708f9e8d53f5cc94e5485c15c87cb30e06161d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.66.1-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.66.1-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.66.1-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.66.1-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1aad738ef27dad976f69f79682b27ed57fb1a8005c495cf743badfcf86ee2c52',
armv7l: '1aad738ef27dad976f69f79682b27ed57fb1a8005c495cf743badfcf86ee2c52',
i686: '92437ff31a46c7a54bf86c17a98d9accd43f3096d3276cc4bd7fe0def389c93a',
x86_64: '9ae418f953bc4985940c065c5c6264b106e87af0841b43c716d91566869784b2',
})
depends_on 'glib' depends_on 'glib'
ENV['CFLAGS'] = "-fuse-ld=lld" ENV['CFLAGS'] = '-fuse-ld=lld'
ENV['CXXFLAGS'] = "-fuse-ld=lld" ENV['CXXFLAGS'] = '-fuse-ld=lld'
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} builddir" system "meson #{CREW_MESON_OPTIONS} builddir"
system "meson configure builddir" system 'meson configure builddir'
system "ninja -C builddir" system 'ninja -C builddir'
end end
def self.install def self.install
......
...@@ -8,6 +8,18 @@ class Libsoup < Package ...@@ -8,6 +8,18 @@ class Libsoup < Package
source_url 'https://download.gnome.org/sources/libsoup/2.72/libsoup-2.72.0.tar.xz' source_url 'https://download.gnome.org/sources/libsoup/2.72/libsoup-2.72.0.tar.xz'
source_sha256 '170c3f8446b0f65f8e4b93603349172b1085fb8917c181d10962f02bb85f5387' source_sha256 '170c3f8446b0f65f8e4b93603349172b1085fb8917c181d10962f02bb85f5387'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsoup-2.72-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'db840c9c32887c274e4c985b88f8a680dc292ed879ac44851b215f9bcaf6fb72',
armv7l: 'db840c9c32887c274e4c985b88f8a680dc292ed879ac44851b215f9bcaf6fb72',
i686: '3fb8c1d5efb9dee130f592b1aae01adf28431e0bdbe9fb33d26026c938e2f74c',
x86_64: 'aba1f475bb62d8fd61702d29054dd0e14d3eb27c0bbc819e25dc51ead23c5756',
})
depends_on 'glib_networking' depends_on 'glib_networking'
depends_on 'libpsl' depends_on 'libpsl'
...@@ -22,8 +34,8 @@ class Libsoup < Package ...@@ -22,8 +34,8 @@ class Libsoup < Package
-Dsysprof=disabled \ -Dsysprof=disabled \
-Dintrospection=disabled \ -Dintrospection=disabled \
builddir" builddir"
system "meson configure builddir" system 'meson configure builddir'
system "ninja -C builddir" system 'ninja -C builddir'
end end
def self.install def self.install
......
...@@ -8,7 +8,18 @@ class Lm_sensors < Package ...@@ -8,7 +8,18 @@ class Lm_sensors < Package
source_url 'https://github.com/lm-sensors/lm-sensors/archive/V3-6-0.tar.gz' source_url 'https://github.com/lm-sensors/lm-sensors/archive/V3-6-0.tar.gz'
source_sha256 '0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197' source_sha256 '0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lm_sensors-3.6.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lm_sensors-3.6.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lm_sensors-3.6.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lm_sensors-3.6.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f823f0cdfd1e20b45169972dc3708ca4f92ac5eaf2a7910436c9a48e2a9764fc',
armv7l: 'f823f0cdfd1e20b45169972dc3708ca4f92ac5eaf2a7910436c9a48e2a9764fc',
i686: '02dc0f9719ad8a8dad023187f39296cfe863d28f7e40247ae6dfda71fc598582',
x86_64: '2561335f0dbe8c442e509bd6ca29751ea3c05c9a6111766ffc2380cb60dff6d1',
})
def self.build def self.build
system "sed -i 's/-Llib -lsensors/-Llib -lsensors -liconv/g' prog/sensors/Module.mk" system "sed -i 's/-Llib -lsensors/-Llib -lsensors -liconv/g' prog/sensors/Module.mk"
...@@ -16,7 +27,7 @@ class Lm_sensors < Package ...@@ -16,7 +27,7 @@ class Lm_sensors < Package
system "sed -i \"/ETCDIR :=/c ETCDIR := #{CREW_PREFIX}\/etc\" Makefile" system "sed -i \"/ETCDIR :=/c ETCDIR := #{CREW_PREFIX}\/etc\" Makefile"
system "make PREFIX=#{CREW_PREFIX}" system "make PREFIX=#{CREW_PREFIX}"
end end
def self.install def self.install
system "make PREFIX=#{CREW_PREFIX} DESTDIR=#{CREW_DEST_DIR} install" system "make PREFIX=#{CREW_PREFIX} DESTDIR=#{CREW_DEST_DIR} install"
end end
......
...@@ -8,11 +8,23 @@ class Mc < Package ...@@ -8,11 +8,23 @@ class Mc < Package
source_url 'https://github.com/MidnightCommander/mc/archive/4.8.25.tar.gz' source_url 'https://github.com/MidnightCommander/mc/archive/4.8.25.tar.gz'
source_sha256 '8a4aa1556a528fbe9140c47aa3d0665155187468a17c3b80a824de5fcbbebae1' source_sha256 '8a4aa1556a528fbe9140c47aa3d0665155187468a17c3b80a824de5fcbbebae1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '5b2e335ad9f3fff1ee7f64f79c3bc0b4b15fd51a6974fa6f11254a99683b887d',
armv7l: '5b2e335ad9f3fff1ee7f64f79c3bc0b4b15fd51a6974fa6f11254a99683b887d',
i686: 'be1e4b7953d540ef610db499db67c55354889c4d305ca96a9dd2a7b90300f3d9',
x86_64: 'be58cc2c96f8cc3c5caddaab9488aa727cc48353e11f9784e7535852886c066c',
})
depends_on 'glib' => :build depends_on 'glib' => :build
depends_on 'aspell' depends_on 'aspell'
ENV['LIBS'] = "-ldl -lssl -lcrypto"
ENV['LIBS'] = '-ldl -lssl -lcrypto'
def self.build def self.build
system './autogen.sh' system './autogen.sh'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_OPTIONS}"
...@@ -20,6 +32,6 @@ ENV['LIBS'] = "-ldl -lssl -lcrypto" ...@@ -20,6 +32,6 @@ ENV['LIBS'] = "-ldl -lssl -lcrypto"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
...@@ -8,6 +8,19 @@ class Nano < Package ...@@ -8,6 +8,19 @@ class Nano < Package
source_url 'https://www.nano-editor.org/dist/v5/nano-5.3.tar.xz' source_url 'https://www.nano-editor.org/dist/v5/nano-5.3.tar.xz'
source_sha256 'c5c1cbcf622d9a96b6030d66409ed12b204e8bc01ef5e6554ebbe6fb1d734352' source_sha256 'c5c1cbcf622d9a96b6030d66409ed12b204e8bc01ef5e6554ebbe6fb1d734352'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nano-5.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nano-5.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nano-5.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nano-5.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c088b2e58da273d13b81f811e29ea8947f53b1b35fc35247c65d238599e70e2f',
armv7l: 'c088b2e58da273d13b81f811e29ea8947f53b1b35fc35247c65d238599e70e2f',
i686: '6fcb71493680e38de8dfc0339203ef432599253a2a1f0f6d34cfbd6839c01eec',
x86_64: 'd9a04eeb1624ccbcf1823a95b00ff6487a04cb49a749abf19a2014a00871e876',
})
depends_on 'xdg_base' depends_on 'xdg_base'
def self.patch def self.patch
......
...@@ -8,10 +8,20 @@ class Screenfetch < Package ...@@ -8,10 +8,20 @@ class Screenfetch < Package
source_url 'https://github.com/KittyKatt/screenFetch/archive/v3.9.1.tar.gz' source_url 'https://github.com/KittyKatt/screenFetch/archive/v3.9.1.tar.gz'
source_sha256 'aa97dcd2a8576ae18de6c16c19744aae1573a3da7541af4b98a91930a30a3178' source_sha256 'aa97dcd2a8576ae18de6c16c19744aae1573a3da7541af4b98a91930a30a3178'
depends_on 'bc' binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/screenfetch-3.9.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/screenfetch-3.9.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/screenfetch-3.9.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/screenfetch-3.9.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3cd66c744cc13b3527d1b0840a7a2093ac45c1bf2fb10871ccc8a63a3e98c948',
armv7l: '3cd66c744cc13b3527d1b0840a7a2093ac45c1bf2fb10871ccc8a63a3e98c948',
i686: '8c601b89335b94383480a9fd0e0fe6ac5fe364d27e4a5a8df19319df9b22aacd',
x86_64: 'dcadb8b83bf61c17e40f0505dca47f50e7b177a55e79614fdf64a3b78410b404',
})
def self.build depends_on 'bc'
end
def self.install def self.install
system "install -Dm755 screenfetch-dev #{CREW_DEST_PREFIX}/bin/screenfetch" system "install -Dm755 screenfetch-dev #{CREW_DEST_PREFIX}/bin/screenfetch"
......
...@@ -7,24 +7,35 @@ class Tint2 < Package ...@@ -7,24 +7,35 @@ class Tint2 < Package
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.com/o9000/tint2/-/archive/v16.7/tint2-v16.7.tar.gz' source_url 'https://gitlab.com/o9000/tint2/-/archive/v16.7/tint2-v16.7.tar.gz'
source_sha256 '74962c1dd111be9955319a133a790b24fe5a8ef0315a1bcdabc58c1157c1fb26' source_sha256 '74962c1dd111be9955319a133a790b24fe5a8ef0315a1bcdabc58c1157c1fb26'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/tint2-16.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/tint2-16.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/tint2-16.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/tint2-16.7-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a975a792b4d533bf2d64a776c20c8b9e5b9a4e6b1243e8206f6051f1afc02c77',
armv7l: 'a975a792b4d533bf2d64a776c20c8b9e5b9a4e6b1243e8206f6051f1afc02c77',
i686: '4fe331c1caebc12e3bd2483ca91dd387df0e0b83c1cf66132c286794efcad04b',
x86_64: '3ed565ee2eddc788b01dfa0e2a77d582646b80eb2ca56bc11384cc09e4e19324',
})
depends_on 'imlib2' depends_on 'imlib2'
depends_on 'gdk_pixbuf' depends_on 'gdk_pixbuf'
ENV['CFLAGS'] = "-lX11 -lXau"
ENV['CFLAGS'] = "-lX11 -lXau"
def self.build def self.build
Dir.mkdir 'build' Dir.mkdir 'build'
Dir.chdir 'build' do Dir.chdir 'build' do
system "cmake .. -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX}" system "cmake .. -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
end end
def self.install def self.install
Dir.chdir 'build' do Dir.chdir 'build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
end end
...@@ -8,6 +8,18 @@ class Twm < Package ...@@ -8,6 +8,18 @@ class Twm < Package
source_url 'https://www.x.org/pub/individual/app/twm-1.0.11.tar.xz' source_url 'https://www.x.org/pub/individual/app/twm-1.0.11.tar.xz'
source_sha256 'f4e8a842dec410e79741f25ed4dfac09df080835d0bba2e3983b5914569b68c7' source_sha256 'f4e8a842dec410e79741f25ed4dfac09df080835d0bba2e3983b5914569b68c7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/twm-1.0.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/twm-1.0.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/twm-1.0.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/twm-1.0.11-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '84bc4882736d4ed174741a07c60404d47cdbad726ac7e9b7ace07012ded84d58',
armv7l: '84bc4882736d4ed174741a07c60404d47cdbad726ac7e9b7ace07012ded84d58',
i686: 'e8c77ddd87e509a4d801bf9383c5ecc9eaa5f8cfaf73818fc3d47f23377689bf',
x86_64: '9108a3204e5b9eb37689aa8e97af6168cf3f4864c29d8d8e4e58ca6355de74a2',
})
depends_on 'xorg_server' depends_on 'xorg_server'
...@@ -17,6 +29,6 @@ class Twm < Package ...@@ -17,6 +29,6 @@ class Twm < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
...@@ -8,6 +8,18 @@ class Xclock < Package ...@@ -8,6 +8,18 @@ class Xclock < Package
source_url 'https://www.x.org/pub/individual/app/xclock-1.0.9.tar.bz2' source_url 'https://www.x.org/pub/individual/app/xclock-1.0.9.tar.bz2'
source_sha256 'cf461fb2c6f2ac42c54d8429ee2010fdb9a1442a370adfbfe8a7bfaf33c123bb' source_sha256 'cf461fb2c6f2ac42c54d8429ee2010fdb9a1442a370adfbfe8a7bfaf33c123bb'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xclock-1.0.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xclock-1.0.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xclock-1.0.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xclock-1.0.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b70ff42097e49252e239a56873c7c1422da7bb545a4828b62997561735bbbd39',
armv7l: 'b70ff42097e49252e239a56873c7c1422da7bb545a4828b62997561735bbbd39',
i686: 'a67eeb8b77425bcd0b90e43ac8d7f9b9ae0a441712238b63ea172addd33bfb35',
x86_64: 'd1af7fe7bf45b9a2b9ea6c58882d40c377603dd82f700e894971125d3ec4c905',
})
depends_on 'xorg_lib' depends_on 'xorg_lib'
......
...@@ -8,6 +8,19 @@ class Xwayland < Package ...@@ -8,6 +8,19 @@ class Xwayland < Package
source_url 'https://gitlab.freedesktop.org/xorg/xserver/-/archive/bc111a2e67e16d4e6d4f3196ab86c22c1e278c45/xserver-bc111a2e67e16d4e6d4f3196ab86c22c1e278c45.tar.bz2' source_url 'https://gitlab.freedesktop.org/xorg/xserver/-/archive/bc111a2e67e16d4e6d4f3196ab86c22c1e278c45/xserver-bc111a2e67e16d4e6d4f3196ab86c22c1e278c45.tar.bz2'
source_sha256 '357e6edb0d7c6107e9e1d5bc4e86ced4f96cad25282b9d1c86796fe3fe60bfa7' source_sha256 '357e6edb0d7c6107e9e1d5bc4e86ced4f96cad25282b9d1c86796fe3fe60bfa7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xwayland-1.20.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xwayland-1.20.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xwayland-1.20.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xwayland-1.20.10-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8235123cf2269d5b69528739ca055100156654452e74126454cb34a0823c8bbb',
armv7l: '8235123cf2269d5b69528739ca055100156654452e74126454cb34a0823c8bbb',
i686: 'e6e305bd7f6f0e93fa670b403a600e06278391ae2fe731638007197b3ae7e404',
x86_64: '3fc26b39b410c9bff20be53f2017cd4e21d2fa4b2c1a320be6632a6139f72189',
})
depends_on 'libepoxy' depends_on 'libepoxy'
depends_on 'xorg_proto' depends_on 'xorg_proto'
depends_on 'libxtrans' depends_on 'libxtrans'
...@@ -73,7 +86,6 @@ class Xwayland < Package ...@@ -73,7 +86,6 @@ class Xwayland < Package
puts "patch3 archive downloaded".lightgreen puts "patch3 archive downloaded".lightgreen
system 'base64 --decode patch3_base64 > patch3' system 'base64 --decode patch3_base64 > patch3'
system 'patch -F 10 --force -p 1 < patch3' system 'patch -F 10 --force -p 1 < patch3'
end end
case ARCH case ARCH
...@@ -128,7 +140,6 @@ basedir=${base%/*} ...@@ -128,7 +140,6 @@ basedir=${base%/*}
# ld.so supports forwarding the binary name. # ld.so supports forwarding the binary name.
LD_ARGV0=\"$0\" LD_ARGV0_REL=\"../bin/Xwayland.sh\" exec \"${basedir}/..#{PEER_CMD_PREFIX}\" --library-path \"${basedir}/../#{ARCH_LIB}\" --inhibit-rpath '' \"${base}.elf\" \"$@\" LD_ARGV0=\"$0\" LD_ARGV0_REL=\"../bin/Xwayland.sh\" exec \"${basedir}/..#{PEER_CMD_PREFIX}\" --library-path \"${basedir}/../#{ARCH_LIB}\" --inhibit-rpath '' \"${base}.elf\" \"$@\"
EOF" EOF"
end end
def self.install def self.install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment