Compare commits
No commits in common. "6eceba77fb076118b135ec7fe445cfd348bafb77" and "0a1698d0f16b08c7e7fd7855e15e080f5b92c2aa" have entirely different histories.
6eceba77fb
...
0a1698d0f1
2 changed files with 29 additions and 29 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,5 +1,5 @@
|
|||
pkgbase = obs-vkcapture
|
||||
pkgver = 1.2.2
|
||||
pkgver = 1.2.1
|
||||
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.2.2/obs-vkcapture-1.2.2.tar.gz
|
||||
sha512sums = 382578afbd9bfacc4e3b2bf16e244ab8318e07c1cfdbe2d887acae6eefea4eba5ccc03e0e96ddd06e1bb65a229c622eb8205a380dace0abb91dce07812419a31
|
||||
source = https://github.com/nowrep/obs-vkcapture/archive/v1.2.1.tar.gz
|
||||
sha512sums = 55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0
|
||||
|
||||
pkgname = obs-vkcapture
|
||||
pkgdesc = OBS Linux Vulkan/OpenGL game capture
|
||||
|
|
52
PKGBUILD
52
PKGBUILD
|
@ -2,48 +2,48 @@
|
|||
|
||||
pkgbase=obs-vkcapture
|
||||
pkgname=("$pkgbase" "lib32-$pkgbase")
|
||||
pkgver=1.2.2
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
url="https://github.com/nowrep/$pkgbase"
|
||||
license=('GPL2')
|
||||
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=('382578afbd9bfacc4e3b2bf16e244ab8318e07c1cfdbe2d887acae6eefea4eba5ccc03e0e96ddd06e1bb65a229c622eb8205a380dace0abb91dce07812419a31')
|
||||
source=("https://github.com/nowrep/$pkgbase/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0')
|
||||
|
||||
build() {
|
||||
cmake -B build -S "$pkgbase-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_INSTALL_DATADIR=/share \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make -C build
|
||||
cmake -B build -S "$pkgbase-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_INSTALL_DATADIR=/share \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make -C build -j $(nproc)
|
||||
|
||||
export CFLAGS="-m32 ${CFLAGS}"
|
||||
export CXXFLAGS="-m32 ${CXXFLAGS}"
|
||||
export LDFLAGS="-m32 ${LDFLAGS}"
|
||||
export CFLAGS="-m32 ${CFLAGS}"
|
||||
export CXXFLAGS="-m32 ${CXXFLAGS}"
|
||||
export LDFLAGS="-m32 ${LDFLAGS}"
|
||||
|
||||
cmake -B build32 -S "$pkgbase-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||
-DCMAKE_INSTALL_DATADIR=/share \
|
||||
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_PLUGIN=OFF
|
||||
make -C build32
|
||||
cmake -B build32 -S "$pkgbase-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||
-DCMAKE_INSTALL_DATADIR=/share \
|
||||
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_PLUGIN=OFF
|
||||
make -C build32 -j $(nproc)
|
||||
}
|
||||
|
||||
package_obs-vkcapture() {
|
||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
||||
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
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')
|
||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
|
||||
depends=('lib32-vulkan-icd-loader' 'lib32-libgl')
|
||||
|
||||
make -C build32 DESTDIR="$pkgdir" install
|
||||
rm -r "$pkgdir/usr/bin"
|
||||
make -C build32 DESTDIR="$pkgdir" install
|
||||
rm -r "$pkgdir/usr/bin"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue