mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
50 lines
1.9 KiB
Ruby
50 lines
1.9 KiB
Ruby
require 'package'
|
|
|
|
class Libpeas < Package
|
|
description 'A GObject plugins library'
|
|
homepage 'https://wiki.gnome.org/Projects/Libpeas'
|
|
version '1.34.0'
|
|
license 'LGPL-2.1+'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/GNOME/libpeas/archive/libpeas-1.34.0.tar.gz'
|
|
source_sha256 '514b0576d9a56460915490bdb61dcb88634fdacfb2801e28dcbb9a730348858f'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libpeas/1.34.0_armv7l/libpeas-1.34.0-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libpeas/1.34.0_armv7l/libpeas-1.34.0-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libpeas/1.34.0_i686/libpeas-1.34.0-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libpeas/1.34.0_x86_64/libpeas-1.34.0-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: '78ceca9000c59442db18d1b1702822f479296bff42b047019dea40fae8e314d0',
|
|
armv7l: '78ceca9000c59442db18d1b1702822f479296bff42b047019dea40fae8e314d0',
|
|
i686: '06afcd1793b448959dbb5e8e60fa66c84ac0078da216267acc12b522f41d8af7',
|
|
x86_64: '44fbfaef5fdbc51964688bc0971ce65aa5424db58615a1a688b872f0f4755625'
|
|
})
|
|
|
|
depends_on 'gtk3'
|
|
depends_on 'gobject_introspection'
|
|
depends_on 'gtk_doc' => :build
|
|
depends_on 'pygobject' => :build
|
|
depends_on 'glade' => :build
|
|
depends_on 'gobject_introspection' => :build
|
|
depends_on 'vala' => :build
|
|
depends_on 'glib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'luajit' # R
|
|
depends_on 'py3_gi_docgen' # R
|
|
depends_on 'python3' # R
|
|
|
|
gnome
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_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
|