Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
6386c1f0
Commit
6386c1f0
authored
Feb 15, 2021
by
satmandu
Committed by
GitHub
Feb 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glib -> 2.67.3 (#5137)
parent
4db026be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
39 deletions
+19
-39
packages/glib.rb
packages/glib.rb
+19
-39
No files found.
packages/glib.rb
View file @
6386c1f0
...
...
@@ -3,61 +3,41 @@ require 'package'
class
Glib
<
Package
description
'GLib provides the core application building blocks for libraries and applications written in C.'
homepage
'https://developer.gnome.org/glib'
version
'2.67.
1-1
'
version
'2.67.
3
'
compatibility
'all'
source_url
'https://download.gnome.org/sources/glib/2.67/glib-2.67.
1
.tar.xz'
source_sha256
'
3b3409fe3a93f9e9f6f5dc9cd8405edfd7513b289589987e568369e627d3350c
'
source_url
'https://download.gnome.org/sources/glib/2.67/glib-2.67.
3
.tar.xz'
source_sha256
'
b8e5f7397bc399d8134f3cdab7323b2210dd202510cf62a517e00dcca3488b78
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-1-chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.3
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.3
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.3
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.3-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'ba7c85f0d8b325b0a6c5657593c04dacd7c920675da2476f7a4a28a61fb80cb9
'
,
armv7l:
'ba7c85f0d8b325b0a6c5657593c04dacd7c920675da2476f7a4a28a61fb80cb9
'
,
i686:
'46c605eb727ec23785bc796d1c1149e424453764d0e18f7c6fda79bf6386886
3'
,
x86_64:
'e95c0ad6959cf02bec7c1ea2950b2bf23a291a775345bb8dc42fb2642453be68'
,
binary_sha256
({
aarch64:
'9d38ac3744e0ce1477d804a4404a841df8df298df1d639206f16830e0c5e9f20
'
,
armv7l:
'9d38ac3744e0ce1477d804a4404a841df8df298df1d639206f16830e0c5e9f20
'
,
i686:
'100eec0254ae2ffc34d3903da688f740bad38fec9ac3e443a2bb9c75d76337f
3'
,
x86_64:
'f31c6a72ee5495d2121983ee475475f45b03918e7f01f5115c4047ff216c7b82'
})
depends_on
'pcre2'
depends_on
'libffi'
depends_on
'gettext'
depends_on
'shared_mime_info'
depends_on
'util_linux'
depends_on
'six'
def
self
.
patch
# Handle the case of g_object_run_dispose() in GBinding
# Fixes geany crash in glib 2.67.1
patch_description
=
"Handle the case of g_object_run_dispose() in GBinding"
patch_url
=
"https://gitlab.gnome.org/GNOME/glib/-/commit/ba621181221f8b2f8f07743df2c02a7a7638f995.patch"
patch_sha256
=
'31fd538f729094dee050f880e41231918c0da76d6545cd853e606f363b467ea3'
patch_uri
=
URI
.
parse
patch_url
patch_filename
=
'patch'
puts
"Downloading patch:
#{
patch_description
}
"
.
yellow
system
(
'curl'
,
'-s'
,
'--insecure'
,
'-L'
,
'-#'
,
patch_url
,
'-o'
,
patch_filename
)
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
patch_filename
)
)
==
patch_sha256
puts
"patch downloaded"
.
lightgreen
system
'patch -p 1 < patch'
end
depends_on
'pygments'
def
self
.
build
system
"meson
#{
CREW_MESON_LTO_OPTIONS
}
\
-Das_needed=false \
-Dselinux=disabled \
-Dsysprof=disabled \
-Dman=false \
-Dgtk_doc=false \
-Diconv=external \
-Dinternal_pcre=true \
build"
system
"meson configure build"
system
"ninja -C build"
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 build
dir
install"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment