Commit 4187204c authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add pre-built binaries for aria2 and pdftk (#5830)

parent 62936026
......@@ -4,18 +4,36 @@ class Aria2 < Package
description 'aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.'
homepage 'https://aria2.github.io/'
@_ver = '1.35.0'
version "#{@_ver}-3"
version "#{@_ver}-4"
license 'GPL-2+-with-openssl-exception'
compatibility 'all'
source_url "https://github.com/aria2/aria2/releases/download/release-#{@_ver}/aria2-#{@_ver}.tar.xz"
source_sha256 '1e2b7fd08d6af228856e51c07173cfcf987528f1ac97e04c5af4a47642617dfd'
binary_url ({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aria2/1.35.0-4_armv7l/aria2-1.35.0-4-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aria2/1.35.0-4_armv7l/aria2-1.35.0-4-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aria2/1.35.0-4_i686/aria2-1.35.0-4-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aria2/1.35.0-4_x86_64/aria2-1.35.0-4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1392fa2c405ec1ef2c0c92da6b6efb58c5de78eef173106e608480df121e4d22',
armv7l: '1392fa2c405ec1ef2c0c92da6b6efb58c5de78eef173106e608480df121e4d22',
i686: '16ad82df538c4bea9a2d3af51c67e80a5e09b73f4b03e6ae2bb4e50b70ffacfd',
x86_64: '4cf9736c53e380a6dd3bdede7f85d91866285f392c7eee7acfebb83a7b1b0ef4',
})
depends_on 'cppunit' => :build
depends_on 'libgcrypt'
def self.patch
system 'filefix'
end
def self.build
system "env #{CREW_ENV_OPTIONS}
./configure #{CREW_OPTIONS} \
--without-libnettle \
--with-libnettle \
--with-libgcrypt \
--disable-dependency-tracking \
--without-libssh2"
......
......@@ -9,6 +9,19 @@ class Pdftk < Package
source_url 'https://gitlab.com/pdftk-java/pdftk/-/archive/v3.2.2/pdftk-v3.2.2.tar.bz2'
source_sha256 'b315f1267947af337c0d1e8253fba26108eed6392b43633fe967093f42ad45eb'
binary_url ({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pdftk/3.2.2_armv7l/pdftk-3.2.2-chromeos-armv7l.tpxz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pdftk/3.2.2_armv7l/pdftk-3.2.2-chromeos-armv7l.tpxz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pdftk/3.2.2_i686/pdftk-3.2.2-chromeos-i686.tpxz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pdftk/3.2.2_x86_64/pdftk-3.2.2-chromeos-x86_64.tpxz',
})
binary_sha256 ({
aarch64: '543fa66938dc6604d579a7570fe89bf043c471b5976d217031b19244f522d432',
armv7l: '543fa66938dc6604d579a7570fe89bf043c471b5976d217031b19244f522d432',
i686: '1611c0ecc0566e7e29fecb1ce1128153d2716698fae67f2107cffaea7350953c',
x86_64: '7efc1211d25ae0fa57342bc8f22298480c3366285e4673e2c2552a9491300bba',
})
depends_on 'jdk8'
depends_on 'gradle' => :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