Commit 7675c8ca authored by supechicken's avatar supechicken Committed by GitHub

thunar => 4.17.1 (#5652)

* Update thunar.rb
parent 339caab1
......@@ -3,24 +3,12 @@ require 'package'
class Thunar < Package
description 'Thunar File Manager'
homepage 'https://docs.xfce.org/xfce/thunar/Start'
version '4.16.1'
@_ver = '4.17.1'
version @_ver
license 'GPL-2+ and LGPL-2+'
compatibility 'all'
source_url "https://archive.xfce.org/src/xfce/thunar/4.16/thunar-#{version}.tar.bz2"
source_sha256 'da2d17d2cb69eb33768690b714cc232ed367cbd71eb9543aaa2a805d05dc3ce1'
binary_url ({
aarch64: 'https://downloads.sourceforge.net/project/chromebrew/armv7l/thunar-4.16.1-chromeos-armv7l.tar.xz',
armv7l: 'https://downloads.sourceforge.net/project/chromebrew/armv7l/thunar-4.16.1-chromeos-armv7l.tar.xz',
i686: 'https://downloads.sourceforge.net/project/chromebrew/i686/thunar-4.16.1-chromeos-i686.tar.xz',
x86_64: 'https://downloads.sourceforge.net/project/chromebrew/x86_64/thunar-4.16.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f72859ef9d34c9f53b027e3ff4f939d53dfd02e2e14fa1ccba7272857dff6846',
armv7l: 'f72859ef9d34c9f53b027e3ff4f939d53dfd02e2e14fa1ccba7272857dff6846',
i686: 'a9968a493f18165318d3c1580e7aef64af66872290eb9f80d3164b3a1d4f06bd',
x86_64: 'a07083925abfeb69f6e960869a61da8039b8afa0a79c9601f312cdb750ccfb86',
})
source_url "https://archive.xfce.org/src/xfce/thunar/#{@_ver.rpartition('.')[0]}/thunar-#{@_ver}.tar.bz2"
source_sha256 '33f99656d5f01b8ec6c3faa9a9f645c264cd460029ad08d96ba76925c43f2571'
depends_on 'exo'
depends_on 'libexif'
......@@ -30,23 +18,23 @@ class Thunar < Package
depends_on 'desktop_file_utilities'
depends_on 'hicolor_icon_theme'
depends_on 'xdg_base'
depends_on 'wayland_protocols'
depends_on 'mesa'
depends_on 'wayland'
def self.build
system "./configure #{CREW_OPTIONS} --enable-gio-unix --enable-gudev --enable-exif --enable-pcre --disable-static --enable-notifications"
system "make -j#{CREW_NPROC}"
system <<~CONFIGURE
#{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} \
--enable-gio-unix \
--enable-gudev \
--enable-exif \
--enable-pcre \
--disable-static \
--enable-notifications
CONFIGURE
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
system "cat <<'EOF'> Thunar
WAYLAND_DISPLAY=wayland-0
GDK_BACKEND=wayland
DISPLAY=
#{CREW_PREFIX}/bin/#{CREW_BUILD}-thunar $@
EOF"
system "install -Dm755 Thunar #{CREW_DEST_PREFIX}/bin/Thunar"
# FileUtils.ln_sf "#{CREW_PREFIX}/bin/#{CREW_BUILD}-thunar", "#{CREW_DEST_PREFIX}/bin/Thunar"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
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