diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/muse-sounds-manager/README | 26 | ||||
-rw-r--r-- | multimedia/muse-sounds-manager/doinst.sh | 13 | ||||
-rw-r--r-- | multimedia/muse-sounds-manager/muse-sounds-manager.SlackBuild | 96 | ||||
-rw-r--r-- | multimedia/muse-sounds-manager/muse-sounds-manager.info | 10 | ||||
-rw-r--r-- | multimedia/muse-sounds-manager/slack-desc | 19 |
5 files changed, 164 insertions, 0 deletions
diff --git a/multimedia/muse-sounds-manager/README b/multimedia/muse-sounds-manager/README new file mode 100644 index 0000000000000..ee837e9d76b5d --- /dev/null +++ b/multimedia/muse-sounds-manager/README @@ -0,0 +1,26 @@ +Muse Sounds Manager (Linux Muse Hub) is a new label of optional +high quality playback instruments for MuseScore 4. + +Painstakingly recorded and edited specifically for the custom and +revolutionary playback engine that powers these applications, +they are capable of rendering incredibly lifelike results which +breathe realism and emotion into your compositions. + +The first releases from Muse Sounds cover the symphony orchestra +and choral voices. Incredibly, these beautifully crafted +instrument packs are available exclusively in Muse Hub +completely free. + +Notes: + +a) This is still beta software but does what is says in the box. + It runs only on x86_64 machines. + +b) Playing the "short preview" clips crashes the program, + solution is still under investigation. + +c) downloaded samples are placed in $HOME/.muse-sounds-manager, + additional data in $HOME/.local/share/MuseSampler, + don't forget to clean-up these is you uninstall. + +d) This software is not open source. diff --git a/multimedia/muse-sounds-manager/doinst.sh b/multimedia/muse-sounds-manager/doinst.sh new file mode 100644 index 0000000000000..9b51b160f673f --- /dev/null +++ b/multimedia/muse-sounds-manager/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/gnome/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/gnome >/dev/null 2>&1 + fi +fi diff --git a/multimedia/muse-sounds-manager/muse-sounds-manager.SlackBuild b/multimedia/muse-sounds-manager/muse-sounds-manager.SlackBuild new file mode 100644 index 0000000000000..b02fe6b2bd6ec --- /dev/null +++ b/multimedia/muse-sounds-manager/muse-sounds-manager.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for muse-sounds-manager + +# Copyright 2024 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=muse-sounds-manager +VERSION=${VERSION:-1.1.0.587} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ "$ARCH" = "x86_64" ] ; then + BASENAME=${BASENAME:-Muse_Sounds_Manager_Beta} +else + echo "Package for $(uname -m) architecture is not available." + exit 1 +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $PKG +ar p $CWD/$BASENAME.deb data.tar.xz | tar xvJ + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +# find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +# | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +strip --strip-unneeded $PKG/opt/muse-sounds-manager/libServiceCore.so + +# Fix launcher +sed -i '2d' $PKG/usr/share/applications/muse-sounds-manager.desktop +sed -i '4i GenericName=Additional Sound Samples' $PKG/usr/share/applications/muse-sounds-manager.desktop +sed -i '4i Comment=Create, play and print beautiful sheet music' $PKG/usr/share/applications/muse-sounds-manager.desktop +sed -i 's|Categories=GNOME;Application;Network|Categories=AudioVideo|' $PKG/usr/share/applications/muse-sounds-manager.desktop + +# Make sure top-level perms are correct: +chmod 0755 . +chmod +x $PKG/opt/$PRGNAM/*.so +chmod +x $PKG/opt/$PRGNAM/Muse.Client.Linux + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/muse-sounds-manager/muse-sounds-manager.info b/multimedia/muse-sounds-manager/muse-sounds-manager.info new file mode 100644 index 0000000000000..0f91267fb525c --- /dev/null +++ b/multimedia/muse-sounds-manager/muse-sounds-manager.info @@ -0,0 +1,10 @@ +PRGNAM="muse-sounds-manager" +VERSION="1.1.0.587" +HOMEPAGE="https://www.musehub.com/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://muse-cdn.com/Muse_Sounds_Manager_Beta.deb" +MD5SUM_x86_64="ce802c9d0706162ea5a569527a962cf8" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/multimedia/muse-sounds-manager/slack-desc b/multimedia/muse-sounds-manager/slack-desc new file mode 100644 index 0000000000000..305249a10acf9 --- /dev/null +++ b/multimedia/muse-sounds-manager/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +muse-sounds-manager: muse-sounds-manager (MuseScore 4 optional high quality sounds) +muse-sounds-manager: +muse-sounds-manager: Muse Sounds Manager (Muse Hub for linux) is a new label of optional +muse-sounds-manager: high quality playback instruments for MuseScore 4. +muse-sounds-manager: Painstakingly recorded and edited specifically for the custom and +muse-sounds-manager: revolutionary playback engine that powers these applications, +muse-sounds-manager: they are capable of rendering incredibly lifelike results which +muse-sounds-manager: breathe realism and emotion into your compositions. +muse-sounds-manager: +muse-sounds-manager: Homepage: https://www.musehub.com +muse-sounds-manager: |