audio/acousticbrainz-music-extractor: New maintainer, new downloads.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-03-29 14:43:19 -04:00 committed by Willy Sudiarto Raharjo
parent ad44b7456b
commit 631f8349e6
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 25 additions and 25 deletions

View File

@ -24,12 +24,21 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20240329 bkw: BUILD=2.
# - take over maintenance.
# - original downloads have gone away and aren't mirrored anywhere I can
# find. the new downloads are repacks (different md5sums) with slightly
# different filenames, so the script had to be modified for them.
# - include upstream's documentation in the package.
# TODO: what about all the other streaming_* binaries in the tarball?
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=acousticbrainz-music-extractor
SRCNAM=essentia-extractor
SRCNAM=essentia-extractors
VERSION=${VERSION:-v2.1_beta2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -52,9 +61,6 @@ else
exit 1
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -69,25 +75,19 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION-linux-$ARCH.tar.gz
cd $SRCNAM-$VERSION
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 {} \;
chmod 644 *
mkdir -p $PKG/usr/bin
cp -a streaming_extractor_music $PKG/usr/bin
install -s -m0755 streaming_extractor_music $PKG/usr/bin
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a *.rst *.txt $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,10 +1,10 @@
PRGNAM="acousticbrainz-music-extractor"
VERSION="v2.1_beta2"
HOMEPAGE="https://acousticbrainz.org/"
DOWNLOAD="ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v2.1_beta2-linux-i686.tar.gz"
MD5SUM="c8300d6fae0d9a9a3767ea52cafd166e"
DOWNLOAD_x86_64="ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v2.1_beta2-linux-x86_64.tar.gz"
MD5SUM_x86_64="a9d17b2726586ea1b2c667c9adec1445"
DOWNLOAD="http://essentia.upf.edu/extractors/essentia-extractors-v2.1_beta2-linux-i686.tar.gz"
MD5SUM="a75f35951615e500fc16f63d06ee37c5"
DOWNLOAD_x86_64="http://essentia.upf.edu/extractors/essentia-extractors-v2.1_beta2-linux-x86_64.tar.gz"
MD5SUM_x86_64="f063fcf9ef65b6e0e9805eae8c3fbb9a"
REQUIRES=""
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"