summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Georgievskiy2020-11-29 17:18:49 +0300
committerAlexander Georgievskiy2020-11-29 17:18:49 +0300
commit77d1e3f42bcd489cdfae21879c5247f3ab1b29e3 (patch)
treef0c3445bf1110f1ed1ee3e629697c36800142927
downloadaur-77d1e3f42bcd489cdfae21879c5247f3ab1b29e3.tar.gz
Initial commit
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD26
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dbe8c73ac0f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = lib32-ffmpeg-steam
+ pkgdesc = ln -s /usr/lib32/libva.so /usr/lib32/libva.so.1 (fix VAAPI for Steam)
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://freedesktop.org/wiki/Software/vaapi
+ arch = x86_64
+ license = MIT
+ depends = lib32-libva
+
+pkgname = lib32-ffmpeg-steam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e968a89eafa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alexander Georgievskiy <galeksandrp@gmail.com>
+
+pkgname=lib32-ffmpeg-steam
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='ln -s /usr/lib32/libav*.so.57 /home/*/.local/share/Steam/ubuntu12_32/libav*.so.57 (fix VAAPI memleak for Steam)'
+arch=(x86_64)
+url='https://freedesktop.org/wiki/Software/vaapi'
+license=('MIT')
+depends=(lib32-ffmpeg-compat-57)
+makedepends=()
+optdepends=()
+source=()
+sha512sums=()
+
+symlink() {
+ find /home -type f ! -wholename '*/steam-runtime/*' -name "$1" -exec bash -c "mkdir -p ${pkgdir}\$(dirname {})" \;
+ find /home -type f ! -wholename '*/steam-runtime/*' -name "$1" -exec bash -c "ln -s /usr/lib32/\$(basename {}) ${pkgdir}{}" \;
+}
+
+package() {
+ symlink 'libavresample.so*'
+ symlink 'libavcodec.so*'
+ symlink 'libavutil.so*'
+ symlink 'libavformat.so*'
+}