Commit acc03df9 authored by satmandu's avatar satmandu Committed by GitHub

straight adaptation from arch I did a couple of weeks back (#5339)

parent 3a8fa50f
require 'package' require 'package'
class Telepathy_glib < Package class Telepathy_glib < Package
description 'A library for GLib-based Telepathy components.' description 'GLib bindings for the Telepathy D-Bus protocol'
homepage 'https://telepathy.freedesktop.org/' homepage 'https://telepathy.freedesktop.org'
version '0.24.1' @_ver = '0.24.2'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-0.24.1.tar.gz' source_url "https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-#{@_ver}.tar.gz"
source_sha256 '9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7f7d5eb' source_sha256 'b0a374d771cdd081125f38c3abd079657642301c71a543d555e2bf21919273f0'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/telepathy_glib-0.24.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/telepathy_glib-0.24.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/telepathy_glib-0.24.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/telepathy_glib-0.24.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '5b6f9a8f1de97a29cb13f82fd8647a4416e974fadfaa4ad3f2c1f5181cecc40c',
armv7l: '5b6f9a8f1de97a29cb13f82fd8647a4416e974fadfaa4ad3f2c1f5181cecc40c',
i686: '62adb61813dc3e203125939fdce5d04b2253af1669ccad009160bc6ec066a4b3',
x86_64: '816ac47c89d6d65c01e40ce4f0b43c6110000bbf0e5a87cfd866904128a5394f'
})
depends_on 'dbus_glib' depends_on 'dbus_glib'
depends_on 'gobject_introspection' depends_on 'libxslt' => ':build'
depends_on 'gtk_doc' => :build depends_on 'vala' => ':build'
depends_on 'vala' => :build depends_on 'gobject_introspection' => ':build'
def self.build def self.build
system "env NOCONFIGURE=1 ./autogen.sh" system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
system "./configure #{CREW_OPTIONS} \ ./configure \
--enable-gtk-doc \ #{CREW_OPTIONS} \
--enable-introspection \ --libexecdir=#{CREW_LIB_PREFIX}/telepathy \
--enable-vala-bindings" --enable-vala-bindings"
system "make" system 'make'
end end
def self.install def self.install
system "make DESTDIR=#{CREW_DEST_DIR} 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