Files
chromebrew/packages/garcon.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

31 lines
984 B
Ruby

require 'package'
class Garcon < Package
description 'Glib/GIO freedesktop.org compliant menu implementation'
homepage 'https://xfce.org/'
version '0.7.0'
license 'LGPL-2 and Apache-2.0'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://archive.xfce.org/src/xfce/garcon/0.7/garcon-0.7.0.tar.bz2'
source_sha256 '82c3b61b508011642b09e6fb01b1d3f22c4e4de0fc54a9244327d0ddb66b2423'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'b0259935006ca1549ba4bca6349047ccb730a4f6e0ae3bea71bb1ef84a46c032',
armv7l: 'b0259935006ca1549ba4bca6349047ccb730a4f6e0ae3bea71bb1ef84a46c032',
x86_64: '4d4f409b680b69c1f0d45e8d49e99f559c53ce20bc4551e11b05a260933949bf'
})
depends_on 'gtk2'
depends_on 'libxfce4ui'
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-static --enable-gtk2 --enable-libxfce4ui"
system "make -j#{CREW_NPROC}"
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end