mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 23:48:01 -05:00
updater-vala-0.56.18 — vala_bootstrap → 0.56.16,vala → 0.56.18 (#12776)
* Add unbuilt vala to updater-vala-0.56.18 * Refactor vala build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-vala-0.56.18: Build Run on linux/arm/v7. * updater-vala-0.56.18: Package File Update Run on linux/amd64 container. * updater-vala-0.56.18: Package File Update Run on linux/arm/v7 container. * Update git hash for vala_bootstrap. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
18e31637b3
commit
5637b1d218
@@ -1,9 +1,9 @@
|
||||
require 'package'
|
||||
require 'buildsystems/autotools'
|
||||
|
||||
class Vala < Package
|
||||
class Vala < Autotools
|
||||
description 'Vala is a programming language that aims to bring modern programming language features to GNOME developers.'
|
||||
homepage 'https://wiki.gnome.org/Projects/Vala'
|
||||
version '0.56.16'
|
||||
version '0.56.18'
|
||||
license 'LGPL-2.1+'
|
||||
compatibility 'aarch64 armv7l x86_64'
|
||||
source_url 'https://gitlab.gnome.org/GNOME/vala.git'
|
||||
@@ -11,44 +11,25 @@ class Vala < Package
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: 'b0780c098de6f9a613c2c963e390bcebb5bea73222c345874e62fb4f761bafad',
|
||||
armv7l: 'b0780c098de6f9a613c2c963e390bcebb5bea73222c345874e62fb4f761bafad',
|
||||
x86_64: '58f591a559ad11aa772e3107191136c6c4895ca9372fb917a0f22536acd45401'
|
||||
aarch64: '6d503dc7421e47424458112704ce8e7597720fd5e9ca4fe7e017f27081e3c094',
|
||||
armv7l: '6d503dc7421e47424458112704ce8e7597720fd5e9ca4fe7e017f27081e3c094',
|
||||
x86_64: '98bf8c5cf34f6f564c90ed01b3a64218e48856aa6a853a3d9f161e1fd14ff3a9'
|
||||
})
|
||||
|
||||
depends_on 'autoconf_archive' => :build
|
||||
depends_on 'autoconf213' => :build
|
||||
depends_on 'autoconf_archive' => :build
|
||||
depends_on 'dbus' => :build
|
||||
depends_on 'glib' # R
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'gobject_introspection' => :build
|
||||
depends_on 'graphviz' => :build
|
||||
depends_on 'libxslt' => :build
|
||||
depends_on 'glib' => :build
|
||||
depends_on 'dbus' => :build
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'glib' # R
|
||||
depends_on 'vala_bootstrap' => :build
|
||||
|
||||
conflicts_ok # Overwrites vala_bootstrap
|
||||
git_fetchtags
|
||||
gnome
|
||||
|
||||
def self.build
|
||||
# Bootstrap vala
|
||||
FileUtils.mkdir_p 'bootstrap_install'
|
||||
system 'git clone https://gitlab.gnome.org/Archive/vala-bootstrap.git'
|
||||
Dir.chdir('vala-bootstrap') do
|
||||
system 'git checkout b2beeaccdf2307ced172646c2ada9765e1747b28'
|
||||
system 'touch */*.stamp'
|
||||
system 'autoreconf -fi'
|
||||
system "VALAC=/no-valac ./configure --prefix=#{Dir.pwd}/../bootstrap_install"
|
||||
system 'make'
|
||||
system 'make install'
|
||||
end
|
||||
|
||||
system "VALAC=#{Dir.pwd}/bootstrap_install/bin/valac ./autogen.sh \
|
||||
#{CREW_CONFIGURE_OPTIONS} \
|
||||
--disable-maintainer-mode \
|
||||
--disable-valadoc"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
autotools_configure_options '--disable-maintainer-mode \
|
||||
--disable-valadoc'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user