test(tray): add system tray tests (#4221)
This commit is contained in:
@@ -74,6 +74,7 @@ makedepends=(
|
||||
|
||||
checkdepends=(
|
||||
'gcovr'
|
||||
'imagemagick'
|
||||
)
|
||||
|
||||
optdepends=(
|
||||
|
||||
@@ -74,6 +74,7 @@ BuildRequires: systemd-udev
|
||||
BuildRequires: uv
|
||||
%{?sysusers_requires_compat}
|
||||
# for unit tests
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
%endif
|
||||
|
||||
@@ -99,6 +100,7 @@ BuildRequires: udev
|
||||
BuildRequires: vulkan-devel
|
||||
%endif
|
||||
# for unit tests
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: xvfb-run
|
||||
%endif
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ cleanup:
|
||||
|
||||
modules:
|
||||
# Test dependencies
|
||||
- "modules/imagemagick.json"
|
||||
- "modules/xvfb/xvfb.json"
|
||||
|
||||
# Build dependencies
|
||||
|
||||
20
packaging/linux/flatpak/modules/imagemagick.json
Normal file
20
packaging/linux/flatpak/modules/imagemagick.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "imagemagick",
|
||||
"cleanup": [
|
||||
"*"
|
||||
],
|
||||
"config-opts": [
|
||||
"--disable-docs",
|
||||
"--disable-static",
|
||||
"--with-modules=no",
|
||||
"--with-perl=no",
|
||||
"--with-x"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://download.imagemagick.org/archive/releases/ImageMagick-7.1.2-29.tar.xz",
|
||||
"sha256": "bab096dc4b3089be4c0ebfdb90a232b85b7d982a99f722b30512fb243ea1e4ce"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -70,6 +70,7 @@ class Sunshine < Formula
|
||||
depends_on "gcovr" => [:build, :test]
|
||||
depends_on "lizardbyte/homebrew/#{CUDA_FORMULA}" => :build
|
||||
depends_on "python3" => :build
|
||||
depends_on "imagemagick" => :test
|
||||
depends_on "at-spi2-core"
|
||||
depends_on "avahi"
|
||||
depends_on "cairo"
|
||||
|
||||
Reference in New Issue
Block a user