diff --git a/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript b/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript index c3470c9b1b..e0df94e31e 100755 --- a/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript +++ b/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript @@ -1,28 +1,24 @@ name="obs-backgroundremoval" repology=("project: obs-backgroundremoval") -pkgver="1.1.3" +pkgver="1.1.6" url="https://github.com/royshil/obs-backgroundremoval/archive/refs/tags/${pkgver}.tar.gz" -makedepends=("libobs-dev" "libcurl4-openssl-dev" "libssl-dev" "qt6-base-dev" "libsimde-dev" "ninja-build") +makedepends=("libobs-dev" "libcurl4-openssl-dev" "libssl-dev" "qt6-base-dev" "libgl1-mesa-dev" "ninja-build") pacdeps=("cmake-deb") breaks=("${name}-git") replace=("${name}") arch=('amd64') pkgdesc="OBS plugin to replace the background in portrait images and video" -hash="a3bcca2ad66f86d4d0b793895f517b1b5ffc7046655ca17baf3859d7a79fc75c" +hash="9c6c0e37c0b938d1ab7112c073ab97d61fa393a79d3bd4d77fb8b61387fa2fbe" maintainer="Zahrun " -incompatible=('*:jammy' '*:focal' '*:bionic' '*:buster' '*:bullseye') +incompatible=('*:focal' '*:bionic' '*:buster' '*:bullseye') build() { - mkdir build_x86_64 && cd build_x86_64 || return 1 - cmake --preset linux-x86_64 -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}"/usr .. > /dev/null - cmake --build . -j"${NCPU}" > /dev/null + cmake --preset linux-x86_64 -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build_x86_64 --parallel } package() { - cd build_x86_64 || return 1 - sudo cmake --install . > /dev/null - sudo mkdir -p "${pkgdir}"/usr/lib/x86_64-linux-gnu - sudo mv "${pkgdir}"/usr/lib/obs-plugins "${pkgdir}"/usr/lib/x86_64-linux-gnu/ - sudo install -Dm644 "../LICENSE" -t "${pkgdir}/usr/share/licenses/${name}" + sudo cmake --install build_x86_64 --prefix "${pkgdir}"/usr + sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" }