Compare commits

...

22 commits

Author SHA1 Message Date
0899d6e5a9 upgpkg: obs-vkcapture 1.5.1-1
upstream release
2024-07-21 07:40:38 +02:00
632339086d Adopt SPDX identifiers for license fields 2024-07-21 07:32:40 +02:00
4e12e2d5e5 upgpkg: obs-vkcapture 1.5.0-1
upstream release
2024-04-01 19:48:21 +02:00
ac6f8db664 upgpkg: obs-vkcapture 1.4.9-1
upstream release
2024-02-11 17:57:25 +01:00
f478ec34d2 upgpkg: obs-vkcapture 1.4.8-1
upstream release
2023-12-30 09:56:09 +01:00
48ff14ac1e upgpkg: obs-vkcapture 1.4.7-1
upstream release
2023-12-03 19:15:11 +01:00
43fde2ad68 upgpkg: obs-vkcapture 1.4.6-1
upstream release
2023-12-01 20:09:34 +01:00
0696d5cdcf upgpkg: obs-vkcapture 1.4.5-1
upstream release
2023-11-09 17:06:03 +01:00
f13db420cc upgpkg: obs-vkcapture 1.4.4-1
upstream release
2023-10-03 20:42:00 +02:00
ca6bb3532f upgpkg: obs-vkcapture 1.4.3-1
upstream release
2023-09-18 23:50:47 +02:00
4cb47a5a01 upgpkg: obs-vkcapture 1.4.2-1
upstream release
2023-09-07 19:59:45 +02:00
371843cbe0 upgpkg: obs-vkcapture 1.4.1-1
upstream release
2023-07-13 06:37:14 +02:00
5e7aa1d21c upgpkg: obs-vkcapture 1.4.0-1
upstream release
2023-06-17 00:56:06 +02:00
a6bc89d062 upgpkg: obs-vkcapture 1.3.3-1
upstream release
2023-05-27 15:15:15 +02:00
8a718ad578 upgpkg: obs-vkcapture 1.3.2-1
upstream release
2023-04-04 00:58:31 +02:00
cd0237f4bd upgpkg: obs-vkcapture 1.3.1-1
upstream release
2023-03-28 00:58:31 +02:00
7225f40574 upgpkg: obs-vkcapture 1.3.0-1
upstream release
2023-01-17 17:10:21 +01:00
57c1e0daff Generically use cmake for build instead of make directly 2022-12-06 22:10:20 +01:00
6eceba77fb upgpkg: obs-vkcapture 1.2.2-1
upstream release
2022-11-29 19:08:19 +01:00
dd6f45b146 Revert setting jobs option for make
This option should be set in makepkg.conf instead of being passed by the package
2022-11-23 17:53:52 +01:00
f2df8d03a4 Update indentation and formatting 2022-11-15 17:34:12 +01:00
0a1698d0f1 upgpkg: obs-vkcapture 1.2.1-1
upstream release
2022-10-30 14:15:53 +01:00
2 changed files with 36 additions and 31 deletions

View file

@ -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

View file

@ -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"
} }