summaryrefslogtreecommitdiffstats
path: root/audio/asap/doinst.sh
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2022-12-28 17:38:21 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:40 +0700
commit1f4cc25436f81d00a8d4451912902e11ed5e5961 (patch)
treef120668277e79c6ee2a8c6ffadba041c20c7a917 /audio/asap/doinst.sh
parentaa429a232eddb1c8f36630fb66a9ae173c3791ea (diff)
downloadslackbuilds-1f4cc25436f81d00a8d4451912902e11ed5e5961.tar.gz
slackbuilds-1f4cc25436f81d00a8d4451912902e11ed5e5961.tar.xz
audio/asap: Added (Atari 8-bit chiptune formats player/converter)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/asap/doinst.sh')
-rw-r--r--audio/asap/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/asap/doinst.sh b/audio/asap/doinst.sh
new file mode 100644
index 0000000000..e0483cbf59
--- /dev/null
+++ b/audio/asap/doinst.sh
@@ -0,0 +1,10 @@
+# we're installing a VLC plugin, avoid "error: stale plugins cache"
+# when running vlc.
+
+if [ -x ./usr/lib64/vlc/vlc-cache-gen -a -x usr/lib64/vlc/plugins/demux/libasap_plugin.so ]; then
+ ./usr/lib64/vlc/vlc-cache-gen ./usr/lib64/vlc/
+fi
+
+if [ -x ./usr/lib/vlc/vlc-cache-gen -a -x usr/lib/vlc/plugins/demux/libasap_plugin.so ]; then
+ ./usr/lib/vlc/vlc-cache-gen ./usr/lib/vlc/
+fi