-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upd(obs-backgroundremoval): 1.1.3 -> 1.1.6
- Loading branch information
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
18 changes: 7 additions & 11 deletions
18
packages/obs-backgroundremoval/obs-backgroundremoval.pacscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" | ||
} |