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

Use Wayland for supported GUI packages (#4853)

* Update bluefish.rb
* Update filezilla.rb
* Update handbrake.rb
* Update homebank.rb
parent d2d64d12
......@@ -3,23 +3,10 @@ require 'package'
class Bluefish < Package
description 'Bluefish is a powerful editor targeted towards programmers and webdevelopers'
homepage 'http://bluefish.openoffice.nl/index.html'
version '2.2.10'
version '2.2.12'
compatibility 'all'
source_url 'https://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.10.tar.bz2'
source_sha256 'afeca12b693bb58e30c2199e6a21cc06da02d88e0ac9d08b7a231a9c8e7c3eb2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bluefish-2.2.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bluefish-2.2.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bluefish-2.2.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bluefish-2.2.10-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ea47d2b5ecded9b79975d1ea7f2df86e441e9ac85e4fc6c331f1fdf3869498ae',
armv7l: 'ea47d2b5ecded9b79975d1ea7f2df86e441e9ac85e4fc6c331f1fdf3869498ae',
i686: '405127fefd5539f779fe4810aa302371f5919ac1a02017686049a7cb7ab91759',
x86_64: '7403531e5aef2c5d7afe05433fa4d6c3b5b74797a3b4e81ef4ebd20c32de228d',
})
source_url 'https://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.12.tar.gz'
source_sha256 '948fc2921f0a67a7ce811220093a3b3dfc8021a6e3005f549373cd3402ee0f26'
depends_on 'enchant'
depends_on 'gtk3'
......@@ -29,13 +16,12 @@ class Bluefish < Package
depends_on 'python3'
depends_on 'shared_mime_info'
depends_on 'xdg_base'
depends_on 'sommelier'
depends_on 'wayland_protocols'
depends_on 'mesa'
depends_on 'xcb_util'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "./configure #{CREW_OPTIONS}"
system "make"
end
......@@ -47,6 +33,7 @@ class Bluefish < Package
puts
puts "To complete the installation, execute the following:".lightblue
puts "update-mime-database #{CREW_PREFIX}/share/mime".lightblue
puts "echo 'alias bluefish=\"WAYLAND_DISPLAY=wayland-0 DISPLAY=\'\' GDK_BACKEND=wayland bluefish\"' >> ~/.bashrc".lightblue
puts
end
end
......@@ -3,24 +3,11 @@ require 'package'
class Filezilla < Package
description 'FileZilla Client is a free FTP solution.'
homepage 'https://filezilla-project.org/'
version '3.51.0'
version '3.51.0-1'
compatibility 'all'
source_url 'https://download.filezilla-project.org/client/FileZilla_3.51.0_src.tar.bz2'
source_sha256 '82be1c4a4f51bb32a599d0b4cc3a24127ba948c0af0f957233cc6a13ea3b6c4c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/filezilla-3.51.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/filezilla-3.51.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/filezilla-3.51.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/filezilla-3.51.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '09d27595590ea5d0e3a31b943a34962c8ec9314e8c3628472cb69f0c98bb3a25',
armv7l: '09d27595590ea5d0e3a31b943a34962c8ec9314e8c3628472cb69f0c98bb3a25',
i686: '731e2488ce0d5024b3f2ae8874dce80e2826d5aa6aefbb92b808e1ac08fafab9',
x86_64: 'a2bcd8daeca485ef2695b1eac1490cebb9cfa1d740d20e20ecacffb869451403',
})
depends_on 'dbus'
depends_on 'gnome_icon_theme'
depends_on 'hicolor_icon_theme'
......@@ -30,7 +17,9 @@ class Filezilla < Package
depends_on 'wxwidgets'
depends_on 'xdg_utils'
depends_on 'libwebp'
depends_on 'sommelier'
depends_on 'wayland_protocols'
depends_on 'mesa'
depends_on 'xcb_util'
def self.patch
......@@ -47,4 +36,9 @@ class Filezilla < Package
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.postinstall
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo 'alias filezilla=\"WAYLAND_DISPLAY=wayland-0 DISPLAY=\'\' GDK_BACKEND=wayland filezilla\"' >> ~/.bashrc".lightblue
end
end
......@@ -3,7 +3,7 @@ require 'package'
class Handbrake < Package
description 'HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs.'
homepage 'https://handbrake.fr/'
version '1.3.3'
version '1.3.3-1'
compatibility 'x86_64'
case ARCH
when 'x86_64'
......@@ -14,16 +14,11 @@ class Handbrake < Package
depends_on 'jansson'
depends_on 'nasm' => :build
depends_on 'numactl'
depends_on 'sommelier'
depends_on 'wayland_protocols'
depends_on 'mesa'
depends_on 'xcb_util'
end
binary_url ({
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/handbrake-1.3.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
x86_64: '0d18c1ba42efce8b8566ac0752cb46cc8e87ba422b5729bcd6558cd1d7e4c5e1',
})
def self.patch
system "for f in \$(find -name '*.*'); do sed -i 's,/usr/include/libxml2,#{CREW_PREFIX}/include/libxml2,g' \$f; done"
end
......@@ -48,5 +43,8 @@ class Handbrake < Package
puts
puts "Type 'HandBrakeCLI' for the command line.".lightblue
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo 'alias ghb=\"WAYLAND_DISPLAY=wayland-0 DISPLAY=\'\' GDK_BACKEND=wayland ghb\"' >> ~/.bashrc".lightblue
puts
end
end
......@@ -3,38 +3,30 @@ require 'package'
class Homebank < Package
description 'HomeBank is a free software that will assist you to manage your personal accounting.'
homepage 'http://homebank.free.fr/en/index.php'
version '5.2.4'
version '5.4.3'
compatibility 'all'
source_url 'http://homebank.free.fr/public/homebank-5.2.4.tar.gz'
source_sha256 '79a89ab8816a5973fa6afe75157fa375953795c79c224d510e8af0afed2512d2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b01261bab43f81e1d89f82a85a26bdd39c5ede81a7dfda5d9c95fec8ee8f5c83',
armv7l: 'b01261bab43f81e1d89f82a85a26bdd39c5ede81a7dfda5d9c95fec8ee8f5c83',
i686: '887e298a2aae9b2d6f95a5745124ab8ab6745d18032195c32a5c05c9dea7b997',
x86_64: '5d609a527c5b8cb12d4c42440ad3f87eb3ad1d13de20025f04a3c31cd1a2a18d',
})
source_url 'http://homebank.free.fr/public/homebank-5.4.3.tar.gz'
source_sha256 '9222d7ed7cc44fcfff3f1fe20935a1b7fe91bb4d9f90003cb3c6f3b893298d0b'
depends_on 'libofx'
depends_on 'libsoup'
depends_on 'gtk3'
depends_on 'xdg_base'
depends_on 'sommelier'
depends_on 'wayland_protocols'
depends_on 'mesa'
depends_on 'xcb_util'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.postinstall
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo 'alias homebank=\"WAYLAND_DISPLAY=wayland-0 DISPLAY=\'\' GDK_BACKEND=wayland homebank\"' >> ~/.bashrc".lightblue
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