Commit 43e16ef7 authored by Satadru Pramanik's avatar Satadru Pramanik

Gnome Maps + deps

parent 8c49f632
require 'package'
class Folks < Package
description 'Library to aggregates people into metacontacts'
homepage 'https://wiki.gnome.org/Projects/Folks'
@_ver = '0.15.2'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/folks/-/archive/#{@_ver}/folks-#{@_ver}.tar.bz2"
source_sha256 'fc793ac48add708bf95b65060e74d66c016ea6077297f3329c59fee83cc415ed'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/folks-0.15.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/folks-0.15.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/folks-0.15.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/folks-0.15.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'e6b4e6fe98522d67283e033a176c9efbb11784d0a5dd93c048a96418011fb64f',
armv7l: 'e6b4e6fe98522d67283e033a176c9efbb11784d0a5dd93c048a96418011fb64f',
i686: '96eff279765de921eeca9ea66dfc78b9885f65feac95d85a87bdf4dec8b94e51',
x86_64: '304f648e3f5a0ea9cf558c435830cd172a118ce3b4bd96ab3b4958c3f9a8eb1b'
})
depends_on 'libgee'
depends_on 'evolution_data_server'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'vala' => ':build'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dbluez_backend=false \
-Ddocs=false \
-Deds_backend=false \
-Dinstalled_tests=false \
-Dofono_backend=false \
-Dtelepathy_backend=false \
-Dtests=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Gfbgraph < Package
description 'GLib/GObject wrapper for the Facebook Graph API'
homepage 'https://wiki.gnome.org/Projects/GFBGraph'
@_ver = '0.2.4'
@_ver_ = @_ver.gsub(/[.]/, '_')
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libgfbgraph/-/archive/v_#{@_ver_}/libgfbgraph-v_#{@_ver_}.tar.bz2"
source_sha256 'e55bb497daabfcd7e68e216ac5c695f03319f660ff524d0b6659e42089853516'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gfbgraph-0.2.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gfbgraph-0.2.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gfbgraph-0.2.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gfbgraph-0.2.4-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '883a3eb50bf0fd391333759913e20c4211f5f31a1a3002b7b900019b234b211d',
armv7l: '883a3eb50bf0fd391333759913e20c4211f5f31a1a3002b7b900019b234b211d',
i686: 'd24bf537935fc54b130db1b13ea113c24370553b82dc26dcadc323a8a8193113',
x86_64: '560bd5f25612d861a0daea31a7547a0d8d18e42a9d21bcd7960dceef1b3ca7b5'
})
depends_on 'gnome_online_accounts'
depends_on 'rest' => ':build'
depends_on 'json_glib' => ':build'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system './configure --help'
system "env CFLAGS='-pipe -flto=auto' \
CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-gtk-doc \
--enable-introspection"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install \
libgfbgraphdocdir=#{CREW_PREFIX}/share/doc/gfbgraph"
end
end
require 'package'
class Gnome_maps < Package
description 'A simple GNOME maps application'
homepage 'https://wiki.gnome.org/Apps/Maps'
@_ver = '40.rc'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gnome-maps/-/archive/v#{@_ver}/gnome-maps-v#{@_ver}.tar.bz2"
source_sha256 'db00e0c8e5ce3c3fb3801ecf522f76751cc1f0b1d5007c6169207260143f163b'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_maps-40.rc-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_maps-40.rc-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_maps-40.rc-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_maps-40.rc-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'a2c42ed9bb3ae39df2987dd0985ba16081b7d46f402bbd0dd18ac3310a5f6557',
armv7l: 'a2c42ed9bb3ae39df2987dd0985ba16081b7d46f402bbd0dd18ac3310a5f6557',
i686: 'af96f8c19eb879b2809c309c4e5fdb3bba73bf6ba4cbee3976b47c4e97c752c5',
x86_64: '1f29fa5107fa2c36dae1d4ffa58b1ace0b76d3dafd0bd51595ac92078e39be9a'
})
depends_on 'geocode_glib'
depends_on 'geoclue'
depends_on 'gjs'
depends_on 'gtk3'
depends_on 'gtk4'
depends_on 'libchamplain'
depends_on 'libgee'
depends_on 'libhandy'
depends_on 'folks'
depends_on 'gfbgraph'
depends_on 'gobject_introspection' => ':build'
depends_on 'yelp_tools' => ':build'
def self.build
system "meson #{CREW_MESON_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
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
require 'package'
class Gnome_online_accounts < Package
description 'Single sign-on framework for GNOME'
homepage 'https://wiki.gnome.org/Projects/GnomeOnlineAccounts'
@_ver = '3.38.1'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/archive/#{@_ver}/gnome-online-accounts-#{@_ver}.tar.bz2"
source_sha256 '8547314b6e6b4c2296100f6962e30f13f583b0dad73e32a45b592f751a8f77f3'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_online_accounts-3.38.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_online_accounts-3.38.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_online_accounts-3.38.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gnome_online_accounts-3.38.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'd517c3134aad43d117331c3b67b5aedd56fe1fbf8e2f4172666e765cf5277340',
armv7l: 'd517c3134aad43d117331c3b67b5aedd56fe1fbf8e2f4172666e765cf5277340',
i686: '4385bcd168c23381e034690659d7f42523abe6286e726322cb17ccf65efa643e',
x86_64: '93fc631810c3fde3e74d22d5249897bcf915683c85b9639d0988af48178d20d8'
})
depends_on 'webkit2gtk'
depends_on 'json_glib'
depends_on 'libnotify'
depends_on 'rest'
depends_on 'libsecret'
depends_on 'gcr'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'vala' => ':build'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dgtk_doc=true \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Libchamplain < Package
description 'A map widget'
homepage 'https://wiki.gnome.org/Projects/libchamplain'
@_ver = '0.12.20'
@_ver_ = @_ver.gsub(/[.]/, '_')
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libchamplain/-/archive/LIBCHAMPLAIN_#{@_ver_}/libchamplain-LIBCHAMPLAIN_#{@_ver_}.tar.bz2"
source_sha256 'e2bfa2179a5ecbdde7fe18a0472e3b04137cb0873b4fe2de29da4c09f0b6e58d'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libchamplain-0.12.20-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libchamplain-0.12.20-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libchamplain-0.12.20-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libchamplain-0.12.20-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '4caff5258f0036c19d68191bbe97b9a523842fec4d93e02ba8c06826f2f8d9d4',
armv7l: '4caff5258f0036c19d68191bbe97b9a523842fec4d93e02ba8c06826f2f8d9d4',
i686: '0406fdc8daf03c52124e68a5ff5fd0539251c5af27bce94fb04f4906a432c9c4',
x86_64: 'd351e1dbd9d2dcf6632b6e7f4aca245e60a21ed96968f15a1a49bbe77cd4b9ad'
})
depends_on 'clutter_gtk'
depends_on 'libsoup'
depends_on 'cairo'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'vala' => ':build'
def self.build
system "meson #{CREW_MESON_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
require 'package'
class Rest < Package
description 'Helper library for RESTful services'
homepage 'https://wiki.gnome.org/Projects/Librest'
@_ver = '0.8.1'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/librest/-/archive/#{@_ver}/librest-#{@_ver}.tar.bz2"
source_sha256 '9063b9906c3a4684bef6ccaad9462e8409e1025fe37b7c9596fcf2f5f7507904'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rest-0.8.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rest-0.8.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rest-0.8.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rest-0.8.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '9e9f407b296703cce2260663f12a127624f902a8fa7067c1ea83d7f715212568',
armv7l: '9e9f407b296703cce2260663f12a127624f902a8fa7067c1ea83d7f715212568',
i686: '757861d1fd4858d29ca86e22c1ae8bacfcecc4bc59aecd736ae0045bc656bafa',
x86_64: '237b71fe2489903b4305728e922bdd1756d80d76629a4c37ae039ced34b1f0c0'
})
depends_on 'glib'
depends_on 'libsoup'
depends_on 'gobject_introspection' => ':build'
depends_on 'gtk_doc' => ':build'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system "env CFLAGS='-pipe -flto=auto' \
CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc \
--enable-gtk-doc"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment