gamemode 1.8.1

This commit is contained in:
Евгений Храмов 2024-08-25 13:36:10 +03:00
parent 61e4b7475f
commit 1a67453894
2 changed files with 14 additions and 10 deletions

@ -6,22 +6,25 @@ homepage='https://github.com/FeralInteractive/gamemode'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
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
}

@ -6,7 +6,7 @@ homepage='https://github.com/FeralInteractive/gamemode'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
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
}