diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | codecs-preload.install | 3 |
3 files changed, 5 insertions, 0 deletions
@@ -3,6 +3,7 @@ pkgbase = nwjs-ffmpeg-codecs-bin pkgver = 0.37.4 pkgrel = 1 url = https://github.com/iteufel/nwjs-ffmpeg-prebuilt + install = codecs-preload.install arch = x86_64 license = LGPL2.1 depends = nwjs-bin @@ -9,6 +9,7 @@ url="https://github.com/iteufel/nwjs-ffmpeg-prebuilt" license=('LGPL2.1') source=("https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/$pkgver/$pkgver-linux-x64.zip") sha512sums=('c0f9af156f4475310d0e4b2063e927db5a06c5aef0edf9ab9ebefc6ea989c0f93257c50c5923ed3482601d41ee8a61e6c9dd42f97cf2b4973690c2c03f450e95') +install='codecs-preload.install' package() { install -d "/opt/nwjs" diff --git a/codecs-preload.install b/codecs-preload.install new file mode 100644 index 000000000000..a813b628410d --- /dev/null +++ b/codecs-preload.install @@ -0,0 +1,3 @@ +post_install() { + echo "IMPORTANT: outside of packages that depend on this, nwjs will still default to the builtin codecs, you have to set LD_PRELOAD=/opt/nwjs/libffmpeg.so to switch to this version!" +} |