Commit bbbeac6d authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge branch 'master' into add-check-package-compatibility

parents d78db0ba ac07570d
require 'package'
class Motif < Package
description 'Motif is a freely available source code distribution for the Motif user interface component toolkit.'
homepage 'https://motif.ics.com/'
version '2.3.8'
source_url 'https://downloads.sourceforge.net/project/motif/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz'
source_sha256 '859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1c54520d4eaf0c6f9731aa486d63df65b6f0b32edef3eff2184dc6b699851b42',
armv7l: '1c54520d4eaf0c6f9731aa486d63df65b6f0b32edef3eff2184dc6b699851b42',
i686: '6ff165d03c99b80835f8e115712bcd54538c6a3024481e88cc8419043e3d070c',
x86_64: '2eb3c2761fdae830ecf8ab30b406de48a566112e635d63456d802da5ff012081',
})
depends_on 'fontconfig'
depends_on 'freetype'
depends_on 'libjpeg'
depends_on 'libpng'
depends_on 'sommelier'
def self.build
system "./configure #{CREW_OPTIONS} --with-x --enable-xft --enable-png --enable-jpeg"
system 'make'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Nedit < Package
description 'A fast, compact Motif/X11 plain text editor, for most popular Unix systems.'
homepage 'https://sourceforge.net/projects/nedit/'
version '5.7'
source_url 'https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-5.7-src.tar.gz'
source_sha256 'add9ac79ff973528ad36c86858238bac4f59896c27dbf285cbe6a4d425fca17a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4fba5943ef167821c201b21a09dece98b6d81cbcb79527c64e95000f4479c3d8',
armv7l: '4fba5943ef167821c201b21a09dece98b6d81cbcb79527c64e95000f4479c3d8',
i686: 'a51c662322d42a5a9a040f0c5eda0535c1f03fbc3bb15cb4652a5c7fb5ede8b2',
x86_64: 'c2db0f40ee914ab92f65814953542ec9e5634415ea155076cf9e67f50e9428ed',
})
depends_on 'motif'
def self.patch
system "sed -i 's/\$@/linux/g' Makefile"
end
def self.build
system 'make', 'linux'
Dir.chdir 'doc' do
system 'make', 'man'
end
end
def self.check
system 'make', 'check'
end
def self.install
system "install -Dm755 ./source/nc #{CREW_DEST_PREFIX}/bin/nc"
system "install -Dm755 ./source/nedit #{CREW_DEST_PREFIX}/bin/nedit"
system "install -Dm644 ./doc/nc.man #{CREW_DEST_MAN_PREFIX}/man1/nc.1"
system "install -Dm644 ./doc/nedit.man #{CREW_DEST_MAN_PREFIX}/man1/nedit.1"
end
end
...@@ -3,19 +3,19 @@ require 'package' ...@@ -3,19 +3,19 @@ require 'package'
class V2ray < Package class V2ray < Package
description 'A platform for building proxies to bypass network restrictions.' description 'A platform for building proxies to bypass network restrictions.'
homepage 'https://www.v2ray.com/' homepage 'https://www.v2ray.com/'
version 'v4.23.2' version 'v4.23.3'
compatibility 'all' compatibility 'all'
case ARCH case ARCH
when 'aarch64', 'armv7l' when 'aarch64', 'armv7l'
source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.2/v2ray-linux-arm.zip' source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.3/v2ray-linux-arm.zip'
source_sha256 '6755c3f35e488e796ecf8d4765be0434057212aae13cd2041a1f275dffd59220' source_sha256 '0b5f2dc349739d1e712798c04ef5cf94156729329dd66ff2c4c3e9927dd3f255'
when 'i686' when 'i686'
source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.2/v2ray-linux-32.zip' source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.3/v2ray-linux-32.zip'
source_sha256 '55ee0eeaefff9fa42703ecf62ff472610079c4e1e9f8ce1bc62da67559a99507' source_sha256 '0657b335261edd6ffb24a29f1f594e92414901cc56e09711d9532e94a03f395b'
when 'x86_64' when 'x86_64'
source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.2/v2ray-linux-64.zip' source_url 'https://github.com/v2ray/v2ray-core/releases/download/v4.23.3/v2ray-linux-64.zip'
source_sha256 '791b2974f2f8373844fc3f1e9d93534ebb35b7dfb2ee041de5d6ab9d33f06dd4' source_sha256 'ad3c272b03cd682a427c70c4ea6079bfbf614bf5978f69a0d1b77d673aa913ae'
end end
def self.install def self.install
......
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