Compare commits

..

No commits in common. "7225f40574b5e5f0c8b5b1a95e610071404c7531" and "6eceba77fb076118b135ec7fe445cfd348bafb77" have entirely different histories.

2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
pkgbase = obs-vkcapture
pkgver = 1.3.0
pkgver = 1.2.2
pkgrel = 1
url = https://github.com/nowrep/obs-vkcapture
arch = x86_64
@ -13,8 +13,8 @@ pkgbase = obs-vkcapture
depends = vulkan-icd-loader
depends = libgl
depends = obs-studio>=27
source = https://github.com/nowrep/obs-vkcapture/archive/v1.3.0/obs-vkcapture-1.3.0.tar.gz
sha512sums = 60e7bb315c8863fe97160e1cae19286ea70ff2d820d1868e45f84dd41955dc77bcc5e94b3075a81d05bfd32f523e84fbca0d57429a9e94ef0c80fb95b3dc8f68
source = https://github.com/nowrep/obs-vkcapture/archive/v1.2.2/obs-vkcapture-1.2.2.tar.gz
sha512sums = 382578afbd9bfacc4e3b2bf16e244ab8318e07c1cfdbe2d887acae6eefea4eba5ccc03e0e96ddd06e1bb65a229c622eb8205a380dace0abb91dce07812419a31
pkgname = obs-vkcapture
pkgdesc = OBS Linux Vulkan/OpenGL game capture

View file

@ -2,7 +2,7 @@
pkgbase=obs-vkcapture
pkgname=("$pkgbase" "lib32-$pkgbase")
pkgver=1.3.0
pkgver=1.2.2
pkgrel=1
url="https://github.com/nowrep/$pkgbase"
license=('GPL2')
@ -10,7 +10,7 @@ arch=('x86_64')
depends=('vulkan-icd-loader' 'libgl' 'obs-studio>=27')
makedepends=('gcc' 'cmake' 'vulkan-headers' 'lib32-gcc-libs' 'lib32-vulkan-icd-loader' 'lib32-libgl')
source=("https://github.com/nowrep/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz")
sha512sums=('60e7bb315c8863fe97160e1cae19286ea70ff2d820d1868e45f84dd41955dc77bcc5e94b3075a81d05bfd32f523e84fbca0d57429a9e94ef0c80fb95b3dc8f68')
sha512sums=('382578afbd9bfacc4e3b2bf16e244ab8318e07c1cfdbe2d887acae6eefea4eba5ccc03e0e96ddd06e1bb65a229c622eb8205a380dace0abb91dce07812419a31')
build() {
cmake -B build -S "$pkgbase-$pkgver" \
@ -18,7 +18,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_DATADIR=/share \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
make -C build
export CFLAGS="-m32 ${CFLAGS}"
export CXXFLAGS="-m32 ${CXXFLAGS}"
@ -31,19 +31,19 @@ build() {
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_PLUGIN=OFF
cmake --build build32
make -C build32
}
package_obs-vkcapture() {
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
DESTDIR="$pkgdir" cmake --install build
make -C build DESTDIR="$pkgdir" install
}
package_lib32-obs-vkcapture() {
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
depends=('lib32-vulkan-icd-loader' 'lib32-libgl')
DESTDIR="$pkgdir" cmake --install build32
make -C build32 DESTDIR="$pkgdir" install
rm -r "$pkgdir/usr/bin"
}