diff options
author | Jake | 2019-04-25 23:21:19 +0200 |
---|---|---|
committer | Jake | 2019-04-25 23:24:55 +0200 |
commit | 01c3a0005f57ed8d45f42a1ba918172d4a9b6f26 (patch) | |
tree | c755aec339e95794b063b0ca0242e4c415820d7e | |
parent | 7ee634190f8dfca0d8d83c27737e1865a6812cae (diff) | |
download | aur-01c3a0005f57ed8d45f42a1ba918172d4a9b6f26.tar.gz |
Add .install with ld preload notice
-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!" +} |