diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2,29 +2,29 @@ pkgname=obs-source-record pkgver=0.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Plugin for OBS Studio to add a filter that allows you to record a source" arch=("x86_64" "aarch64") url="https://obsproject.com/forum/resources/source-record.1285/" license=("GPL2") depends=("obs-studio>=29") makedepends=("cmake" "git") +options=("debug") source=("$pkgname::git+https://github.com/exeldro/$pkgname#commit=4e27c040031831f9e9959f4947a6904ebe0fa23a") sha256sums=("SKIP") build() { - cd "$pkgname" - cmake -B build \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + cmake -B build -S "$pkgname" \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_INSTALL_LIBDIR=lib \ -DLINUX_PORTABLE=OFF \ - -DQT_VERSION=6 + -DQT_VERSION=6 \ + -DCMAKE_C_FLAGS="-Wno-error=deprecated-declarations" - make -C build + cmake --build build } package() { - cd "$pkgname" - make -C build DESTDIR="$pkgdir/" install + DESTDIR="$pkgdir" cmake --install build } |