Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upd(obs-backgroundremoval): 1.1.3 -> 1.1.6 #4576

Merged
merged 2 commits into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 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')
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}"
}
Loading