Package Details: magewell-pro-capture-dkms 1.3.0.4390-2

Git Clone URL: https://aur.archlinux.org/magewell-pro-capture-dkms.git (read-only, click to copy)
Package Base: magewell-pro-capture-dkms
Description: Driver for Magewell Pro Capture Family
Upstream URL: https://www.magewell.com/downloads/pro-capture#/driver/linux-x86
Licenses: unknown
Conflicts: magewell-pro-capture
Submitter: Jat
Maintainer: Jat
Last Packager: Jat
Votes: 7
Popularity: 0.007836
First Submitted: 2020-06-10 04:41 (UTC)
Last Updated: 2024-04-15 11:07 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

goldensuneur commented on 2021-01-11 09:31 (UTC)

Latest available version of the module does not build with kernel 5.10+ due to removal of get_fs and set_fs functions.

I contacted Magewell support and they gave me a link to a fixed version (4227): http://www.magewell.com/files/drivers/ProCaptureForLinux_4227.tar.gz

It builds fine on kernel 5.10+ however I'm not able to reboot to test it right now.

I also modified your PKGBUILD to directly use the archive from Magewell instead of a github repository.

Here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 11615f1..17ac4ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer: Jat <chat@jat.email>

 _pkgname=magewell-pro-capture
+pkgrev=4227
 pkgname=${_pkgname}-dkms
-pkgver=1.3.0.4186
+pkgver=1.3.0.${pkgrev}
 pkgrel=3
 pkgdesc='Driver for Magewell Pro Capture Family'
 arch=('x86_64')
@@ -10,11 +11,13 @@ url='https://www.magewell.com/downloads/pro-capture#/driver/linux-x86'
 license=('unknown')
 conflicts=("${_pkgname}")
 depends=('dkms' 'alsa-lib')
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/jat001/${_pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('ce333ff3274e92852f6a874c4a8c866530cc7bcfddf36545bf82f7ee8489fc4b')
+source=("http://www.magewell.com/files/drivers/ProCaptureForLinux_${pkgrev}.tar.gz"
+        "dkms.conf")
+sha256sums=('99538dd7c76408d85ccf71a02137484cfb3abcf610c0881ba8c61deaac3465e2'
+            'cc61510331f14af3898cacfe2ef37b6e12164bb2e9418b3c40e000c8548a914b')

 package() {
-    cd ${_pkgname}-${pkgver}
+    cd ProCaptureForLinux_${pkgrev}

     install -Dm644 src/res/* -t ${pkgdir}/usr/share/ProCapture/res
     sed -i 's#/usr/local/share/ProCapture/src/res#/usr/share/ProCapture/res#g' scripts/ProCapture.conf
@@ -25,6 +28,6 @@ package() {
     install -Dm755 bin/mwcap-info_64 ${pkgdir}/usr/bin/mwcap-info

     srcdir=${pkgdir}/usr/src/${_pkgname}-${pkgver}
-    install -Dm644 scripts/dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${srcdir}
+    install -Dm644 ../dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${srcdir}
     cp -r src/public src/sources ${srcdir}
 }