aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2024-05-08 16:17:33 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-11 08:12:31 +0700
commitfbf5d8e35fd18569babfcb2cd7ee63bfe9038fe8 (patch)
treec75cd45b3468fe78677ad0520a26ad41436b9c94 /audio
parentc4de9fb91e63df3c4b63af4988e807253d8017e9 (diff)
audio/audacity: Fix the manual install routine.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/audacity/README7
-rw-r--r--audio/audacity/audacity.SlackBuild10
2 files changed, 8 insertions, 9 deletions
diff --git a/audio/audacity/README b/audio/audacity/README
index 3e3b5b065390..9edf3fedb1e6 100644
--- a/audio/audacity/README
+++ b/audio/audacity/README
@@ -5,9 +5,12 @@ digital recordings, edit Ogg, MP3, and WAV sound files, and much more.
Optional dependencies (autodetected) are jack, ladspa_sdk, soundtouch,
twolame, vamp-plugin-sdk and vst3sdk.
-The manual is packaged with the application only if you pass the script
-the additional option
+The offline html manual will be packaged with the application and put
+in the /usr/doc/audacity-* directory only if you pass the script the
+additional option
MANUAL=yes
+From the application you will be able only to access the online manual
+with the default browser when selecting manual from the menu.
NOTE: for audacity to build/run wxWidgets needs to be built with
support for gtk+3 (it won't work if you build it against qt).
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 8d9d32e1dc3e..488b45529808 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -157,14 +157,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
rm -fr $PKG/usr/share/doc
cp LICENSE.* README.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# Before changing the version just check the path inside of the zip:
-# the index file must be located to /usr/share/audacity/help/manual/index.html
if [ "${MANUAL:-no}" = "yes" ]; then
- mkdir -p $PKG/usr/share/$PRGNAM/help
- cd $PKG/usr/share/$PRGNAM/help
- unzip $CWD/$PRGNAM-manual-$VERSION.zip
- mv $PRGNAM-manual-$VERSION manual
+ ( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ tar xf $CWD/$PRGNAM-manual-$VERSION.tar.gz
+ chown -R root:root help )
fi
mkdir -p $PKG/install