Commit 9ea7da26 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Add libotr dependency package (#3280)

Add pre-built binaries for libotr, libstrophe and profanity packages
parent db8afda3
require 'package'
class Libotr < Package
description 'Portable OTR Messaging Library, as well as the toolkit to help you forge messages.'
homepage 'https://otr.im/'
version '4.1.1'
source_url 'https://otr.im/dist/libotr/4.1.1/libotr-4.1.1.tar.gz'
source_sha256 '8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libotr-4.1.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libotr-4.1.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libotr-4.1.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libotr-4.1.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a5eaefb2acefa8d32f235346c96d617aee71f0168d017077d634af43516b6f76',
armv7l: 'a5eaefb2acefa8d32f235346c96d617aee71f0168d017077d634af43516b6f76',
i686: '874c32fe8ec8129a982fc5e60a69b7ef38845de8fb47a1b45f844d9a20189973',
x86_64: 'ada7656b406b95ba63d3150e1a46323946ddb1ee0b497a7d7298ee4fb36f7956',
})
depends_on 'libgcrypt'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -8,8 +8,16 @@ class Libstrophe < Package
source_sha256 '158145bc1565a5fd0bbd7f57e3e15d768e58b8a460897ab5918a5a689d67ae6f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libstrophe-0.9.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libstrophe-0.9.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libstrophe-0.9.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libstrophe-0.9.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '35c2806eb3e47f25c7e249a601df8149112210344653f20e5eff4093a5dbbf95',
armv7l: '35c2806eb3e47f25c7e249a601df8149112210344653f20e5eff4093a5dbbf95',
i686: 'bea33dadf5dcd62377d20f51bb7189c2fb6c66c67cbddea3b78f435daf012833',
x86_64: '8ef0cf5a6b74ca87b487577142918f0fff321613441e7c585a7460ea193e3abe',
})
depends_on 'libxml2'
......
......@@ -8,12 +8,24 @@ class Profanity < Package
source_sha256 'f1b2773b79eb294297686f3913e9489c20effae5e3a335c8956db18f6ee2f660'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/profanity-0.6.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/profanity-0.6.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/profanity-0.6.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/profanity-0.6.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '59229f908a8f21765e77aaa1a491ae23155452f013e9cc992f365bd66293f795',
armv7l: '59229f908a8f21765e77aaa1a491ae23155452f013e9cc992f365bd66293f795',
i686: '3d5c96c99a811d0a86b89ab88bb42fb5d277fc97a8f29a54b8985172ec7736ff',
x86_64: 'ead2d0a06e37c622913b76941c292a3b10ad500a1f75ebab45e2b08779f007bd',
})
depends_on 'curl'
depends_on 'glib'
depends_on 'gpgme'
depends_on 'gtk2'
depends_on 'libotr'
depends_on 'libnotify'
depends_on 'libstrophe'
def self.build
......
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