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 }