mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Update clutter_gtk.rb * Update and rename gcalculator.rb to gnome_calculator.rb * Update gnome_mines.rb * Update gsound.rb * Update libgnome_games_support.rb * Update gnome_klotski.rb * Update gnome_sudoku.rb
27 lines
835 B
Ruby
27 lines
835 B
Ruby
require 'package'
|
|
|
|
class Libgnome_games_support < Package
|
|
description 'libgnome-games-support is a small library intended for internal use by GNOME Games.'
|
|
homepage 'https://gitlab.gnome.org/GNOME/libgnome-games-support'
|
|
@_ver = '1.8.1'
|
|
version @_ver
|
|
license 'LGPL-3+'
|
|
compatibility 'all'
|
|
source_url "https://download.gnome.org/sources/libgnome-games-support/#{@_ver.rpartition('.')[0]}/libgnome-games-support-#{@_ver}.tar.xz"
|
|
source_sha256 'c37b7acd3ba7eb12207f5d7bb020535fa5783b0bd897e51b2bd629ce119a413f'
|
|
|
|
depends_on 'gtk3'
|
|
depends_on 'libgee'
|
|
depends_on 'clutter'
|
|
|
|
def self.build
|
|
system "meson #{CREW_MESON_FNO_LTO_OPTIONS} builddir"
|
|
system 'meson configure builddir'
|
|
system 'ninja -C builddir'
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
|
end
|
|
end
|