mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
AutoBuild: update-cmake started at 2025-05-06-15UTC (#11877)
* Cmake 4.0.1 => 4.0.2 * Adjust cmake build options to properly set LIBRARY_PATH. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build options. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove 'mold -run' usage as that confuses LIBRARY_PATH overrides. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake * Confirm autotools change works with nano update. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
708ff7ee33
commit
46d5639699
@@ -1,9 +1,9 @@
|
||||
require 'package'
|
||||
require 'buildsystems/autotools'
|
||||
|
||||
class Nano < Package
|
||||
class Nano < Autotools
|
||||
description 'Nano\'s ANOther editor, an enhanced free Pico clone.'
|
||||
homepage 'https://www.nano-editor.org/'
|
||||
version '8.3'
|
||||
version '8.4'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url "https://nano-editor.org/dist/v8/nano-#{version}.tar.xz"
|
||||
@@ -11,10 +11,10 @@ class Nano < Package
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '05f552ef37e31db78a85fa7fa67e5f1163798baed534f5ea18eb49b1dd7e3225',
|
||||
armv7l: '05f552ef37e31db78a85fa7fa67e5f1163798baed534f5ea18eb49b1dd7e3225',
|
||||
i686: 'b741219876a649f8dbe992031f3c1aa6b1199370b31f9da6cb336c44c04d6c33',
|
||||
x86_64: '4335734d6c70c77a1844e2a5f5e3b02e739560d67368bd620c79eb1115b5b341'
|
||||
aarch64: 'afa071654d544a9f11f9a37af985af8c3a4d11468d85c9242a83b60b8cf15541',
|
||||
armv7l: 'afa071654d544a9f11f9a37af985af8c3a4d11468d85c9242a83b60b8cf15541',
|
||||
i686: 'e8de44caf4f82ddf66b8b54e547c542ea16b9b36f11d81458f0dd3882f9f4601',
|
||||
x86_64: '4d4b7ea84e6835f931fccc71cfa095ebe78ef05e0315afb9bfd443dd870dfc37'
|
||||
})
|
||||
|
||||
depends_on 'filecmd' # R
|
||||
@@ -22,10 +22,7 @@ class Nano < Package
|
||||
depends_on 'ncurses' # R
|
||||
depends_on 'zlib' # R
|
||||
|
||||
def self.build
|
||||
system "mold -run \
|
||||
./configure #{CREW_CONFIGURE_OPTIONS} \
|
||||
--enable-browser \
|
||||
configure_options '--enable-browser \
|
||||
--enable-color \
|
||||
--enable-comment \
|
||||
--enable-extra \
|
||||
@@ -46,8 +43,9 @@ class Nano < Package
|
||||
--enable-utf8 \
|
||||
--enable-wordcomp \
|
||||
--enable-wrapping \
|
||||
--enable-year2038"
|
||||
system 'make'
|
||||
--enable-year2038'
|
||||
|
||||
configure_build_extras do
|
||||
open('nanorc', 'w') do |f|
|
||||
f << "set constantshow\n"
|
||||
f << "set fill 72\n"
|
||||
@@ -62,8 +60,7 @@ class Nano < Package
|
||||
end
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install-strip'
|
||||
configure_install_extras do
|
||||
FileUtils.install 'nanorc', "#{CREW_DEST_HOME}/.nanorc", mode: 0o644
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user