change dependencies as suggested by namcap

This commit is contained in:
horstderheld 2023-04-05 00:56:05 +02:00
parent 349e43eca3
commit aa69524cd7
2 changed files with 20 additions and 8 deletions

View file

@ -1,17 +1,29 @@
pkgbase = cemu-bin
pkgdesc = Nintendo Wii U Emulator
pkgver = 2.0.32
pkgrel = 1
pkgrel = 2
url = https://cemu.info
arch = x86_64
license = MPL2
makedepends = patchelf
depends = at-spi2-core
depends = cairo
depends = gcc-libs
depends = gdk-pixbuf2
depends = glib2
depends = glibc
depends = glu
depends = graphite
depends = gtk3
depends = harfbuzz
depends = hicolor-icon-theme
depends = libglvnd
depends = libice
depends = libsm
depends = pcre
depends = vulkan-driver
depends = libx11
depends = libxext
depends = libxrender
depends = pango
depends = wayland
provides = cemu
conflicts = cemu
conflicts = cemu-git

View file

@ -3,12 +3,13 @@
pkgname=cemu-bin
pkgver=2.0.32
pkgrel=1
pkgrel=2
pkgdesc="Nintendo Wii U Emulator"
arch=('x86_64')
url="https://cemu.info"
license=('MPL2')
depends=('glu' 'graphite' 'gtk3' 'libsm' 'pcre' 'vulkan-driver')
depends=('at-spi2-core' 'cairo' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'glu' 'gtk3' 'harfbuzz'
'hicolor-icon-theme' 'libglvnd' 'libice' 'libsm' 'libx11' 'libxext' 'libxrender' 'pango' 'wayland')
makedepends=('patchelf')
provides=('cemu')
conflicts=('cemu' 'cemu-git')
@ -26,7 +27,7 @@ sha256sums=('981a56f5a3fe7dcc89f67727574343d6bdb17b08209149ac665b75be49a576ca'
prepare() {
cd $srcdir/Cemu_$_srcver
_libs=('libpcre.so.3' 'libffi.so.7' 'libicuuc.so.71' 'libicui18n.so.71' 'libicudata.so.71')
_libs=('libffi.so.7' 'libicuuc.so.71' 'libicui18n.so.71' 'libicudata.so.71')
for lib in ${_libs[@]}
do
patchelf --replace-needed $lib ${lib%.*} ./Cemu
@ -34,7 +35,6 @@ prepare() {
patchelf --remove-needed libsepol.so.1 ./Cemu
patchelf --remove-needed libselinux.so.1 ./Cemu
patchelf --remove-needed libselinux.so.1 ./Cemu
}
package() {