From 1a67453894e0fdb1502437c8a79ffe942a4a18f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sun, 25 Aug 2024 13:36:10 +0300 Subject: [PATCH] gamemode 1.8.1 --- gamemode-lib32/alr.sh | 19 +++++++++++-------- gamemode/alr.sh | 5 +++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gamemode-lib32/alr.sh b/gamemode-lib32/alr.sh index 66a1506..ab8736e 100644 --- a/gamemode-lib32/alr.sh +++ b/gamemode-lib32/alr.sh @@ -6,22 +6,25 @@ homepage='https://github.com/FeralInteractive/gamemode' maintainer="Евгений Храмов " architectures=('amd64') license=('BSD-3-Clause') -provides=('gamemode') -conflicts=('gamemode' 'gamemode-bin' 'gamemode-git') +provides=('libgamemode.so' 'libgamemodeauto.so') +conflicts=('gamemode-lib32' 'gamemode-lib32-bin' 'gamemode-lib32-git') deps=( - 'lib32-dbus' - 'lib32-glibc' - 'lib32-systemd' + 'dbus(x86-32)' + 'glibc(x86-32)' + 'systemd(x86-32)' ) deps_arch=( 'lib32-dbus' 'lib32-glibc' 'lib32-systemd' - ) + build_deps=( 'git' + 'glibc-devel(x86-32)' + 'libstdc++-devel(x86-32)' + 'dbus-libs(x86-32)' 'meson' 'appstream' ) @@ -32,8 +35,8 @@ checksums=('SKIP') build() { cd ${srcdir} export CC='gcc -m32' - export PKG_CONFIG_PATH=/usr/lib32/pkgconfig - meson gamemode build --libdir /usr/lib32 -Dwith-examples=false -Dwith-sd-bus-provider=no-daemon -Dwith-util=false + export PKG_CONFIG_PATH=/usr/lib/pkgconfig + meson gamemode build --libdir /usr/lib -Dwith-examples=false -Dwith-sd-bus-provider=no-daemon -Dwith-util=false meson compile -C build } diff --git a/gamemode/alr.sh b/gamemode/alr.sh index bc87a49..20755a0 100644 --- a/gamemode/alr.sh +++ b/gamemode/alr.sh @@ -6,7 +6,7 @@ homepage='https://github.com/FeralInteractive/gamemode' maintainer="Евгений Храмов " architectures=('amd64') license=('BSD-3-Clause') -provides=('gamemode') +provides=('libgamemode.so' 'libgamemodeauto.so') conflicts=('gamemode' 'gamemode-bin' 'gamemode-git') deps=( @@ -36,7 +36,8 @@ checksums=('SKIP') build() { cd ${srcdir} - meson gamemode build --libexecdir /usr/lib/gamemode -Dwith-examples=false + export PKG_CONFIG_PATH=/usr/lib64/pkgconfig + meson gamemode build --libexecdir /usr/lib64/gamemode -Dwith-examples=false meson compile -C build }