upgpkg: obs-vkcapture 1.2.1-1

upstream release
This commit is contained in:
Manuel 2022-10-30 14:15:29 +01:00
parent a395017635
commit fd8524cebd
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 12 additions and 10 deletions

View file

@ -1,5 +1,5 @@
pkgbase = obs-vkcapture pkgbase = obs-vkcapture
pkgver = 1.2.0 pkgver = 1.2.1
pkgrel = 1 pkgrel = 1
url = https://github.com/nowrep/obs-vkcapture url = https://github.com/nowrep/obs-vkcapture
arch = x86_64 arch = x86_64
@ -13,8 +13,8 @@ pkgbase = obs-vkcapture
depends = vulkan-icd-loader depends = vulkan-icd-loader
depends = libgl depends = libgl
depends = obs-studio>=27 depends = obs-studio>=27
source = https://github.com/nowrep/obs-vkcapture/archive/v1.2.0.tar.gz source = https://github.com/nowrep/obs-vkcapture/archive/v1.2.1.tar.gz
sha512sums = e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d sha512sums = 55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0
pkgname = obs-vkcapture pkgname = obs-vkcapture
pkgdesc = OBS Linux Vulkan/OpenGL game capture pkgdesc = OBS Linux Vulkan/OpenGL game capture

View file

@ -2,34 +2,36 @@
pkgbase=obs-vkcapture pkgbase=obs-vkcapture
pkgname=("$pkgbase" "lib32-$pkgbase") pkgname=("$pkgbase" "lib32-$pkgbase")
pkgver=1.2.0 pkgver=1.2.1
pkgrel=1 pkgrel=1
url="https://github.com/nowrep/$pkgbase" url="https://github.com/nowrep/$pkgbase"
license=('GPL2') license=('GPL2')
arch=('x86_64') arch=('x86_64')
depends=('vulkan-icd-loader' 'libgl' 'obs-studio>=27') depends=('vulkan-icd-loader' 'libgl' 'obs-studio>=27')
makedepends=('gcc' 'cmake' 'vulkan-headers' 'lib32-gcc-libs' 'lib32-vulkan-icd-loader' 'lib32-libgl') makedepends=('gcc' 'cmake' 'vulkan-headers' 'lib32-gcc-libs' 'lib32-vulkan-icd-loader' 'lib32-libgl')
source=("https://github.com/nowrep/$pkgbase/archive/v1.2.0.tar.gz") source=("https://github.com/nowrep/$pkgbase/archive/v$pkgver.tar.gz")
sha512sums=('e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d') sha512sums=('55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0')
build() { build() {
cmake -B build -S "$pkgbase-$pkgver" -DCMAKE_INSTALL_PREFIX=/usr \ cmake -B build -S "$pkgbase-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_DATADIR=/share \ -DCMAKE_INSTALL_DATADIR=/share \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
make -C build make -C build -j $(nproc)
export CFLAGS="-m32 ${CFLAGS}" export CFLAGS="-m32 ${CFLAGS}"
export CXXFLAGS="-m32 ${CXXFLAGS}" export CXXFLAGS="-m32 ${CXXFLAGS}"
export LDFLAGS="-m32 ${LDFLAGS}" export LDFLAGS="-m32 ${LDFLAGS}"
cmake -B build32 -S "$pkgbase-$pkgver" -DCMAKE_INSTALL_PREFIX=/usr \ cmake -B build32 -S "$pkgbase-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib32 \ -DCMAKE_INSTALL_LIBDIR=lib32 \
-DCMAKE_INSTALL_DATADIR=/share \ -DCMAKE_INSTALL_DATADIR=/share \
-DCMAKE_LIBRARY_PATH=/usr/lib32 \ -DCMAKE_LIBRARY_PATH=/usr/lib32 \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_PLUGIN=OFF -DBUILD_PLUGIN=OFF
make -C build32 make -C build32 -j $(nproc)
} }
package_obs-vkcapture() { package_obs-vkcapture() {