Compare commits
22 commits
main
...
packages/o
Author | SHA1 | Date | |
---|---|---|---|
0899d6e5a9 | |||
632339086d | |||
4e12e2d5e5 | |||
ac6f8db664 | |||
f478ec34d2 | |||
48ff14ac1e | |||
43fde2ad68 | |||
0696d5cdcf | |||
f13db420cc | |||
ca6bb3532f | |||
4cb47a5a01 | |||
371843cbe0 | |||
5e7aa1d21c | |||
a6bc89d062 | |||
8a718ad578 | |||
cd0237f4bd | |||
7225f40574 | |||
57c1e0daff | |||
6eceba77fb | |||
dd6f45b146 | |||
f2df8d03a4 | |||
0a1698d0f1 |
2 changed files with 36 additions and 31 deletions
11
.SRCINFO
11
.SRCINFO
|
@ -1,20 +1,22 @@
|
||||||
pkgbase = obs-vkcapture
|
pkgbase = obs-vkcapture
|
||||||
pkgver = 1.2.0
|
pkgver = 1.5.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
|
||||||
license = GPL2
|
license = GPL-2.0-or-later
|
||||||
makedepends = gcc
|
makedepends = gcc
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = vulkan-headers
|
makedepends = vulkan-headers
|
||||||
makedepends = lib32-gcc-libs
|
makedepends = lib32-gcc-libs
|
||||||
makedepends = lib32-vulkan-icd-loader
|
makedepends = lib32-vulkan-icd-loader
|
||||||
makedepends = lib32-libgl
|
makedepends = lib32-libgl
|
||||||
|
makedepends = lib32-libegl
|
||||||
depends = vulkan-icd-loader
|
depends = vulkan-icd-loader
|
||||||
depends = libgl
|
depends = libgl
|
||||||
|
depends = libegl
|
||||||
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.5.1/obs-vkcapture-1.5.1.tar.gz
|
||||||
sha512sums = e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d
|
sha512sums = 9477fd738cdf80e09aad46e58ee5e325aa4f5ae72fbe1cb22918d4910fd997ba2a012ce7ca3b24b1b3734983b94e9b7df391f3deca569a79c90c5d115a1a5eed
|
||||||
|
|
||||||
pkgname = obs-vkcapture
|
pkgname = obs-vkcapture
|
||||||
pkgdesc = OBS Linux Vulkan/OpenGL game capture
|
pkgdesc = OBS Linux Vulkan/OpenGL game capture
|
||||||
|
@ -23,3 +25,4 @@ pkgname = lib32-obs-vkcapture
|
||||||
pkgdesc = OBS Linux Vulkan/OpenGL game capture (32-bit)
|
pkgdesc = OBS Linux Vulkan/OpenGL game capture (32-bit)
|
||||||
depends = lib32-vulkan-icd-loader
|
depends = lib32-vulkan-icd-loader
|
||||||
depends = lib32-libgl
|
depends = lib32-libgl
|
||||||
|
depends = lib32-libegl
|
||||||
|
|
56
PKGBUILD
56
PKGBUILD
|
@ -2,46 +2,48 @@
|
||||||
|
|
||||||
pkgbase=obs-vkcapture
|
pkgbase=obs-vkcapture
|
||||||
pkgname=("$pkgbase" "lib32-$pkgbase")
|
pkgname=("$pkgbase" "lib32-$pkgbase")
|
||||||
pkgver=1.2.0
|
pkgver=1.5.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
url="https://github.com/nowrep/$pkgbase"
|
url="https://github.com/nowrep/$pkgbase"
|
||||||
license=('GPL2')
|
license=('GPL-2.0-or-later')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=('vulkan-icd-loader' 'libgl' 'obs-studio>=27')
|
depends=('vulkan-icd-loader' 'libgl' 'libegl' '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' 'lib32-libegl')
|
||||||
source=("https://github.com/nowrep/$pkgbase/archive/v1.2.0.tar.gz")
|
source=("https://github.com/nowrep/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz")
|
||||||
sha512sums=('e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d')
|
sha512sums=('9477fd738cdf80e09aad46e58ee5e325aa4f5ae72fbe1cb22918d4910fd997ba2a012ce7ca3b24b1b3734983b94e9b7df391f3deca569a79c90c5d115a1a5eed')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S "$pkgbase-$pkgver" -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -B build -S "$pkgbase-$pkgver" \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_DATADIR=/share \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_INSTALL_DATADIR=/share \
|
||||||
make -C build
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build build
|
||||||
|
|
||||||
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_LIBDIR=lib32 \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_DATADIR=/share \
|
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||||
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
-DCMAKE_INSTALL_DATADIR=/share \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
||||||
-DBUILD_PLUGIN=OFF
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
make -C build32
|
-DBUILD_PLUGIN=OFF
|
||||||
|
cmake --build build32
|
||||||
}
|
}
|
||||||
|
|
||||||
package_obs-vkcapture() {
|
package_obs-vkcapture() {
|
||||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
||||||
|
|
||||||
make -C build DESTDIR="$pkgdir" install
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
}
|
}
|
||||||
|
|
||||||
package_lib32-obs-vkcapture() {
|
package_lib32-obs-vkcapture() {
|
||||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
|
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
|
||||||
depends=('lib32-vulkan-icd-loader' 'lib32-libgl')
|
depends=('lib32-vulkan-icd-loader' 'lib32-libgl' 'lib32-libegl')
|
||||||
|
|
||||||
make -C build32 DESTDIR="$pkgdir" install
|
DESTDIR="$pkgdir" cmake --install build32
|
||||||
rm -r "$pkgdir/usr/bin"
|
rm -r "$pkgdir/usr/bin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue