diff options
author | B. Watson <urchlay@slackware.uk> | 2024-03-29 14:43:19 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-30 09:39:42 +0700 |
commit | 631f8349e681cccb80b917914cf9814d5cfbfe9c (patch) | |
tree | c099a20bdd79aa2f4cd9d9869826657f7eb881cd /audio | |
parent | ad44b7456bc94482e8281dd07aad70ba6f5c4193 (diff) |
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>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.SlackBuild | 38 | ||||
-rw-r--r-- | audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.info | 12 |
2 files changed, 25 insertions, 25 deletions
diff --git a/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.SlackBuild b/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.SlackBuild index 5a8f60c30c917..a901cf30e6248 100644 --- a/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.SlackBuild +++ b/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.SlackBuild @@ -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 - -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 +install -s -m0755 streaming_extractor_music $PKG/usr/bin -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 diff --git a/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.info b/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.info index cd6bf448b8490..c48939979ffd2 100644 --- a/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.info +++ b/audio/acousticbrainz-music-extractor/acousticbrainz-music-extractor.info @@ -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" |