diff options
-rw-r--r-- | audio/audacity/README | 7 | ||||
-rw-r--r-- | audio/audacity/audacity.SlackBuild | 10 |
2 files changed, 8 insertions, 9 deletions
diff --git a/audio/audacity/README b/audio/audacity/README index 3e3b5b0653904..9edf3fedb1e66 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 8d9d32e1dc3e9..488b45529808c 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 |