mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Add binary_compression value to each package * Remove binary_url values and arrays * Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
45 lines
1.3 KiB
Ruby
45 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Gtkmm3 < Package
|
|
description 'The Gtkmm3 package provides a C++ interface to GTK+ 3.'
|
|
homepage 'https://www.gtkmm.org/'
|
|
version '3.24.7'
|
|
license 'LGPL-2.1+'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://ftp.gnome.org/pub/gnome/sources/gtkmm/3.24/gtkmm-3.24.7.tar.xz'
|
|
source_sha256 '1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '0c760e1b3f325ae6f3683797c6f58c4098c843270aafcf1a176346a17e533e99',
|
|
armv7l: '0c760e1b3f325ae6f3683797c6f58c4098c843270aafcf1a176346a17e533e99',
|
|
x86_64: 'fe6a68995f3e0b1f664f702917f0de24773b8d1a37618ba5e06d65631ce2dde7'
|
|
})
|
|
|
|
depends_on 'atkmm16' # R
|
|
depends_on 'cairomm_1_0' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'gdk_pixbuf' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'glibmm_2_4' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'gtk3' # R
|
|
depends_on 'libsigcplusplus' # R
|
|
depends_on 'pangomm_1_4' # R
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} \
|
|
--default-library=both \
|
|
-Dbuild-documentation=false \
|
|
-Dbuild-demos=false \
|
|
-Dbuild-tests=false \
|
|
builddir"
|
|
system 'meson configure --no-pager builddir'
|
|
system 'ninja -C builddir'
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
|
end
|
|
end
|