Skip to content

Commit

Permalink
upd(obs-backgroundremoval): 1.1.3 -> 1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
umireon committed Sep 22, 2023
1 parent 077e12b commit d4023be
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions packages/obs-backgroundremoval/obs-backgroundremoval.pacscript
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"

incompatible=('*:jammy' '*: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-ci-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}"
}

0 comments on commit d4023be

Please sign in to comment.