Commit ff25a5c1 authored by supechicken's avatar supechicken Committed by GitHub

Update exo.rb (#5653)

parent 7675c8ca
......@@ -3,39 +3,27 @@ require 'package'
class Exo < Package
description 'Extension library for the Xfce desktop environment'
homepage 'https://xfce.org/'
version '4.16.0'
@_ver = '4.16.2'
version @_ver
license 'Apache-2.0'
compatibility 'all'
source_url "https://archive.xfce.org/src/xfce/exo/4.16/exo-#{version}.tar.bz2"
source_sha256 '1975b00eed9a8aa1f899eab2efaea593731c19138b83fdff2f13bdca5275bacc'
binary_url ({
aarch64: 'https://downloads.sourceforge.net/project/chromebrew/armv7l/exo-4.16.0-chromeos-armv7l.tar.xz',
armv7l: 'https://downloads.sourceforge.net/project/chromebrew/armv7l/exo-4.16.0-chromeos-armv7l.tar.xz',
i686: 'https://downloads.sourceforge.net/project/chromebrew/i686/exo-4.16.0-chromeos-i686.tar.xz',
x86_64: 'https://downloads.sourceforge.net/project/chromebrew/x86_64/exo-4.16.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f0320072faf16879bbd5dac3ccb130995a7a7240b18fea972ea4689c2355caf0',
armv7l: 'f0320072faf16879bbd5dac3ccb130995a7a7240b18fea972ea4689c2355caf0',
i686: 'ed48c7732a1b6ee48f1b8e3edf5c6eefc6799c53b13770eb0570ee2ce4c92e0a',
x86_64: '8500a41e6e353f7a68e384d221085395c0cad4dcd2c9cc537b7b2dc01fd5bacc',
})
source_url "https://archive.xfce.org/src/xfce/exo/#{@_ver.rpartition('.')[0]}/exo-#{@_ver}.tar.bz2"
source_sha256 '4e89f5536afbf1cb9191cceb720fb2764df1a4fae3459512b7320841ab5a9e9d'
depends_on 'libxfce4ui'
depends_on 'xfce4_dev_tools'
def self.patch
system "mkdir m4"
system "NOCONFIGURE=1 xdt-autogen"
FileUtils.mkdir_p 'm4'
system 'NOCONFIGURE=1 xdt-autogen'
end
def self.build
system "./configure #{CREW_OPTIONS}"
system "make -j#{CREW_NPROC}"
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
end
\ No newline at end of file
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