use libsysprof-capture
Signed-off-by: Sung Mingi <FiestaLake@protonmail.com>
This commit is contained in:
parent
77d95cd750
commit
0cb76e5897
2 changed files with 11 additions and 10 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,13 +1,13 @@
|
|||
pkgbase = mutter-performance
|
||||
pkgdesc = A window manager for GNOME | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
|
||||
pkgver = 41.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://gitlab.gnome.org/GNOME/mutter
|
||||
arch = x86_64
|
||||
groups = gnome
|
||||
license = GPL
|
||||
checkdepends = xorg-server-xvfb
|
||||
checkdepends = pipewire-media-session
|
||||
checkdepends = wireplumber
|
||||
checkdepends = python-dbusmock
|
||||
makedepends = gobject-introspection
|
||||
makedepends = git
|
||||
|
@ -15,6 +15,7 @@ pkgbase = mutter-performance
|
|||
makedepends = meson
|
||||
makedepends = xorg-server
|
||||
makedepends = wayland-protocols
|
||||
makedepends = sysprof
|
||||
depends = dconf
|
||||
depends = gobject-introspection-runtime
|
||||
depends = gsettings-desktop-schemas
|
||||
|
@ -32,6 +33,7 @@ pkgbase = mutter-performance
|
|||
depends = xorg-xwayland
|
||||
depends = graphene
|
||||
depends = libxkbfile
|
||||
depends = libsysprof-capture
|
||||
provides = mutter
|
||||
provides = mutter-781835-workaround
|
||||
provides = libmutter-9.so
|
||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -19,7 +19,7 @@ _merge_requests_to_use=('1441')
|
|||
|
||||
pkgname=mutter-performance
|
||||
pkgver=41.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A window manager for GNOME | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync"
|
||||
url="https://gitlab.gnome.org/GNOME/mutter"
|
||||
arch=(x86_64)
|
||||
|
@ -27,10 +27,10 @@ license=(GPL)
|
|||
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
|
||||
libcanberra startup-notification zenity libsm gnome-desktop upower
|
||||
libxkbcommon-x11 gnome-settings-daemon libgudev libinput pipewire
|
||||
xorg-xwayland graphene libxkbfile)
|
||||
xorg-xwayland graphene libxkbfile libsysprof-capture)
|
||||
makedepends=(gobject-introspection git egl-wayland meson xorg-server
|
||||
wayland-protocols)
|
||||
checkdepends=(xorg-server-xvfb pipewire-media-session python-dbusmock)
|
||||
wayland-protocols sysprof)
|
||||
checkdepends=(xorg-server-xvfb wireplumber python-dbusmock)
|
||||
provides=(mutter mutter-781835-workaround libmutter-9.so)
|
||||
conflicts=(mutter)
|
||||
replaces=(mutter-781835-workaround)
|
||||
|
@ -147,8 +147,7 @@ build() {
|
|||
arch-meson $pkgname build \
|
||||
-D egl_device=true \
|
||||
-D wayland_eglstream=true \
|
||||
-D installed_tests=false \
|
||||
-D profiler=false
|
||||
-D installed_tests=false
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
|
@ -160,7 +159,7 @@ _check() (
|
|||
pipewire &
|
||||
_p1=$!
|
||||
|
||||
pipewire-media-session &
|
||||
wireplumber &
|
||||
_p2=$!
|
||||
|
||||
trap "kill $_p1 $_p2; wait" EXIT
|
||||
|
@ -169,7 +168,7 @@ _check() (
|
|||
)
|
||||
|
||||
check() {
|
||||
dbus-run-session xvfb-run -s '-nolisten local' \
|
||||
dbus-run-session xvfb-run -s '-nolisten local +iglx -noreset' \
|
||||
bash -c "$(declare -f _check); _check"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue