diff options
author | tytan652 | 2023-05-04 14:48:08 +0200 |
---|---|---|
committer | tytan652 | 2023-05-04 14:48:08 +0200 |
commit | a15201dbb6ed210358181a184cea8278fdb3f4c6 (patch) | |
tree | b8e8498bf76b9a1a0e67fc6ea9517348e7d6d3eb /PKGBUILD | |
parent | 23df252cf4369cc7a01c7b71947e5d068918d625 (diff) | |
download | aur-a15201dbb6ed210358181a184cea8278fdb3f4c6.tar.gz |
build: Add -Wno-error=deprecated-declarations
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 } |