Files
chromebrew/packages/thunar.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

47 lines
1.3 KiB
Ruby

require 'package'
class Thunar < Package
description 'Thunar File Manager'
homepage 'https://docs.xfce.org/xfce/thunar/Start'
version '4.17.3'
license 'GPL-2+ and LGPL-2+'
compatibility 'aarch64,armv7l,x86_64'
source_url "https://archive.xfce.org/src/xfce/thunar/#{version.rpartition('.')[0]}/thunar-#{version}.tar.bz2"
source_sha256 '4580913d6c88003dbffc7e6d98a843ca0ae0fd1c5fa7b1e49fef565f33c7bea7'
binary_compression 'tpxz'
binary_sha256({
aarch64: '4cd11110afd9b2b55ce2c167a494e95fd49e5b44ecece194e2561ea5e9b93c19',
armv7l: '4cd11110afd9b2b55ce2c167a494e95fd49e5b44ecece194e2561ea5e9b93c19',
x86_64: 'f567c97ed456b27374b465283081605bb70d6b4a7ff84851580c45891f02945c'
})
depends_on 'exo'
depends_on 'libexif'
depends_on 'libgudev'
depends_on 'libnotify'
depends_on 'xfce4_panel'
depends_on 'desktop_file_utilities'
depends_on 'hicolor_icon_theme'
depends_on 'xdg_base'
depends_on 'wayland'
def self.build
system <<~CONFIGURE
#{CREW_ENV_OPTIONS} \
./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-gio-unix \
--enable-gudev \
--enable-exif \
--enable-pcre \
--disable-static \
--enable-notifications
CONFIGURE
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end