diff options
Diffstat (limited to 'multimedia')
779 files changed, 15724 insertions, 6630 deletions
diff --git a/multimedia/AtomicParsley/AtomicParsley.SlackBuild b/multimedia/AtomicParsley/AtomicParsley.SlackBuild index 4cc89fbb80..2c80eb18a6 100644 --- a/multimedia/AtomicParsley/AtomicParsley.SlackBuild +++ b/multimedia/AtomicParsley/AtomicParsley.SlackBuild @@ -21,12 +21,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220331 bkw, BUILD=3: don't use "cp -a" when copying docs from $CWD. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=AtomicParsley SRCNAM=$( echo $PRGNAM | tr A-Z a-z ) VERSION=${VERSION:-0.9.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -75,9 +74,9 @@ 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ ./autogen.sh @@ -94,14 +93,14 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/tools +# 20220331 bkw: note, no -a in this cp command, else I end up with files +# owned by urchlay:users in the package. +cp $CWD/Using_AtomicParsley.{rtf,txt} $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING CREDITS Changes.txt README.md $CWD/Using_AtomicParsley.{rtf,txt} \ + COPYING CREDITS Changes.txt README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild install -D -m0755 tools/iTunMOVI-1.1.pl \ diff --git a/multimedia/AtomicParsley/AtomicParsley.info b/multimedia/AtomicParsley/AtomicParsley.info index 9e7b522e10..a587c7babf 100644 --- a/multimedia/AtomicParsley/AtomicParsley.info +++ b/multimedia/AtomicParsley/AtomicParsley.info @@ -6,5 +6,5 @@ MD5SUM="c4fb177b448304a20dbbf138db60c92a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/multimedia/AviSynthPlus/AviSynthPlus.SlackBuild b/multimedia/AviSynthPlus/AviSynthPlus.SlackBuild new file mode 100644 index 0000000000..08f6025268 --- /dev/null +++ b/multimedia/AviSynthPlus/AviSynthPlus.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for AviSynthPlus + +# Copyright 2022-2024 Vijay Marcel +# 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=AviSynthPlus +VERSION=${VERSION:-3.7.3} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +mkdir -pv $TMP/$PRGNAM-$VERSION/distrib/docs/english/source/_static + +cmake -B build -S $TMP/$PRGNAM-$VERSION \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ + -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_PLUGINS=ON \ + -DBUILD_SHARED_LIBS=ON \ + -DINSTALL_ONLY_HEADER=OFF \ + -DENABLE_CUDA=OFF + +make -C build +make -C build install DESTDIR=$PKG + +make -C $TMP/$PRGNAM-$VERSION/distrib/docs/english html + +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 --remove-section=.comment --remove-section=.note 2> /dev/null || true + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +cd $TMP/$PRGNAM-$VERSION/distrib/Examples; find . -type f -exec install -Dm644 "{}" "$PKG/usr/share/$PRGNAM-$VERSION/Examples/{}" \; + +cd ../.. + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cd $TMP/$PRGNAM-$VERSION/distrib/docs/english/build/html; for i in $(find . -type f); do install -Dm644 "${i}" "$PKG/usr/doc/$PRGNAM-$VERSION/${i}"; done + +cd ../../../../.. + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/AviSynthPlus/AviSynthPlus.info b/multimedia/AviSynthPlus/AviSynthPlus.info new file mode 100644 index 0000000000..147630d0db --- /dev/null +++ b/multimedia/AviSynthPlus/AviSynthPlus.info @@ -0,0 +1,10 @@ +PRGNAM="AviSynthPlus" +VERSION="3.7.3" +HOMEPAGE="https://avs-plus.net" +DOWNLOAD="https://github.com/AviSynth/AviSynthPlus/archive/v3.7.3/AviSynthPlus-3.7.3.tar.gz" +MD5SUM="e18f562c225aa04792f318a2d3039418" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="DevIL Sphinx" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/AviSynthPlus/README b/multimedia/AviSynthPlus/README new file mode 100644 index 0000000000..850a12ed33 --- /dev/null +++ b/multimedia/AviSynthPlus/README @@ -0,0 +1,5 @@ +avisynthplus is an improved version of avisynth +frameserver with improved features and developer +friendliness. + +This is an optional dependency of FFmpeg diff --git a/multimedia/straw-viewer/slack-desc b/multimedia/AviSynthPlus/slack-desc index aea1cf0983..dc642be285 100644 --- a/multimedia/straw-viewer/slack-desc +++ b/multimedia/AviSynthPlus/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -straw-viewer: straw-viewer (search and stream videos from youtube) -straw-viewer: -straw-viewer: straw-viewer is a lightweight application for searching and streaming -straw-viewer: videos from YouTube, using the API of invidio.us. The project is in -straw-viewer: its early development stages and some features are not implemented -straw-viewer: yet. -straw-viewer: -straw-viewer: -straw-viewer: -straw-viewer: -straw-viewer: +AviSynthPlus: AviSynthPlus (AviSynth With Improvements) +AviSynthPlus: +AviSynthPlus: AviSynthPlus is an improved version of avisynth +AviSynthPlus: frameserver with improved features and developer +AviSynthPlus: friendliness. +AviSynthPlus: +AviSynthPlus: +AviSynthPlus: Homepage:https://avs-plus.net +AviSynthPlus: +AviSynthPlus: +AviSynthPlus: diff --git a/multimedia/DivFix++/DivFix++.SlackBuild b/multimedia/DivFix++/DivFix++.SlackBuild index 559ce43d82..dd065ea558 100644 --- a/multimedia/DivFix++/DivFix++.SlackBuild +++ b/multimedia/DivFix++/DivFix++.SlackBuild @@ -22,25 +22,30 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220331 bkw: Modified by SlackBuilds.org, BUILD=3: +# - install docs to correct dir, usr/doc/$PRGNAM-$VERSION. +# - i486 => i586. +# - do not use wildcards for tarball name. +# - fix grammar in README and slack-desc. +# - make .desktop file validate. +# - use "set -e". + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=DivFix++ VERSION=${VERSION:-0.34} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -50,8 +55,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,32 +69,41 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM -tar xvf $CWD/${PRGNAM}_v$VERSION-src.tar.?z* || exit 1 +tar xvf $CWD/${PRGNAM}_v$VERSION-src.tar.bz2 || \ + tar xvf $CWD/DivFix%2B%2B_v$VERSION-src.tar.bz2 cd ${PRGNAM}_v$VERSION || exit 1 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ + +# 20220331 bkw: fix warnings and errors from desktop-file-validate. also +# use absolute path to icon, since it's not in /usr/share/icons/. +sed -i \ + -e '/Version/s,=v,=,' \ + -e '/^Icon/s,=,=/usr/share/pixmaps/,' \ + -e '/^Categories/s,Application;,,' \ + -e '/^Encoding/d' \ + resources/DivFix++.desktop CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ - make || exit 1 -make install DESTDIR=$PKG || exit 1 - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + make +make install DESTDIR=$PKG +strip $PKG/usr/bin/$PRGNAM cd $TMP/${PRGNAM}_v$VERSION/docs -mkdir -p $PKG/usr/doc/${PRGNAM}_v$VERSION -cp -a Change.log GPL.txt ReadMe.txt \ - $PKG/usr/doc/${PRGNAM}_v$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/${PRGNAM}_v$VERSION/$PRGNAM.SlackBuild +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Change.log GPL.txt ReadMe.txt $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 diff --git a/multimedia/DivFix++/README b/multimedia/DivFix++/README index f52b1e4430..4b9fdc570f 100644 --- a/multimedia/DivFix++/README +++ b/multimedia/DivFix++/README @@ -1,8 +1,8 @@ -This program repairs broken AVI file streams by rebuilding index -part of file. This is very useful when trying to preview movies -which has no index part, like some files are currently downloading -from ed2k (eMule) or bittorent networks. DivFix++ specialy designed -for preview video download files from P2P networks. +This program repairs broken AVI file streams by rebuilding the index +part of the file. This is very useful when trying to preview movies +which have no index part, like files that are partially downloaded +from ed2k (eMule) or bittorent networks. DivFix++ is specially +designed for previewing video download files from P2P networks before +they have finished downloading. -Note that wxGTK3 could be used as a dependency in alternative -to wxPython. +Note that wxGTK3 could be used as a dependency instead of wxPython. diff --git a/multimedia/DivFix++/slack-desc b/multimedia/DivFix++/slack-desc index 08f14859ae..3878d32c9e 100644 --- a/multimedia/DivFix++/slack-desc +++ b/multimedia/DivFix++/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| DivFix++: DivFix++ (CLI "DivFix" clone) DivFix++: -DivFix++: This program repairs broken AVI file streams by rebuilding index -DivFix++: part of file. This is very useful when trying to preview movies -DivFix++: which has no index part, like some files are currently downloading -DivFix++: from ed2k (eMule) or bittorent networks. DivFix++ specialy designed -DivFix++: for preview video download files from P2P networks. +DivFix++: This program repairs broken AVI file streams by rebuilding the index +DivFix++: part of the file. This is very useful when trying to preview movies +DivFix++: which have no index part, like files that are partially downloaded +DivFix++: from ed2k (eMule) or bittorent networks. DivFix++ is specially +DivFix++: desigmed for previewing video download files from P2P networks before +DivFix++: they have finished downloading. DivFix++: DivFix++: Homepage: http://divfixpp.sourceforge.net/ DivFix++: -DivFix++: diff --git a/multimedia/FFaudioConverter/FFaudioConverter.SlackBuild b/multimedia/FFaudioConverter/FFaudioConverter.SlackBuild new file mode 100644 index 0000000000..e7c324b3d8 --- /dev/null +++ b/multimedia/FFaudioConverter/FFaudioConverter.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash +# +# Slackware build script for FFaudioConverter. +# +# Copyright 2023-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# 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=FFaudioConverter +VERSION=${VERSION:-0.32.0} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \+ + +mkdir -p build +cd build/ + +qmake-qt5 PREFIX=$PKG/usr ../FFaudioConverter.pro -spec linux-g++ CONFIG+=release +make +strip -s ffaudioconverter +make DESTDIR=$PKG/usr install + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +install -m0644 ../{LICENSE,README.md} $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/FFaudioConverter/FFaudioConverter.info b/multimedia/FFaudioConverter/FFaudioConverter.info new file mode 100644 index 0000000000..8aafaaf5aa --- /dev/null +++ b/multimedia/FFaudioConverter/FFaudioConverter.info @@ -0,0 +1,10 @@ +PRGNAM="FFaudioConverter" +VERSION="0.32.0" +HOMEPAGE="https://github.com/Bleuzen/FFaudioConverter/" +DOWNLOAD="https://github.com/Bleuzen/FFaudioConverter/archive/v0.32.0/FFaudioConverter-0.32.0.tar.gz" +MD5SUM="a02068b13e5016327d9bb561b35fef36" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/multimedia/FFaudioConverter/README b/multimedia/FFaudioConverter/README new file mode 100644 index 0000000000..0c75eb7433 --- /dev/null +++ b/multimedia/FFaudioConverter/README @@ -0,0 +1,21 @@ +FFaudioConverter (Graphical audio converter) + +is a GUI for converting music or videos to audio files with FFmpeg. + +Features: + * DnD support + * Multithreading (use the full power of your cpu) + * Convert many files or whole directories very fast + * Audio filters possible (bass boost your music or do fade-ins/outs...) + * Change of samplerate possible + * High quality resampling with SoX possible + * Quick mode for copying files in same format and skip already + converted files + +Currently supported output formats are: + * mp3 + * aac + * ogg + * opus + * flac + * wav diff --git a/multimedia/subtitlecomposer/doinst.sh b/multimedia/FFaudioConverter/doinst.sh index 0fb9c8b686..aea0f894eb 100644 --- a/multimedia/subtitlecomposer/doinst.sh +++ b/multimedia/FFaudioConverter/doinst.sh @@ -11,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - diff --git a/multimedia/subtitlecomposer/slack-desc b/multimedia/FFaudioConverter/slack-desc index a18a5db3e7..04132c8d96 100644 --- a/multimedia/subtitlecomposer/slack-desc +++ b/multimedia/FFaudioConverter/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -subtitlecomposer: subtitlecomposer (A text-based subtitles editor) -subtitlecomposer: -subtitlecomposer: subtitlecomposer is a text-based subtitles editor that supports basic -subtitlecomposer: operations as well as more advanced ones, aiming to become an improved -subtitlecomposer: version of Subtitle Workshop for every platform supported by KDE. -subtitlecomposer: -subtitlecomposer: -subtitlecomposer: -subtitlecomposer: -subtitlecomposer: -subtitlecomposer: +FFaudioConverter: FFaudioConverter (Graphical audio converter) +FFaudioConverter: +FFaudioConverter: is a GUI for converting music or videos to audio files with FFmpeg. +FFaudioConverter: +FFaudioConverter: +FFaudioConverter: Home page: https://github.com/Bleuzen/FFaudioConverter/ +FFaudioConverter: +FFaudioConverter: +FFaudioConverter: +FFaudioConverter: +FFaudioConverter: diff --git a/multimedia/Gem/Gem.SlackBuild b/multimedia/Gem/Gem.SlackBuild index 3ebe9c5f87..16a4e081f6 100644 --- a/multimedia/Gem/Gem.SlackBuild +++ b/multimedia/Gem/Gem.SlackBuild @@ -3,10 +3,14 @@ # # Michales (clavisound) Michaloudes korgie@gmail.com <2017> +# 20220214 bkw: Modified by SlackBuilds.org: +# - updated for v0.94, as 0.93.3 won't build on Slackware 15.0. +# - moved pkg-config stuff to proper place (/usr/lib64 on x86_64). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Gem -VERSION=${VERSION:-0.93.3} +VERSION=${VERSION:-0.94} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -19,9 +23,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -47,18 +48,21 @@ fi set -e +ZIPFILE="$CWD/Gem[v0.94](Sources).dek" +[ -e "$ZIPFILE" ] || ZIPFILE="$CWD/Gem%5Bv0.94%5D%28Sources%29.dek" + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM +unzip $ZIPFILE +cd $PRGNAM 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # I think useless # patch externals/Gem/configure.ac < $CWD/change_gem_configure_file.patch @@ -66,8 +70,10 @@ find -L . \ # Cannot manage to compile with v4l2 # sed -i "s|linux/videodev\.h|libv4l1-videodev.h|" configure || exit 1 +./autogen.sh + CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" +CXXFLAGS="$SLKCFLAGS -std=c++11 -fpermissive" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -87,10 +93,12 @@ make # make install DESTDIR=$PKG/usr/lib${LIBDIRSUFFIX}/pd/extra # will go to $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG -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 +if [ -n "$LIBDIRSUFFIX" ] ; then + mv $PKG/usr/lib/pkgconfig $PKG/usr/lib$LIBDIRSUFFIX +fi +rmdir $PKG/usr/lib 2>/dev/null || true # does nothing on 32-bit. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/Gem/Gem.info b/multimedia/Gem/Gem.info index 3dca8f22a4..4113217a69 100644 --- a/multimedia/Gem/Gem.info +++ b/multimedia/Gem/Gem.info @@ -1,10 +1,10 @@ PRGNAM="Gem" -VERSION="0.93.3" +VERSION="0.94" HOMEPAGE="http://gem.iem.at" -DOWNLOAD="http://gem.iem.at/releases/0.93.3/Gem-0.93.3.tar.gz" -MD5SUM="06ec538d157b06cbb2972c0e137ddb48" +DOWNLOAD="http://gem.iem.at/releases/0.94/Gem%5Bv0.94%5D%28Sources%29.dek" +MD5SUM="20b3f7aaca8f77b1691b89145e80bb4f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pd" +REQUIRES="pd ftgl" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild index 87a3bd5707..e16c80373b 100644 --- a/multimedia/HandBrake/HandBrake.SlackBuild +++ b/multimedia/HandBrake/HandBrake.SlackBuild @@ -10,8 +10,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=HandBrake -VERSION=${VERSION:-1.0.7} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.5.1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} DOCDIR=${DOCDIR:-/usr/doc} @@ -24,9 +24,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -36,8 +33,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -51,8 +48,6 @@ else fi SLKCFLAGS="$SLKCFLAGS -fno-aggressive-loop-optimizations" -saved_CFLAGS="$CFLAGS" -saved_CXXFLAGS="$CFLAGS" export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" @@ -62,10 +57,10 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2 cd $PRGNAM-$VERSION mkdir -p download -cp -r $CWD/* download +cp -r $CWD/*{gz,bz2} download chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -73,25 +68,33 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# 20220324 bkw: this fixes the 32-bit build, at the cost of adding +# x265 as a required dep. It's based on Debian's +# 0001-Remove-embedded-downloaded-copies-of-various-librari.patch +# ...but it only affects x265. +patch -p1 < $CWD/system_x265.diff + +# Autodetect onevpl support +if pkg-config --exists vpl ; then qsv="--enable-qsv" ; else qsv="" ; fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --disable-gtk-update-checks \ --enable-fdk-aac \ - --disable-libav-aac \ + --enable-nvenc \ + --enable-vce \ --enable-x265 \ + $qsv \ --arch=$ARCH cd build - # Fix underlinking by configuring the gtk module first, then sed: - make gtk.configure make make install DESTDIR=$PKG -cd $TMP/$PRGNAM-$VERSION +strip $PKG/usr/bin/* -export CFLAGS="$saved_CFLAGS" -export CXXFLAGS="$saved_CXXFLAGS" +cd $TMP/$PRGNAM-$VERSION mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION cp -a AUTHORS.markdown COPYING NEWS.markdown THANKS.markdown README.markdown \ diff --git a/multimedia/HandBrake/HandBrake.info b/multimedia/HandBrake/HandBrake.info index 52166db079..3b55d6b603 100644 --- a/multimedia/HandBrake/HandBrake.info +++ b/multimedia/HandBrake/HandBrake.info @@ -1,26 +1,30 @@ PRGNAM="HandBrake" -VERSION="1.0.7" +VERSION="1.5.1" HOMEPAGE="https://handbrake.fr/" -DOWNLOAD="https://download.handbrake.fr/releases/1.0.7/HandBrake-1.0.7.tar.bz2 \ - https://download.handbrake.fr/contrib/libvpx-1.5.0.tar.bz2 \ - https://download.handbrake.fr/handbrake/contrib/libav-12.tar.gz \ - https://download.handbrake.fr/handbrake/contrib/fdk-aac-0.1.4.tar.gz \ - https://download.handbrake.fr/handbrake/contrib/libdvdread-5.0.0-6-gcb1ae87.tar.gz \ - https://download.handbrake.fr/handbrake/contrib/libdvdnav-5.0.1.tar.bz2 \ - https://download.handbrake.fr/contrib/x265_2.1-1.tar.gz \ - https://download.handbrake.fr/handbrake/contrib/libbluray-0.9.3.tar.bz2 \ - https://download.handbrake.fr/contrib/mfx_dispatch-9f4a84d7.tar.gz" -MD5SUM="bf39fcc56a82ccca32a9faac8fa633f5 \ - 49e59dd184caa255886683facea56fca \ - a389fd293cf7b52d8fe194615e2547a8 \ - e274a7d7f6cd92c71ec5c78e4dc9f8b7 \ - 607a5dd41b0dd2f35433d6deac79b99e \ - 81e30fb57eaf9f61aa6513a7bd85bd74 \ - 2d9cb183d2675dfb325abdedd2424bfa \ - c51fd34f933431559371be30b59cff51 \ - 694058b83b43b39b7e5b5fc38dbe2b88" +DOWNLOAD="https://github.com/HandBrake/HandBrake/releases/download/1.5.1/HandBrake-1.5.1-source.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/AMF-1.4.18.tar.gz \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/dav1d-0.9.2.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/fdk-aac-2.0.1.tar.gz \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/ffmpeg-4.4.1.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libbluray-1.3.0.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libdvdnav-6.1.1.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libdvdread-6.1.1.tar.bz2 \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/nv-codec-headers-11.0.10.1.tar.gz \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/oneVPL-2021.6.0.tar.gz \ + https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/zimg-3.0.3.tar.gz" +MD5SUM="d7fa3057eb830d11d5a18a868bd3ff2d \ + c1e8aae3434b8fe6109e47e88e5b4de4 \ + 52415d8b51774e960598bc6d07e6a608 \ + 5b85f858ee416a058574a1028a3e1b85 \ + 9c2ca54e7f353a861e57525ff6da335b \ + d185696bef5f10ac04154e2b22b55b67 \ + 46c46cb0294fbd1fcb8a0181818dad15 \ + 09c7423568fb679279fd2a2bc6b10b6e \ + 3400a117b9d4291f36be00c522057578 \ + 10e99ad6f862598f2f39a50d663bf4f3 \ + 43e157debdfebf737db3a709fc971869" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libass x264" +REQUIRES="libass x264 x265 numactl" MAINTAINER="klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/HandBrake/README b/multimedia/HandBrake/README index 85642f5a07..fd686dcd3b 100644 --- a/multimedia/HandBrake/README +++ b/multimedia/HandBrake/README @@ -1,7 +1,7 @@ -HandBrake is a DVD ripping application that reads DVDs and outputs to a -variety of video and audio formats, with options for subtitles, alternate -data streams, presets, and control over advanced options like bitrate, -pixel aspect ratio, deinterlacing, and so on. +HandBrake is a DVD ripping application that reads DVDs and outputs +to a variety of video and audio formats, with options for subtitles, +alternate data streams, presets, and control over advanced options +like bitrate, pixel aspect ratio, deinterlacing, and so on. The legality of ripping content from commercial DVDs varies from nation to nation. diff --git a/multimedia/HandBrake/system_x265.diff b/multimedia/HandBrake/system_x265.diff new file mode 100644 index 0000000000..0badbab3ec --- /dev/null +++ b/multimedia/HandBrake/system_x265.diff @@ -0,0 +1,45 @@ +diff -Naur HandBrake-1.5.1/libhb/module.defs HandBrake-1.5.1.patched/libhb/module.defs +--- HandBrake-1.5.1/libhb/module.defs 2022-01-10 14:11:37.000000000 -0500 ++++ HandBrake-1.5.1.patched/libhb/module.defs 2022-03-24 15:57:45.803548141 -0400 +@@ -129,10 +129,6 @@ + LIBHB.dll.libs += $(CONTRIB.build/)lib/libvpl.a + endif + +-ifeq (1,$(FEATURE.x265)) +-LIBHB.dll.libs += $(CONTRIB.build/)lib/libx265.a +-endif +- + ifneq ($(HAS.iconv),1) + LIBHB.dll.libs += $(CONTRIB.build/)lib/libiconv.a + else +diff -Naur HandBrake-1.5.1/make/include/main.defs HandBrake-1.5.1.patched/make/include/main.defs +--- HandBrake-1.5.1/make/include/main.defs 2022-01-10 14:11:37.000000000 -0500 ++++ HandBrake-1.5.1.patched/make/include/main.defs 2022-03-24 15:58:28.972263692 -0400 +@@ -40,13 +40,6 @@ + MODULES += contrib/fdk-aac + endif + +-ifeq (1,$(FEATURE.x265)) +- MODULES += contrib/x265 +- MODULES += contrib/x265_8bit +- MODULES += contrib/x265_10bit +- MODULES += contrib/x265_12bit +-endif +- + MODULES += contrib/libdav1d + MODULES += contrib/zimg + MODULES += contrib/ffmpeg +diff -Naur HandBrake-1.5.1/test/module.defs HandBrake-1.5.1.patched/test/module.defs +--- HandBrake-1.5.1/test/module.defs 2022-01-10 14:11:37.000000000 -0500 ++++ HandBrake-1.5.1.patched/test/module.defs 2022-03-24 15:59:19.957108790 -0400 +@@ -23,6 +23,10 @@ + TEST.GCC.l += fontconfig + endif + ++ifeq (1,$(FEATURE.x265)) ++ TEST.GCC.l += x265 ++endif ++ + ifeq (1,$(FEATURE.qsv)) + TEST.GCC.l += vpl + ifneq (,$(filter $(HOST.system),linux freebsd)) diff --git a/multimedia/JSampler/JSampler.SlackBuild b/multimedia/JSampler/JSampler.SlackBuild index 5831c9ecd7..d90897d403 100644 --- a/multimedia/JSampler/JSampler.SlackBuild +++ b/multimedia/JSampler/JSampler.SlackBuild @@ -11,11 +11,20 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +# 20220331 bkw: Modified by SlackBuilds.org, BUILD=2: +# - abort if JAVA_HOME not set and can't be set from /etc/profile.d. +# this avoids creating a /jre in the package root. +# - include an icon in the package, since there's a .desktop file. +# - add a doinst.sh, needed for the icon and .desktop. +# - include a wrapper script to launch from the command line. +# Note: this really should be noarch, and should install the .jar file +# to /usr/share/$PRGNAM. I don't have time to test such changes right now. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=JSampler VERSION=${VERSION:-0.9} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -27,9 +36,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -66,9 +72,21 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ + +if [ -z "$JAVA_HOME" ]; then + source /etc/profile.d/zulu-openjdk8.sh +fi + +if [ -z "$JAVA_HOME" ]; then + cat <<EOF +*** No JDK found. Install zulu-openjdk8 or another *jdk package and +*** try again. +EOF + exit 1 +fi # make sure destdir exists mkdir -p $PKG/$JAVA_HOME/jre/bin/ @@ -87,6 +105,18 @@ install -D -m 0644 $CWD/$PRGNAM.desktop \ echo -e "\nExec=java -jar $JAVA_HOME/jre/bin/$(echo "${THEME[@]^}")-0.9.jar" \ >> $PKG/usr/share/applications/$PRGNAM-$THEME.desktop +# 20220331 bkw: for those of us who don't use KDE or XFCE or want to: +mkdir -p $PKG/usr/bin +cat > $PKG/usr/bin/$PRGNAM <<EOF +#!/bin/sh +exec java -jar $JAVA_HOME/jre/bin/$(echo "${THEME[@]^}")-0.9.jar +EOF +chmod 0755 $PKG/usr/bin/$PRGNAM + +# 20220331 bkw: icon. should be multiple sizes in /usr/share/icons... +mkdir -p $PKG/usr/share/pixmaps +cat res/fantasia/icons/LinuxSampler-logo.png > $PKG/usr/share/pixmaps/$PRGNAM.png + # docs mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -ar \ @@ -97,6 +127,7 @@ 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/JSampler/JSampler.desktop b/multimedia/JSampler/JSampler.desktop index 4dfe780082..9fbf1be85f 100644 --- a/multimedia/JSampler/JSampler.desktop +++ b/multimedia/JSampler/JSampler.desktop @@ -3,7 +3,7 @@ Name=JSampler Version=1.0 GenericName=LinuxSampler GUI Comment=JSampler is a LinuxSampler Java GUI Interface -Icon=qsampler +Icon=/usr/share/pixmaps/JSampler.png Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack; Terminal=false Type=Application diff --git a/multimedia/OpenLP/doinst.sh b/multimedia/JSampler/doinst.sh index 5fb28930db..5fb28930db 100644 --- a/multimedia/OpenLP/doinst.sh +++ b/multimedia/JSampler/doinst.sh diff --git a/multimedia/LBRY/LBRY.SlackBuild b/multimedia/LBRY/LBRY.SlackBuild index e448f89f22..a43b059fcc 100644 --- a/multimedia/LBRY/LBRY.SlackBuild +++ b/multimedia/LBRY/LBRY.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for LBRY -# Copyright 2020, 2021, Chris Abela, Malta +# Copyright 2020-2022, Chris Abela, Malta # lbc donations will be accepted at: bZQ9x64nw2iVi9F2WeB1Z25U29rQ5TxkUm # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=LBRY -VERSION=${VERSION:-0.50.2} +VERSION=${VERSION:-0.53.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,7 +73,7 @@ find -L . \ 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 -ln -s /opt/LBRY/lbry usr/bin/lbry +ln -s ../../opt/LBRY/lbry usr/bin/lbry mv usr/share/doc/lbry usr/doc/$PRGNAM-$VERSION rm -rf usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/LBRY/LBRY.info b/multimedia/LBRY/LBRY.info index 151960e6ed..8cd3bdc8c1 100644 --- a/multimedia/LBRY/LBRY.info +++ b/multimedia/LBRY/LBRY.info @@ -1,10 +1,10 @@ PRGNAM="LBRY" -VERSION="0.50.2" +VERSION="0.53.9" HOMEPAGE="https://lbry.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/lbryio/lbry-desktop/releases/download/v0.50.2/LBRY_0.50.2.deb" -MD5SUM_x86_64="7e8bfd7062fa9378422a92aeec994e6e" +DOWNLOAD_x86_64="https://github.com/lbryio/lbry-desktop/releases/download/v0.53.9/LBRY_0.53.9.deb" +MD5SUM_x86_64="394476f14540a5e6a3d3040b54e1617c" REQUIRES="" MAINTAINER="Chris Abela" EMAIL="kristofru@gmail.com" diff --git a/multimedia/MediathekView/MediathekView.SlackBuild b/multimedia/MediathekView/MediathekView.SlackBuild index d9311482ed..03d28cf187 100644 --- a/multimedia/MediathekView/MediathekView.SlackBuild +++ b/multimedia/MediathekView/MediathekView.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for MediathekView -# Copyright 2013-2021 Heiko Rosemann, Germany +# Copyright 2013-2024 Heiko Rosemann, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=MediathekView -VERSION=${VERSION:-13.7.1} +VERSION=${VERSION:-14.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/MediathekView/MediathekView.info b/multimedia/MediathekView/MediathekView.info index ab24031046..fa48420d53 100644 --- a/multimedia/MediathekView/MediathekView.info +++ b/multimedia/MediathekView/MediathekView.info @@ -1,10 +1,10 @@ PRGNAM="MediathekView" -VERSION="13.7.1" +VERSION="14.0.0" HOMEPAGE="http://www.mediathekview.de" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.mediathekview.de/stabil/MediathekView-13.7.1-linux.tar.gz" -MD5SUM_x86_64="3d7076b812308e88ff0b10ed12266a56" +DOWNLOAD_x86_64="https://download.mediathekview.de/stabil/MediathekView-14.0.0-linux.tar.gz" +MD5SUM_x86_64="b0858af80566c17faabcc25adb32f1e6" REQUIRES="" MAINTAINER="Heiko Rosemann" EMAIL="heiko.rosemann@web.de" diff --git a/multimedia/Mopidy/Mopidy.SlackBuild b/multimedia/Mopidy/Mopidy.SlackBuild index aa4acaa44d..14fcc9fc12 100644 --- a/multimedia/Mopidy/Mopidy.SlackBuild +++ b/multimedia/Mopidy/Mopidy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Mopidy -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Mopidy -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-3.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,16 +79,25 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG 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/man/man1 -cp $CWD/mopidy.1.gz $PKG/usr/man/man1/mopidy.1.gz +mkdir -p $PKG/usr/bin +install -m0755 extra/mopidyctl/mopidyctl $PKG/usr/bin + +mkdir -p $PKG/usr/share/applications +cp extra/desktop/mopidy.desktop $PKG/usr/share/applications/ + +mkdir -p $PKG/usr/man/man8 +cp extra/mopidyctl/mopidyctl.8 $PKG/usr/man/man8 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE PKG-INFO README.rst docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/Mopidy/Mopidy.info b/multimedia/Mopidy/Mopidy.info index 27e1195acb..4c51562a5b 100644 --- a/multimedia/Mopidy/Mopidy.info +++ b/multimedia/Mopidy/Mopidy.info @@ -1,10 +1,10 @@ PRGNAM="Mopidy" -VERSION="2.1.0" +VERSION="3.4.2" HOMEPAGE="https://www.mopidy.com/" -DOWNLOAD="https://pypi.python.org/packages/60/76/427ad1fbe879034e34cf9898310ba5a9cc42cd36b08898059be06066fa38/Mopidy-2.1.0.tar.gz" -MD5SUM="ac41bb099309653b6a859daa32af30fb" +DOWNLOAD="https://files.pythonhosted.org/packages/cc/41/1f291572997c49fce9eef47cea6d06b7d30e9923cc75a84679767f7fc99e/Mopidy-3.4.2.tar.gz" +MD5SUM="000129df314183118c88df28284b5fb6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Pykka gst-python tornado" +REQUIRES="Pykka python3-tornado" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/multimedia/Mopidy/README b/multimedia/Mopidy/README index d12942a260..9011fa48ff 100644 --- a/multimedia/Mopidy/README +++ b/multimedia/Mopidy/README @@ -1,5 +1,5 @@ -Mopidy is a music server which can play music both from multiple sources, like -your local hard drive, radio streams, and from Spotify and SoundCloud. Searches -combines results from all music sources, and you can mix tracks from all -sources in your play queue. Your playlists from Spotify or SoundCloud are also -available for use. +Mopidy is a music server which can play music both from multiple +sources, like your local hard drive, radio streams, and from Spotify +and SoundCloud. Searches combines results from all music sources, and +you can mix tracks from all sources in your play queue. Your playlists +from Spotify or SoundCloud are also available for use. diff --git a/multimedia/Mopidy/mopidy.1.gz b/multimedia/Mopidy/mopidy.1.gz Binary files differdeleted file mode 100644 index 4995bcf973..0000000000 --- a/multimedia/Mopidy/mopidy.1.gz +++ /dev/null diff --git a/multimedia/MuseScore-Legacy/MuseScore-Legacy.SlackBuild b/multimedia/MuseScore-Legacy/MuseScore-Legacy.SlackBuild new file mode 100644 index 0000000000..bf7e78e944 --- /dev/null +++ b/multimedia/MuseScore-Legacy/MuseScore-Legacy.SlackBuild @@ -0,0 +1,150 @@ +#!/bin/bash + +# Slackware build script for MuseScore-Legacy + +# Copyright 2024 Antonio Leal, Porto Salvo, Oeiras, Portugal +# Copyright 2022-2023 Klaatu <klaatu@member.fsf.org> | Lawrence NZ +# Thanks to Tim Dickson +# 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=MuseScore-Legacy +VERSION=${VERSION:-3.6.2} +BUILD=${BUILD:-2} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf ${PRGNAM::-7}-$VERSION + +tar xvf $CWD/${PRGNAM::-7}-$VERSION.tar.gz + +cd ${PRGNAM::-7}-$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 {} \; + +# Copy over sound files for installation. +cp $CWD/MuseScore_General_License.md share/sound +cp $CWD/MuseScore_General.sf3 share/sound + +# Turn off Qt crash reporter. Option isn't available in Makefile, +# so turn it off in CMakeLists.txt +sed -i '/(BUILD_CRASH_REPORTER/s|ON)|OFF)|' CMakeLists.txt +sed -i 's|share/man|man|' CMakeLists.txt + +mkdir b +cd b +cmake .. \ + -DCMAKE_INSTALL_PREFIX=/opt/MuseScore-Legacy \ + -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \ + -DCMAKE_MODULE_LINKER_FLAGS_RELEASE="-pthread" \ + -DMUSESCORE_BUILD_CONFIG=release \ + -DDOWNLOAD_SOUNDFONT=OFF \ + -DUSE_SYSTEM_FREETYPE=ON \ + -DBUILD_WEBENGINE=OFF \ + -DBUILD_TELEMETRY_MODULE=OFF \ + -DBUILD_PORTAUDIO=ON \ + -DBUILD_PORTMIDI=ON \ + -DQMAKE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake \ + -DQT_QMAKE_EXECUTABLE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake + +make install \ + DESTDIR=$PKG \ + UPDATE_CACHE=FALSE + +cd .. + +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 + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +mkdir -p $PKG/usr/share/pixmaps +mv $PKG/opt/MuseScore-Legacy/share/icons/hicolor/128x128/apps/mscore.png $PKG/usr/share/pixmaps/mscore-legacy.png +rm -rf $PKG/opt/MuseScore-Legacy/share/icons + +mkdir -p $PKG/usr/share/applications +mv $PKG/opt/MuseScore-Legacy/share/applications/mscore.desktop $PKG/usr/share/applications/mscore-legacy.desktop +rm -rf $PKG/opt/MuseScore-Legacy/share/applications +sed -i 's|Exec=mscore %F|Exec=mscore-legacy %F|' $PKG/usr/share/applications/mscore-legacy.desktop +sed -i 's|Icon=mscore|Icon=mscore-legacy|' $PKG/usr/share/applications/mscore-legacy.desktop + +mkdir -p $PKG/usr/man/man1 +mv $PKG/opt/MuseScore-Legacy/man/man1/mscore.1.gz $PKG/usr/man/man1/mscore-legacy.1.gz +rm -rf $PKG/opt/MuseScore-Legacy/man + +mkdir -p $PKG/usr/bin +( cd $PKG/usr/bin ; rm -rf mscore-legacy ) +( cd $PKG/usr/bin ; ln -sf ../../opt/MuseScore-Legacy/bin/mscore mscore-legacy ) +( cd $PKG/usr/bin ; rm -rf MuseScore-Legacy ) +( cd $PKG/usr/bin ; ln -sf ../../opt/MuseScore-Legacy/bin/mscore MuseScore-Legacy ) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.* README.md $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/MuseScore-Legacy/MuseScore-Legacy.info b/multimedia/MuseScore-Legacy/MuseScore-Legacy.info new file mode 100644 index 0000000000..5341f63336 --- /dev/null +++ b/multimedia/MuseScore-Legacy/MuseScore-Legacy.info @@ -0,0 +1,14 @@ +PRGNAM="MuseScore-Legacy" +VERSION="3.6.2" +HOMEPAGE="http://www.musescore.org/" +DOWNLOAD="https://github.com/musescore/MuseScore/archive/v3.6.2/MuseScore-3.6.2.tar.gz \ +http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General.sf3 \ +http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General_License.md" +MD5SUM="682c4a38b8b39d246d196c392ae08ab7 \ + 7b354559c7ef4e859a2bfad8738d477d \ + bc7b4fbe58b37788876b6c36f19577d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="jack portaudio portmidi" +MAINTAINER="antonioleal" +EMAIL="antonioleal@yahoo.com" diff --git a/multimedia/MuseScore-Legacy/README b/multimedia/MuseScore-Legacy/README new file mode 100644 index 0000000000..1cb7734255 --- /dev/null +++ b/multimedia/MuseScore-Legacy/README @@ -0,0 +1,12 @@ +MuseScore is a free cross platform WYSIWYG music notation +program, licenced under GNU GPL. Features: + * WYSIWYG, notes are entered on a "virtual note sheet" + * unlimited number of staves + * up to four voices/staff + * easy and fast note entry with mouse, keyboard or midi + * integrated sequencer and FluidSynth software synthesizer + * import and export of MusicXml and standard midifiles (SMF) + * platform independent code for Linux, Windows, Mac + +This package builds the legacy version 3.6.2 the last one in +the 3.x series. diff --git a/multimedia/miro/doinst.sh b/multimedia/MuseScore-Legacy/doinst.sh index 0fb9c8b686..aea0f894eb 100644 --- a/multimedia/miro/doinst.sh +++ b/multimedia/MuseScore-Legacy/doinst.sh @@ -11,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - diff --git a/multimedia/MuseScore-Legacy/slack-desc b/multimedia/MuseScore-Legacy/slack-desc new file mode 100644 index 0000000000..1b697d6232 --- /dev/null +++ b/multimedia/MuseScore-Legacy/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------------------------------------------------------| +MuseScore-Legacy: MuseScore-Legacy (WYSIWYG Music Score Typesetter version 3.6.2) +MuseScore-Legacy: +MuseScore-Legacy: MuseScore is a free cross platform WYSIWYG music notation program, +MuseScore-Legacy: licensed under GNU GPL. +MuseScore-Legacy: This package builds the legacy version 3.6.2 the last one in the 3.x +MuseScore-Legacy: series. +MuseScore-Legacy: +MuseScore-Legacy: Homepage: http://www.musescore.org/ +MuseScore-Legacy: +MuseScore-Legacy: +MuseScore-Legacy: diff --git a/multimedia/MuseScore/MuseScore.SlackBuild b/multimedia/MuseScore/MuseScore.SlackBuild index ad1fe4050d..7ab0fb1ebc 100644 --- a/multimedia/MuseScore/MuseScore.SlackBuild +++ b/multimedia/MuseScore/MuseScore.SlackBuild @@ -1,12 +1,34 @@ #!/bin/bash + # Slackware build script for MuseScore -# Maintained by Klaatu at member.fsf dot org + +# Copyright 2024 Antonio Leal, Porto Salvo, Oeiras, Portugal +# Copyright 2022-2023 Klaatu <klaatu@member.fsf.org> | Lawrence NZ +# Thanks to Tim Dickson +# 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=MuseScore -VERSION=${VERSION:-3.6.2} -BUILD=${BUILD:-1} +VERSION=${VERSION:-4.2.1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -18,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -45,56 +64,76 @@ else fi set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz + +tar xvfz $CWD/$PRGNAM-$VERSION.tar.gz + cd $PRGNAM-$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 \ + -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 {} \; - -# Copy over sound files for installation. -cp $CWD/MuseScore_General_License.md share/sound -cp $CWD/MuseScore_General.sf3 share/sound - -# Turn off Qt crash reporter. Option isn't available in Makefile, -# so turn it off in CMakeLists.txt -sed -i '/(BUILD_CRASH_REPORTER/s|ON)|OFF)|' CMakeLists.txt -sed -i 's|share/man|man|' CMakeLists.txt -#musescore doesn't like to build with webengine with qt4 installed -#because the qmake finder finds the qt4 version. lets patch this -sed -i 's/qmake)/qmake-qt5)/g' build/FindQt5.cmake - -make revision - -make release \ - PREFIX=/usr \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - LDFLAGS="-pthread" \ - MUSESCORE_BUILD_CONFIG=release \ - DOWNLOAD_SOUNDFONT=OFF \ - USE_SYSTEM_FREETYPE=ON \ - BUILD_WEBENGINE=ON \ - VERBOSE=1 + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +mkdir b +cd b +cmake .. \ + -DCMAKE_INSTALL_PREFIX=/opt/MuseScore \ + -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_MODULE_LINKER_FLAGS_RELEASE="-pthread" \ + -DQMAKE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake \ + -DQT_QMAKE_EXECUTABLE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake + make install \ - -C build.release \ DESTDIR=$PKG \ UPDATE_CACHE=FALSE +cd .. + +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 +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +mkdir -p $PKG/usr/share/icons +mv $PKG/opt/MuseScore/share/icons/hicolor $PKG/usr/share/icons/ +rm -rf $PKG/opt/MuseScore/share/icons + +mkdir -p $PKG/usr/share/applications +cp $CWD/MuseScore.desktop $PKG/usr/share/applications/ +rm -rf $PKG/opt/MuseScore/share/applications + +mkdir -p $PKG/usr/man/man1 +mv $PKG/opt/MuseScore/share/man/man1/mscore.1.gz $PKG/usr/man/man1/ find $PKG/usr/man -type f -exec gzip -9 {} \; +rm -rf $PKG/opt/MuseScore/share/man + +mv $PKG/opt/MuseScore/share/metainfo $PKG/usr/share/ + +mv $PKG/opt/MuseScore/share/mime $PKG/usr/share/ + +mkdir -p $PKG/opt/MuseScore/share/demos +cp -avxu demos/*.msc? $PKG/opt/MuseScore/share/demos + +mkdir -p $PKG/usr/bin +( cd $PKG/usr/bin ; rm -rf mscore ) +( cd $PKG/usr/bin ; ln -sf ../../opt/MuseScore/bin/mscore mscore ) +( cd $PKG/usr/bin ; rm -rf MuseScore ) +( cd $PKG/usr/bin ; ln -sf ../../opt/MuseScore/bin/mscore MuseScore ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp CONTRIBUTING.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/MuseScore/MuseScore.desktop b/multimedia/MuseScore/MuseScore.desktop new file mode 100644 index 0000000000..d183c1284b --- /dev/null +++ b/multimedia/MuseScore/MuseScore.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=MuseScore +GenericName=Music notation +Comment=Create, play and print beautiful sheet music +Exec=mscore +Icon=mscore +Terminal=false +StartupNotify=true +NoDisplay=false +MimeType=application/x-musescore;application/x-musescore+xml;x-scheme-handler/musescore;application/vnd.recordare.musicxml;application/vnd.recordare.musicxml+xml;audio/midi;application/x-bww;application/x-biab;application/x-capella;audio/x-gtp;application/x-musedata;application/x-overture;audio/x-ptb;application/x-sf2;application/x-sf3; +Categories=AudioVideo; +Keywords=music;notation;composition;composing;arranging;making;sheet music;music notation software;lead sheet;leadsheet;score;full score;scorewriter;MIDI;musicxml;playback;instrument; + diff --git a/multimedia/MuseScore/MuseScore.info b/multimedia/MuseScore/MuseScore.info index 99ce17e172..1afc8b2503 100644 --- a/multimedia/MuseScore/MuseScore.info +++ b/multimedia/MuseScore/MuseScore.info @@ -1,14 +1,10 @@ PRGNAM="MuseScore" -VERSION="3.6.2" -HOMEPAGE="http://www.musescore.org/" -DOWNLOAD="https://github.com/musescore/MuseScore/archive/v3.6.2/MuseScore-3.6.2.tar.gz \ -http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General.sf3 \ -http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General_License.md" -MD5SUM="682c4a38b8b39d246d196c392ae08ab7 \ - 7b354559c7ef4e859a2bfad8738d477d \ - bc7b4fbe58b37788876b6c36f19577d0" +VERSION="4.2.1" +HOMEPAGE="https://github.com/musescore/MuseScore" +DOWNLOAD="https://github.com/musescore/MuseScore/archive/v4.2.1/MuseScore-4.2.1.tar.gz" +MD5SUM="be651dd658905545bfd3601c23d8831b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jack portaudio portmidi" -MAINTAINER="Klaatu" -EMAIL="klaatu@member.fsf.org" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/multimedia/MuseScore/README b/multimedia/MuseScore/README index 26c3e9a318..c8249719ba 100644 --- a/multimedia/MuseScore/README +++ b/multimedia/MuseScore/README @@ -1,11 +1,16 @@ MuseScore is a free cross platform WYSIWYG music notation program, licenced under GNU GPL. Features: - * WYSIWYG, notes are entered on a "virtual note sheet" - * unlimited number of staves - * up to four voices/staff - * easy and fast note entry with mouse, keyboard or midi - * integrated sequencer and FluidSynth software synthesizer - * import and export of MusicXml and standard midifiles (SMF) - * platform independent code for Linux, Windows and Mac -Optional dependency: portaudio + - WYSIWYG design, notes are entered on a "virtual notepaper" + - TrueType font(s) for printing & display allows for high quality + scaling to all sizes + - Easy & fast note entry + - Many editing functions + - MusicXML import/export + - MIDI (SMF) import/export + - MuseData import + - MIDI input for note entry + - Integrated sequencer and software synthesizer to play the score + - Print or create pdf files + +This package partially installs to /opt/MuseScore diff --git a/multimedia/OpenLP/OpenLP.desktop b/multimedia/OpenLP/OpenLP.desktop deleted file mode 100644 index 395cb013b1..0000000000 --- a/multimedia/OpenLP/OpenLP.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name= OpenLP -Name[he]= OpenLP -Comment=Open Source Worship Presentation -Exec=openlp.pyw -Icon=OpenLP -Terminal=false -Type=Application -Categories=AudioVideo; -GenericName=Church lyrics projection diff --git a/multimedia/OpenLP/OpenLP.info b/multimedia/OpenLP/OpenLP.info deleted file mode 100644 index d5bcc44840..0000000000 --- a/multimedia/OpenLP/OpenLP.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="OpenLP" -VERSION="2.0.5" -HOMEPAGE="https://openlp.org/" -DOWNLOAD="https://downloads.sourceforge.net/project/openlp/openlp/2.0.5/OpenLP-2.0.5.tar.gz" -MD5SUM="539626eb8da337814d64e82329e22e78" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="lxml pyenchant SQLAlchemy" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/multimedia/OpenLP/README b/multimedia/OpenLP/README deleted file mode 100644 index 4077fe3e13..0000000000 --- a/multimedia/OpenLP/README +++ /dev/null @@ -1,15 +0,0 @@ -OpenLP stands for "Open Lyrics Projection" and is presentation software -developed for churches to provide a single easy to use interface for the -projection needs of a typical worship service. -First created in 2004, it has steadily grown in features and maturity such -that it is now a mainstay in hundreds of churches around the world. - -OpenLP has searchable databases of songs and Bible verses allowing them to be -projected instantly or saved in a pre-prepared order of service file. Themes -allow for a variety of presentation options and allow you to add attractive -visuals to enhance your presentations. PowerPoint and OpenOffice presentations, -videos and audio files can be run from within the program removing the need -to switch between different programs. Alert messages can be displayed so the -nursery or car park stewards can notify the congregation easily. -Remote capability allows the worship leader to change songs, or for alert -messages to be sent from anywhere on the network, even via smart phone/tablet. diff --git a/multimedia/OpenLP/slack-desc b/multimedia/OpenLP/slack-desc deleted file mode 100644 index 8b988ee5e6..0000000000 --- a/multimedia/OpenLP/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -OpenLP: OpenLP (Open Source Worship Presentation) -OpenLP: -OpenLP: OpenLP stands for "Open Lyrics Projection" and is presentation -OpenLP: software developed or churches to provide a single easy to use -OpenLP: nterface for the projection needs of a typical worship service. -OpenLP: First created in 2004, it has steadily grown in features and maturity -OpenLP: that it is now a mainstay in hundreds of churches around the world. -OpenLP: -OpenLP: Homepage: https://openlp.org/ -OpenLP: -OpenLP: diff --git a/multimedia/OpenPHT/OpenPHT b/multimedia/OpenPHT/OpenPHT deleted file mode 100644 index 78c8190d1d..0000000000 --- a/multimedia/OpenPHT/OpenPHT +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# disable PulseAudio -export AE_ENGINE=Soft - -export XBMC_HOME=/opt/OpenPHT/share/XBMC -exec /opt/OpenPHT/bin/openpht diff --git a/multimedia/OpenPHT/OpenPHT.SlackBuild b/multimedia/OpenPHT/OpenPHT.SlackBuild deleted file mode 100644 index 767fbb5384..0000000000 --- a/multimedia/OpenPHT/OpenPHT.SlackBuild +++ /dev/null @@ -1,135 +0,0 @@ -#!/bin/bash - -# Slackware build script for "OpenPHT" - -# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de> -# Copyright 2016 Philip van der Hoeven, Almere, The Netherlands -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "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 COPYRIGHT -# OWNER OR CONTRIBUTORS 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=OpenPHT -VERSION=${VERSION:-1.8.0.148} -REV=${REV:-573b6d73} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION-$REV -tar xvf $CWD/$PRGNAM-$VERSION-$REV.tar.gz || tar xvf $CWD/v$VERSION-$REV.tar.gz -cd $PRGNAM-$VERSION-$REV -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 {} \; - -# Find fribidi-0.19.7 -# https://raw.githubusercontent.com/foux/fouxlay/master/media-tv/plex-home-theater/files/fribidi.patch -patch -p1 < $CWD/fribidi.patch - -mkdir build -cd build - -cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \ - -DCMAKE_BUILD_TYPE=Release \ - -DENABLE_AUTOUPDATE='FALSE' \ - -DENABLE_DUMP_SYMBOLS='FALSE' \ - -DENABLE_PYTHON='TRUE' \ - -DUSE_INTERNAL_FFMPEG='TRUE' \ - -DCREATE_BUNDLE='FALSE' \ - -DENABLE_SHAIRPLAY=off \ - -DENABLE_CEC=off \ - .. - -# internal ffmpeg version doesn't build with multiple jobs -make -j1 -make install DESTDIR=$PKG - -cd .. - -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/bin -install -D -m 0755 $CWD/OpenPHT $PKG/usr/bin - -mkdir -p $PKG/usr/share/applications -install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications - -mkdir -p $PKG/usr/share/pixmaps -install -D -m 0644 $CWD/${PRGNAM}_512x512.png $PKG/usr/share/pixmaps - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CONTRIBUTORS LICENSE.GPL README README-BUILD-PLEX.md docs/README.* \ - $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/OpenPHT/OpenPHT.desktop b/multimedia/OpenPHT/OpenPHT.desktop deleted file mode 100644 index 1a0bcb7a17..0000000000 --- a/multimedia/OpenPHT/OpenPHT.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=OpenPHT - Plex Home Theater -GenericName=Media Center -Exec=OpenPHT -StartupNotify=true -Terminal=false -Type=Application -Icon=/usr/share/pixmaps/OpenPHT_512x512.png -Categories=Audio;Music;Video;Player;AudioVideo; diff --git a/multimedia/OpenPHT/OpenPHT.info b/multimedia/OpenPHT/OpenPHT.info deleted file mode 100644 index 5e4e3c8331..0000000000 --- a/multimedia/OpenPHT/OpenPHT.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="OpenPHT" -VERSION="1.8.0.148" -HOMEPAGE="https://github.com/RasPlex/OpenPHT" -DOWNLOAD="https://github.com/RasPlex/OpenPHT/archive/v1.8.0.148-573b6d73/OpenPHT-1.8.0.148-573b6d73.tar.gz" -MD5SUM="7eddac9c7638d70c2a25d04cc451ddcc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libmodplug openjdk7 libcec" -MAINTAINER="Philip van der Hoeven" -EMAIL="philip@vd-hoeven.nl" diff --git a/multimedia/OpenPHT/OpenPHT_512x512.png b/multimedia/OpenPHT/OpenPHT_512x512.png Binary files differdeleted file mode 100644 index 89f68bb648..0000000000 --- a/multimedia/OpenPHT/OpenPHT_512x512.png +++ /dev/null diff --git a/multimedia/OpenPHT/README b/multimedia/OpenPHT/README deleted file mode 100644 index 7477cbfcc3..0000000000 --- a/multimedia/OpenPHT/README +++ /dev/null @@ -1,6 +0,0 @@ - -Plex Home Theater is optimized for the big screen and supports -a wide variety of formats with high-definition audio, native -framerates, and more. - -Optional dependencies: libcec libnfs diff --git a/multimedia/OpenPHT/fribidi.patch b/multimedia/OpenPHT/fribidi.patch deleted file mode 100644 index 3b135bdfc3..0000000000 --- a/multimedia/OpenPHT/fribidi.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/plex/CMakeModules/FindFriBiDi.cmake -+++ b/plex/CMakeModules/FindFriBiDi.cmake -@@ -10,43 +10,9 @@ - # FRIBIDI_LIBRARY, where to find the FriBiDi library. - - include(CheckSymbolExists) -+include(FindPkgConfig) -+pkg_check_modules(FRIBIDI fribidi) - --SET(FRIBIDI_FOUND "NO") -- --# Set variable in temp var, otherwise FIND_PATH might fail --# unset isn't present in the required version of cmake. --FIND_PATH(xFRIBIDI_INCLUDE_DIR fribidi.h -- PATHS /usr/local/include -- /usr/include -- PATH_SUFFIXES fribidi -- ) --set(FRIBIDI_INCLUDE_DIR ${xFRIBIDI_INCLUDE_DIR}) -- --SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi) --FIND_LIBRARY(FRIBIDI_LIBRARY -- NAMES ${FRIBIDI_NAMES} -- PATHS /usr/lib /usr/local/lib -- ) -- --IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR) -- SET(CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIR}) -- SET(CMAKE_REQUIRED_LIBRARIES ${FRIBIDI_LIBRARY}) -- CHECK_SYMBOL_EXISTS(fribidi_utf8_to_unicode fribidi.h FOUND_fribidi_utf8_to_unicode) -- CHECK_SYMBOL_EXISTS(fribidi_charset_to_unicode fribidi.h FOUND_fribidi_charset_to_unicode) -- if(FOUND_fribidi_charset_to_unicode) -- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY}) -- SET(FRIBIDI_FOUND "YES") -- elseif(FOUND_fribidi_utf8_to_unicode) -- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY}) -- SET(FRIBIDI_FOUND "YES") -- add_definitions(-DOLD_FRIBIDI) -- MESSAGE(STATUS "Legacy FriBiDi: ${FRIBIDI_LIBRARY}") -- else() -- SET(FRIBIDI_LIBRARIES "NOTFOUND") -- SET(FRIBIDI_INCLUDE_DIR "NOTFOUND") -- SET(FRIBIDI_FOUND "NO") -- endif() --ENDIF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR) - - IF (FRIBIDI_FOUND) diff --git a/multimedia/QMPlay2/QMPlay2.SlackBuild b/multimedia/QMPlay2/QMPlay2.SlackBuild index f3d75526f2..028e7c1b26 100644 --- a/multimedia/QMPlay2/QMPlay2.SlackBuild +++ b/multimedia/QMPlay2/QMPlay2.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for QMPlay2. # -# Copyright 2017-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=QMPlay2 -VERSION=${VERSION:-21.03.09} +VERSION=${VERSION:-24.04.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,8 +79,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -for i in $CWD/patches/* ; do patch -p1 < $i ; done - mkdir build cd build cmake \ @@ -107,6 +105,9 @@ mv $PKG/usr/share/man $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# to pass sbopkglint test... +rm -rf $PKG/usr/share/icons/hicolor/scalable + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS ChangeLog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/QMPlay2/QMPlay2.info b/multimedia/QMPlay2/QMPlay2.info index 9d9a7e1bbb..3e14eb292d 100644 --- a/multimedia/QMPlay2/QMPlay2.info +++ b/multimedia/QMPlay2/QMPlay2.info @@ -1,8 +1,8 @@ PRGNAM="QMPlay2" -VERSION="21.03.09" +VERSION="24.04.07" HOMEPAGE="https://github.com/zaps166/QMPlay2" -DOWNLOAD="https://github.com/zaps166/QMPlay2/releases/download/21.03.09/QMPlay2-src-21.03.09.tar.xz" -MD5SUM="5fe8a2b836c86fcfd5521d3636c579f8" +DOWNLOAD="https://github.com/zaps166/QMPlay2/releases/download/24.04.07/QMPlay2-src-24.04.07.tar.xz" +MD5SUM="05a2792b0d54070ea0c13e718d9e7eb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libass libgme" diff --git a/multimedia/QMPlay2/patches/7b2df68ba9bdec45271d9791a4b997f7031aef2b.patch b/multimedia/QMPlay2/patches/7b2df68ba9bdec45271d9791a4b997f7031aef2b.patch deleted file mode 100644 index efe8495825..0000000000 --- a/multimedia/QMPlay2/patches/7b2df68ba9bdec45271d9791a4b997f7031aef2b.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 7b2df68ba9bdec45271d9791a4b997f7031aef2b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spaz16@wp.pl> -Date: Tue, 16 Mar 2021 18:02:28 +0100 -Subject: [PATCH] Fix svg icon engine warning after KDE update - ---- - src/gui/Main.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gui/Main.cpp b/src/gui/Main.cpp -index 2ebd731b..284c2c53 100644 ---- a/src/gui/Main.cpp -+++ b/src/gui/Main.cpp -@@ -790,7 +790,7 @@ int main(int argc, char *argv[]) - qmplay2Gui.loadIcons(); - { - const QIcon svgIcon = QIcon(":/QMPlay2.svgz"); -- if (!svgIcon.availableSizes().isEmpty()) -+ if (svgIcon.availableSizes().size() == 1) - QMessageBox::warning(nullptr, QString(), QObject::tr("QtSvg icon engine plugin doesn't exist.\nQMPlay2 will not scale up icons!")); - } - diff --git a/multimedia/QMPlay2/patches/c0927948a42621e41da0571209b27ff39badf4cc.patch b/multimedia/QMPlay2/patches/c0927948a42621e41da0571209b27ff39badf4cc.patch deleted file mode 100644 index 040e835f71..0000000000 --- a/multimedia/QMPlay2/patches/c0927948a42621e41da0571209b27ff39badf4cc.patch +++ /dev/null @@ -1,32 +0,0 @@ -From c0927948a42621e41da0571209b27ff39badf4cc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spaz16@wp.pl> -Date: Sun, 28 Mar 2021 16:19:51 +0200 -Subject: [PATCH] VA-API/Vulkan: Treat invalid DRM format modifier as linear - -AMD and Mesa 21.0.1 reports invalid DRM modifier instead of linear. -This causes a driver crash when QMPlay2 is trying to play with invalid -image tiling. ---- - src/modules/FFmpeg/VAAPIVulkan.cpp | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/modules/FFmpeg/VAAPIVulkan.cpp b/src/modules/FFmpeg/VAAPIVulkan.cpp -index 47ecf7ab..d31dfd66 100644 ---- a/src/modules/FFmpeg/VAAPIVulkan.cpp -+++ b/src/modules/FFmpeg/VAAPIVulkan.cpp -@@ -112,8 +112,13 @@ void VAAPIVulkan::map(Frame &frame) - MemoryObject::FdDescriptors fdDescriptors(vaSurfaceDescr.num_objects); - for (uint32_t i = 0; i < vaSurfaceDescr.num_objects; ++i) - { -- if (i == 0 && vaSurfaceDescr.objects[i].drm_format_modifier != 0) -- isLinear = false; -+ if (i == 0) -+ { -+ // 0x0000000000000000 - linear, 0x00ffffffffffffff - invalid -+ const auto drmFmtMod = vaSurfaceDescr.objects[i].drm_format_modifier; -+ if (drmFmtMod != 0ull && drmFmtMod != 0xffffffffffffffull) -+ isLinear = false; -+ } - - fdDescriptors[i].first = vaSurfaceDescr.objects[i].fd; - fdDescriptors[i].second = (vaSurfaceDescr.objects[i].size > 0) diff --git a/multimedia/RenameMyTVSeries/README b/multimedia/RenameMyTVSeries/README new file mode 100644 index 0000000000..a9605bafd1 --- /dev/null +++ b/multimedia/RenameMyTVSeries/README @@ -0,0 +1,15 @@ +A tool to quickly and easily rename poorly named TV Show episode +files to a format that makes sense and is to your liking using +information from thetvdb.com + +Features: +Support the new TheTVDB.com API (v2) +Caching shows and banners +Dark Theme support (MacOS and Linux only) +Automatically move files into a desired directory structure +Define your own file and directory name format +Create NFO files for the TV Show and for individual Episodes +Store a banner for the TV Show +Merge 2 Episodes into 1 (filename only of course) +Log file of what files have been renamed + diff --git a/multimedia/RenameMyTVSeries/RenameMyTVSeries.SlackBuild b/multimedia/RenameMyTVSeries/RenameMyTVSeries.SlackBuild new file mode 100644 index 0000000000..6601c799de --- /dev/null +++ b/multimedia/RenameMyTVSeries/RenameMyTVSeries.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/bash + +# Slackware build script for RenameMyTVSeries + +# Copyright 2023 Matt Dinslage, Springfield MO +# 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=RenameMyTVSeries +VERSION=${VERSION:-2.1.7} +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 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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +PKGSOURCE=$TMP/$PRGNAM-$VERSION +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION-GTK-beta-Linux-64bit-shared-ffmpeg.tar.gz -C $PRGNAM-$VERSION +cd $PRGNAM-$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 {} \; + +# Create directories and install binary +mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/share/applications +install -Dm755 $PRGNAM $PKG/usr/bin + +# Add application icons +chmod 0644 icons/* +for i in 16 32 64 128 256 512; do + mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps + cp icons/${i}x${i}.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png +done + +# Correct RenameMyTVSeries.desktop file +cat $PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop +sed -i '4d;12d' $PKG/usr/share/applications/$PRGNAM.desktop +sed -i \ + -e "s|Exec=/usr/share/RenameMyTVSeries/RenameMyTVSeries|Exec=/usr/bin/RenameMyTVSeries|" \ + -e "s|Icon=/usr/share/RenameMyTVSeries/icons/512x512.png|Icon=RenameMyTVSeries|" \ + -e "s|Categories=Utility;|Categories=AudioVideo;|" \ + $PKG/usr/share/applications/$PRGNAM.desktop + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + readme.txt \ + $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/RenameMyTVSeries/RenameMyTVSeries.info b/multimedia/RenameMyTVSeries/RenameMyTVSeries.info new file mode 100644 index 0000000000..4721771092 --- /dev/null +++ b/multimedia/RenameMyTVSeries/RenameMyTVSeries.info @@ -0,0 +1,10 @@ +PRGNAM="RenameMyTVSeries" +VERSION="2.1.7" +HOMEPAGE="https://www.tweaking4all.com/home-theatre/rename-my-tv-series-v2/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://www.tweaking4all.com/downloads/betas/RenameMyTVSeries-2.1.7-GTK-beta-Linux-64bit-shared-ffmpeg.tar.gz" +MD5SUM_x86_64="cfc8a8456b74a611b8f2e3ab329ca936" +REQUIRES="" +MAINTAINER="M.Dinslage" +EMAIL="matthewdinslage@gmail.com" diff --git a/multimedia/RenameMyTVSeries/doinst.sh b/multimedia/RenameMyTVSeries/doinst.sh new file mode 100644 index 0000000000..a25271d80c --- /dev/null +++ b/multimedia/RenameMyTVSeries/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +# If other icon themes are installed, then add to/modify this as needed +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/RenameMyTVSeries/slack-desc b/multimedia/RenameMyTVSeries/slack-desc new file mode 100644 index 0000000000..1578b61c29 --- /dev/null +++ b/multimedia/RenameMyTVSeries/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 ':'. + + |-----handy-ruler------------------------------------------------------| +RenameMyTVSeries: RenameMyTVSeries (Rename My TV Series) +RenameMyTVSeries: +RenameMyTVSeries: A simple tool to rename TV Show files using TheTVDB.com database. +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: +RenameMyTVSeries: diff --git a/multimedia/SimpleSysexxer/README b/multimedia/SimpleSysexxer/README index 4794dcfbd7..36762a2985 100644 --- a/multimedia/SimpleSysexxer/README +++ b/multimedia/SimpleSysexxer/README @@ -1,2 +1,2 @@ -SimpleSysexxer is a GUI tool to create backups of the memory contents of your -MIDI devices +SimpleSysexxer is a GUI tool to create backups of the memory contents +of your MIDI devices diff --git a/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild b/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild index c8c75b9c73..e9848b879d 100644 --- a/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild +++ b/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild @@ -60,7 +60,7 @@ find -L . \ -exec chmod 644 {} \; sed -i "s%-O0 -g3%$SLKCFLAGS%" $PRGNAM.pro -qmake SimpleSysexxer.pro +qmake-qt4 SimpleSysexxer.pro make # manual copy of translations diff --git a/multimedia/SimpleSysexxer/SimpleSysexxer.info b/multimedia/SimpleSysexxer/SimpleSysexxer.info index e3d683e838..b0f29434c8 100644 --- a/multimedia/SimpleSysexxer/SimpleSysexxer.info +++ b/multimedia/SimpleSysexxer/SimpleSysexxer.info @@ -3,8 +3,8 @@ VERSION="0.3" HOMEPAGE="http://www.christeck.de/wp/?page_id=24" DOWNLOAD="http://downloads.sourceforge.net/project/sysexxer/SimpleSysexxer-0.3/SimpleSysexxer-0.3.tar.gz" MD5SUM="59c1b91089bb15050e3a58aa602332db" -DOWNLOAD_x86_64="UNTESTED" +DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" diff --git a/multimedia/Yolo/Yolo.info b/multimedia/Yolo/Yolo.info index 6aa571df25..a604b97fe7 100644 --- a/multimedia/Yolo/Yolo.info +++ b/multimedia/Yolo/Yolo.info @@ -5,6 +5,6 @@ DOWNLOAD="http://iweb.dl.sourceforge.net/project/yolo/Yolo/Yolo%20May%2005%20200 MD5SUM="bb137d249f20d4f262c8a30c07871b36" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jdk" +REQUIRES="zulu-openjdk8" MAINTAINER="klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/abcMIDI/README b/multimedia/abcMIDI/README index c5ce7f59fa..44eb2495aa 100644 --- a/multimedia/abcMIDI/README +++ b/multimedia/abcMIDI/README @@ -1,8 +1,8 @@ -The abcMIDI package contains the following : +The abcMIDI package contains the following: abc2midi - a program to convert abc notation to MIDI files. midi2abc - a program to produce crude abc from a MIDI file. - abc2abc - a utility to do transposition, error checking and re-formatting -on an abc file. + abc2abc - a utility to do transposition, error checking and + re-formatting on an abc file. yaps - (NEW) utility to convert abc to PostScript based on Michael -Methfessel's PostScript library for abc2ps. + Methfessel's PostScript library for abc2ps. diff --git a/multimedia/aces-dev/README b/multimedia/aces-dev/README index bbb076e3f5..38988847c5 100644 --- a/multimedia/aces-dev/README +++ b/multimedia/aces-dev/README @@ -1,29 +1,24 @@ Aces-dev contains reference CTL transforms and documentation meant to aid implementing the ACES workflow. -In this package: ----------------- +## In this package * Color encoding and metric specs, file format specs, color transformations, and an open source reference implementation * Python and a CSH wrapper script from Arri to generate a CTL based on - Alexa EI setting + Alexa EI Setting -* Documentation on the system and software tools - - -Missing from this package: --------------------------- +## Not in this package 500mb of reference images (with CTLs applied). You can download reference images individually or as a ZIP file from the Academy's -public DropBox account: +public DropBox account, referenced in the `images` folder after +installation. -https://dl.dropboxusercontent.com/content_link_zip/1Fm7ngrWzwj9AHEpn0AIsy74RItDirfO5KVIiLAWAshpEIpIUSFCh1SxmAtIj60x/file +## Recommended packages -Recommended ------------ +For this to be useful, you probably also need -aces_container -ctl +* aces_container +* ctl diff --git a/multimedia/aces-dev/aces-dev.SlackBuild b/multimedia/aces-dev/aces-dev.SlackBuild index 2d90f135f2..ec10affda1 100644 --- a/multimedia/aces-dev/aces-dev.SlackBuild +++ b/multimedia/aces-dev/aces-dev.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for aces-dev -# Copyright 2016 Klaatu, Wellington NZ +# Copyright 2016-22 Klaatu <klaatu@member.fsf.org> # All rights reserved. # # GNU All-Permissive License @@ -14,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aces-dev -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} DOCDIR=${DOCDIR:-1} TAG=${TAG:-_SBo} @@ -57,17 +57,17 @@ mkdir -p $PKG/$PREFIX/bin find . -type f -name "*.py" -exec install -D -m 0755 {} $PKG/$PREFIX/bin/ \; find . -type f -name "*.csh" -exec install -D -m 0755 {} $PKG/$PREFIX/bin/ \; -# if you modify this line, -find ./transforms/ctl/idt/vendorSupplied/arri/alexa/ -depth -name "*.py" -type f -delete -find ./transforms/ctl/idt/vendorSupplied/arri/alexa/ -depth -name "*.csh" -type f -delete -# for heavens sake -# be careful with find and -delete +## install utilities +install -D transforms/renameCTL.py $PKG/usr/bin mkdir -p $PKG/usr/share/$PRGNAM-$VERSION -rsync -av transforms/ctl/ $PKG/usr/share/$PRGNAM-$VERSION/ +rsync -av formats $PKG/usr/share/$PRGNAM-$VERSION/ +rsync -av transforms/ctl $PKG/usr/share/$PRGNAM-$VERSION/ +rsync -av images $PKG/usr/share/$PRGNAM-$VERSION/ + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a documents/LaTeX images CHANGELOG.md LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/aces-dev/aces-dev.info b/multimedia/aces-dev/aces-dev.info index fdb2b01f98..9011db2983 100644 --- a/multimedia/aces-dev/aces-dev.info +++ b/multimedia/aces-dev/aces-dev.info @@ -1,10 +1,10 @@ PRGNAM="aces-dev" -VERSION="1.0.2" +VERSION="1.3" HOMEPAGE="https://www.oscars.org/science-technology/sci-tech-projects/aces" -DOWNLOAD="https://github.com/ampas/aces-dev/archive/v1.0.2/aces-dev-1.0.2.tar.gz" -MD5SUM="66af1b9098515b9ca4d15560bf486214" +DOWNLOAD="https://github.com/ampas/aces-dev/archive/v1.3/aces-dev-1.3.tar.gz" +MD5SUM="b9a7b1c8ca2508545d93d53ff2b6fcad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="numpy" +REQUIRES="python2-numpy" MAINTAINER="Klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/aces_container/aces_container.SlackBuild b/multimedia/aces_container/aces_container.SlackBuild index a0c44cd2c0..3562bc9c95 100644 --- a/multimedia/aces_container/aces_container.SlackBuild +++ b/multimedia/aces_container/aces_container.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for aces_container -# Copyright 2016 Klaatu +# Copyright 2016-22 Klaatu # All rights reserved. # # GNU All-Permissive License @@ -14,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aces_container -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/aces_container/aces_container.info b/multimedia/aces_container/aces_container.info index c716c665d1..2f587638e2 100644 --- a/multimedia/aces_container/aces_container.info +++ b/multimedia/aces_container/aces_container.info @@ -1,8 +1,8 @@ PRGNAM="aces_container" -VERSION="1.0.1" +VERSION="1.0.2" HOMEPAGE="http://www.oscars.org/aces" -DOWNLOAD="https://github.com/ampas/aces_container/archive/v1.0.1/aces_container-1.0.1.tar.gz" -MD5SUM="8c7317267b9feed95187e19f7a573917" +DOWNLOAD="https://github.com/ampas/aces_container/archive/v1.0.2/aces_container-1.0.2.tar.gz" +MD5SUM="b82364639768d650dd45e6085b429fb6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/acetoneiso/README b/multimedia/acetoneiso/README new file mode 100644 index 0000000000..d62f62b188 --- /dev/null +++ b/multimedia/acetoneiso/README @@ -0,0 +1,18 @@ +AcetoneISO (CD/DVD image manipulator for GNU/Linux) + +AcetoneISO is a feature-rich and complete software application +to manage CD/DVD images. AcetoneISO will let You mount typical +proprietary images formats of the Windows world such as ISO BIN +NRG MDF IMG and do plenty of other things. + +Some features you can see in /usr/doc/$PRGNAM-$VERSION/FEATURES. + +For image conversion you would need PowerISO which can be +found in https://www.poweriso.com/poweriso-1.3.tar.gz +extract and put it in $HOME/.acetoneiso + +If for some reason cdrtools doesn't work with acetoneiso +use cdrkit from SBo and uninstall cdrtools. + +xorriso comes with Slackware so there is no need to install +it from AlienBob's repository diff --git a/multimedia/acetoneiso/acetoneiso.SlackBuild b/multimedia/acetoneiso/acetoneiso.SlackBuild new file mode 100644 index 0000000000..edd78e39b6 --- /dev/null +++ b/multimedia/acetoneiso/acetoneiso.SlackBuild @@ -0,0 +1,133 @@ +#!/bin/bash + +# Slackware build script for acetoneiso + +# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2022 Vijay Marcel +# 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=acetoneiso +VERSION=${VERSION:-2.4.3} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) + DEBARCH=i386 + ARCH=i586 + LIBDIRSUFFIX="" + ;; + x86_64) + DEBARCH=amd64 + ARCH=x86_64 + LIBDIRSUFFIX="64" + ;; + # unsupported + *) + echo "ARCH $( uname -m ) is unsupported" + exit 1 + ;; + esac +else + case "$ARCH" in + i?86) + DEBARCH=i386 + LIBDIRSUFFIX="" + ;; + x86_64) + DEBARCH=amd64 + LIBDIRSUFFIX="64" + ;; + # unsupported + *) + echo "$ARCH is unsupported" + exit 1 + ;; + esac +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -pv $PRGNAM +cd $PRGNAM + +if [ "$DEBARCH" = "i386" ]; then + mv -v $CWD/acetoneiso_2.4-3+b1_i386.deb $CWD/$PRGNAM-$VERSION.deb + ar -x $CWD/$PRGNAM-$VERSION.deb + tar xvf data.tar.xz -C $PKG +elif [ "$DEBARCH" = "amd64" ]; then + mv -v $CWD/acetoneiso_2.4-3+b1_amd64.deb $CWD/$PRGNAM-$VERSION.deb + ar -x $CWD/$PRGNAM-$VERSION.deb + tar xvf data.tar.xz -C $PKG +else + echo "This program is not supported for your System Architecture" +fi + +cd $PKG +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 {} \; + +cd .. + +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 + +mv -v $PKG/usr/share/man $PKG/usr/ +rm -rvf $PKG/usr/share/man + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv -v $PKG/usr/share/doc/acetoneiso/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rvf $PKG/usr/share/doc/ +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/acetoneiso/acetoneiso.info b/multimedia/acetoneiso/acetoneiso.info new file mode 100644 index 0000000000..9ceb58f79f --- /dev/null +++ b/multimedia/acetoneiso/acetoneiso.info @@ -0,0 +1,10 @@ +PRGNAM="acetoneiso" +VERSION="2.4.3" +HOMEPAGE="https://packages.debian.org/bullseye/acetoneiso" +DOWNLOAD="http://http.us.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_2.4-3+b1_i386.deb" +MD5SUM="ec4e63fbe75beedc13a1447f72e5e2f2" +DOWNLOAD_x86_64="http://http.us.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_2.4-3+b1_amd64.deb" +MD5SUM_x86_64="24ea0feccc4607457cde50163303c74e" +REQUIRES="fuseiso p7zip youtube-dl" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/acetoneiso/doinst.sh b/multimedia/acetoneiso/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/multimedia/acetoneiso/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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/acetoneiso/slack-desc b/multimedia/acetoneiso/slack-desc new file mode 100644 index 0000000000..697a1982ff --- /dev/null +++ b/multimedia/acetoneiso/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------------------------------------------------------| +acetoneiso: acetoneiso (CD/DVD Image Manipulator for GNU/Linux) +acetoneiso: +acetoneiso: AcetoneISO is a feature rich and complete software solution +acetoneiso: to manage CD/DVD images. It will let you mount proprietary +acetoneiso: image formats such as ISO,NRG,MDF,BIN,IMG and do plenty of +acetoneiso: other things. +acetoneiso: +acetoneiso: Homepage:https://packages.debian.org/bullseye/acetoneiso +acetoneiso: +acetoneiso: +acetoneiso: diff --git a/multimedia/aegisub/README b/multimedia/aegisub/README index 44843a8d81..267d701606 100644 --- a/multimedia/aegisub/README +++ b/multimedia/aegisub/README @@ -1,3 +1,3 @@ -A general-purpose subtitle editor with ASS/SSA support +A general-purpose subtitle editor -Optional dependency: PortAudio +Optional dependency: portaudio diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild index e1d203730a..333ac97d46 100644 --- a/multimedia/aegisub/aegisub.SlackBuild +++ b/multimedia/aegisub/aegisub.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aegisub -VERSION=${VERSION:-3.2.2} +SRCNAM=Aegisub +VERSION=${VERSION:-3.3.3} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -MVER=3.2 - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i586 ;; @@ -38,9 +37,6 @@ if [ -z "$ARCH" ]; then esac 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,24 +65,25 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -for i in $CWD/patches/* ; do patch -p1 < $i ; done -sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp # boost 1.69 -sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile # missing link flag +# Patch for current +patch -p1 < $CWD/boost-1.81.0.patch +autoreconf -fiv LDFLAGS="$LDFLAGS -lz" \ CFLAGS="$SLKCFLAGS" \ CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' \ CXXFLAGS="$SLKCFLAGS" \ +FORCE_GIT_VERSION="TRUE" \ ./configure \ --prefix=/usr \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -95,18 +92,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -ln -s $PRGNAM-$MVER $PKG/usr/bin/$PRGNAM - 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 -rm -f $PKG/usr/bin/aegisub -( - cd $PKG/usr/bin - ln -s aegisub-$MVER aegisub -) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md LICENCE $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 diff --git a/multimedia/aegisub/aegisub.info b/multimedia/aegisub/aegisub.info index 249abeaab7..2f11f77bec 100644 --- a/multimedia/aegisub/aegisub.info +++ b/multimedia/aegisub/aegisub.info @@ -1,10 +1,10 @@ PRGNAM="aegisub" -VERSION="3.2.2" -HOMEPAGE="https://github.com/Aegisub/Aegisub" -DOWNLOAD="https://github.com/Aegisub/Aegisub/releases/download/v3.2.2/aegisub-3.2.2.tar.xz" -MD5SUM="d80e852c34811add358c06d77f5cd40d" +VERSION="3.3.3" +HOMEPAGE="https://github.com/wangqr/Aegisub/" +DOWNLOAD="https://github.com/wangqr/Aegisub/archive/v3.3.3/Aegisub-3.3.3.tar.gz" +MD5SUM="08d7750b8b7732b790e9756ca3195baf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libass lua ffms2 wxGTK3" +REQUIRES="libass lua ffms2 wxGTK3 libuchardet" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/multimedia/aegisub/boost-1.81.0.patch b/multimedia/aegisub/boost-1.81.0.patch new file mode 100644 index 0000000000..ac264bc706 --- /dev/null +++ b/multimedia/aegisub/boost-1.81.0.patch @@ -0,0 +1,56 @@ +diff --git a/libaegisub/include/libaegisub/lua/utils.h b/libaegisub/include/libaegisub/lua/utils.h +index c5a65d6e4..f4921d582 100644 +--- a/libaegisub/include/libaegisub/lua/utils.h ++++ b/libaegisub/include/libaegisub/lua/utils.h +@@ -87,7 +87,10 @@ int exception_wrapper(lua_State *L) { + + template<typename T> + void set_field(lua_State *L, const char *name, T value) { +- push_value(L, value); ++ if constexpr(std::is_convertible<T, std::string>::value) ++ push_value(L, static_cast<std::string>(value)); ++ else ++ push_value(L, value); + lua_setfield(L, -2, name); + } + +diff --git a/src/auto4_lua.cpp b/src/auto4_lua.cpp +index 245689679..6d479b2c3 100644 +--- a/src/auto4_lua.cpp ++++ b/src/auto4_lua.cpp +@@ -115,7 +115,8 @@ namespace { + int get_translation(lua_State *L) + { + wxString str(check_wxstring(L, 1)); +- push_value(L, _(str).utf8_str()); ++ const char* val = static_cast<const char*>( _(str).utf8_str()); ++ push_value(L, val); + return 1; + } + +diff --git a/src/command/video.cpp b/src/command/video.cpp +index fb2bcb0ba..77e3e9ca7 100644 +--- a/src/command/video.cpp ++++ b/src/command/video.cpp +@@ -475,7 +475,7 @@ static void save_snapshot(agi::Context *c, bool raw) { + // If where ever that is isn't defined, we can't save there + if ((basepath == "\\") || (basepath == "/")) { + // So save to the current user's home dir instead +- basepath = wxGetHomeDir().c_str(); ++ basepath = static_cast<const char*>(wxGetHomeDir().c_str()); + } + } + // Actual fixed (possibly relative) path, decode it +diff --git a/src/dialog_attachments.cpp b/src/dialog_attachments.cpp +index 38ff53027..e30339f81 100644 +--- a/src/dialog_attachments.cpp ++++ b/src/dialog_attachments.cpp +@@ -161,7 +161,7 @@ void DialogAttachments::OnExtract(wxCommandEvent &) { + + // Multiple or single? + if (listView->GetNextSelected(i) != -1) +- path = wxDirSelector(_("Select the path to save the files to:"), to_wx(OPT_GET("Path/Fonts Collector Destination")->GetString())).c_str(); ++ path = static_cast<const char*>(wxDirSelector(_("Select the path to save the files to:"), to_wx(OPT_GET("Path/Fonts Collector Destination")->GetString())).c_str()); + else { + path = SaveFileSelector( + _("Select the path to save the file to:"), diff --git a/multimedia/aegisub/patches/boost.patch b/multimedia/aegisub/patches/boost.patch deleted file mode 100644 index 5d917f607e..0000000000 --- a/multimedia/aegisub/patches/boost.patch +++ /dev/null @@ -1,34 +0,0 @@ -From d8336d2fed73c72d1227b343d6acfb991bc1651b Mon Sep 17 00:00:00 2001 -From: Jan Beich <jbeich@FreeBSD.org> -Date: Mon, 9 Jul 2018 20:15:29 +0000 -Subject: [PATCH] Keep using std::distance after Boost 1.68 - -src/search_replace_engine.cpp:256:14: error: call to - 'distance' is ambiguous - count += distance( - ^~~~~~~~ -/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter = - boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >] -distance(_InputIter __first, _InputIter __last) -^ -/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = - boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >] - distance(SinglePassIterator first, SinglePassIterator last) - ^ ---- - src/search_replace_engine.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp -index 594c21e5e..14c71680d 100644 ---- a/src/search_replace_engine.cpp -+++ b/src/search_replace_engine.cpp -@@ -253,7 +253,7 @@ bool SearchReplaceEngine::ReplaceAll() { - if (MatchState ms = matches(&diag, 0)) { - auto& diag_field = diag.*get_dialogue_field(settings.field); - std::string const& text = diag_field.get(); -- count += distance( -+ count += std::distance( - boost::u32regex_iterator<std::string::const_iterator>(begin(text), end(text), *ms.re), - boost::u32regex_iterator<std::string::const_iterator>()); - diag_field = u32regex_replace(text, *ms.re, settings.replace_with); diff --git a/multimedia/aegisub/patches/ffms2.patch b/multimedia/aegisub/patches/ffms2.patch deleted file mode 100644 index ed40181e14..0000000000 --- a/multimedia/aegisub/patches/ffms2.patch +++ /dev/null @@ -1,387 +0,0 @@ -From 1aa9215e7fc360de05da9b7ec2cd68f1940af8b2 Mon Sep 17 00:00:00 2001 -From: Thomas Goyne <plorkyeran@aegisub.org> -Date: Wed, 6 Apr 2016 11:24:21 -0700 -Subject: [PATCH] Use FFMS_DoIndexing2 when using a recent version of ffms2 - -And clean up the audio track selection logic a bit. ---- - src/audio_provider_ffmpegsource.cpp | 40 ++++++++------------------ - src/ffmpegsource_common.cpp | 44 +++++++++++++++++++++-------- - src/ffmpegsource_common.h | 25 +++++----------- - src/video_provider_ffmpegsource.cpp | 12 ++++---- - 4 files changed, 56 insertions(+), 65 deletions(-) - -diff --git a/src/audio_provider_ffmpegsource.cpp b/src/audio_provider_ffmpegsource.cpp -index 4e44b1d29..606d5b415 100644 ---- a/src/audio_provider_ffmpegsource.cpp -+++ b/src/audio_provider_ffmpegsource.cpp -@@ -91,18 +91,20 @@ void FFmpegSourceAudioProvider::LoadAudio(agi::fs::path const& filename) { - } - - std::map<int, std::string> TrackList = GetTracksOfType(Indexer, FFMS_TYPE_AUDIO); -- if (TrackList.empty()) -- throw agi::AudioDataNotFound("no audio tracks found"); - - // initialize the track number to an invalid value so we can detect later on - // whether the user actually had to choose a track or not - int TrackNumber = -1; - if (TrackList.size() > 1) { -- TrackNumber = AskForTrackSelection(TrackList, FFMS_TYPE_AUDIO); -- // if it's still -1 here, user pressed cancel -- if (TrackNumber == -1) -+ auto Selection = AskForTrackSelection(TrackList, FFMS_TYPE_AUDIO); -+ if (Selection == TrackSelection::None) - throw agi::UserCancelException("audio loading canceled by user"); -+ TrackNumber = static_cast<int>(Selection); - } -+ else if (TrackList.size() == 1) -+ TrackNumber = TrackList.begin()->first; -+ else -+ throw agi::AudioDataNotFound("no audio tracks found"); - - // generate a name for the cache file - agi::fs::path CacheName = GetCacheFilename(filename); -@@ -114,24 +116,13 @@ void FFmpegSourceAudioProvider::LoadAudio(agi::fs::path const& filename) { - if (Index && FFMS_IndexBelongsToFile(Index, filename.string().c_str(), &ErrInfo)) - Index = nullptr; - -- // index valid but track number still not set? - if (Index) { -- // track number not set? just grab the first track -- if (TrackNumber < 0) -- TrackNumber = FFMS_GetFirstTrackOfType(Index, FFMS_TYPE_AUDIO, &ErrInfo); -- if (TrackNumber < 0) -- throw agi::AudioDataNotFound(std::string("Couldn't find any audio tracks: ") + ErrInfo.Buffer); -- -- // index is valid and track number is now set, -- // but do we have indexing info for the desired audio track? -+ // we already have an index, but the desired track may not have been -+ // indexed, and if it wasn't we need to reindex - FFMS_Track *TempTrackData = FFMS_GetTrackFromIndex(Index, TrackNumber); - if (FFMS_GetNumFrames(TempTrackData) <= 0) - Index = nullptr; - } -- // no valid index exists and the file only has one audio track, index it -- else if (TrackNumber < 0) -- TrackNumber = FFMS_TRACKMASK_ALL; -- // else: do nothing (keep track mask as it is) - - // reindex if the error handling mode has changed - FFMS_IndexErrorHandling ErrorHandling = GetErrorHandlingMode(); -@@ -142,17 +133,10 @@ void FFmpegSourceAudioProvider::LoadAudio(agi::fs::path const& filename) { - - // moment of truth - if (!Index) { -- int TrackMask; -- if (OPT_GET("Provider/FFmpegSource/Index All Tracks")->GetBool() || TrackNumber == FFMS_TRACKMASK_ALL) -- TrackMask = FFMS_TRACKMASK_ALL; -- else -- TrackMask = (1 << TrackNumber); -- -+ TrackSelection TrackMask = static_cast<TrackSelection>(TrackNumber); -+ if (OPT_GET("Provider/FFmpegSource/Index All Tracks")->GetBool()) -+ TrackMask = TrackSelection::All; - Index = DoIndexing(Indexer, CacheName, TrackMask, ErrorHandling); -- -- // if tracknumber still isn't set we need to set it now -- if (TrackNumber == FFMS_TRACKMASK_ALL) -- TrackNumber = FFMS_GetFirstTrackOfType(Index, FFMS_TYPE_AUDIO, &ErrInfo); - } - else - FFMS_CancelIndexing(Indexer); -diff --git a/src/ffmpegsource_common.cpp b/src/ffmpegsource_common.cpp -index 60a7e91e6..d66be0222 100644 ---- a/src/ffmpegsource_common.cpp -+++ b/src/ffmpegsource_common.cpp -@@ -60,7 +60,10 @@ FFmpegSourceProvider::FFmpegSourceProvider(agi::BackgroundRunner *br) - /// @param Indexer A pointer to the indexer object representing the file to be indexed - /// @param CacheName The filename of the output index file - /// @param Trackmask A binary mask of the track numbers to index --FFMS_Index *FFmpegSourceProvider::DoIndexing(FFMS_Indexer *Indexer, agi::fs::path const& CacheName, int Trackmask, FFMS_IndexErrorHandling IndexEH) { -+FFMS_Index *FFmpegSourceProvider::DoIndexing(FFMS_Indexer *Indexer, -+ agi::fs::path const& CacheName, -+ TrackSelection Track, -+ FFMS_IndexErrorHandling IndexEH) { - char FFMSErrMsg[1024]; - FFMS_ErrorInfo ErrInfo; - ErrInfo.Buffer = FFMSErrMsg; -@@ -78,8 +81,22 @@ FFMS_Index *FFmpegSourceProvider::DoIndexing(FFMS_Indexer *Indexer, agi::fs::pat - ps->SetProgress(Current, Total); - return ps->IsCancelled(); - }; -- Index = FFMS_DoIndexing(Indexer, Trackmask, FFMS_TRACKMASK_NONE, -+#if FFMS_VERSION >= ((2 << 24) | (21 << 16) | (0 << 8) | 0) -+ if (Track == TrackSelection::All) -+ FFMS_TrackTypeIndexSettings(Indexer, FFMS_TYPE_AUDIO, 1, 0); -+ else if (Track != TrackSelection::None) -+ FFMS_TrackIndexSettings(Indexer, static_cast<int>(Track), 1, 0); -+ FFMS_SetProgressCallback(Indexer, callback, ps); -+ Index = FFMS_DoIndexing2(Indexer, IndexEH, &ErrInfo); -+#else -+ int Trackmask = 0; -+ if (Track == TrackSelection::All) -+ Trackmask = std::numeric_limits<int>::max(); -+ else if (Track != TrackSelection::None) -+ Trackmask = 1 << static_cast<int>(Track); -+ Index = FFMS_DoIndexing(Indexer, Trackmask, 0, - nullptr, nullptr, IndexEH, callback, ps, &ErrInfo); -+#endif - }); - - if (Index == nullptr) -@@ -99,21 +116,24 @@ std::map<int, std::string> FFmpegSourceProvider::GetTracksOfType(FFMS_Indexer *I - std::map<int,std::string> TrackList; - int NumTracks = FFMS_GetNumTracksI(Indexer); - -+ // older versions of ffms2 can't index audio tracks past 31 -+#if FFMS_VERSION < ((2 << 24) | (21 << 16) | (0 << 8) | 0) -+ if (Type == FFMS_TYPE_AUDIO) -+ NumTracks = std::min(NumTracks, std::numeric_limits<int>::digits); -+#endif -+ - for (int i=0; i<NumTracks; i++) { - if (FFMS_GetTrackTypeI(Indexer, i) == Type) { -- const char *CodecName = FFMS_GetCodecNameI(Indexer, i); -- if (CodecName) -- TrackList.insert(std::pair<int,std::string>(i, CodecName)); -+ if (auto CodecName = FFMS_GetCodecNameI(Indexer, i)) -+ TrackList[i] = CodecName; - } - } - return TrackList; - } - --/// @brief Ask user for which track he wants to load --/// @param TrackList A std::map with the track numbers as keys and codec names as values --/// @param Type The track type to ask about --/// @return Returns the track number chosen (an integer >= 0) on success, or a negative integer if the user cancelled. --int FFmpegSourceProvider::AskForTrackSelection(const std::map<int, std::string> &TrackList, FFMS_TrackType Type) { -+FFmpegSourceProvider::TrackSelection -+FFmpegSourceProvider::AskForTrackSelection(const std::map<int, std::string> &TrackList, -+ FFMS_TrackType Type) { - std::vector<int> TrackNumbers; - wxArrayString Choices; - -@@ -128,8 +148,8 @@ int FFmpegSourceProvider::AskForTrackSelection(const std::map<int, std::string> - Choices); - - if (Choice < 0) -- return Choice; -- return TrackNumbers[Choice]; -+ return TrackSelection::None; -+ return static_cast<TrackSelection>(TrackNumbers[Choice]); - } - - /// @brief Set ffms2 log level according to setting in config.dat -diff --git a/src/ffmpegsource_common.h b/src/ffmpegsource_common.h -index 8cb7f33f6..5f6df7cfa 100644 ---- a/src/ffmpegsource_common.h -+++ b/src/ffmpegsource_common.h -@@ -42,11 +42,6 @@ - - namespace agi { class BackgroundRunner; } - --/// Index all tracks --#define FFMS_TRACKMASK_ALL -1 --/// Index no tracks --#define FFMS_TRACKMASK_NONE 0 -- - /// @class FFmpegSourceProvider - /// @brief Base class for FFMS2 source providers; contains common functions etc - class FFmpegSourceProvider { -@@ -56,24 +51,18 @@ class FFmpegSourceProvider { - public: - FFmpegSourceProvider(agi::BackgroundRunner *br); - -- /// Logging level constants from avutil/log.h -- enum FFMS_LogLevel { -- /// nothing printed -- FFMS_LOG_QUIET = -8, -- FFMS_LOG_PANIC = 0, -- FFMS_LOG_FATAL = 8, -- FFMS_LOG_ERROR = 16, -- FFMS_LOG_WARNING = 24, -- FFMS_LOG_INFO = 32, -- FFMS_LOG_VERBOSE = 40, -- FFMS_LOG_DEBUG = 48, -+ enum class TrackSelection : int { -+ None = -1, -+ All = -2 - }; - - void CleanCache(); - -- FFMS_Index *DoIndexing(FFMS_Indexer *Indexer, agi::fs::path const& Cachename, int Trackmask, FFMS_IndexErrorHandling IndexEH); -+ FFMS_Index *DoIndexing(FFMS_Indexer *Indexer, agi::fs::path const& Cachename, -+ TrackSelection Track, -+ FFMS_IndexErrorHandling IndexEH); - std::map<int, std::string> GetTracksOfType(FFMS_Indexer *Indexer, FFMS_TrackType Type); -- int AskForTrackSelection(const std::map<int, std::string>& TrackList, FFMS_TrackType Type); -+ TrackSelection AskForTrackSelection(const std::map<int, std::string>& TrackList, FFMS_TrackType Type); - agi::fs::path GetCacheFilename(agi::fs::path const& filename); - void SetLogLevel(); - FFMS_IndexErrorHandling GetErrorHandlingMode(); -diff --git a/src/video_provider_ffmpegsource.cpp b/src/video_provider_ffmpegsource.cpp -index 5fd14f69c..8bd68fbbf 100644 ---- a/src/video_provider_ffmpegsource.cpp -+++ b/src/video_provider_ffmpegsource.cpp -@@ -149,14 +149,12 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st - if (TrackList.size() <= 0) - throw VideoNotSupported("no video tracks found"); - -- // initialize the track number to an invalid value so we can detect later on -- // whether the user actually had to choose a track or not - int TrackNumber = -1; - if (TrackList.size() > 1) { -- TrackNumber = AskForTrackSelection(TrackList, FFMS_TYPE_VIDEO); -- // if it's still -1 here, user pressed cancel -- if (TrackNumber == -1) -+ auto Selection = AskForTrackSelection(TrackList, FFMS_TYPE_VIDEO); -+ if (Selection == TrackSelection::None) - throw agi::UserCancelException("video loading cancelled by user"); -+ TrackNumber = static_cast<int>(Selection); - } - - // generate a name for the cache file -@@ -180,9 +178,9 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st - - // moment of truth - if (!Index) { -- int TrackMask = FFMS_TRACKMASK_NONE; -+ auto TrackMask = TrackSelection::None; - if (OPT_GET("Provider/FFmpegSource/Index All Tracks")->GetBool() || OPT_GET("Video/Open Audio")->GetBool()) -- TrackMask = FFMS_TRACKMASK_ALL; -+ TrackMask = TrackSelection::All; - Index = DoIndexing(Indexer, CacheName, TrackMask, GetErrorHandlingMode()); - } - else { - -From 7a6da26be6a830f4e1255091952cc0a1326a4520 Mon Sep 17 00:00:00 2001 -From: Thomas Goyne <plorkyeran@aegisub.org> -Date: Fri, 8 Apr 2016 12:14:28 -0700 -Subject: [PATCH] Fix compilation on X11-using platforms - ---- - src/ffmpegsource_common.h | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/ffmpegsource_common.h b/src/ffmpegsource_common.h -index 5f6df7cfa..383d5baa2 100644 ---- a/src/ffmpegsource_common.h -+++ b/src/ffmpegsource_common.h -@@ -51,6 +51,9 @@ class FFmpegSourceProvider { - public: - FFmpegSourceProvider(agi::BackgroundRunner *br); - -+ // X11 is wonderful -+#undef None -+ - enum class TrackSelection : int { - None = -1, - All = -2 -commit 89c4e8d34ab77c3322f097b91fd9de22cbea7a37 -Author: Thomas Goyne <plorkyeran@aegisub.org> -Date: Wed Nov 21 16:41:05 2018 -0800 - - Update ffmpeg and ffms2 - -diff --git a/src/video_provider_ffmpegsource.cpp b/src/video_provider_ffmpegsource.cpp -index 8bd68fbbf..f4ed6a2f2 100644 ---- a/src/video_provider_ffmpegsource.cpp -+++ b/src/video_provider_ffmpegsource.cpp -@@ -44,6 +44,23 @@ - #include <libaegisub/make_unique.h> - - namespace { -+typedef enum AGI_ColorSpaces { -+ AGI_CS_RGB = 0, -+ AGI_CS_BT709 = 1, -+ AGI_CS_UNSPECIFIED = 2, -+ AGI_CS_FCC = 4, -+ AGI_CS_BT470BG = 5, -+ AGI_CS_SMPTE170M = 6, -+ AGI_CS_SMPTE240M = 7, -+ AGI_CS_YCOCG = 8, -+ AGI_CS_BT2020_NCL = 9, -+ AGI_CS_BT2020_CL = 10, -+ AGI_CS_SMPTE2085 = 11, -+ AGI_CS_CHROMATICITY_DERIVED_NCL = 12, -+ AGI_CS_CHROMATICITY_DERIVED_CL = 13, -+ AGI_CS_ICTCP = 14 -+} AGI_ColorSpaces; -+ - /// @class FFmpegSourceVideoProvider - /// @brief Implements video loading through the FFMS library. - class FFmpegSourceVideoProvider final : public VideoProvider, FFmpegSourceProvider { -@@ -78,7 +95,7 @@ public: - if (matrix == RealColorSpace) - FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), nullptr); - else if (matrix == "TV.601") -- FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr); -+ FFMS_SetInputFormatV(VideoSource, AGI_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr); - else - return; - ColorSpace = matrix; -@@ -103,16 +120,16 @@ std::string colormatrix_description(int cs, int cr) { - std::string str = cr == FFMS_CR_JPEG ? "PC" : "TV"; - - switch (cs) { -- case FFMS_CS_RGB: -+ case AGI_CS_RGB: - return "None"; -- case FFMS_CS_BT709: -+ case AGI_CS_BT709: - return str + ".709"; -- case FFMS_CS_FCC: -+ case AGI_CS_FCC: - return str + ".FCC"; -- case FFMS_CS_BT470BG: -- case FFMS_CS_SMPTE170M: -+ case AGI_CS_BT470BG: -+ case AGI_CS_SMPTE170M: - return str + ".601"; -- case FFMS_CS_SMPTE240M: -+ case AGI_CS_SMPTE240M: - return str + ".240M"; - default: - throw VideoOpenError("Unknown video color space"); -@@ -206,8 +223,10 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st - - // set thread count - int Threads = OPT_GET("Provider/Video/FFmpegSource/Decoding Threads")->GetInt(); -+#if FFMS_VERSION < ((2 << 24) | (30 << 16) | (0 << 8) | 0) - if (FFMS_GetVersion() < ((2 << 24) | (17 << 16) | (2 << 8) | 1) && FFMS_GetSourceType(Index) == FFMS_SOURCE_LAVF) - Threads = 1; -+#endif - - // set seekmode - // TODO: give this its own option? -@@ -235,18 +254,22 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st - else - DAR = double(Width) / Height; - -- CS = TempFrame->ColorSpace; -+ int VideoCS = CS = TempFrame->ColorSpace; - CR = TempFrame->ColorRange; - -- if (CS == FFMS_CS_UNSPECIFIED) -- CS = Width > 1024 || Height >= 600 ? FFMS_CS_BT709 : FFMS_CS_BT470BG; -+ if (CS == AGI_CS_UNSPECIFIED) -+ CS = Width > 1024 || Height >= 600 ? AGI_CS_BT709 : AGI_CS_BT470BG; - RealColorSpace = ColorSpace = colormatrix_description(CS, CR); - - #if FFMS_VERSION >= ((2 << 24) | (17 << 16) | (1 << 8) | 0) -- if (CS != FFMS_CS_RGB && CS != FFMS_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) { -- if (FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), &ErrInfo)) -+ if (CS != AGI_CS_RGB && CS != AGI_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) { -+ CS = AGI_CS_BT470BG; -+ ColorSpace = colormatrix_description(AGI_CS_BT470BG, CR); -+ } -+ -+ if (CS != VideoCS) { -+ if (FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), &ErrInfo)) - throw VideoOpenError(std::string("Failed to set input format: ") + ErrInfo.Buffer); -- ColorSpace = colormatrix_description(FFMS_CS_BT470BG, CR); - } - #endif - diff --git a/multimedia/aegisub/patches/icu.patch b/multimedia/aegisub/patches/icu.patch deleted file mode 100644 index 2145140ed0..0000000000 --- a/multimedia/aegisub/patches/icu.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -upr aegisub-3.2.2.orig/src/utils.cpp aegisub-3.2.2/src/utils.cpp ---- aegisub-3.2.2.orig/src/utils.cpp 2014-12-08 02:07:09.000000000 +0200 -+++ aegisub-3.2.2/src/utils.cpp 2017-04-26 11:11:15.438239182 +0300 -@@ -44,6 +44,7 @@ - #include <boost/filesystem/path.hpp> - #include <map> - #include <unicode/locid.h> -+#include <unicode/unistr.h> - #include <wx/clipbrd.h> - #include <wx/filedlg.h> - #include <wx/stdpaths.h> diff --git a/multimedia/aegisub/patches/make-4.3.patch b/multimedia/aegisub/patches/make-4.3.patch deleted file mode 100644 index 6edb8c3b5e..0000000000 --- a/multimedia/aegisub/patches/make-4.3.patch +++ /dev/null @@ -1,23 +0,0 @@ -From f4cc905c69ca69c68cb95674cefce4abc37ce046 Mon Sep 17 00:00:00 2001 -From: wangqr <wangqr@wangqr.tk> -Date: Mon, 17 Feb 2020 14:42:07 +0800 -Subject: [PATCH] Use target name without directory in $*_OBJ macro - -Fix Aegisub/Aegisub#171 ---- - Makefile.target | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.target b/Makefile.target -index 516ef3c24..5c4c5d259 100644 ---- a/Makefile.target -+++ b/Makefile.target -@@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $< - # Libraries contain all object files they depend on (but they may depend on other files) - # Not using libtool on OS X because it has an unsilenceable warning about a - # compatibility issue with BSD 4.3 (wtf) --lib%.a: $$($$*_OBJ) -+lib%.a: $$($$(*F)_OBJ) - @$(BIN_MKDIR_P) $(dir $@) - $(BIN_AR) cru $@ $(filter %.o,$^) - $(BIN_RANLIB) $@ diff --git a/multimedia/aegisub/slack-desc b/multimedia/aegisub/slack-desc index 053d304d0a..a29184e5ba 100644 --- a/multimedia/aegisub/slack-desc +++ b/multimedia/aegisub/slack-desc @@ -8,10 +8,10 @@ |-----handy-ruler------------------------------------------------------| aegisub: aegisub (General-purpose subtitle editor) aegisub: -aegisub: A general-purpose subtitle editor with ASS/SSA support +aegisub: A general-purpose subtitle editor aegisub: aegisub: -aegisub: Project Site: https://code.google.com/p/aegisub/ +aegisub: Project Site: https://github.com/wangqr/Aegisub aegisub: aegisub: aegisub: diff --git a/multimedia/anyremote/README b/multimedia/anyremote/README index 51fe66945a..198129cbe0 100644 --- a/multimedia/anyremote/README +++ b/multimedia/anyremote/README @@ -1,19 +1,23 @@ -The overall goal of this project is to provide remote control service on Linux -through Bluetooth, InfraRed, Wi-Fi or TCP/IP connection. +The overall goal of this project is to provide remote control service +on Linux through Bluetooth, InfraRed, Wi-Fi or TCP/IP connection. -anyRemote supports wide range of modern cell phones line Nokia, SonyEricsson, -Motorola and others. +anyRemote supports wide range of modern cell phones line Nokia, +SonyEricsson, Motorola and others. -anyRemote was developed as a thin "communication" layer between Buetooth -(IR, Wi-Fi)-capabled phone and Linux, and in principle could be configured -to manage almost any software. +anyRemote was developed as a thin "communication" layer between +Buetooth (IR, Wi-Fi)-capabled phone and Linux, and in principle could +be configured to manage almost any software. anyRemote could be used with: - * bluetooth connection with java client if cell phone is JSR82 compatible + * bluetooth connection with java client if cell phone is JSR82 + compatible * Wi-Fi connection with java client if phone supports Wi-Fi - * IR connection with java client if java in phone supports access to IR port - * TCP/IP connection with java client, if PC is connectable from internet + * IR connection with java client if java in phone supports access + to IR port + * TCP/IP connection with java client, if PC is connectable from + internet * bluetooth, infrared or cable connection using AT "modem" commands * web interface - * it supports some of IR remotes supplied with TV tuner cards (like LIRC) + * it supports some of IR remotes supplied with TV tuner cards (like + LIRC) * it has limited support for Bemused clients diff --git a/multimedia/anyremote/anyremote.SlackBuild b/multimedia/anyremote/anyremote.SlackBuild index 8bd5daa10f..576975c76c 100644 --- a/multimedia/anyremote/anyremote.SlackBuild +++ b/multimedia/anyremote/anyremote.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/aom/README b/multimedia/aom/README index 40b686daea..dbddf20cbb 100644 --- a/multimedia/aom/README +++ b/multimedia/aom/README @@ -3,8 +3,5 @@ video transmission over the Internet. AV1 is planned to surpass VP9 and also to eventually be a competitor with HEVC/H.265. This script builds the encoder aomenc, the decoder aomdec as well -as shared libraries which can be utilised by recent versions of +as shared libraries which can be utilised by suitable versions of both FFmpeg and vlc. - -Note: 'aom' replaces and upgrades 'libaom'; make sure 'libaom' is -removed before using this SlackBuild. diff --git a/multimedia/aom/aom.SlackBuild b/multimedia/aom/aom.SlackBuild index b986c266d6..1045d3e0a3 100644 --- a/multimedia/aom/aom.SlackBuild +++ b/multimedia/aom/aom.SlackBuild @@ -2,7 +2,7 @@ # ---------------------------------------------------------------------- # Slackware build script for aom # -# Copyright (c) 2018-2021 Andrew Strong, Blue Mountains, Australia. +# Copyright (c) 2018-2023 Andrew Strong, Blue Mountains, Australia. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -27,10 +27,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aom -# The 'official' archive for the aom 2.0.1 release has the git commit in +# The 'official' archive for the aom 3.6.0 release has the git commit in # the filename, so adjustments are required for a sane Slackware build: -VERSION=${VERSION:-2.0.1} -GITCOMMIT=${GITCOMMIT:-b52ee6d44adaef8a08f6984390de050d64df9faa} +VERSION=${VERSION:-3.6.0} +GITCOMMIT=${GITCOMMIT:-3c65175b1972da4a1992c1dae2365b48d13f9a8d} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -88,7 +85,7 @@ find -L . \ cd build # I don't build either the HTML or the Latex docs as IMHO at this stage - # of aom development they are not terribly useful for non-developers. + # of aom development they are still not terribly useful for non-developers. # To enable these docs change '-DENABLE_DOCS=0' below to '1' to build # the docs and then uncomment the 'extra docs' section below to install them... @@ -97,8 +94,8 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/lib${LIBDIRSUFFIX} \ - -DCMAKE_INSTALL_INCLUDEDIR=/include \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_INCLUDEDIR=include \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_NASM=1 \ -DENABLE_DOCS=0 \ @@ -113,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG LICENSE PATENTS README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG LICENSE PATENTS README.md Sample.cfg $PKG/usr/doc/$PRGNAM-$VERSION # These are the 'extra docs', more details above... # mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{html,latex} diff --git a/multimedia/aom/aom.info b/multimedia/aom/aom.info index 3537579242..815f782382 100644 --- a/multimedia/aom/aom.info +++ b/multimedia/aom/aom.info @@ -1,8 +1,8 @@ PRGNAM="aom" -VERSION="2.0.1" +VERSION="3.6.0" HOMEPAGE="https://aomedia.googlesource.com/aom" -DOWNLOAD="http://www.andrews-corner.org/downloads/aom-b52ee6d44adaef8a08f6984390de050d64df9faa.tar.gz" -MD5SUM="d37bf9cfe3353e661637c2b106ee1787" +DOWNLOAD="http://www.andrews-corner.org/downloads/aom-3c65175b1972da4a1992c1dae2365b48d13f9a8d.tar.gz" +MD5SUM="4c73a44a710688e8c496b3740ecee84b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/apetag/apetag.SlackBuild b/multimedia/apetag/apetag.SlackBuild index 644918a692..7ee1e22e4a 100644 --- a/multimedia/apetag/apetag.SlackBuild +++ b/multimedia/apetag/apetag.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # 20210910 bkw: BUILD=3, fix HTML doc. # 20160817 bkw: diff --git a/multimedia/apetag/apetag.info b/multimedia/apetag/apetag.info index 5f0e989312..4c7851cd8d 100644 --- a/multimedia/apetag/apetag.info +++ b/multimedia/apetag/apetag.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/audio-recorder/audio-recorder.SlackBuild b/multimedia/audio-recorder/audio-recorder.SlackBuild index f911ebc25f..0687f58c4c 100644 --- a/multimedia/audio-recorder/audio-recorder.SlackBuild +++ b/multimedia/audio-recorder/audio-recorder.SlackBuild @@ -30,9 +30,14 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# 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 "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -42,14 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -75,9 +72,9 @@ cd $PRGNAM 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ aclocal autoconf @@ -91,13 +88,8 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README \ diff --git a/multimedia/audiopreview/README b/multimedia/audiopreview/README index 018848c451..020d938149 100644 --- a/multimedia/audiopreview/README +++ b/multimedia/audiopreview/README @@ -1,10 +1,12 @@ -AudioPreview is a small command-line tool for Linux that can play previews of: +AudioPreview is a small command-line tool for Linux that can play +previews of: + * Audio Files - o mp3, ogg, flac, rm, wma... + mp3, ogg, flac, rm, wma... * Video Files - o avi, mpg, ogg, mkv, ... + avi, mpg, ogg, mkv, ... * Internet Streams - o radio stations, video streams and audio streams, ... + radio stations, video streams and audio streams, ... For additional codec support, install the optional dependencies gst0-plugins-ugly and gst0-ffmpeg (for video support). diff --git a/multimedia/audiopreview/audiopreview.SlackBuild b/multimedia/audiopreview/audiopreview.SlackBuild index de464685bf..4483e79a90 100644 --- a/multimedia/audiopreview/audiopreview.SlackBuild +++ b/multimedia/audiopreview/audiopreview.SlackBuild @@ -20,9 +20,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -57,11 +54,11 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ diff --git a/multimedia/audiopreview/audiopreview.info b/multimedia/audiopreview/audiopreview.info index e11416c532..30010de22b 100644 --- a/multimedia/audiopreview/audiopreview.info +++ b/multimedia/audiopreview/audiopreview.info @@ -5,6 +5,6 @@ DOWNLOAD="https://launchpad.net/audiopreview/0.x/0.6/+download/audiopreview-0.6. MD5SUM="120f3ba6197c8008d8281e39874e3186" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="gstreamer0" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" diff --git a/multimedia/avidemux/README b/multimedia/avidemux/README index 18c21f4f53..39e6cb56a1 100644 --- a/multimedia/avidemux/README +++ b/multimedia/avidemux/README @@ -1,6 +1,8 @@ -Avidemux is a free video editor designed for simple cutting, filtering and -encoding tasks. It supports many file types, including AVI, DVD compatible -MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated -using projects, job queue and powerful scripting capabilities. +Avidemux is a free video editor designed for simple cutting, filtering +and encoding tasks. It supports many file types, including AVI, DVD +compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks +can be automated using projects, job queue and powerful scripting +capabilities. -Optional dependencies are aften, amrnb, jack, nv-codec-headers, and x265. +Optional dependencies are aften, amrnb, jack, nv-codec-headers, +and x265. diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index d6d537e9c6..37202fb9d3 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -5,7 +5,7 @@ # Derived from a SlackBuild by Eric Hameleers. # Copyright 2009, 2010, 2011, 2013 Eric Hameleers, Eindhoven, NL # Copyright 2015 John Vogel Corning, NY USA -# Copyright 2017-2021 Matteo Bernardini, Pisa, IT +# Copyright 2017-2022 Matteo Bernardini, Pisa, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,10 +25,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220402 bkw: Modified by SlackBuilds.org, BUILD=2: +# - man page was getting installed as a *file* called /usr/man/man1. fix. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=avidemux -VERSION=${VERSION:-2.7.8} +VERSION=${VERSION:-2.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +44,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -80,11 +80,12 @@ cd ${PRGNAM}_${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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -patch -p1 < $CWD/qt-5.15.diff +# Thanks FreeBSD guys! +[[ "$ARCH" = "i586" ]] && patch -p0 < $CWD/extra-patch-i386-nosse.patch sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash || exit 1 sed -i 's|0.19|1.0|' avidemux_plugins/ADM_videoFilters6/ass/CMakeLists.txt || exit 1 @@ -97,7 +98,8 @@ make -C buildPluginsCLI DESTDIR="$PKG" install make -C buildPluginsCommon DESTDIR="$PKG" install install -Dm 644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png -install -Dm 644 man/avidemux.1 $PKG/usr/man/man1 +mkdir -p $PKG/usr/man/man1 +gzip -9c < man/avidemux.1 > $PKG/usr/man/man1/avidemux.1.gz make -C buildQt5 DESTDIR="$PKG" install make -C buildPluginsQt5 DESTDIR="$PKG" install diff --git a/multimedia/avidemux/avidemux.info b/multimedia/avidemux/avidemux.info index 3b55b87854..948c45dcc6 100644 --- a/multimedia/avidemux/avidemux.info +++ b/multimedia/avidemux/avidemux.info @@ -1,8 +1,8 @@ PRGNAM="avidemux" -VERSION="2.7.8" +VERSION="2.8.1" HOMEPAGE="http://avidemux.org" -DOWNLOAD="http://downloads.sf.net/avidemux/avidemux_2.7.8.tar.gz" -MD5SUM="15e2389c9c526b03bd3779a6a6da9db4" +DOWNLOAD="http://downloads.sf.net/avidemux/avidemux_2.8.1.tar.gz" +MD5SUM="fee41934cba460ec0fde2a453d5a6307" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="faac faad2 libdca x264 xvidcore" diff --git a/multimedia/avidemux/extra-patch-i386-nosse.patch b/multimedia/avidemux/extra-patch-i386-nosse.patch new file mode 100644 index 0000000000..fbad75fb59 --- /dev/null +++ b/multimedia/avidemux/extra-patch-i386-nosse.patch @@ -0,0 +1,14 @@ +--- avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h.orig 2022-09-17 13:59:16 UTC ++++ avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h +@@ -153,11 +153,6 @@ namespace soundtouch
+ // efficient autovectorization
+ typedef float LONG_SAMPLETYPE;
+
+- #ifdef SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS
+- // Allow SSE optimizations
+- #define SOUNDTOUCH_ALLOW_SSE 1
+- #endif
+-
+ #endif // SOUNDTOUCH_INTEGER_SAMPLES
+
+ #if ((SOUNDTOUCH_ALLOW_SSE) || (__SSE__) || (SOUNDTOUCH_USE_NEON))
diff --git a/multimedia/avidemux/qt-5.15.diff b/multimedia/avidemux/qt-5.15.diff deleted file mode 100644 index 5ebe3753c2..0000000000 --- a/multimedia/avidemux/qt-5.15.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r avidemux_2.7.4/avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp avidemux_2.7.4-fix/avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp ---- avidemux_2.7.4/avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp 2019-08-15 07:25:39.000000000 +0000 -+++ avidemux_2.7.4-fix/avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp 2020-06-05 13:48:28.014061206 +0000 -@@ -8,6 +8,7 @@ - ***************************************************************************/// - - #include <QPainter> -+#include <QPainterPath> - #include <QRubberBand> - #include <QBoxLayout> - #include <QSizeGrip> diff --git a/multimedia/bdtools/bdtools.SlackBuild b/multimedia/bdtools/bdtools.SlackBuild index f8451b517c..6867148c25 100644 --- a/multimedia/bdtools/bdtools.SlackBuild +++ b/multimedia/bdtools/bdtools.SlackBuild @@ -24,25 +24,27 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2: +# - no execute permission on COPYING. +# - no useless INSTALL instructions in doc dir. +# - get rid of empty/useless /usr/share dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bdtools VERSION=${VERSION:-1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -52,8 +54,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -77,9 +79,9 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -97,9 +99,11 @@ make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +install -m0644 COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -rf $PKG/usr/share/doc/gtt +rm -rf $PKG/usr/share # 20220404 bkw: nothing there but doc/ + +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/beets/README b/multimedia/beets/README index c5ebb6cb95..a926da9257 100644 --- a/multimedia/beets/README +++ b/multimedia/beets/README @@ -24,5 +24,5 @@ panacea: If beets doesn't do what you want yet, writing your own plugin is shockingly simple if you know a little Python. -Optional dependencies: -Flask, pyacoustid, pylast, discogs-client. +Optional dependencies: +Flask, gst-python, pyacoustid, pylast. diff --git a/multimedia/beets/beet b/multimedia/beets/beet new file mode 100644 index 0000000000..5532252f29 --- /dev/null +++ b/multimedia/beets/beet @@ -0,0 +1,2 @@ +_load_beet_completion() { eval "$(beet completion)"; } +complete -F _load_beet_completion beet diff --git a/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild index ea2fd063ef..21d2b1b97e 100644 --- a/multimedia/beets/beets.SlackBuild +++ b/multimedia/beets/beets.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for beets +# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -22,11 +23,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20221016 46and2: Added bash/zsh completions. +# 20221103 46and2: Rebuilt for python3-mediafile and python3-confuse. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=beets -VERSION=${VERSION:-1.4.9} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.6.0} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +83,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG + +mkdir -p $PKG/usr/share/bash-completion/completions +install -m644 $CWD/beet $PKG/usr/share/bash-completion/completions/ + +mkdir -p $PKG/usr/share/zsh/site-functions +install -m644 extra/_beet $PKG/usr/share/zsh/site-functions/ install -D -m644 man/beet.1 $PKG/usr/man/man1/beet.1 install -D -m644 man/beetsconfig.5 $PKG/usr/man/man5/beetsconfig.5 diff --git a/multimedia/beets/beets.info b/multimedia/beets/beets.info index 4ed8bec1cc..2c17f299f2 100644 --- a/multimedia/beets/beets.info +++ b/multimedia/beets/beets.info @@ -1,10 +1,10 @@ PRGNAM="beets" -VERSION="1.4.9" +VERSION="1.6.0" HOMEPAGE="http://beets.radbox.org" -DOWNLOAD="https://github.com/beetbox/beets/releases/download/v1.4.9/beets-1.4.9.tar.gz" -MD5SUM="1218fb28fc270f59a6054135099a69f1" +DOWNLOAD="https://github.com/beetbox/beets/releases/download/v1.6.0/beets-1.6.0.tar.gz" +MD5SUM="d03cd61d7083bc62f4b17ce2808df0d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="mutagen munkres Unidecode musicbrainzngs PyYAML jellyfish" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +REQUIRES="munkres Unidecode musicbrainzngs jellyfish python3-confuse python3-mediafile" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/multimedia/beets/slack-desc b/multimedia/beets/slack-desc index 2c53b0407a..0fb6331910 100644 --- a/multimedia/beets/slack-desc +++ b/multimedia/beets/slack-desc @@ -11,7 +11,7 @@ beets: beets: Beets is the media library management system for obsessive-compulsive beets: music geeks. beets: -beets: homepage: http://beets.radbox.org +beets: homepage: https://beets.io/ beets: beets: beets: diff --git a/multimedia/bino/README b/multimedia/bino/README index 89a0a9c9e9..c272804882 100644 --- a/multimedia/bino/README +++ b/multimedia/bino/README @@ -2,15 +2,12 @@ bino (3D video player) Bino is a 3D video player with multi-display support. -3D videos are more accurately called stereoscopic videos. Such videos -have separate views for the left and right eye and thus allow depth +3D videos are more accurately called stereoscopic videos. Such videos +have separate views for the left and right eyes and thus allow depth perception through stereopsis. -The left and right view of a stereoscopic video can be stored using -different layouts. Bino supports all commonly used layouts. -NOTE: -This SlackBuild build with Qt4 even though the default from upstream -is Qt5. It's still broken at this moment. +The left and right view of a stereoscopic video can be stored using +different layouts. Bino supports all commonly used layouts. -Optional dependency: lirc for infra-red support. -You may need to edit the SlackBuild to enable lirc. +Optional dependency: lirc for infra-red support. Autodetected, but +may be disabled with LIRC=no in the environment. diff --git a/multimedia/bino/bino.SlackBuild b/multimedia/bino/bino.SlackBuild index a8a4e7fb0f..63b9ce2019 100644 --- a/multimedia/bino/bino.SlackBuild +++ b/multimedia/bino/bino.SlackBuild @@ -22,10 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220215 bkw: Modified by SlackBuilds.org: +# - updated for v1.6.8 (old version wouldn't build on Slack 15.0). +# - build with qt5, not qt4. +# - autodetect and build with lirc if present. +# - drop freealut dep from .info (because upstream dropped it). +# - include the texinfo documentation in the package (/usr/info). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bino -VERSION=${VERSION:-1.6.5} +VERSION=${VERSION:-1.6.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +45,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -75,10 +79,20 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +# 20220215 bkw: configure script doesn't pick up lirc's libraries, +# help it out a little. +if [ "${LIRC:-yes}" = "yes" ] && pkg-config --exists lirc; then + LIRCLIBS="-llirc -llirc_client" + LIRCOPT="--with-lirc" +else + LIRCOPT="--without-lirc" +fi + +lirc_LIBS="$LIRCLIBS" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -89,20 +103,17 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --without-equalizer \ - --without-lirc \ - --with-qt-version=4 \ + $LIRCOPT \ + --with-qt-version=5 \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 +make install-strip DESTDIR=$PKG -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +mv $PKG/usr/share/info $PKG/usr/info +rm -f $PKG/usr/info/dir -rm -Rf $PKG/usr/info/dir $PKG/usr/share/info +gzip -9 $PKG/usr/man/man*/* $PKG/usr/info/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README README.Linux $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/bino/bino.info b/multimedia/bino/bino.info index 70fe81c67c..f3e5842ea3 100644 --- a/multimedia/bino/bino.info +++ b/multimedia/bino/bino.info @@ -1,10 +1,10 @@ PRGNAM="bino" -VERSION="1.6.5" +VERSION="1.6.8" HOMEPAGE="http://bino3d.org" -DOWNLOAD="http://download.savannah.nongnu.org/releases/bino/bino-1.6.5.tar.xz" -MD5SUM="36da300a320481ae9637c66f1f4617d9" +DOWNLOAD="https://bino3d.org/releases/bino-1.6.8.tar.xz" +MD5SUM="8a8e250e62e5e3c136eafc1ffc63e71d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="freealut libass" +REQUIRES="libass" MAINTAINER="William PC" EMAIL="w_calandrini[at]hotmail[dot]com" diff --git a/multimedia/bino/slack-desc b/multimedia/bino/slack-desc index 5fbdd2c990..422ba902d8 100644 --- a/multimedia/bino/slack-desc +++ b/multimedia/bino/slack-desc @@ -11,9 +11,9 @@ bino: bino: Bino is a 3D video player with multi-display support. bino: bino: 3D videos are more accurately called stereoscopic videos. Such videos -bino: have separate views for the left and right eye and thus allow depth +bino: have separate views for the left and right eyes and thus allow depth bino: perception through stereopsis. +bino: bino: The left and right view of a stereoscopic video can be stored using bino: different layouts. Bino supports all commonly used layouts. bino: -bino: diff --git a/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild index af35e4a7a1..b36426d4eb 100644 --- a/multimedia/bombono-dvd/bombono-dvd.SlackBuild +++ b/multimedia/bombono-dvd/bombono-dvd.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220215 bkw: Modified by SlackBuilds.org, fix build on 15.0. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bombono-dvd @@ -39,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -76,28 +75,23 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +# 20220215 bkw: ported the stupid scons stuff to python3, since +# 15.0's scons doesn't do python2. +patch -p1 < $CWD/patches/scons.diff -# specify our CFLAGS -sed -i "s|-O2||" SConstruct # Allow use of cdrtools as an alternative to cdrkit, thanks gentoo patch -p1 < $CWD/patches/bombono-dvd-1.2.0-cdrtools.patch -# Fix for the newer ffmpeg - thanks ArchLinux -patch -p1 < $CWD/patches/fix_ffmpeg_codecid.patch +# 20220215 bkw: more boost breakage. this is upstream's commit e0956f48d5, +# but slightly edited to remove the reference to README (which won't apply). +patch -p1 < $CWD/patches/boost-1.78.diff -# Credit to ARCH Linux -patch -p1 < $CWD/patches/fix_ptr2bool_cast.patch -patch -p1 < $CWD/patches/fix_c++11_literal_warnings.patch -patch -p1 < $CWD/patches/autoptr2uniqueptr.patch -patch -p1 < $CWD/patches/boost.patch -patch -p1 < $CWD/patches/fix_operator_ambiguity.patch -patch -p1 < $CWD/patches/fix_throw_specifications.patch - -# Fix for ffmpeg-3 -patch -p1 < $CWD/patches/ffmpeg3.patch +# specify our CFLAGS +sed -i "s|-O2||" SConstruct # Build package scons \ @@ -123,13 +117,10 @@ scons \ DESTDIR=$PKG \ install -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 $PKG/usr/bin/* mv $PKG/usr/share/man $PKG/usr/ - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch b/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch deleted file mode 100644 index ca4c045537..0000000000 --- a/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- bombono-dvd-1.2.2/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2015-11-26 20:06:48.693423531 +0330 -@@ -39,7 +39,7 @@ - slots = static_cast<tss_slots*>( pthread_getspecific(tss_data_native_key())); - if (slots == 0) - { -- std::auto_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() ); -+ std::unique_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() ); - // pre-allocate a few elems, so that we'll be fast - temp->resize(BOOST_LOG_TSS_SLOTS_SIZE); - - diff --git a/multimedia/bombono-dvd/patches/boost-1.78.diff b/multimedia/bombono-dvd/patches/boost-1.78.diff new file mode 100644 index 0000000000..c5df5c413b --- /dev/null +++ b/multimedia/bombono-dvd/patches/boost-1.78.diff @@ -0,0 +1,914 @@ +diff --git a/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp b/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp +index 3077276..af9afd2 100644 +--- a/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp ++++ b/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp +@@ -39,7 +39,7 @@ inline tss_slots* get_slots() + slots = static_cast<tss_slots*>( pthread_getspecific(tss_data_native_key())); + if (slots == 0) + { +- std::auto_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() ); ++ std::unique_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() ); + // pre-allocate a few elems, so that we'll be fast + temp->resize(BOOST_LOG_TSS_SLOTS_SIZE); + +diff --git a/src/mbase/project/media.cpp b/src/mbase/project/media.cpp +index 81e44d2..5f9e4f6 100644 +--- a/src/mbase/project/media.cpp ++++ b/src/mbase/project/media.cpp +@@ -58,7 +58,9 @@ void StorageMD::MakeByPath(const std::string& path, bool cnv_to_utf8, + + std::string MakeAutoName(const std::string& str, int old_sz) + { +- return (str::stream() << str << " " << old_sz+1).str(); ++ str::stream ss; ++ ss << str << " " << old_sz+1; ++ return ss.str(); + } + + void VideoMD::AddChapter(ChapterItem chp) +diff --git a/src/mbase/project/menu.cpp b/src/mbase/project/menu.cpp +index 1f25817..94b8755 100644 +--- a/src/mbase/project/menu.cpp ++++ b/src/mbase/project/menu.cpp +@@ -166,7 +166,9 @@ void MenuMD::SerializeImpl(Archieve& ar) + static std::string MakeObjectPath(int idx, const char* type) + { + ASSERT( idx != NO_HNDL ); +- return (str::stream() << type << "." << idx).str(); ++ str::stream ss; ++ ss << type << "." << idx; ++ return ss.str(); + } + + std::string GetMediaRef(MediaItem mi) +@@ -197,7 +199,9 @@ class RefMaker: public ObjVisitor + void RefMaker::Visit(VideoChapterMD& obj) + { + refStr = GetMediaRef(obj.owner); +- refStr += (str::stream() << "." << ChapterPosInt(&obj)).str(); ++ str::stream ss; ++ ss << "." << ChapterPosInt(&obj); ++ refStr += ss.str(); + } + + std::string Media2Ref(MediaItem mi) +@@ -233,8 +237,9 @@ int GetRefIndex(const char*& str) + + std::string ThrowBadIndex(const char* prefix, int idx) + { +- throw std::runtime_error( +- (str::stream() << prefix << idx).str() ); ++ str::stream ss; ++ ss << prefix << idx; ++ throw std::runtime_error(ss.str()); + } + + MediaItem TryGetMedia(int idx) +diff --git a/src/mbase/project/serialization.h b/src/mbase/project/serialization.h +index ff5b7a9..547c438 100644 +--- a/src/mbase/project/serialization.h ++++ b/src/mbase/project/serialization.h +@@ -75,7 +75,9 @@ namespace ToString + template<typename T> + std::string MakeString(const T& t) + { +- return (str::stream() << t).str(); ++ str::stream ss; ++ ss << t; ++ return ss.str(); + } + + template<typename T> +diff --git a/src/mbase/project/srl-common.cpp b/src/mbase/project/srl-common.cpp +index c2c92b5..ab1c62b 100644 +--- a/src/mbase/project/srl-common.cpp ++++ b/src/mbase/project/srl-common.cpp +@@ -36,10 +36,12 @@ void Serialize(Archieve& ar, MenuParams& mp) + std::string ToString(const RGBA::Pixel& pxl) + { + using Mpeg::set_hms; +- return (str::stream("#") << std::hex +- << set_hms() << (int)pxl.red +- << set_hms() << (int)pxl.green +- << set_hms() << (int)pxl.blue << (int)pxl.alpha).str(); ++ str::stream ss ("#"); ++ ss << std::hex ++ << set_hms() << (int)pxl.red ++ << set_hms() << (int)pxl.green ++ << set_hms() << (int)pxl.blue << (int)pxl.alpha; ++ return ss.str(); + } + + // как pango_color_parse() +diff --git a/src/mbase/project/srl-db.cpp b/src/mbase/project/srl-db.cpp +index c3babec..e50a523 100644 +--- a/src/mbase/project/srl-db.cpp ++++ b/src/mbase/project/srl-db.cpp +@@ -102,7 +102,7 @@ void DbSerializeProjectImpl(Archieve& ar) + } + + void ADatabase::Load(const std::string& fname, +- const std::string& cur_dir) throw (std::exception) ++ const std::string& cur_dir) + { + try + { +diff --git a/src/mbase/project/table.cpp b/src/mbase/project/table.cpp +index 455c334..3e52383 100644 +--- a/src/mbase/project/table.cpp ++++ b/src/mbase/project/table.cpp +@@ -29,6 +29,7 @@ + #include "theme.h" + + #include <mbase/resources.h> ++#include <boost/filesystem/directory.hpp> + + + const char* APROJECT_VERSION = "1.2.4"; +@@ -154,7 +155,7 @@ NameValueT<Media> LoadMedia(Archieve& ar, MediaList& md_list) + void SerializePath(Archieve& ar, const char* tag_name, std::string& fpath) + { + //ar & NameValue("Path", mdPath); +- fs::path rel_to_dir = fs::path(AData().GetProjectFName()).branch_path(); ++ fs::path rel_to_dir = fs::path(AData().GetProjectFName()).parent_path(); + if( ar.IsLoad() ) + { + ar >> NameValue(tag_name, fpath); +@@ -162,7 +163,7 @@ void SerializePath(Archieve& ar, const char* tag_name, std::string& fpath) + if( !fpath.empty() ) + { + fs::path pth(fpath); +- if( !pth.is_complete() ) ++ if( !pth.is_absolute() ) + fpath = (rel_to_dir/fpath).string(); + } + } +diff --git a/src/mbase/project/table.h b/src/mbase/project/table.h +index 7c73085..cc7e36d 100644 +--- a/src/mbase/project/table.h ++++ b/src/mbase/project/table.h +@@ -128,7 +128,7 @@ class ADatabase: public Singleton<ADatabase>, public DataWare + void ClearSettings(); + + void Load(const std::string& fname, +- const std::string& cur_dir = std::string()) throw (std::exception); ++ const std::string& cur_dir = std::string()); + bool Save(); + + bool SaveAs(const std::string& fname, +diff --git a/src/mbase/project/tests/test_table.cpp b/src/mbase/project/tests/test_table.cpp +index f8a1c20..3e7115a 100644 +--- a/src/mbase/project/tests/test_table.cpp ++++ b/src/mbase/project/tests/test_table.cpp +@@ -129,7 +129,7 @@ BOOST_AUTO_TEST_CASE( TestMediaList ) + // проверка чтениÑ/запиÑи путей + boost::intrusive_ptr<StillImageMD> pict2 = ptr::dynamic_pointer_cast<StillImageMD>(ml[2]); + fs::path pth = pict2->GetPath(); +- BOOST_CHECK( pth.is_complete() ); ++ BOOST_CHECK( pth.is_absolute() ); + BOOST_CHECK( fs::exists(pth) ); + + // проверка ÑÑылок +diff --git a/src/mdemux/dvdread.cpp b/src/mdemux/dvdread.cpp +index d8392b1..12fcae6 100644 +--- a/src/mdemux/dvdread.cpp ++++ b/src/mdemux/dvdread.cpp +@@ -35,8 +35,10 @@ namespace DVD { + std::string VobFName(VobPos& pos, const std::string& suffix) + { + using Mpeg::set_hms; +- return (str::stream("Video") << set_hms() << int(pos.Vts()) +- << "-" << set_hms() << pos.VobId() << suffix << ".vob").str(); ++ str::stream ss ("Video"); ++ ss << set_hms() << int(pos.Vts()) ++ << "-" << set_hms() << pos.VobId() << suffix << ".vob"; ++ return ss.str(); + } + + typedef boost::function<void(int, double)> VobTimeFnr; +@@ -282,9 +284,11 @@ VobPtr FindVob(VobArr& dvd_vobs, uint8_t vts, uint16_t vob_id) + static void TryDVDReadBlocks(dvd_file_t* file, int off, size_t cnt, char* buf) + { + int real_cnt = DVDReadBlocks(file, off, cnt, (unsigned char*)buf); +- if( (int)cnt != real_cnt ) +- throw std::runtime_error( (str::stream() << real_cnt << +- " != DVDReadBlocks(" << cnt << ")").str() ); ++ if( (int)cnt != real_cnt ) { ++ str::stream ss; ++ ss << real_cnt << " != DVDReadBlocks(" << cnt << ")"; ++ throw std::runtime_error( ss.str() ); ++ } + } + + // размер буфера должен ÑоответÑтвовать читаемому диапазону +diff --git a/src/mdemux/mpeg2demux.cpp b/src/mdemux/mpeg2demux.cpp +index bb7b1b1..ecb3774 100644 +--- a/src/mdemux/mpeg2demux.cpp ++++ b/src/mdemux/mpeg2demux.cpp +@@ -71,7 +71,9 @@ bool DemuxSvc::Filter(uint32_t code) + + static std::string MakePESKey(int id, const char* ext) + { +- return (str::stream() << id << "." << ext).str(); ++ str::stream ss; ++ ss << id << "." << ext; ++ return ss.str(); + } + + static bool ReadPart(io::stream& strm, uint8_t* buf, int sz, int& len) +@@ -110,7 +112,9 @@ static std::string MakeKeyNameForLPCM(int track, uint8_t inf) + ASSERT(0); + } + +- std::string header_str = (str::stream() << sample_rate << ":" << channels << ":" << bps << ".lpcm").str(); ++ str::stream ss; ++ ss << sample_rate << ":" << channels << ":" << bps << ".lpcm"; ++ std::string header_str = ss.str(); + return MakePESKey(track, header_str.c_str()); + } + +diff --git a/src/mdemux/seek.cpp b/src/mdemux/seek.cpp +index e46658f..f0ce934 100644 +--- a/src/mdemux/seek.cpp ++++ b/src/mdemux/seek.cpp +@@ -37,8 +37,10 @@ std::string SecToHMS(double len, bool round_sec) + int hh = min / 60; + int mm = min - hh*60; + +- return (str::stream() << set_hms() << hh << ":" +- << set_hms() << mm << ":" << set_hms() << ss).str(); ++ str::stream strss; ++ strss << set_hms() << hh << ":" ++ << set_hms() << mm << ":" << set_hms() << ss; ++ return strss.str(); + } + + bool MediaInfo::InitBegin(VideoLine& vl) +diff --git a/src/mgui/author/burn.cpp b/src/mgui/author/burn.cpp +index ddfad0a..578429e 100644 +--- a/src/mgui/author/burn.cpp ++++ b/src/mgui/author/burn.cpp +@@ -85,7 +85,7 @@ BurnData& GetInitedBD() + return bd; + } + +-re::pattern WriteSpeed_RE("Write Speed #"RG_NUM":"RG_SPS RG_NUM"\\."RG_NUM "x1385"); ++re::pattern WriteSpeed_RE("Write Speed #" RG_NUM ":" RG_SPS RG_NUM "\\." RG_NUM "x1385"); + + RefPtr<Gtk::ListStore> sp_store; + +@@ -253,7 +253,7 @@ DVDInfo ParseDVDInfo(bool is_good, const std::string& out_info) + } + else + { +- static re::pattern media_type_re("Mounted Media:"RG_SPS"[0-9A-F]+h, ([^ \n]+)"); ++ static re::pattern media_type_re("Mounted Media:" RG_SPS "[0-9A-F]+h, ([^ \n]+)"); + re::match_results what; + + bool is_found = re::search(out_info, what, media_type_re); +@@ -277,7 +277,7 @@ DVDInfo ParseDVDInfo(bool is_good, const std::string& out_info) + // isBlank + if( res != dvdOTHER ) + { +- static re::pattern media_status_re("Disc status:"RG_SPS"([a-z]+)\n"); ++ static re::pattern media_status_re("Disc status:" RG_SPS "([a-z]+)\n"); + bool is_found = re::search(out_info, what, media_status_re); + ASSERT_RTL( is_found ); + +diff --git a/src/mgui/author/execute.cpp b/src/mgui/author/execute.cpp +index 5b2330c..e308552 100644 +--- a/src/mgui/author/execute.cpp ++++ b/src/mgui/author/execute.cpp +@@ -64,9 +64,9 @@ static void InitFoundStageTag(RefPtr<Gtk::TextTag> tag) + tag->property_foreground() = "darkgreen"; + } + +-re::pattern DVDAuthorRE(RG_CMD_BEG"dvdauthor"RG_EW ".*-x"RG_EW RG_SPS RG_BW"DVDAuthor\\.xml"RG_EW); +-re::pattern MkIsoFsRE(RG_CMD_BEG MK_ISO_CMD RG_EW ".*-dvd-video"RG_EW ".*>.*"RG_BW"dvd.iso"RG_EW); +-re::pattern GrowIsoFsRE(RG_CMD_BEG"growisofs"RG_EW ".*-dvd-compat"RG_EW ".*-dvd-video"RG_EW); ++re::pattern DVDAuthorRE(RG_CMD_BEG"dvdauthor" RG_EW ".*-x" RG_EW RG_SPS RG_BW "DVDAuthor\\.xml" RG_EW); ++re::pattern MkIsoFsRE(RG_CMD_BEG MK_ISO_CMD RG_EW ".*-dvd-video" RG_EW ".*>.*" RG_BW "dvd.iso" RG_EW); ++re::pattern GrowIsoFsRE(RG_CMD_BEG"growisofs" RG_EW ".*-dvd-compat" RG_EW ".*-dvd-video" RG_EW); + + //static void PrintMatchResults(const re::match_results& what) + //{ +@@ -94,7 +94,7 @@ class MkIsoFsPP: public ProgressParser + virtual void Filter(const std::string& line); + }; + +-re::pattern MkIsoFsPercent_RE( RG_FLT"?% done"); ++re::pattern MkIsoFsPercent_RE( RG_FLT "?% done"); + + void MkIsoFsPP::Filter(const std::string& line) + { +@@ -126,8 +126,8 @@ class DVDAuthorPP: public ProgressParser + bool fixStage; + }; + +-re::pattern DVDAuthorVOB_RE( "^STAT: VOBU "RG_NUM" at "RG_NUM"MB"); +-re::pattern DVDAuthorFix_RE( "^STAT: fixing VOBU at "RG_NUM"MB \\("RG_NUM"/"RG_NUM", "RG_NUM"%\\)"); ++re::pattern DVDAuthorVOB_RE( "^STAT: VOBU " RG_NUM " at " RG_NUM "MB"); ++re::pattern DVDAuthorFix_RE( "^STAT: fixing VOBU at " RG_NUM "MB \\(" RG_NUM "/" RG_NUM ", " RG_NUM "%\\)"); + + void DVDAuthorPP::Filter(const std::string& line) + { +@@ -157,7 +157,7 @@ void DVDAuthorPP::Filter(const std::string& line) + if( p ) + of.SetProgress(p); + +- static re::pattern ch_error_re("ERR:.*Cannot jump to chapter "RG_NUM" of title "RG_NUM", only "RG_NUM" exist"); ++ static re::pattern ch_error_re("ERR:.*Cannot jump to chapter " RG_NUM " of title " RG_NUM ", only " RG_NUM " exist"); + if( re::search(line, what, ch_error_re) ) + { + std::string& err_str = of.firstError; +diff --git a/src/mgui/author/render.cpp b/src/mgui/author/render.cpp +index 1ffbca2..81720d7 100644 +--- a/src/mgui/author/render.cpp ++++ b/src/mgui/author/render.cpp +@@ -866,7 +866,7 @@ std::string FFmpegPostArgs(const std::string& out_fname, bool is_4_3, bool is_pa + // + // :KLUDGE: (только) в ffmpeg, avformat 53.13.0, поменÑли . на : => надо + // Ñамим открывать файл и узнавать индекÑ! +- static re::pattern audio_idx("Stream #"RG_NUM"[\\.|:]"RG_NUM".*Audio:"); ++ static re::pattern audio_idx("Stream #" RG_NUM "[\\.|:]" RG_NUM ".*Audio:"); + + re::match_results what; + // флаг означает, что перевод Ñтроки не может быть точкой +@@ -1221,17 +1221,17 @@ void TestFFmpegForDVDEncoding(const std::string& conts) + { + CheckNoCodecs(CheckForCodecList(conts)); + +- static re::pattern dvd_format("^ .E dvd"RG_EW); ++ static re::pattern dvd_format("^ .E dvd" RG_EW); + CheckStrippedFFmpeg(dvd_format, conts, "dvd format"); + + // :TRICKY: Ñ Ð²ÐµÑ€Ñии libavcodec 54 при выводе начальный пробел не ÑтавÑÑ‚ => поÑтому ? + // ("ÑпаÑибо" Anton Khirnov за очередное "улучшение") + #define _CPP_ "^ ?" +- static re::pattern mpeg2video_codec(_CPP_".EV... mpeg2video"RG_EW); ++ static re::pattern mpeg2video_codec(_CPP_ ".EV... mpeg2video" RG_EW); + CheckStrippedFFmpeg(mpeg2video_codec, conts, "mpeg2 video encoder"); + + // по факту ffmpeg вÑегда иÑпользует ac3, однако mp2 тоже возможен +- static re::pattern ac3_codec(_CPP_".EA... ac3"RG_EW); ++ static re::pattern ac3_codec(_CPP_ ".EA... ac3" RG_EW); + CheckStrippedFFmpeg(ac3_codec, conts, "ac3 audio encoder"); + #undef _CPP_ + } +@@ -1241,7 +1241,7 @@ TripleVersion FindAVVersion(const std::string& conts, const char* avlib_name) + // * ищем верÑию libavfilter + // пример: " libavfilter 0. 4. 0 / " + #define RG_PADNUM RG_SPS RG_NUM +- std::string reg_str = boost::format(RG_BW"%1%"RG_PADNUM"\\."RG_PADNUM"\\."RG_PADNUM" / ") ++ std::string reg_str = boost::format(RG_BW "%1%" RG_PADNUM "\\." RG_PADNUM "\\." RG_PADNUM " / ") + % avlib_name % bf::stop; + re::pattern avfilter_version(reg_str.c_str()); + return FindVersion(conts, avfilter_version, AVCnvBin(), avlib_name); +@@ -1307,7 +1307,9 @@ FFmpegVersion CheckFFDVDEncoding() + + bool RenderMainPicture(const std::string& out_dir, Menu mn, int i) + { +- Author::Info((str::stream() << "Rendering menu \"" << mn->mdName << "\" ...").str()); ++ str::stream ss; ++ ss << "Rendering menu \"" << mn->mdName << "\" ..."; ++ Author::Info(ss.str()); + const std::string mn_dir = MakeMenuPath(out_dir, mn, i); + + if( IsMotion(mn) ) +diff --git a/src/mgui/author/script.cpp b/src/mgui/author/script.cpp +index ccfd32f..f2b1c7e 100644 +--- a/src/mgui/author/script.cpp ++++ b/src/mgui/author/script.cpp +@@ -130,7 +130,9 @@ static std::string MakeFPTarget(MediaItem mi) + { + VideoItem vi = IsVideo(mi); + ASSERT( vi ); +- str = (str::stream() << "title " << GetAuthorNumber(vi)).str(); ++ str::stream ss; ++ ss << "title " << GetAuthorNumber(vi); ++ str = ss.str(); + } + return str; + } +@@ -179,7 +181,9 @@ void TargetCommandVis::Visit(VideoChapterMD& obj) + // Потому: Ð´Ð»Ñ ÑƒÐ´Ð¾Ñтва пользователей даем Ñоздавать нулевую главу, Ñ€Ð°Ð·Ñ€ÐµÑˆÐ°Ñ Ñто здеÑÑŒ + // (однако доп. нулевые главы будут приводить к ошибке Cannot jump to chapter N ... only M exist) + int c_num = ChapterPosInt(&obj) + (owner->List()[0]->chpTime ? 2 : 1) ; +- res = (str::stream() << "jump title " << v_num << " chapter " << c_num << ";").str(); ++ str::stream ss; ++ ss << "jump title " << v_num << " chapter " << c_num << ";"; ++ res = ss.str(); + } + + static std::string MakeButtonJump(MediaItem mi, bool vts_domain) +@@ -204,7 +208,9 @@ std::string MenuAuthorDir(Menu mn, int idx, bool cnv_from_utf8) + if( !fs::native(name) ) + name = "Menu"; + +- std::string fname = (str::stream() << idx+1 << "." << name).str(); ++ str::stream ss; ++ ss << idx+1 << "." << name; ++ std::string fname = ss.str(); + return cnv_from_utf8 ? ConvertPathFromUtf8(fname) : fname ; + } + +@@ -626,7 +632,9 @@ static void CopyRootFile(const std::string& fname, const std::string& out_dir) + void AuthorSectionInfo(const std::string& str) + { + Author::Info("\n#", false); +- Author::Info((str::stream() << "# " << str).str(), false); ++ str::stream ss; ++ ss << "# " << str; ++ Author::Info(ss.str(), false); + Author::Info("#\n", false); + } + +@@ -676,7 +684,7 @@ static void CheckSpumuxFontFile() + if( !fs::exists(font_path) ) + { + std::string err_str; +- if( !CreateDirs(font_path.branch_path(), err_str) ) ++ if( !CreateDirs(font_path.parent_path(), err_str) ) + Error(err_str.c_str()); + fs::copy_file(DataDirPath("copy-n-paste/FreeSans.ttf"), font_path); + } +@@ -755,9 +763,9 @@ static void CalcTransPercent(double cur_dur, Job& job, JobData& jd, double full_ + // ffmpeg выводит ÑтатиÑтику первого Ñоздаваемого файла каждые полÑекунды, + // Ñм. print_report() (при verbose=1, по умолчанию) + // Формат размера: "size=%8.0fkB" +-re::pattern FFmpegSizePat( "size= *"RG_NUM"kB"); ++re::pattern FFmpegSizePat( "size= *" RG_NUM "kB"); + // Формат длительноÑти: "time=%0.2f" +-re::pattern FFmpegDurPat( "time="RG_FLT); ++re::pattern FFmpegDurPat( "time=" RG_FLT); + + static void OnTranscodePrintParse(const char* dat, int sz, const PercentFunctor& fnr) + { +@@ -787,7 +795,7 @@ static void OnTranscodePrintParse(const char* dat, int sz, const PercentFunctor& + + // Формат длительноÑти Ð´Ð»Ñ ffmpeg c коммита dd471070: "time=%02d:%02d:%02d.%02d" + // Образец: frame= 208 fps= 58 q=2.0 size= 476kB time=00:00:08.44 bitrate= 461.9kbits/s dup=1 drop=0 +-re::pattern FFmpegNewDurPat( "time="RG_NUM":"RG_NUM":"RG_FLT); ++re::pattern FFmpegNewDurPat( "time=" RG_NUM ":" RG_NUM ":" RG_FLT); + + static void OnTranscodeHMSParse(const char* dat, int sz, const PercentFunctor& fnr) + { +@@ -1082,7 +1090,9 @@ static void TranscodeVideos(int pass, const std::string& out_dir) + + static void AuthorImpl(const std::string& out_dir) + { +- AuthorSectionInfo((str::stream() << "Build DVD-Video in folder: " << out_dir).str()); ++ str::stream ss; ++ ss << "Build DVD-Video in folder: " << out_dir; ++ AuthorSectionInfo(ss.str()); + IteratePendingEvents(); + + IndexVideosForAuthoring(); +@@ -1136,7 +1146,7 @@ static void AuthorImpl(const std::string& out_dir) + // 2) парÑер dvdauthor не любит незнакомые ему атрибуты => spumux < 0.7 не работает + std::string help_str; + PipeOutput("spumux -h", help_str); +- static re::pattern spumux_version("DVDAuthor::spumux, version "RG_NUM"\\."RG_NUM"\\."RG_NUM"\\.\n"); ++ static re::pattern spumux_version("DVDAuthor::spumux, version " RG_NUM "\\." RG_NUM "\\." RG_NUM "\\.\n"); + if( IsVersionGE(FindVersion(help_str, spumux_version, "spumux"), TripleVersion(0, 7, 0)) ) + AddFormatAttr(sp); + +diff --git a/src/mgui/dvdimport.cpp b/src/mgui/dvdimport.cpp +index 44dcdec..fc9b965 100644 +--- a/src/mgui/dvdimport.cpp ++++ b/src/mgui/dvdimport.cpp +@@ -211,10 +211,11 @@ static void OnPreparePage(ImportData& id) + row[VF().selState] = false; + row[VF().name] = VobFName(vob.pos); + row[VF().thumbnail] = vob.aspect == af4_3 ? pix4_3 : pix16_9; +- std::string desc = (str::stream(Mpeg::SecToHMS(vob.tmLen, true)) << ", " +- << vob.sz.x << "x" << vob.sz.y << ", " +- << (vob.aspect == af4_3 ? "4:3" : "16:9") << ", " +- << std::fixed << std::setprecision(2) << vob.Count()/512. << " " << _("MB")).str(); ++ str::stream ss (Mpeg::SecToHMS(vob.tmLen, true)); ++ ss << ", " << vob.sz.x << "x" << vob.sz.y << ", " ++ << (vob.aspect == af4_3 ? "4:3" : "16:9") << ", " ++ << std::fixed << std::setprecision(2) << vob.Count()/512. << " " << _("MB"); ++ std::string desc = ss.str(); + row[VF().desc] = desc; + } + CompleteSelection(id, false); +@@ -275,7 +276,7 @@ static ReaderPtr OpenDVD(const std::string& dvd_path, ImportData& id) + id.errLbl.hide(); + + id.reader = rd; +- SetCurPageComplete(id.ast, id.reader); ++ SetCurPageComplete(id.ast, bool(id.reader)); + + return rd; + } +diff --git a/src/mgui/editor/toolbar.cpp b/src/mgui/editor/toolbar.cpp +index 6a1894c..a039c3a 100644 +--- a/src/mgui/editor/toolbar.cpp ++++ b/src/mgui/editor/toolbar.cpp +@@ -45,6 +45,8 @@ + #include <mlib/sdk/logger.h> + #include <mlib/range/enumerate.h> + ++#include <boost/filesystem/directory.hpp> ++ + namespace Editor + { + +diff --git a/src/mgui/ffviewer.cpp b/src/mgui/ffviewer.cpp +index 64ea813..a8dc6cb 100644 +--- a/src/mgui/ffviewer.cpp ++++ b/src/mgui/ffviewer.cpp +@@ -36,6 +36,10 @@ + #define AVFORMAT_54 + #endif + ++C_LINKAGE_BEGIN ++#include <libavutil/imgutils.h> ++C_LINKAGE_END ++ + // разрабы libav Ñчитают ÑÐµÐ±Ñ Ñамыми умными и потому решили + // закрыть проÑтым Ñмертным доÑтуп к ffurl_register_protocol() + // (Ð±Ñ‹Ð²ÑˆÐ°Ñ av_register_protocol2()),- https://bugzilla.libav.org/show_bug.cgi?id=224 +@@ -74,7 +78,7 @@ C_LINKAGE_BEGIN + + typedef struct AVCodecTag { + #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,39,00) +- enum CodecID id; ++ enum AVCodecID id; + #else + int id; + #endif +@@ -82,14 +86,14 @@ typedef struct AVCodecTag { + } AVCodecTag; + + #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,34,00) +-static uint FFCodecID2Tag(CodecID codec_id) ++static uint FFCodecID2Tag(AVCodecID codec_id) + { + unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id); + extern const AVCodecTag ff_codec_bmp_tags[]; + return ff_codec_get_tag(ff_codec_bmp_tags, codec_id); + } + #else +-static uint FFCodecID2Tag(CodecID codec_id) ++static uint FFCodecID2Tag(AVCodecID codec_id) + { + unsigned int codec_get_tag(const AVCodecTag *tags, int id); + extern const AVCodecTag codec_bmp_tags[]; +@@ -400,7 +404,7 @@ static unsigned char GetChar(uint tag, int bit_begin) + return (tag>>bit_begin) & 0xFF; + } + +-static std::string CodecID2Str(CodecID codec_id) ++static std::string CodecID2Str(AVCodecID codec_id) + { + #ifdef _MSC_VER + std::string tag_str = boost::format("%1%") % codec_id % bf::stop; +@@ -807,7 +811,7 @@ static void DoVideoDecode(FFViewer& ffv, int& got_picture, AVPacket* pkt) + #ifdef AVFRAME_INIT_CHANGE + // avcodec_get_frame_defaults() перенеÑли в avcodec_decode_video2() + #else +- avcodec_get_frame_defaults(&picture); // ffmpeg.c очищает каждый раз ++ av_frame_unref (&picture); + #endif + + #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52,25,00) +diff --git a/src/mgui/mux.cpp b/src/mgui/mux.cpp +index 427058e..885dde7 100644 +--- a/src/mgui/mux.cpp ++++ b/src/mgui/mux.cpp +@@ -162,7 +162,7 @@ static void OnVideoSelected(Gtk::FileChooserButton& v_btn, Gtk::FileChooserButto + fs::path pth = GetFilename(v_btn); + if( pth.empty() ) + return; +- std::string folder = pth.branch_path().string(); ++ std::string folder = pth.parent_path().string(); + + if( a_btn.get_filename().empty() ) + a_btn.set_current_folder(folder); +diff --git a/src/mgui/project/add.cpp b/src/mgui/project/add.cpp +index 9454578..e8ae94f 100644 +--- a/src/mgui/project/add.cpp ++++ b/src/mgui/project/add.cpp +@@ -86,7 +86,9 @@ static void SetImportError(ErrorDesc& ed, bool is_good, const std::string& out_s + + static std::string FpsToStr(const Point& frate) + { +- return (str::stream() << (double)frate.x/frate.y).str(); ++ str::stream ss; ++ ss << (double)frate.x/frate.y; ++ return ss.str(); + } + + static std::string TVTypeStr(bool is_ntsc) +@@ -163,7 +165,9 @@ void CheckVideoFormat(ErrorDesc& ed, const Mpeg::SequenceData& vid, bool is_ntsc + // * + bool is_aspect_ok = vid.sarCode == af4_3 || vid.sarCode == af16_9; + Point aspect = vid.SizeAspect(); +- std::string aspect_str = (str::stream() << aspect.x << ':' << aspect.y).str(); ++ str::stream ss; ++ ss << aspect.x << ':' << aspect.y; ++ std::string aspect_str = ss.str(); + SetImportError(ed, is_aspect_ok, + std::string(_("Aspect ratio")) + ": \t" + MarkError(aspect_str, is_aspect_ok), + BF_(Descriptions[2]) % tv_type % bf::stop); +@@ -479,7 +483,7 @@ void TryAddMedias(const Str::List& paths, MediaBrowser& brw, + MessageBox(BF_("The file \"%1%\" looks like VOB from DVD.\nRun import?") % leaf % bf::stop, + Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_OK_CANCEL) == Gtk::RESPONSE_OK ) + { +- DVD::RunImport(*GetTopWindow(brw), pth.branch_path().string()); ++ DVD::RunImport(*GetTopWindow(brw), pth.parent_path().string()); + return; + } + } +diff --git a/src/mgui/project/browser.cpp b/src/mgui/project/browser.cpp +index 02d95a1..47b730b 100644 +--- a/src/mgui/project/browser.cpp ++++ b/src/mgui/project/browser.cpp +@@ -328,7 +328,7 @@ Gtk::HButtonBox& CreateMListButtonBox() + return hb; + } + +-std::string MediaItemDnDTVType() { return "DnDTreeView<"DND_MI_NAME">"; } ++std::string MediaItemDnDTVType() { return "DnDTreeView<" DND_MI_NAME ">"; } + + void SetupBrowser(ObjectBrowser& brw, int dnd_column, bool is_media_brw) + { +diff --git a/src/mgui/project/mconstructor.cpp b/src/mgui/project/mconstructor.cpp +index 3b56587..754f9f8 100644 +--- a/src/mgui/project/mconstructor.cpp ++++ b/src/mgui/project/mconstructor.cpp +@@ -52,6 +52,8 @@ + // COPY_N_PASTE_ETALON из go-file.c, проект Gnumeric, http://projects.gnome.org/gnumeric/ + // + ++#include <boost/filesystem/directory.hpp> ++ + #ifndef GOFFICE_WITH_GNOME + static char * + check_program (char const *prog) +diff --git a/src/mgui/project/serialize.cpp b/src/mgui/project/serialize.cpp +index a5366aa..03583ec 100644 +--- a/src/mgui/project/serialize.cpp ++++ b/src/mgui/project/serialize.cpp +@@ -73,7 +73,7 @@ static std::string MakeProjectTitle(bool with_path_breakdown = false) + fs::path full_path(db.GetProjectFName()); + std::string res_str = fs::name_str(full_path); + if( with_path_breakdown ) +- res_str += " (" + full_path.branch_path().string() + ")"; ++ res_str += " (" + full_path.parent_path().string() + ")"; + return res_str; + } + +diff --git a/src/mgui/sdk/cairo_utils.cpp b/src/mgui/sdk/cairo_utils.cpp +index 14f11be..10c1f97 100644 +--- a/src/mgui/sdk/cairo_utils.cpp ++++ b/src/mgui/sdk/cairo_utils.cpp +@@ -27,6 +27,8 @@ + std::string MakeSVGFilename(const char* prefix) + { + static int idx = 1; +- return (str::stream() << prefix << "-" << Mpeg::set_hms() << idx++ << ".svg" ).str(); ++ str::stream ss; ++ ss << prefix << "-" << Mpeg::set_hms() << idx++ << ".svg"; ++ return ss.str(); + } + +diff --git a/src/mgui/timeline/layout.cpp b/src/mgui/timeline/layout.cpp +index c139626..b5b5ca7 100644 +--- a/src/mgui/timeline/layout.cpp ++++ b/src/mgui/timeline/layout.cpp +@@ -600,8 +600,10 @@ time4_t FramesToTime(int cnt, double fps) + void FramesToTime(std::string& str, int cnt, double fps) + { + time4_t t4 = FramesToTime(cnt, fps); +- str = (str::stream() << Mpeg::set_hms() << t4.hh << ":" << Mpeg::set_hms() << t4.mm << ":" +- << Mpeg::set_hms() << t4.ss << ";" << Mpeg::set_hms() << t4.ff).str(); ++ str::stream ss; ++ ss << Mpeg::set_hms() << t4.hh << ":" << Mpeg::set_hms() << t4.mm << ":" ++ << Mpeg::set_hms() << t4.ss << ";" << Mpeg::set_hms() << t4.ff; ++ str = ss.str(); + } + + } // namespace TimeLine +diff --git a/src/mgui/timeline/select.cpp b/src/mgui/timeline/select.cpp +index 9d8ec5a..337ada6 100644 +--- a/src/mgui/timeline/select.cpp ++++ b/src/mgui/timeline/select.cpp +@@ -152,7 +152,7 @@ static void SaveFrame(DAMonitor& mon) + + mon.FramePixbuf()->save(fnam, ext); + +- SaveFrameDir() = fs::path(fnam).branch_path().string(); ++ SaveFrameDir() = fs::path(fnam).parent_path().string(); + if( add_btn.get_active() ) + Project::TryAddMediaQuiet(fnam, "SaveFrame"); + } +diff --git a/src/mgui/win_utils.cpp b/src/mgui/win_utils.cpp +index e135f1a..beafca8 100644 +--- a/src/mgui/win_utils.cpp ++++ b/src/mgui/win_utils.cpp +@@ -132,7 +132,9 @@ void Scale(RefPtr<Context> cr, RefPtr<ImageSurface> src, + + std::string ColorToString(const unsigned int rgba) + { +- return (str::stream() << std::hex << (rgba >> 8)).str(); ++ str::stream ss; ++ ss << std::hex << (rgba >> 8); ++ return ss.str(); + } + + CR::Color GetBGColor(Gtk::Widget& wdg) +diff --git a/src/mlib/filesystem.cpp b/src/mlib/filesystem.cpp +index 7ae7162..278dfc5 100644 +--- a/src/mlib/filesystem.cpp ++++ b/src/mlib/filesystem.cpp +@@ -30,6 +30,7 @@ + #if BOOST_MINOR_VERSION >= 51 + #define BOOST_FS_3 boost::filesystem + #include <boost/filesystem/path_traits.hpp> // boost::filesystem::convert() ++#include <boost/filesystem/directory.hpp> + #else + #define BOOST_FS_3 boost::filesystem3 + #include <boost/filesystem/v3/path_traits.hpp> +@@ -161,25 +162,16 @@ namespace Project + + fs::path MakeAbsolutePath(const fs::path& pth, const fs::path& cur_dir) + { +- fs::path res; +- +- if( pth.is_complete() ) +- res = pth; +- else +- { +- fs::path dir = cur_dir.empty() ? fs::current_path() : cur_dir ; +- res = dir/pth; +- } +- return res.normalize(); ++ return absolute(pth, cur_dir); + } + + // оба аргумента должны быть абÑолютными путÑми + bool MakeRelativeToDir(fs::path& pth, fs::path dir) + { +- pth.normalize(); +- dir.normalize(); +- ASSERT( pth.is_complete() ); +- ASSERT( dir.is_complete() ); ++ pth = canonical(pth); ++ dir = canonical(dir); ++ ASSERT( pth.is_absolute() ); ++ ASSERT( dir.is_absolute() ); + + fs::path::iterator p_itr = pth.begin(), p_end = pth.end(); + fs::path::iterator d_itr = dir.begin(), d_end = dir.end(); +diff --git a/src/mlib/read_stream.h b/src/mlib/read_stream.h +index 9806ae3..05c6e1f 100644 +--- a/src/mlib/read_stream.h ++++ b/src/mlib/read_stream.h +@@ -22,6 +22,8 @@ + #ifndef __MLIB_READ_STREAM_H__ + #define __MLIB_READ_STREAM_H__ + ++#include <boost/mpl/bool.hpp> ++ + #include "stream.h" + #include "filesystem.h" + +diff --git a/src/mlib/regex.cpp b/src/mlib/regex.cpp +index df98fdb..dc9ea62 100644 +--- a/src/mlib/regex.cpp ++++ b/src/mlib/regex.cpp +@@ -22,7 +22,7 @@ + #include "regex.h" + #include "string.h" + +-#include <boost/regex.hpp> ++#include <boost/regex/v4/regex.hpp> + + namespace re + { +diff --git a/src/mlib/regex.h b/src/mlib/regex.h +index 4a18717..8da1214 100644 +--- a/src/mlib/regex.h ++++ b/src/mlib/regex.h +@@ -27,6 +27,7 @@ + #include <boost/regex/v4/regbase.hpp> + #include <boost/regex/v4/match_flags.hpp> + ++#include <boost/mpl/bool.hpp> + #include <mlib/ptr.h> + + #include <string> +@@ -185,7 +186,7 @@ bool search(const std::string& s, + #define RG_EW "\\>" // конец Ñлова + #define RG_SPS "[[:space:]]*" // пробелы + #define RG_NUM "([0-9]+)" // чиÑло +-#define RG_FLT RG_NUM"([\\.,]"RG_NUM")" // вещ. чиÑло, в паре Ñ ExtractDouble() ++#define RG_FLT RG_NUM "([\\.,]" RG_NUM ")" // вещ. чиÑло, в паре Ñ ExtractDouble() + #define RG_CMD_BEG RG_BW // "^"RG_SPS // начало команды + + bool ExtractDouble(double& val, const re::match_results& what, int idx = 1); +diff --git a/src/mlib/sdk/bfs.h b/src/mlib/sdk/bfs.h +index c12b5d0..6e172cc 100644 +--- a/src/mlib/sdk/bfs.h ++++ b/src/mlib/sdk/bfs.h +@@ -7,6 +7,7 @@ + //#define BOOST_FILESYSTEM_NO_DEPRECATED + + #include <boost/filesystem/path.hpp> ++#include <boost/filesystem/exception.hpp> + #include <boost/filesystem/operations.hpp> + #include <boost/filesystem/convenience.hpp> // fs::create_directories() + +diff --git a/src/mlib/sdk/misc.cpp b/src/mlib/sdk/misc.cpp +index 5d3f297..803187b 100644 +--- a/src/mlib/sdk/misc.cpp ++++ b/src/mlib/sdk/misc.cpp +@@ -173,12 +173,16 @@ std::string PointToStr(const Point& pnt) + std::string Double2Str(double val) + { + //return boost::format("%1%") % val % bf::stop; +- return (str::stream() << val).str(); ++ str::stream ss; ++ ss << val; ++ return ss.str(); + } + + std::string Int2Str(int val) + { +- return (str::stream() << val).str(); ++ str::stream ss; ++ ss << val; ++ return ss.str(); + } + + static bool ICaseMatch(const std::string& str, const std::string& pat_str) +diff --git a/src/mlib/sdk/system.cpp b/src/mlib/sdk/system.cpp +index 8d10e3f..e9508bd 100644 +--- a/src/mlib/sdk/system.cpp ++++ b/src/mlib/sdk/system.cpp +@@ -28,7 +28,9 @@ + int GetMemSize() + { + pid_t pid = getpid(); +- std::string str = (str::stream() << "/proc/" << pid << "/statm").str(); ++ str::stream ss; ++ ss << "/proc/" << pid << "/statm"; ++ std::string str = ss.str(); + + io::stream strm(str.c_str(), iof::in); + int mem; +diff --git a/src/mlib/tech.h b/src/mlib/tech.h +index 6ddadf8..f2e2c2a 100644 +--- a/src/mlib/tech.h ++++ b/src/mlib/tech.h +@@ -26,7 +26,7 @@ + // ТехничеÑкие вещи + // + #include <boost/current_function.hpp> // Ð´Ð»Ñ BOOST_CURRENT_FUNCTION +-#include <boost/detail/endian.hpp> // Ð´Ð»Ñ BOOST_XXX_ENDIAN ++#include <boost/predef/other/endian.h> // BOOST_ENDIAN_*_BYTE + #include <boost/version.hpp> // Ð´Ð»Ñ BOOST_MINOR_VERSION + + // Ð´Ð»Ñ Ð¡-шного кода в С++ +@@ -78,9 +78,9 @@ void AssertImpl(const char* assertion, const char* file, + long line, const char* function); + + // endianness +-#if defined(BOOST_BIG_ENDIAN) ++#if defined(BOOST_ENDIAN_BIG_BYTE) + # define HAS_BIG_ENDIAN +-#elif defined(BOOST_LITTLE_ENDIAN) ++#elif defined(BOOST_ENDIAN_LITTLE_BYTE) + # define HAS_LITTLE_ENDIAN + #else + # error mlib/tech.h: unknown endianness (legacy PDP arch?) +diff --git a/src/mlib/tests/test_utils.cpp b/src/mlib/tests/test_utils.cpp +index c4712e8..99a2e94 100644 +--- a/src/mlib/tests/test_utils.cpp ++++ b/src/mlib/tests/test_utils.cpp +@@ -139,17 +139,17 @@ BOOST_AUTO_TEST_CASE( TestFilesystem ) + #endif + } + +- // is_complete ++ // is_absolute + { + fs::path pth("../some_file"); +- BOOST_CHECK( !pth.is_complete() ); +- BOOST_CHECK( fs::current_path().is_complete() ); ++ BOOST_CHECK( !pth.is_absolute() ); ++ BOOST_CHECK( fs::current_path().is_absolute() ); + + fs::path apth = Project::MakeAbsolutePath(pth); + //LOG_INF << "Making abs path: " << pth.string() << " => " << apth.string() << io::endl; + +- BOOST_CHECK( Project::MakeAbsolutePath(pth, MakeRootComplete("/")).is_complete() ); +- BOOST_CHECK( !Project::MakeAbsolutePath(pth, "./").is_complete() ); ++ BOOST_CHECK( Project::MakeAbsolutePath(pth, MakeRootComplete("/")).is_absolute() ); ++ BOOST_CHECK( !Project::MakeAbsolutePath(pth, "./").is_absolute() ); + } + + // MakeRelativeToDir diff --git a/multimedia/bombono-dvd/patches/boost.patch b/multimedia/bombono-dvd/patches/boost.patch deleted file mode 100644 index 1bb95aaaa4..0000000000 --- a/multimedia/bombono-dvd/patches/boost.patch +++ /dev/null @@ -1,157 +0,0 @@ -diff -ru bombono-dvd-1.2.2/src/mbase/project/table.cpp new/src/mbase/project/table.cpp ---- bombono-dvd-1.2.2/src/mbase/project/table.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mbase/project/table.cpp 2016-01-19 13:02:00.117338769 +0330 -@@ -154,7 +154,7 @@ - void SerializePath(Archieve& ar, const char* tag_name, std::string& fpath) - { - //ar & NameValue("Path", mdPath); -- fs::path rel_to_dir = fs::path(AData().GetProjectFName()).branch_path(); -+ fs::path rel_to_dir = fs::path(AData().GetProjectFName()).parent_path(); - if( ar.IsLoad() ) - { - ar >> NameValue(tag_name, fpath); -diff -ru bombono-dvd-1.2.2/src/mgui/author/script.cpp new/src/mgui/author/script.cpp ---- bombono-dvd-1.2.2/src/mgui/author/script.cpp 2016-01-19 12:54:07.640700667 +0330 -+++ new/src/mgui/author/script.cpp 2016-01-19 12:59:52.407346489 +0330 -@@ -676,7 +676,7 @@ - if( !fs::exists(font_path) ) - { - std::string err_str; -- if( !CreateDirs(font_path.branch_path(), err_str) ) -+ if( !CreateDirs(font_path.parent_path(), err_str) ) - Error(err_str.c_str()); - fs::copy_file(DataDirPath("copy-n-paste/FreeSans.ttf"), font_path); - } -diff -ru bombono-dvd-1.2.2/src/mgui/mux.cpp new/src/mgui/mux.cpp ---- bombono-dvd-1.2.2/src/mgui/mux.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mgui/mux.cpp 2016-01-19 12:58:22.840685236 +0330 -@@ -162,7 +162,7 @@ - fs::path pth = GetFilename(v_btn); - if( pth.empty() ) - return; -- std::string folder = pth.branch_path().string(); -+ std::string folder = pth.parent_path().string(); - - if( a_btn.get_filename().empty() ) - a_btn.set_current_folder(folder); -diff -ru bombono-dvd-1.2.2/src/mgui/project/add.cpp new/src/mgui/project/add.cpp ---- bombono-dvd-1.2.2/src/mgui/project/add.cpp 2016-01-19 12:54:07.634034002 +0330 -+++ new/src/mgui/project/add.cpp 2016-01-19 13:00:49.220676388 +0330 -@@ -479,7 +479,7 @@ - MessageBox(BF_("The file \"%1%\" looks like VOB from DVD.\nRun import?") % leaf % bf::stop, - Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_OK_CANCEL) == Gtk::RESPONSE_OK ) - { -- DVD::RunImport(*GetTopWindow(brw), pth.branch_path().string()); -+ DVD::RunImport(*GetTopWindow(brw), pth.parent_path().string()); - return; - } - } -diff -ru bombono-dvd-1.2.2/src/mgui/project/serialize.cpp new/src/mgui/project/serialize.cpp ---- bombono-dvd-1.2.2/src/mgui/project/serialize.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mgui/project/serialize.cpp 2016-01-19 13:00:29.230677594 +0330 -@@ -73,7 +73,7 @@ - fs::path full_path(db.GetProjectFName()); - std::string res_str = fs::name_str(full_path); - if( with_path_breakdown ) -- res_str += " (" + full_path.branch_path().string() + ")"; -+ res_str += " (" + full_path.parent_path().string() + ")"; - return res_str; - } - -diff -ru bombono-dvd-1.2.2/src/mgui/timeline/select.cpp new/src/mgui/timeline/select.cpp ---- bombono-dvd-1.2.2/src/mgui/timeline/select.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mgui/timeline/select.cpp 2016-01-19 12:59:12.187348923 +0330 -@@ -152,7 +152,7 @@ - - mon.FramePixbuf()->save(fnam, ext); - -- SaveFrameDir() = fs::path(fnam).branch_path().string(); -+ SaveFrameDir() = fs::path(fnam).parent_path().string(); - if( add_btn.get_active() ) - Project::TryAddMediaQuiet(fnam, "SaveFrame"); - } -diff -ru bombono-dvd-1.2.2/src/mbase/project/table.cpp new/src/mbase/project/table.cpp ---- bombono-dvd-1.2.2/src/mbase/project/table.cpp 2016-01-19 13:11:42.883970202 +0330 -+++ new/src/mbase/project/table.cpp 2016-01-19 13:42:58.317190146 +0330 -@@ -162,7 +162,7 @@ - if( !fpath.empty() ) - { - fs::path pth(fpath); -- if( !pth.is_complete() ) -+ if( !pth.is_absolute() ) - fpath = (rel_to_dir/fpath).string(); - } - } -diff -ru bombono-dvd-1.2.2/src/mbase/project/tests/test_table.cpp new/src/mbase/project/tests/test_table.cpp ---- bombono-dvd-1.2.2/src/mbase/project/tests/test_table.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mbase/project/tests/test_table.cpp 2016-01-19 13:42:16.977192649 +0330 -@@ -129,7 +129,7 @@ - // проверка чтениÑ/запиÑи путей - boost::intrusive_ptr<StillImageMD> pict2 = ptr::dynamic_pointer_cast<StillImageMD>(ml[2]); - fs::path pth = pict2->GetPath(); -- BOOST_CHECK( pth.is_complete() ); -+ BOOST_CHECK( pth.is_absolute() ); - BOOST_CHECK( fs::exists(pth) ); - - // проверка ÑÑылок -diff -ru bombono-dvd-1.2.2/src/mlib/tests/test_utils.cpp new/src/mlib/tests/test_utils.cpp ---- bombono-dvd-1.2.2/src/mlib/tests/test_utils.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mlib/tests/test_utils.cpp 2016-01-19 13:23:58.830592369 +0330 -@@ -139,17 +139,17 @@ - #endif - } - -- // is_complete -+ // is_absolute - { - fs::path pth("../some_file"); -- BOOST_CHECK( !pth.is_complete() ); -- BOOST_CHECK( fs::current_path().is_complete() ); -+ BOOST_CHECK( !pth.is_absolute() ); -+ BOOST_CHECK( fs::current_path().is_absolute() ); - - fs::path apth = Project::MakeAbsolutePath(pth); - //LOG_INF << "Making abs path: " << pth.string() << " => " << apth.string() << io::endl; - -- BOOST_CHECK( Project::MakeAbsolutePath(pth, MakeRootComplete("/")).is_complete() ); -- BOOST_CHECK( !Project::MakeAbsolutePath(pth, "./").is_complete() ); -+ BOOST_CHECK( Project::MakeAbsolutePath(pth, MakeRootComplete("/")).is_absolute() ); -+ BOOST_CHECK( !Project::MakeAbsolutePath(pth, "./").is_absolute() ); - } - - // MakeRelativeToDir -diff -ru bombono-dvd-1.2.2/src/mlib/filesystem.cpp new/src/mlib/filesystem.cpp ---- bombono-dvd-1.2.2/src/mlib/filesystem.cpp 2013-03-08 00:50:45.000000000 +0330 -+++ new/src/mlib/filesystem.cpp 2016-01-19 14:02:05.303787474 +0330 -@@ -161,25 +161,16 @@ - - fs::path MakeAbsolutePath(const fs::path& pth, const fs::path& cur_dir) - { -- fs::path res; -- -- if( pth.is_complete() ) -- res = pth; -- else -- { -- fs::path dir = cur_dir.empty() ? fs::current_path() : cur_dir ; -- res = dir/pth; -- } -- return res.normalize(); -+ return absolute(pth, cur_dir); - } - - // оба аргумента должны быть абÑолютными путÑми - bool MakeRelativeToDir(fs::path& pth, fs::path dir) - { -- pth.normalize(); -- dir.normalize(); -- ASSERT( pth.is_complete() ); -- ASSERT( dir.is_complete() ); -+ pth = canonical(pth); -+ dir = canonical(dir); -+ ASSERT( pth.is_absolute() ); -+ ASSERT( dir.is_absolute() ); - - fs::path::iterator p_itr = pth.begin(), p_end = pth.end(); - fs::path::iterator d_itr = dir.begin(), d_end = dir.end(); - diff --git a/multimedia/bombono-dvd/patches/ffmpeg3.patch b/multimedia/bombono-dvd/patches/ffmpeg3.patch deleted file mode 100644 index ccf726cd1f..0000000000 --- a/multimedia/bombono-dvd/patches/ffmpeg3.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruN old/src/mgui/ffviewer.cpp new/src/mgui/ffviewer.cpp ---- old/src/mgui/ffviewer.cpp 2016-06-18 11:37:10.409735832 +0430 -+++ new/src/mgui/ffviewer.cpp 2016-06-18 11:45:40.343038336 +0430 -@@ -36,6 +36,10 @@ - #define AVFORMAT_54 - #endif - -+C_LINKAGE_BEGIN -+#include <libavutil/imgutils.h> -+C_LINKAGE_END -+ - // разрабы libav Ñчитают ÑÐµÐ±Ñ Ñамыми умными и потому решили - // закрыть проÑтым Ñмертным доÑтуп к ffurl_register_protocol() - // (Ð±Ñ‹Ð²ÑˆÐ°Ñ av_register_protocol2()),- https://bugzilla.libav.org/show_bug.cgi?id=224 -@@ -807,7 +811,7 @@ - #ifdef AVFRAME_INIT_CHANGE - // avcodec_get_frame_defaults() перенеÑли в avcodec_decode_video2() - #else -- avcodec_get_frame_defaults(&picture); // ffmpeg.c очищает каждый раз -+ av_frame_unref (&picture); - #endif - - #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52,25,00) - diff --git a/multimedia/bombono-dvd/patches/fix_c++11_literal_warnings.patch b/multimedia/bombono-dvd/patches/fix_c++11_literal_warnings.patch deleted file mode 100644 index 5cfc96f47e..0000000000 --- a/multimedia/bombono-dvd/patches/fix_c++11_literal_warnings.patch +++ /dev/null @@ -1,174 +0,0 @@ -diff -ruN old/src/mlib/regex.h new/src/mlib/regex.h ---- old/src/mlib/regex.h 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mlib/regex.h 2016-06-18 11:02:30.666528235 +0430 -@@ -185,7 +185,7 @@ - #define RG_EW "\\>" // конец Ñлова - #define RG_SPS "[[:space:]]*" // пробелы - #define RG_NUM "([0-9]+)" // чиÑло --#define RG_FLT RG_NUM"([\\.,]"RG_NUM")" // вещ. чиÑло, в паре Ñ ExtractDouble() -+#define RG_FLT RG_NUM "([\\.,]" RG_NUM ")" // вещ. чиÑло, в паре Ñ ExtractDouble() - #define RG_CMD_BEG RG_BW // "^"RG_SPS // начало команды - - bool ExtractDouble(double& val, const re::match_results& what, int idx = 1); -diff -ruN old/src/mgui/author/burn.cpp new/src/mgui/author/burn.cpp ---- old/src/mgui/author/burn.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/author/burn.cpp 2016-06-18 11:04:08.113189012 +0430 -@@ -85,7 +85,7 @@ - return bd; - } - --re::pattern WriteSpeed_RE("Write Speed #"RG_NUM":"RG_SPS RG_NUM"\\."RG_NUM "x1385"); -+re::pattern WriteSpeed_RE("Write Speed #" RG_NUM ":" RG_SPS RG_NUM "\\." RG_NUM "x1385"); - - RefPtr<Gtk::ListStore> sp_store; - -@@ -253,7 +253,7 @@ - } - else - { -- static re::pattern media_type_re("Mounted Media:"RG_SPS"[0-9A-F]+h, ([^ \n]+)"); -+ static re::pattern media_type_re("Mounted Media:" RG_SPS "[0-9A-F]+h, ([^ \n]+)"); - re::match_results what; - - bool is_found = re::search(out_info, what, media_type_re); -@@ -277,7 +277,7 @@ - // isBlank - if( res != dvdOTHER ) - { -- static re::pattern media_status_re("Disc status:"RG_SPS"([a-z]+)\n"); -+ static re::pattern media_status_re("Disc status:" RG_SPS "([a-z]+)\n"); - bool is_found = re::search(out_info, what, media_status_re); - ASSERT_RTL( is_found ); - -diff -ruN old/src/mgui/author/execute.cpp new/src/mgui/author/execute.cpp ---- old/src/mgui/author/execute.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/author/execute.cpp 2016-06-18 11:07:03.359845082 +0430 -@@ -64,9 +64,9 @@ - tag->property_foreground() = "darkgreen"; - } - --re::pattern DVDAuthorRE(RG_CMD_BEG"dvdauthor"RG_EW ".*-x"RG_EW RG_SPS RG_BW"DVDAuthor\\.xml"RG_EW); --re::pattern MkIsoFsRE(RG_CMD_BEG MK_ISO_CMD RG_EW ".*-dvd-video"RG_EW ".*>.*"RG_BW"dvd.iso"RG_EW); --re::pattern GrowIsoFsRE(RG_CMD_BEG"growisofs"RG_EW ".*-dvd-compat"RG_EW ".*-dvd-video"RG_EW); -+re::pattern DVDAuthorRE(RG_CMD_BEG"dvdauthor" RG_EW ".*-x" RG_EW RG_SPS RG_BW "DVDAuthor\\.xml" RG_EW); -+re::pattern MkIsoFsRE(RG_CMD_BEG MK_ISO_CMD RG_EW ".*-dvd-video" RG_EW ".*>.*" RG_BW "dvd.iso" RG_EW); -+re::pattern GrowIsoFsRE(RG_CMD_BEG"growisofs" RG_EW ".*-dvd-compat" RG_EW ".*-dvd-video" RG_EW); - - //static void PrintMatchResults(const re::match_results& what) - //{ -@@ -94,7 +94,7 @@ - virtual void Filter(const std::string& line); - }; - --re::pattern MkIsoFsPercent_RE( RG_FLT"?% done"); -+re::pattern MkIsoFsPercent_RE( RG_FLT "?% done"); - - void MkIsoFsPP::Filter(const std::string& line) - { -@@ -126,8 +126,8 @@ - bool fixStage; - }; - --re::pattern DVDAuthorVOB_RE( "^STAT: VOBU "RG_NUM" at "RG_NUM"MB"); --re::pattern DVDAuthorFix_RE( "^STAT: fixing VOBU at "RG_NUM"MB \\("RG_NUM"/"RG_NUM", "RG_NUM"%\\)"); -+re::pattern DVDAuthorVOB_RE( "^STAT: VOBU " RG_NUM " at " RG_NUM "MB"); -+re::pattern DVDAuthorFix_RE( "^STAT: fixing VOBU at " RG_NUM "MB \\(" RG_NUM "/" RG_NUM ", " RG_NUM "%\\)"); - - void DVDAuthorPP::Filter(const std::string& line) - { -@@ -157,7 +157,7 @@ - if( p ) - of.SetProgress(p); - -- static re::pattern ch_error_re("ERR:.*Cannot jump to chapter "RG_NUM" of title "RG_NUM", only "RG_NUM" exist"); -+ static re::pattern ch_error_re("ERR:.*Cannot jump to chapter " RG_NUM " of title " RG_NUM ", only " RG_NUM " exist"); - if( re::search(line, what, ch_error_re) ) - { - std::string& err_str = of.firstError; -diff -ruN old/src/mgui/author/render.cpp new/src/mgui/author/render.cpp ---- old/src/mgui/author/render.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/author/render.cpp 2016-06-18 11:08:43.919839004 +0430 -@@ -866,7 +866,7 @@ - // - // :KLUDGE: (только) в ffmpeg, avformat 53.13.0, поменÑли . на : => надо - // Ñамим открывать файл и узнавать индекÑ! -- static re::pattern audio_idx("Stream #"RG_NUM"[\\.|:]"RG_NUM".*Audio:"); -+ static re::pattern audio_idx("Stream #" RG_NUM "[\\.|:]" RG_NUM ".*Audio:"); - - re::match_results what; - // флаг означает, что перевод Ñтроки не может быть точкой -@@ -1221,17 +1221,17 @@ - { - CheckNoCodecs(CheckForCodecList(conts)); - -- static re::pattern dvd_format("^ .E dvd"RG_EW); -+ static re::pattern dvd_format("^ .E dvd" RG_EW); - CheckStrippedFFmpeg(dvd_format, conts, "dvd format"); - - // :TRICKY: Ñ Ð²ÐµÑ€Ñии libavcodec 54 при выводе начальный пробел не ÑтавÑÑ‚ => поÑтому ? - // ("ÑпаÑибо" Anton Khirnov за очередное "улучшение") - #define _CPP_ "^ ?" -- static re::pattern mpeg2video_codec(_CPP_".EV... mpeg2video"RG_EW); -+ static re::pattern mpeg2video_codec(_CPP_ ".EV... mpeg2video" RG_EW); - CheckStrippedFFmpeg(mpeg2video_codec, conts, "mpeg2 video encoder"); - - // по факту ffmpeg вÑегда иÑпользует ac3, однако mp2 тоже возможен -- static re::pattern ac3_codec(_CPP_".EA... ac3"RG_EW); -+ static re::pattern ac3_codec(_CPP_ ".EA... ac3" RG_EW); - CheckStrippedFFmpeg(ac3_codec, conts, "ac3 audio encoder"); - #undef _CPP_ - } -@@ -1241,7 +1241,7 @@ - // * ищем верÑию libavfilter - // пример: " libavfilter 0. 4. 0 / " - #define RG_PADNUM RG_SPS RG_NUM -- std::string reg_str = boost::format(RG_BW"%1%"RG_PADNUM"\\."RG_PADNUM"\\."RG_PADNUM" / ") -+ std::string reg_str = boost::format(RG_BW "%1%" RG_PADNUM "\\." RG_PADNUM "\\." RG_PADNUM " / ") - % avlib_name % bf::stop; - re::pattern avfilter_version(reg_str.c_str()); - return FindVersion(conts, avfilter_version, AVCnvBin(), avlib_name); -diff -ruN old/src/mgui/author/script.cpp new/src/mgui/author/script.cpp ---- old/src/mgui/author/script.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/author/script.cpp 2016-06-18 11:09:54.899834712 +0430 -@@ -755,9 +755,9 @@ - // ffmpeg выводит ÑтатиÑтику первого Ñоздаваемого файла каждые полÑекунды, - // Ñм. print_report() (при verbose=1, по умолчанию) - // Формат размера: "size=%8.0fkB" --re::pattern FFmpegSizePat( "size= *"RG_NUM"kB"); -+re::pattern FFmpegSizePat( "size= *" RG_NUM "kB"); - // Формат длительноÑти: "time=%0.2f" --re::pattern FFmpegDurPat( "time="RG_FLT); -+re::pattern FFmpegDurPat( "time=" RG_FLT); - - static void OnTranscodePrintParse(const char* dat, int sz, const PercentFunctor& fnr) - { -@@ -787,7 +787,7 @@ - - // Формат длительноÑти Ð´Ð»Ñ ffmpeg c коммита dd471070: "time=%02d:%02d:%02d.%02d" - // Образец: frame= 208 fps= 58 q=2.0 size= 476kB time=00:00:08.44 bitrate= 461.9kbits/s dup=1 drop=0 --re::pattern FFmpegNewDurPat( "time="RG_NUM":"RG_NUM":"RG_FLT); -+re::pattern FFmpegNewDurPat( "time=" RG_NUM ":" RG_NUM ":" RG_FLT); - - static void OnTranscodeHMSParse(const char* dat, int sz, const PercentFunctor& fnr) - { -@@ -1136,7 +1136,7 @@ - // 2) парÑер dvdauthor не любит незнакомые ему атрибуты => spumux < 0.7 не работает - std::string help_str; - PipeOutput("spumux -h", help_str); -- static re::pattern spumux_version("DVDAuthor::spumux, version "RG_NUM"\\."RG_NUM"\\."RG_NUM"\\.\n"); -+ static re::pattern spumux_version("DVDAuthor::spumux, version " RG_NUM "\\." RG_NUM "\\." RG_NUM "\\.\n"); - if( IsVersionGE(FindVersion(help_str, spumux_version, "spumux"), TripleVersion(0, 7, 0)) ) - AddFormatAttr(sp); - -diff -ruN old/src/mgui/project/browser.cpp new/src/mgui/project/browser.cpp ---- old/src/mgui/project/browser.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/project/browser.cpp 2016-06-18 11:10:21.113166461 +0430 -@@ -328,7 +328,7 @@ - return hb; - } - --std::string MediaItemDnDTVType() { return "DnDTreeView<"DND_MI_NAME">"; } -+std::string MediaItemDnDTVType() { return "DnDTreeView<" DND_MI_NAME ">"; } - - void SetupBrowser(ObjectBrowser& brw, int dnd_column, bool is_media_brw) - { diff --git a/multimedia/bombono-dvd/patches/fix_ffmpeg_codecid.patch b/multimedia/bombono-dvd/patches/fix_ffmpeg_codecid.patch deleted file mode 100644 index 6474693db4..0000000000 --- a/multimedia/bombono-dvd/patches/fix_ffmpeg_codecid.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -u -r -N old/src/mgui/ffviewer.cpp new/src/mgui/ffviewer.cpp ---- old/src/mgui/ffviewer.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/ffviewer.cpp 2016-06-18 10:40:26.789941610 +0430 -@@ -74,7 +74,7 @@ - - typedef struct AVCodecTag { - #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,39,00) -- enum CodecID id; -+ enum AVCodecID id; - #else - int id; - #endif -@@ -82,14 +82,14 @@ - } AVCodecTag; - - #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,34,00) --static uint FFCodecID2Tag(CodecID codec_id) -+static uint FFCodecID2Tag(AVCodecID codec_id) - { - unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id); - extern const AVCodecTag ff_codec_bmp_tags[]; - return ff_codec_get_tag(ff_codec_bmp_tags, codec_id); - } - #else --static uint FFCodecID2Tag(CodecID codec_id) -+static uint FFCodecID2Tag(AVCodecID codec_id) - { - unsigned int codec_get_tag(const AVCodecTag *tags, int id); - extern const AVCodecTag codec_bmp_tags[]; -@@ -400,7 +400,7 @@ - return (tag>>bit_begin) & 0xFF; - } - --static std::string CodecID2Str(CodecID codec_id) -+static std::string CodecID2Str(AVCodecID codec_id) - { - #ifdef _MSC_VER - std::string tag_str = boost::format("%1%") % codec_id % bf::stop; - diff --git a/multimedia/bombono-dvd/patches/fix_operator_ambiguity.patch b/multimedia/bombono-dvd/patches/fix_operator_ambiguity.patch deleted file mode 100644 index 5fcfaf0466..0000000000 --- a/multimedia/bombono-dvd/patches/fix_operator_ambiguity.patch +++ /dev/null @@ -1,352 +0,0 @@ -diff -ruN old/src/mbase/project/serialization.h new/src/mbase/project/serialization.h ---- old/src/mbase/project/serialization.h 2017-06-01 13:54:44.086895687 +0430 -+++ new/src/mbase/project/serialization.h 2017-06-01 14:09:16.523275880 +0430 -@@ -75,7 +75,9 @@ - template<typename T> - std::string MakeString(const T& t) - { -- return (str::stream() << t).str(); -+ str::stream ss; -+ ss << t; -+ return ss.str(); - } - - template<typename T> -diff -ruN old/src/mgui/dvdimport.cpp new/src/mgui/dvdimport.cpp ---- old/src/mgui/dvdimport.cpp 2017-06-01 13:54:44.086895687 +0430 -+++ new/src/mgui/dvdimport.cpp 2017-06-01 14:06:42.488114237 +0430 -@@ -211,10 +211,11 @@ - row[VF().selState] = false; - row[VF().name] = VobFName(vob.pos); - row[VF().thumbnail] = vob.aspect == af4_3 ? pix4_3 : pix16_9; -- std::string desc = (str::stream(Mpeg::SecToHMS(vob.tmLen, true)) << ", " -- << vob.sz.x << "x" << vob.sz.y << ", " -- << (vob.aspect == af4_3 ? "4:3" : "16:9") << ", " -- << std::fixed << std::setprecision(2) << vob.Count()/512. << " " << _("MB")).str(); -+ str::stream ss (Mpeg::SecToHMS(vob.tmLen, true)); -+ ss << ", " << vob.sz.x << "x" << vob.sz.y << ", " -+ << (vob.aspect == af4_3 ? "4:3" : "16:9") << ", " -+ << std::fixed << std::setprecision(2) << vob.Count()/512. << " " << _("MB"); -+ std::string desc = ss.str(); - row[VF().desc] = desc; - } - CompleteSelection(id, false); -diff -ruN old/src/mbase/project/media.cpp new/src/mbase/project/media.cpp ---- old/src/mbase/project/media.cpp 2017-06-01 14:25:09.492134844 +0430 -+++ new/src/mbase/project/media.cpp 2017-06-01 14:37:53.196336367 +0430 -@@ -58,7 +58,9 @@ - - std::string MakeAutoName(const std::string& str, int old_sz) - { -- return (str::stream() << str << " " << old_sz+1).str(); -+ str::stream ss; -+ ss << str << " " << old_sz+1; -+ return ss.str(); - } - - void VideoMD::AddChapter(ChapterItem chp) -diff -ruN old/src/mbase/project/menu.cpp new/src/mbase/project/menu.cpp ---- old/src/mbase/project/menu.cpp 2017-06-01 14:25:09.495468141 +0430 -+++ new/src/mbase/project/menu.cpp 2017-06-01 14:39:42.004331141 +0430 -@@ -166,7 +166,9 @@ - static std::string MakeObjectPath(int idx, const char* type) - { - ASSERT( idx != NO_HNDL ); -- return (str::stream() << type << "." << idx).str(); -+ str::stream ss; -+ ss << type << "." << idx; -+ return ss.str(); - } - - std::string GetMediaRef(MediaItem mi) -@@ -197,7 +199,9 @@ - void RefMaker::Visit(VideoChapterMD& obj) - { - refStr = GetMediaRef(obj.owner); -- refStr += (str::stream() << "." << ChapterPosInt(&obj)).str(); -+ str::stream ss; -+ ss << "." << ChapterPosInt(&obj); -+ refStr += ss.str(); - } - - std::string Media2Ref(MediaItem mi) -@@ -233,8 +237,9 @@ - - std::string ThrowBadIndex(const char* prefix, int idx) - { -- throw std::runtime_error( -- (str::stream() << prefix << idx).str() ); -+ str::stream ss; -+ ss << prefix << idx; -+ throw std::runtime_error(ss.str()); - } - - MediaItem TryGetMedia(int idx) -diff -ruN old/src/mbase/project/srl-common.cpp new/src/mbase/project/srl-common.cpp ---- old/src/mbase/project/srl-common.cpp 2017-06-01 14:25:09.495468141 +0430 -+++ new/src/mbase/project/srl-common.cpp 2017-06-01 14:40:56.524722225 +0430 -@@ -36,10 +36,12 @@ - std::string ToString(const RGBA::Pixel& pxl) - { - using Mpeg::set_hms; -- return (str::stream("#") << std::hex -- << set_hms() << (int)pxl.red -- << set_hms() << (int)pxl.green -- << set_hms() << (int)pxl.blue << (int)pxl.alpha).str(); -+ str::stream ss ("#"); -+ ss << std::hex -+ << set_hms() << (int)pxl.red -+ << set_hms() << (int)pxl.green -+ << set_hms() << (int)pxl.blue << (int)pxl.alpha; -+ return ss.str(); - } - - // как pango_color_parse() -diff -ruN old/src/mgui/author/render.cpp new/src/mgui/author/render.cpp ---- old/src/mgui/author/render.cpp 2017-06-01 14:25:09.498801438 +0430 -+++ new/src/mgui/author/render.cpp 2017-06-01 14:28:08.901379890 +0430 -@@ -1307,7 +1307,9 @@ - - bool RenderMainPicture(const std::string& out_dir, Menu mn, int i) - { -- Author::Info((str::stream() << "Rendering menu \"" << mn->mdName << "\" ...").str()); -+ str::stream ss; -+ ss << "Rendering menu \"" << mn->mdName << "\" ..."; -+ Author::Info(ss.str()); - const std::string mn_dir = MakeMenuPath(out_dir, mn, i); - - if( IsMotion(mn) ) -diff -ruN old/src/mgui/author/script.cpp new/src/mgui/author/script.cpp ---- old/src/mgui/author/script.cpp 2017-06-01 14:25:09.498801438 +0430 -+++ new/src/mgui/author/script.cpp 2017-06-01 14:31:23.248978018 +0430 -@@ -130,7 +130,9 @@ - { - VideoItem vi = IsVideo(mi); - ASSERT( vi ); -- str = (str::stream() << "title " << GetAuthorNumber(vi)).str(); -+ str::stream ss; -+ ss << "title " << GetAuthorNumber(vi); -+ str = ss.str(); - } - return str; - } -@@ -179,7 +181,9 @@ - // Потому: Ð´Ð»Ñ ÑƒÐ´Ð¾Ñтва пользователей даем Ñоздавать нулевую главу, Ñ€Ð°Ð·Ñ€ÐµÑˆÐ°Ñ Ñто здеÑÑŒ - // (однако доп. нулевые главы будут приводить к ошибке Cannot jump to chapter N ... only M exist) - int c_num = ChapterPosInt(&obj) + (owner->List()[0]->chpTime ? 2 : 1) ; -- res = (str::stream() << "jump title " << v_num << " chapter " << c_num << ";").str(); -+ str::stream ss; -+ ss << "jump title " << v_num << " chapter " << c_num << ";"; -+ res = ss.str(); - } - - static std::string MakeButtonJump(MediaItem mi, bool vts_domain) -@@ -204,7 +208,9 @@ - if( !fs::native(name) ) - name = "Menu"; - -- std::string fname = (str::stream() << idx+1 << "." << name).str(); -+ str::stream ss; -+ ss << idx+1 << "." << name; -+ std::string fname = ss.str(); - return cnv_from_utf8 ? ConvertPathFromUtf8(fname) : fname ; - } - -@@ -626,7 +632,9 @@ - void AuthorSectionInfo(const std::string& str) - { - Author::Info("\n#", false); -- Author::Info((str::stream() << "# " << str).str(), false); -+ str::stream ss; -+ ss << "# " << str; -+ Author::Info(ss.str(), false); - Author::Info("#\n", false); - } - -@@ -1082,7 +1090,9 @@ - - static void AuthorImpl(const std::string& out_dir) - { -- AuthorSectionInfo((str::stream() << "Build DVD-Video in folder: " << out_dir).str()); -+ str::stream ss; -+ ss << "Build DVD-Video in folder: " << out_dir; -+ AuthorSectionInfo(ss.str()); - IteratePendingEvents(); - - IndexVideosForAuthoring(); -diff -ruN old/src/mgui/project/add.cpp new/src/mgui/project/add.cpp ---- old/src/mgui/project/add.cpp 2017-06-01 14:25:09.498801438 +0430 -+++ new/src/mgui/project/add.cpp 2017-06-01 14:33:26.303387642 +0430 -@@ -86,7 +86,9 @@ - - static std::string FpsToStr(const Point& frate) - { -- return (str::stream() << (double)frate.x/frate.y).str(); -+ str::stream ss; -+ ss << (double)frate.x/frate.y; -+ return ss.str(); - } - - static std::string TVTypeStr(bool is_ntsc) -@@ -163,7 +165,9 @@ - // * - bool is_aspect_ok = vid.sarCode == af4_3 || vid.sarCode == af16_9; - Point aspect = vid.SizeAspect(); -- std::string aspect_str = (str::stream() << aspect.x << ':' << aspect.y).str(); -+ str::stream ss; -+ ss << aspect.x << ':' << aspect.y; -+ std::string aspect_str = ss.str(); - SetImportError(ed, is_aspect_ok, - std::string(_("Aspect ratio")) + ": \t" + MarkError(aspect_str, is_aspect_ok), - BF_(Descriptions[2]) % tv_type % bf::stop); -diff -ruN old/src/mgui/sdk/cairo_utils.cpp new/src/mgui/sdk/cairo_utils.cpp ---- old/src/mgui/sdk/cairo_utils.cpp 2017-06-01 14:25:09.498801438 +0430 -+++ new/src/mgui/sdk/cairo_utils.cpp 2017-06-01 14:35:20.831246046 +0430 -@@ -27,6 +27,8 @@ - std::string MakeSVGFilename(const char* prefix) - { - static int idx = 1; -- return (str::stream() << prefix << "-" << Mpeg::set_hms() << idx++ << ".svg" ).str(); -+ str::stream ss; -+ ss << prefix << "-" << Mpeg::set_hms() << idx++ << ".svg"; -+ return ss.str(); - } - -diff -ruN old/src/mgui/timeline/layout.cpp new/src/mgui/timeline/layout.cpp ---- old/src/mgui/timeline/layout.cpp 2017-06-01 14:25:09.502134734 +0430 -+++ new/src/mgui/timeline/layout.cpp 2017-06-01 14:36:36.152095784 +0430 -@@ -600,8 +600,10 @@ - void FramesToTime(std::string& str, int cnt, double fps) - { - time4_t t4 = FramesToTime(cnt, fps); -- str = (str::stream() << Mpeg::set_hms() << t4.hh << ":" << Mpeg::set_hms() << t4.mm << ":" -- << Mpeg::set_hms() << t4.ss << ";" << Mpeg::set_hms() << t4.ff).str(); -+ str::stream ss; -+ ss << Mpeg::set_hms() << t4.hh << ":" << Mpeg::set_hms() << t4.mm << ":" -+ << Mpeg::set_hms() << t4.ss << ";" << Mpeg::set_hms() << t4.ff; -+ str = ss.str(); - } - - } // namespace TimeLine -diff -ruN old/src/mgui/win_utils.cpp new/src/mgui/win_utils.cpp ---- old/src/mgui/win_utils.cpp 2017-06-01 14:25:09.498801438 +0430 -+++ new/src/mgui/win_utils.cpp 2017-06-01 14:26:50.898112082 +0430 -@@ -132,7 +132,9 @@ - - std::string ColorToString(const unsigned int rgba) - { -- return (str::stream() << std::hex << (rgba >> 8)).str(); -+ str::stream ss; -+ ss << std::hex << (rgba >> 8); -+ return ss.str(); - } - - CR::Color GetBGColor(Gtk::Widget& wdg) -diff -ruN old/src/mdemux/dvdread.cpp new/src/mdemux/dvdread.cpp ---- old/src/mdemux/dvdread.cpp 2017-06-01 14:48:30.110355679 +0430 -+++ new/src/mdemux/dvdread.cpp 2017-06-01 14:50:50.141065674 +0430 -@@ -35,8 +35,10 @@ - std::string VobFName(VobPos& pos, const std::string& suffix) - { - using Mpeg::set_hms; -- return (str::stream("Video") << set_hms() << int(pos.Vts()) -- << "-" << set_hms() << pos.VobId() << suffix << ".vob").str(); -+ str::stream ss ("Video"); -+ ss << set_hms() << int(pos.Vts()) -+ << "-" << set_hms() << pos.VobId() << suffix << ".vob"; -+ return ss.str(); - } - - typedef boost::function<void(int, double)> VobTimeFnr; -@@ -282,9 +284,11 @@ - static void TryDVDReadBlocks(dvd_file_t* file, int off, size_t cnt, char* buf) - { - int real_cnt = DVDReadBlocks(file, off, cnt, (unsigned char*)buf); -- if( (int)cnt != real_cnt ) -- throw std::runtime_error( (str::stream() << real_cnt << -- " != DVDReadBlocks(" << cnt << ")").str() ); -+ if( (int)cnt != real_cnt ) { -+ str::stream ss; -+ ss << real_cnt << " != DVDReadBlocks(" << cnt << ")"; -+ throw std::runtime_error( ss.str() ); -+ } - } - - // размер буфера должен ÑоответÑтвовать читаемому диапазону -diff -ruN old/src/mdemux/mpeg2demux.cpp new/src/mdemux/mpeg2demux.cpp ---- old/src/mdemux/mpeg2demux.cpp 2017-06-01 14:48:30.110355679 +0430 -+++ new/src/mdemux/mpeg2demux.cpp 2017-06-01 14:55:35.784165916 +0430 -@@ -71,7 +71,9 @@ - - static std::string MakePESKey(int id, const char* ext) - { -- return (str::stream() << id << "." << ext).str(); -+ str::stream ss; -+ ss << id << "." << ext; -+ return ss.str(); - } - - static bool ReadPart(io::stream& strm, uint8_t* buf, int sz, int& len) -@@ -110,7 +112,9 @@ - ASSERT(0); - } - -- std::string header_str = (str::stream() << sample_rate << ":" << channels << ":" << bps << ".lpcm").str(); -+ str::stream ss; -+ ss << sample_rate << ":" << channels << ":" << bps << ".lpcm"; -+ std::string header_str = ss.str(); - return MakePESKey(track, header_str.c_str()); - } - -diff -ruN old/src/mdemux/seek.cpp new/src/mdemux/seek.cpp ---- old/src/mdemux/seek.cpp 2017-06-01 14:48:30.110355679 +0430 -+++ new/src/mdemux/seek.cpp 2017-06-01 14:52:09.669280234 +0430 -@@ -37,8 +37,10 @@ - int hh = min / 60; - int mm = min - hh*60; - -- return (str::stream() << set_hms() << hh << ":" -- << set_hms() << mm << ":" << set_hms() << ss).str(); -+ str::stream strss; -+ strss << set_hms() << hh << ":" -+ << set_hms() << mm << ":" << set_hms() << ss; -+ return strss.str(); - } - - bool MediaInfo::InitBegin(VideoLine& vl) -diff -ruN old/src/mlib/sdk/misc.cpp new/src/mlib/sdk/misc.cpp ---- old/src/mlib/sdk/misc.cpp 2017-06-01 14:48:30.120355606 +0430 -+++ new/src/mlib/sdk/misc.cpp 2017-06-01 14:53:25.504549937 +0430 -@@ -173,12 +173,16 @@ - std::string Double2Str(double val) - { - //return boost::format("%1%") % val % bf::stop; -- return (str::stream() << val).str(); -+ str::stream ss; -+ ss << val; -+ return ss.str(); - } - - std::string Int2Str(int val) - { -- return (str::stream() << val).str(); -+ str::stream ss; -+ ss << val; -+ return ss.str(); - } - - static bool ICaseMatch(const std::string& str, const std::string& pat_str) -diff -ruN old/src/mlib/sdk/system.cpp new/src/mlib/sdk/system.cpp ---- old/src/mlib/sdk/system.cpp 2017-06-01 14:48:30.120355606 +0430 -+++ new/src/mlib/sdk/system.cpp 2017-06-01 14:54:13.980777662 +0430 -@@ -28,7 +28,9 @@ - int GetMemSize() - { - pid_t pid = getpid(); -- std::string str = (str::stream() << "/proc/" << pid << "/statm").str(); -+ str::stream ss; -+ ss << "/proc/" << pid << "/statm"; -+ std::string str = ss.str(); - - io::stream strm(str.c_str(), iof::in); - int mem; diff --git a/multimedia/bombono-dvd/patches/fix_ptr2bool_cast.patch b/multimedia/bombono-dvd/patches/fix_ptr2bool_cast.patch deleted file mode 100644 index 4999db1ca4..0000000000 --- a/multimedia/bombono-dvd/patches/fix_ptr2bool_cast.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ruN old/src/mgui/dvdimport.cpp new/src/mgui/dvdimport.cpp ---- old/src/mgui/dvdimport.cpp 2016-04-10 15:15:39.000000000 +0430 -+++ new/src/mgui/dvdimport.cpp 2016-06-18 10:52:35.713230871 +0430 -@@ -275,7 +275,7 @@ - id.errLbl.hide(); - - id.reader = rd; -- SetCurPageComplete(id.ast, id.reader); -+ SetCurPageComplete(id.ast, bool(id.reader)); - - return rd; - } - diff --git a/multimedia/bombono-dvd/patches/fix_throw_specifications.patch b/multimedia/bombono-dvd/patches/fix_throw_specifications.patch deleted file mode 100644 index f2f4c40d4f..0000000000 --- a/multimedia/bombono-dvd/patches/fix_throw_specifications.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruN old/src/mbase/project/table.h new/src/mbase/project/table.h ---- old/src/mbase/project/table.h 2017-06-01 13:54:44.086895687 +0430 -+++ new/src/mbase/project/table.h 2017-06-01 13:55:58.089107253 +0430 -@@ -128,7 +128,7 @@ - void ClearSettings(); - - void Load(const std::string& fname, -- const std::string& cur_dir = std::string()) throw (std::exception); -+ const std::string& cur_dir = std::string()); - bool Save(); - - bool SaveAs(const std::string& fname, -diff -ruN old/src/mbase/project/srl-db.cpp new/src/mbase/project/srl-db.cpp ---- old/src/mbase/project/srl-db.cpp 2017-06-01 14:25:09.495468141 +0430 -+++ new/src/mbase/project/srl-db.cpp 2017-06-01 14:41:49.699901753 +0430 -@@ -102,7 +102,7 @@ - } - - void ADatabase::Load(const std::string& fname, -- const std::string& cur_dir) throw (std::exception) -+ const std::string& cur_dir) - { - try - { diff --git a/multimedia/bombono-dvd/patches/scons.diff b/multimedia/bombono-dvd/patches/scons.diff new file mode 100644 index 0000000000..d45d1d4d1f --- /dev/null +++ b/multimedia/bombono-dvd/patches/scons.diff @@ -0,0 +1,221 @@ +diff -Naur bombono-dvd-1.2.4/SConstruct bombono-dvd-1.2.4.patched/SConstruct +--- bombono-dvd-1.2.4/SConstruct 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/SConstruct 2022-02-15 13:53:32.444205004 -0500 +@@ -274,13 +274,13 @@ + # Config + + if os.path.exists( BV.CfgFile ): +- print "Using config file: " + BV.CfgFile ++ print("Using config file: " + BV.CfgFile) + + user_options = Variables(BV.CfgFile, BV.Args) + ParseVariables(user_options) + + else: +- print "Creating new config file: " + BV.CfgFile ++ print("Creating new config file: " + BV.CfgFile) + + user_options = Variables(None, BV.Args) + ParseVariables(user_options) +@@ -352,20 +352,19 @@ + + def GenerateBaseConfigH(target, source, env): + cfg_file = open(target[0].path, 'w') +- print >> cfg_file, "/* Generated by means of Autoconfig */" ++ print("/* Generated by means of Autoconfig */", file=cfg_file) + + config_dict = user_options_dict['CONFIGURATION'] +- key_list = config_dict.keys() +- key_list.sort() ++ key_list = sorted(config_dict) + + for key in key_list: + var = config_dict[key] + + text = var.get('text', None) + if text: +- print >> cfg_file ++ print("", file=cfg_file) + BV.AddComment(cfg_file, var) +- print >> cfg_file, text ++ print(text, file=cfg_file) + continue + + BV.AddDefine(cfg_file, key, **var) +diff -Naur bombono-dvd-1.2.4/libs/mpeg2dec/SConscript bombono-dvd-1.2.4.patched/libs/mpeg2dec/SConscript +--- bombono-dvd-1.2.4/libs/mpeg2dec/SConscript 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/libs/mpeg2dec/SConscript 2022-02-15 13:47:04.028766834 -0500 +@@ -69,9 +69,9 @@ + + def GenerateMpeg2DecCfg(target, source, env): + cfg_file = open(target[0].path, 'w') +- print >> cfg_file, "/* Auto-generated header */" +- print >> cfg_file +- print >> cfg_file, '#include <cfg/config.h>' ++ print("/* Auto-generated header */", file=cfg_file) ++ print("", file=cfg_file) ++ print('#include <cfg/config.h>', file=cfg_file) + + BuildVars.AddDefine(cfg_file, 'ACCEL_DETECT', is_on = 1, comment = "autodetect accelerations") + BuildVars.AddDefine(cfg_file, 'LIBVO_DX', is_on = 0, comment = "libvo DirectX support") +diff -Naur bombono-dvd-1.2.4/po/SConscript bombono-dvd-1.2.4.patched/po/SConscript +--- bombono-dvd-1.2.4/po/SConscript 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/po/SConscript 2022-02-15 13:47:04.028766834 -0500 +@@ -35,7 +35,7 @@ + str(source[0]), + str(source[1]), + ] +- print 'Updating ' + trgt ++ print('Updating ' + trgt) + return os.spawnvp(os.P_WAIT, 'msgmerge', args) + + po_bld = Builder (action = po_builder) +diff -Naur bombono-dvd-1.2.4/src/mgui/tests/SConscript bombono-dvd-1.2.4.patched/src/mgui/tests/SConscript +--- bombono-dvd-1.2.4/src/mgui/tests/SConscript 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/src/mgui/tests/SConscript 2022-02-15 13:47:04.028766834 -0500 +@@ -36,8 +36,8 @@ + bin_mgui_tests_env.Program(target=test_prg_name, source = source_files+lib_mgui_objs) + + import os +-if os.environ.has_key('DISPLAY'): ++if 'DISPLAY' in os.environ: + UnitTest(test_prg_name, bin_mgui_tests_env) + else: +- print "Warning: X Display is not found. GUI tests are disabled." ++ print("Warning: X Display is not found. GUI tests are disabled.") + +diff -Naur bombono-dvd-1.2.4/tools/scripts/BuildVars.py bombono-dvd-1.2.4.patched/tools/scripts/BuildVars.py +--- bombono-dvd-1.2.4/tools/scripts/BuildVars.py 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/tools/scripts/BuildVars.py 2022-02-15 13:47:54.476603032 -0500 +@@ -30,11 +30,11 @@ + + def PrintBright(is_end): + if not is_end: +- print +- print "****************************************************" ++ print() ++ print("****************************************************") + else: +- print "****************************************************" +- print ++ print("****************************************************") ++ print() + + def IsDebugCfg(): + return BuildCfg == 'debug' +@@ -68,10 +68,10 @@ + def CheckSettings(main_env): + global Cc, Cxx, BuildDir, Targets, RunTests, BuildTests + if RunTests : +- print 'Tests: on' ++ print('Tests: on') + else: + if BuildTests: +- print 'Tests: on (only building)' ++ print('Tests: on (only building)') + + def_env = GetDefEnv() + # for SCons =<0.96 we need to warn that just 'scons' is not enough: +@@ -92,9 +92,9 @@ + ( (len(BuildDir) >= 1 and BuildDir[0] == '/') or (len(BuildDir) >= 2 and BuildDir[0:2] == '..') ) and \ + (Targets == [] or Targets == ['.']) : + PrintBright(0) +- print 'Warning! "scons" or "scons ." detected while BUILD_DIR is outside "."!' +- print 'To build successfully with SCons <= v0.96.1 you may need to run something like ' +- print '\t"scons <...> ' + BuildDir + '".' ++ print('Warning! "scons" or "scons ." detected while BUILD_DIR is outside "."!') ++ print('To build successfully with SCons <= v0.96.1 you may need to run something like ') ++ print('\t"scons <...> ' + BuildDir + '".' ) + PrintBright(1) + + # we use TestSConscript() function instead of SConscript() +@@ -149,7 +149,7 @@ + SetBriefOutput(main_env) + + # to separate our output from SCons' +- print ++ print() + + # Non/Verbose output + def SetBriefOutput(env): +@@ -228,7 +228,7 @@ + + def ErrorAndExit(msg): + PrintBright(0) +- print msg ++ print(msg) + PrintBright(1) + + GetDefEnv().Exit(1) +@@ -383,20 +383,20 @@ + comment = MakeHeaderComment(var['ccomment'], var.get('val') == '1') + + if comment: +- print >> cfg_file, "/* " + comment + " */" ++ print("/* " + comment + " */", file=cfg_file) + + def AddDefine(cfg_file, key, **var): +- print >> cfg_file ++ print("", file=cfg_file) + AddComment(cfg_file, var) + + if var['is_on']: + str = var.get('val', None) + if str == None: +- print >> cfg_file, "#define %s" % key ++ print("#define %s" % key, file=cfg_file) + else: +- print >> cfg_file, "#define %s %s" % (key, var['val']) ++ print("#define %s %s" % (key, var['val']), file=cfg_file) + else: +- print >> cfg_file, "/* #undef %s */" % key ++ print("/* #undef %s */" % key, file=cfg_file) + + GenFunctionMap = {} + +@@ -495,7 +495,7 @@ + res = True + elif not IsReenter(IsToBuildQuick): + # warn once only +- print 'BUILD_QUICK=true is not supported for current compiler(%s)!' % Cc ++ print('BUILD_QUICK=true is not supported for current compiler(%s)!' % Cc) + + return res + +@@ -504,7 +504,7 @@ + + def CreateEnvVersion2(**kw): + tools = ['default', 'AuxTools'] +- if kw.has_key('tools'): ++ if 'tools' in kw: + tools += kw['tools'] + kw['tools'] = tools + +diff -Naur bombono-dvd-1.2.4/tools/scripts/copy_boost.py bombono-dvd-1.2.4.patched/tools/scripts/copy_boost.py +--- bombono-dvd-1.2.4/tools/scripts/copy_boost.py 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/tools/scripts/copy_boost.py 2022-02-15 13:47:04.029766851 -0500 +@@ -26,7 +26,7 @@ + for fname in os.listdir(boost_dst): + if not fname in lst: + fpath = os.path.join(boost_dst, fname) +- print 'rm', fpath ++ #print 'rm', fpath + o_p.del_any_fpath(fpath) + + cmd = '''%(bcp)s --boost=%(boost_src)s boost/smart_ptr.hpp boost/test boost/function.hpp boost/lambda boost/bind \ +diff -Naur bombono-dvd-1.2.4/tools/scripts/gch.py bombono-dvd-1.2.4.patched/tools/scripts/gch.py +--- bombono-dvd-1.2.4/tools/scripts/gch.py 2016-04-10 06:45:39.000000000 -0400 ++++ bombono-dvd-1.2.4.patched/tools/scripts/gch.py 2022-02-15 13:47:04.029766851 -0500 +@@ -78,10 +78,10 @@ + + + def SetPCHDependencies(target, source, env, gch_key): +- if env.has_key(gch_key) and env[gch_key]: ++ if gch_key in env and env[gch_key]: + gch_node = env[gch_key] + # Murav'jov - alternative variant +- if env.has_key('DepGch') and env['DepGch']: ++ if 'DepGch' in env and env['DepGch']: + env.Depends(target, gch_node) + else: + scanner = GetCScannerFunc() diff --git a/multimedia/cantata/cantata.SlackBuild b/multimedia/cantata/cantata.SlackBuild index a1554e16cb..e1bb6b57b8 100644 --- a/multimedia/cantata/cantata.SlackBuild +++ b/multimedia/cantata/cantata.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cantata -# Copyright 2014 - 2017 Ruben Schuller +# Copyright 2014 - 2022 Ruben Schuller # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cantata -VERSION=${VERSION:-2.4.1} +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/cantata/cantata.info b/multimedia/cantata/cantata.info index 7b0372b549..b5b9285735 100644 --- a/multimedia/cantata/cantata.info +++ b/multimedia/cantata/cantata.info @@ -1,8 +1,8 @@ PRGNAM="cantata" -VERSION="2.4.1" +VERSION="2.5.0" HOMEPAGE="https://github.com/CDrummond/cantata" -DOWNLOAD="https://github.com/CDrummond/cantata/archive/v2.4.1/cantata-2.4.1.tar.gz" -MD5SUM="c60dfdb23cfb4e6c2acca118e116f613" +DOWNLOAD="https://github.com/CDrummond/cantata/archive/v2.5.0/cantata-2.5.0.tar.gz" +MD5SUM="aca989aa520ce21adef5b44321b4dedd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/castnow/README b/multimedia/castnow/README index f38b2d7506..557646a3f9 100644 --- a/multimedia/castnow/README +++ b/multimedia/castnow/README @@ -1,3 +1,7 @@ castnow is a command-line utility that can be used to play back media files on your Chromecast device. It supports playback of local video files, videos on the web and torrents. + +Warning: This SlackBuild requires network access when it runs, meaning +it downloads files from the Internet with root access. You should +decide for yourself whether or not you think this is a good idea. diff --git a/multimedia/ccextractor/README b/multimedia/ccextractor/README index 6dccda83a4..8f1e782dc5 100644 --- a/multimedia/ccextractor/README +++ b/multimedia/ccextractor/README @@ -3,10 +3,4 @@ independent subtitle files from the closed captions data. CCExtractor is portable, small, and very fast. Notable features include the ability to extract subtitles in real-time, translate subtitles, extract closed captions from DVDs, and convert closed captions -to subtitles. - -By default only build the CLI version of ccextractor. If you would -like to also build the GUI version, then install glfw3 available -here at SBo and run the script like so - -GUI=yes ./ccextractor.SlackBuild +to subtitles. diff --git a/multimedia/ccextractor/ccextractor-0.88-fno-common.patch b/multimedia/ccextractor/ccextractor-0.88-fno-common.patch deleted file mode 100644 index 1f42132bf8..0000000000 --- a/multimedia/ccextractor/ccextractor-0.88-fno-common.patch +++ /dev/null @@ -1,55 +0,0 @@ -From dfd25022e2a775a8b5eb03e4ad28bab6fe6a0658 Mon Sep 17 00:00:00 2001 -From: Ed Marshall <esm@logic.net> -Date: Sat, 1 Feb 2020 15:03:22 -0800 -Subject: [PATCH] Fix multiple definitions with new -fno-common default in GCC - 10 - ---- - ccextractor.c | 3 +++ - ccextractor.h | 4 ++-- - lib_ccx/ccx_decoders_708.h | 4 ++-- - 3 files changed, 7 insertions(+), 4 deletions(-) - -diff --git a/ccextractor.c b/ccextractor.c -index a2fb0a24f..8ed27936d 100644 ---- a/ccextractor.c -+++ b/ccextractor.c -@@ -9,6 +9,9 @@ License: GPL 2.0 - - volatile int terminate_asap = 0; - -+struct ccx_s_options ccx_options; -+struct lib_ccx_ctx *signal_ctx; -+ - void sigusr1_handler(int sig) - { - mprint("Caught SIGUSR1. Filename Change Requested\n"); -diff --git a/ccextractor.h b/ccextractor.h -index 4e9ae68f6..e5cde3055 100644 ---- a/ccextractor.h -+++ b/ccextractor.h -@@ -41,8 +41,8 @@ char * api_param(struct ccx_s_options* api_options, int count); - #endif - - --struct ccx_s_options ccx_options; --struct lib_ccx_ctx *signal_ctx; -+extern struct ccx_s_options ccx_options; -+extern struct lib_ccx_ctx *signal_ctx; - //volatile int terminate_asap = 0; - - struct ccx_s_options* api_init_options(); -diff --git a/lib_ccx/ccx_decoders_708.h b/lib_ccx/ccx_decoders_708.h -index 324f3890d..df52c6002 100644 ---- a/lib_ccx/ccx_decoders_708.h -+++ b/lib_ccx/ccx_decoders_708.h -@@ -371,7 +371,7 @@ void ccx_dtvcc_process_service_block(ccx_dtvcc_ctx *dtvcc, - unsigned char *data, - int data_length); - --ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color; --ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs; -+extern ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color; -+extern ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs; - - #endif diff --git a/multimedia/ccextractor/ccextractor.SlackBuild b/multimedia/ccextractor/ccextractor.SlackBuild index 7a211e2912..8e072caee8 100644 --- a/multimedia/ccextractor/ccextractor.SlackBuild +++ b/multimedia/ccextractor/ccextractor.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ccextractor -# Copyright 2019 Matt Dinslage, Springfield, MO +# Copyright 2023 Matt Dinslage, Springfield MO # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ccextractor -VERSION=${VERSION:-0.88} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.94} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -50,9 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Pass GUI=yes if you want to build gui support -GUI=${GUI:-"no"} - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -67,21 +61,14 @@ else LIBDIRSUFFIX="" fi -if [ "${GUI:-yes}" = "yes" ]; then - gui="--with-gui" -else - gui="" -fi - - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION/linux +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -89,31 +76,44 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Thanks gentoo for this patch! -( cd ../src ; patch -p1 < $CWD/ccextractor-0.88-fno-common.patch ) - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./autogen.sh -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-static=no \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - $gui \ - --enable-ocr \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +# Fix libdir +if [ "$ARCH" = "x86_64" ]; then +sed -i \ + -e 's|${prefix}/lib|${prefix}/lib64|g' \ + -e 's|lib/pkgconfig|lib64/pkgconfig|g' \ + -e 's|lib)|lib64)|g' \ + src/lib_ccx/CMakeLists.txt +fi + +# Fix building with new leptonica +patch -p1 < $CWD/leptonica-1.83.1.patch + +mkdir -p build +cd build + cmake ../src \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DWITHOUT_RUST=ON \ + -DWITH_OCR=ON \ + -DWITH_HARDSUBX=ON \ + -DWITH_FFMPEG=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ../LICENSE.txt ../README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.txt README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/ccextractor/ccextractor.info b/multimedia/ccextractor/ccextractor.info index 2e5ee2b47c..07374db12e 100644 --- a/multimedia/ccextractor/ccextractor.info +++ b/multimedia/ccextractor/ccextractor.info @@ -1,10 +1,10 @@ PRGNAM="ccextractor" -VERSION="0.88" +VERSION="0.94" HOMEPAGE="https://www.ccextractor.org/" -DOWNLOAD="https://github.com/CCExtractor/ccextractor/archive/v0.88/ccextractor-0.88.tar.gz" -MD5SUM="914f8704251ce24dcbb756590cf39955" +DOWNLOAD="https://github.com/CCExtractor/ccextractor/archive/v0.94/ccextractor-0.94.tar.gz" +MD5SUM="218f8f4628294fa218f2aad162bf68c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="tesseract" MAINTAINER="M.Dinslage" -EMAIL="daedra1980@gmail.com" +EMAIL="matthewdinslage@gmail.com" diff --git a/multimedia/ccextractor/leptonica-1.83.1.patch b/multimedia/ccextractor/leptonica-1.83.1.patch new file mode 100644 index 0000000000..af419af8a7 --- /dev/null +++ b/multimedia/ccextractor/leptonica-1.83.1.patch @@ -0,0 +1,36 @@ +diff -up ccextractor-0.94/src/lib_ccx/ocr.c.orig ccextractor-0.94/src/lib_ccx/ocr.c +--- ccextractor-0.94/src/lib_ccx/ocr.c.orig 2023-03-16 18:58:34.902356675 -0500 ++++ ccextractor-0.94/src/lib_ccx/ocr.c 2023-03-16 19:00:33.481092541 -0500 +@@ -1,10 +1,10 @@ + #include <math.h> +-#include "png.h" ++#include <png.h> + #include "lib_ccx.h" + #ifdef ENABLE_OCR + #include <tesseract/capi.h> +-#include "ccx_common_constants.h" + #include <leptonica/allheaders.h> ++#include "ccx_common_constants.h" + #include <dirent.h> + #include "ccx_encoders_helpers.h" + #include "ocr.h" +@@ -331,6 +331,8 @@ char *ocr_bitmap(void *arg, png_color *p + } + + BOX *crop_points = ignore_alpha_at_edge(copy->alpha, copy->data, w, h, color_pix, &color_pix_out); ++ l_int32 x, y, _w, _h; ++ boxGetGeometry(crop_points, &x, &y, &_w, &_h); + // Converting image to grayscale for OCR to avoid issues with transparency + cpix_gs = pixConvertRGBToGray(cpix, 0.0, 0.0, 0.0); + +@@ -426,8 +428,8 @@ char *ocr_bitmap(void *arg, png_color *p + { + for (int j = x1; j <= x2; j++) + { +- if (copy->data[(crop_points->y + i) * w + (crop_points->x + j)] != firstpixel) +- histogram[copy->data[(crop_points->y + i) * w + (crop_points->x + j)]]++; ++ if (copy->data[(y + i) * w + (x + j)] != firstpixel) ++ histogram[copy->data[(y + i) * w + (x + j)]]++; + } + } + /* sorted in increasing order of intensity */ diff --git a/multimedia/ccxstream/README b/multimedia/ccxstream/README index 053b4ee50a..8731d85230 100644 --- a/multimedia/ccxstream/README +++ b/multimedia/ccxstream/README @@ -1,2 +1,2 @@ -ccXStream streams media to XBMC via the XBMSP. This is a package implementing -a xbmsp streaming protocol server and a (test) client. +ccXStream streams media to XBMC via the XBMSP. This is a package +implementing a xbmsp streaming protocol server and a (test) client. diff --git a/multimedia/ccxstream/ccxstream.SlackBuild b/multimedia/ccxstream/ccxstream.SlackBuild index bf197dcadd..c70edd1453 100644 --- a/multimedia/ccxstream/ccxstream.SlackBuild +++ b/multimedia/ccxstream/ccxstream.SlackBuild @@ -30,14 +30,6 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# 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 -fi - TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -50,6 +42,11 @@ if [ -z "$ARCH" ]; then esac fi +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" diff --git a/multimedia/celluloid/README b/multimedia/celluloid/README new file mode 100644 index 0000000000..c4a7586831 --- /dev/null +++ b/multimedia/celluloid/README @@ -0,0 +1,2 @@ +Celluloid is a simple GTK+ frontend for mpv. It aims to be easy to +use while maintaining high level of configurability. diff --git a/multimedia/celluloid/celluloid.SlackBuild b/multimedia/celluloid/celluloid.SlackBuild new file mode 100644 index 0000000000..ebc1876907 --- /dev/null +++ b/multimedia/celluloid/celluloid.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for celluloid + +# Copyright 2023 Johannes Schoepfer, Germany +# 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=celluloid +VERSION=${VERSION:-0.22} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +cd $PRGNAM-$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 {} \; + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING README.md \ + $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/celluloid/celluloid.info b/multimedia/celluloid/celluloid.info new file mode 100644 index 0000000000..ac32d3de51 --- /dev/null +++ b/multimedia/celluloid/celluloid.info @@ -0,0 +1,10 @@ +PRGNAM="celluloid" +VERSION="0.22" +HOMEPAGE="https://celluloid-player.github.io/" +DOWNLOAD="https://github.com/celluloid-player/celluloid/releases/download/v0.22/celluloid-0.22.tar.xz" +MD5SUM="a464ced96f9703df9b40ec3808601ca7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="mpv" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/multimedia/celluloid/doinst.sh b/multimedia/celluloid/doinst.sh new file mode 100644 index 0000000000..401d987795 --- /dev/null +++ b/multimedia/celluloid/doinst.sh @@ -0,0 +1,15 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/multimedia/celluloid/slack-desc b/multimedia/celluloid/slack-desc new file mode 100644 index 0000000000..131952b890 --- /dev/null +++ b/multimedia/celluloid/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------------------------------------------------------| +celluloid: celluloid (Simple GTK+ frontend for mpv) +celluloid: +celluloid: Celluloid is a simple GTK+ frontend for mpv. It aims to be easy to +celluloid: use while maintaining high level of configurability. +celluloid: +celluloid: https://celluloid-player.github.io/ +celluloid: +celluloid: +celluloid: +celluloid: +celluloid: diff --git a/multimedia/cfourcc/cfourcc.SlackBuild b/multimedia/cfourcc/cfourcc.SlackBuild index f5dda08912..fdc7556adb 100644 --- a/multimedia/cfourcc/cfourcc.SlackBuild +++ b/multimedia/cfourcc/cfourcc.SlackBuild @@ -12,7 +12,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -30,8 +30,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/cinelerra/cinelerra.SlackBuild b/multimedia/cinelerra/cinelerra.SlackBuild index 4c23f9c61f..1d88525bc0 100644 --- a/multimedia/cinelerra/cinelerra.SlackBuild +++ b/multimedia/cinelerra/cinelerra.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230126 bkw: Modified by SlackBuilds.org: +# - remove false imlib2 dependency from .info file (no script changes) + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cinelerra diff --git a/multimedia/cinelerra/cinelerra.info b/multimedia/cinelerra/cinelerra.info index 4875e0f082..296f02857f 100644 --- a/multimedia/cinelerra/cinelerra.info +++ b/multimedia/cinelerra/cinelerra.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/cinelerra-gg-20210331_eabda9c.t MD5SUM="fd7a1f289192a8f1f77d0a494f8f204b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="faac faad2 imlib2 libavc1394 libdv libiec61883 mjpegtools x264" +REQUIRES="faac faad2 libavc1394 libdv libiec61883 mjpegtools x264" MAINTAINER="Danny Schmarsel" EMAIL="danny@schmarsel.de" diff --git a/multimedia/clamz/clamz.SlackBuild b/multimedia/clamz/clamz.SlackBuild index 08d30df24a..f6560c9811 100644 --- a/multimedia/clamz/clamz.SlackBuild +++ b/multimedia/clamz/clamz.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/coriander/coriander.SlackBuild b/multimedia/coriander/coriander.SlackBuild index 811c40173f..3756283bee 100644 --- a/multimedia/coriander/coriander.SlackBuild +++ b/multimedia/coriander/coriander.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for coriander -# Copyright 2015-2021 Philip Lacroix <slackph at posteo dot de> +# Copyright 2015-2022 Philip Lacroix <slackph at posteo dot de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=coriander VERSION=${VERSION:-2.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +# We'll have to use -fcommon to work around some multiple definition errors +# that would prevent compilation using GCC versions >= 10, where -fno-common +# is now default. [Reference: https://gcc.gnu.org/gcc-10/porting_to.html] + +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --enable-static=no \ diff --git a/multimedia/cowbell/cowbell.SlackBuild b/multimedia/cowbell/cowbell.SlackBuild index f396c4fac4..e5827bb4fa 100644 --- a/multimedia/cowbell/cowbell.SlackBuild +++ b/multimedia/cowbell/cowbell.SlackBuild @@ -22,7 +22,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/ctl/README b/multimedia/ctl/README index ed1def5185..ad67ec3ff4 100644 --- a/multimedia/ctl/README +++ b/multimedia/ctl/README @@ -6,10 +6,10 @@ different representations or color spaces. The Color Transformation Language, or CTL, is a small programming language that was designed to serve as a building block for digital color management systems. -CTL allows users to describe color transforms in a concise and unambiguous -way by expressing them as programs. In order to apply a given -transform to an image, the color management system instructs a CTL -interpreter to load and run the CTL program that describes the +CTL allows users to describe color transforms in a concise and +unambiguous way by expressing them as programs. In order to apply a +given transform to an image, the color management system instructs +a CTL interpreter to load and run the CTL program that describes the transform. The original and the transformed image constitute the CTL program's input and output. diff --git a/multimedia/ctl/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch b/multimedia/ctl/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch new file mode 100644 index 0000000000..e4fadf1aa0 --- /dev/null +++ b/multimedia/ctl/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch @@ -0,0 +1,399 @@ +From db1cccd9cee830f8822521f2c401ea74ad161360 Mon Sep 17 00:00:00 2001 +From: Jonathan Scruggs <j.scruggs@gmail.com> +Date: Mon, 25 Sep 2017 17:41:26 +0100 +Subject: [PATCH] CTL: Use GNUInstallDirs and fix PkgConfig files + +* GNUInstallDirs are variables set by each distro and OS, so we + don't need to define them manually. They can also be set manually + during the configure phase. The code to define custom directories can + be removed and replaced with the equivalent GNUInstallDirs variable. +* Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully + utilized everywhere. This makes Pkg-Config a hard dependency so that + the libraries and directories can be found easily. This will use the + correct libraries no matter how they are named, so this is compatible + with both pre-2.0 and post 2.0 naming schemes. +* The Pkg-Config files had several errors that are now fixed. + +Upstream PR: https://github.com/ampas/CTL/pull/67 +--- + CMakeLists.txt | 36 ++++++++--------------------- + OpenEXR_CTL/CMakeLists.txt | 2 +- + OpenEXR_CTL/CtlModules/CMakeLists.txt | 2 +- + OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt | 4 ++-- + OpenEXR_CTL/exrdpx/CMakeLists.txt | 4 ++-- + config/CTL.pc.in | 8 +++---- + config/OpenEXR_CTL.pc.in | 15 ++++++------- + configure.cmake | 41 ++++++++++++++++------------------ + ctlrender/CMakeLists.txt | 20 ++++++++--------- + doc/CMakeLists.txt | 2 +- + lib/IlmCtl/CMakeLists.txt | 4 ++-- + lib/IlmCtlMath/CMakeLists.txt | 4 ++-- + lib/IlmCtlSimd/CMakeLists.txt | 6 ++--- + lib/IlmImfCtl/CMakeLists.txt | 6 ++--- + lib/dpx/CMakeLists.txt | 1 + + 15 files changed, 66 insertions(+), 89 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 01f622c..35e9a48 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,22 +1,14 @@ + cmake_minimum_required(VERSION 2.8) + project( CTL ) + ++INCLUDE ( GNUInstallDirs ) ++ + set( CTL_MAJOR_VERSION 1 ) + set( CTL_MINOR_VERSION 5 ) +-set( CTL_PATCH_VERSION 0 ) ++set( CTL_PATCH_VERSION 2 ) + set( CTL_VERSION ${CTL_MAJOR_VERSION}.${CTL_MINOR_VERSION}.${CTL_PATCH_VERSION} ) + +-## Make install directories overrideable +-set( INSTALL_LIB_DIR lib CACHE PATH "Install directory for libraries" ) +-set( INSTALL_BIN_DIR bin CACHE PATH "Install directory for executable binaries" ) +-set( INSTALL_INCLUDE_DIR include CACHE PATH "Install directory for public header files" ) +-set( INSTALL_DOC_DIR doc CACHE PATH "Install directory for documentation" ) +-if( WIN32 AND NOT CYGWIN ) +- set(DEF_INSTALL_CMAKE_DIR CMake) +-else() +- set(DEF_INSTALL_CMAKE_DIR lib/CMake/CTL) +-endif() +-set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Install directory for project CMake files" ) ++set(INSTALL_CMAKE_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/cmake/CTL CACHE PATH "Install directory for project CMake files" ) + + # use, i.e. don't skip the full RPATH for the build tree + SET(CMAKE_SKIP_BUILD_RPATH FALSE) +@@ -28,20 +20,11 @@ SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) + # which point to directories outside the build tree to the install RPATH + SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + # the RPATH to be used when installing, but only if it's not a system directory +-LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) ++LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_FULL_LIBDIR}" isSystemDir) + IF("${isSystemDir}" STREQUAL "-1") +- SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") ++ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") + ENDIF("${isSystemDir}" STREQUAL "-1") + +- +-## convert install paths to absolute +-foreach( p LIB BIN INCLUDE CMAKE DOC) +- set( var INSTALL_${p}_DIR ) +- if( NOT IS_ABSOLUTE "${${var}}" ) +- set( ${var} "${CMAKE_INSTALL_PREFIX}/${${var}}" ) +- endif() +-endforeach() +- + option(ENABLE_SHARED "Enable Shared Libraries" ON) + + if ( ENABLE_SHARED ) +@@ -70,20 +53,19 @@ export( TARGETS IlmCtl IlmCtlMath IlmCtlSimd FILE "${PROJECT_BINARY_DIR}/CTLLibr + export(PACKAGE CTL) + + # Create a CTLBuildTreeSettings.cmake file for the use from the build tree +-file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${INSTALL_CMAKE_DIR}" "${INSTALL_INCLUDE_DIR}") ++file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${INSTALL_CMAKE_DIR}" "${CMAKE_INSTALL_FULL_INCLUDEDIR}") + configure_file(config/CTLBuildTreeSettings.cmake.in "${PROJECT_BINARY_DIR}/CTLBuildTreeSettings.cmake" @ONLY) + configure_file(config/CTLConfig.cmake.in "${PROJECT_BINARY_DIR}/CTLConfig.cmake" @ONLY) + configure_file(config/CTLConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/CTLConfigVersion.cmake" @ONLY) + + if ( PKG_CONFIG_FOUND ) + configure_file(config/CTL.pc.in "${PROJECT_BINARY_DIR}/CTL.pc" @ONLY) +-install( FILES "${PROJECT_BINARY_DIR}/CTL.pc" DESTINATION lib/pkgconfig COMPONENT dev ) ++install( FILES "${PROJECT_BINARY_DIR}/CTL.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT dev ) + endif() + + install( FILES + "${PROJECT_BINARY_DIR}/CTLConfig.cmake" + "${PROJECT_BINARY_DIR}/CTLConfigVersion.cmake" ++ "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake" + DESTINATION "${INSTALL_CMAKE_DIR}" COMPONENT dev) +-install(FILES "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake" DESTINATION +- "${INSTALL_CMAKE_DIR}" COMPONENT dev) + +diff --git a/OpenEXR_CTL/CMakeLists.txt b/OpenEXR_CTL/CMakeLists.txt +index c1ca53e..3f19dd4 100644 +--- a/OpenEXR_CTL/CMakeLists.txt ++++ b/OpenEXR_CTL/CMakeLists.txt +@@ -13,7 +13,7 @@ add_custom_target( OpenEXR_CTL DEPENDS CtlModules exrdpx exr_ctl_exr ) + + if ( PKG_CONFIG_FOUND ) + configure_file(../config/OpenEXR_CTL.pc.in "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" @ONLY) +-install( FILES "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" DESTINATION lib/pkgconfig COMPONENT dev ) ++install( FILES "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT dev ) + endif() + + # TODO CMake config +diff --git a/OpenEXR_CTL/CtlModules/CMakeLists.txt b/OpenEXR_CTL/CtlModules/CMakeLists.txt +index c63c22e..9c9e5b8 100644 +--- a/OpenEXR_CTL/CtlModules/CMakeLists.txt ++++ b/OpenEXR_CTL/CtlModules/CMakeLists.txt +@@ -2,6 +2,6 @@ install( + FILES + utilities.ctl + DESTINATION +- ${INSTALL_LIB_DIR}/CTL ++ ${CMAKE_INSTALL_LIBDIR}/CTL + ) + +diff --git a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt +index e396ec5..1f0eea0 100644 +--- a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt ++++ b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt +@@ -20,6 +20,6 @@ target_link_libraries( exr_ctl_exr IlmCtlSimd IlmCtlMath IlmCtl IlmImfCtl ) + target_link_libraries( exr_ctl_exr ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} ) + target_link_libraries( exr_ctl_exr ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} ) + +-install( TARGETS exr_ctl_exr DESTINATION ${INSTALL_BIN_DIR} ) ++install( TARGETS exr_ctl_exr DESTINATION ${CMAKE_INSTALL_BINDIR} ) + +-install( FILES change_saturation.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL ) ++install( FILES change_saturation.ctl DESTINATION ${CMAKE_INSTALL_LIBDIR}/CTL ) +diff --git a/OpenEXR_CTL/exrdpx/CMakeLists.txt b/OpenEXR_CTL/exrdpx/CMakeLists.txt +index 50bd116..d9eadd8 100644 +--- a/OpenEXR_CTL/exrdpx/CMakeLists.txt ++++ b/OpenEXR_CTL/exrdpx/CMakeLists.txt +@@ -20,8 +20,8 @@ target_link_libraries( exrdpx IlmCtlSimd IlmCtlMath IlmCtl IlmImfCtl ) + target_link_libraries( exrdpx ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} ) + target_link_libraries( exrdpx ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} ) + +-install( TARGETS exrdpx DESTINATION ${INSTALL_BIN_DIR} ) ++install( TARGETS exrdpx DESTINATION ${CMAKE_INSTALL_BINDIR} ) + +-install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL ) ++install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${CMAKE_INSTALL_LIBDIR}/CTL ) + + +diff --git a/config/CTL.pc.in b/config/CTL.pc.in +index 6d6e732..9b212a4 100644 +--- a/config/CTL.pc.in ++++ b/config/CTL.pc.in +@@ -1,8 +1,6 @@ +-prefix=@CMAKE_INSTALL_PREFIX@ +-exec_prefix=@INSTALL_BIN_DIR@ +-libdir=@INSTALL_LIB_DIR@ +-includedir=@INSTALL_INCLUDE_DIR@ +-CTL_includedir=@INSTALL_INCLUDE_DIR@/CTL ++libdir=@CMAKE_INSTALL_FULL_LIBDIR@ ++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ ++CTL_includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/CTL + + Name: CTL + Description: CTL interpreter library +diff --git a/config/OpenEXR_CTL.pc.in b/config/OpenEXR_CTL.pc.in +index 4cef5c6..39a1a3f 100644 +--- a/config/OpenEXR_CTL.pc.in ++++ b/config/OpenEXR_CTL.pc.in +@@ -1,11 +1,10 @@ +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ +-libdir=@libdir@ +-includedir=@includedir@ +-OpenEXR_includedir=@includedir@/OpenEXR ++libdir=@CMAKE_INSTALL_FULL_LIBDIR@ ++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ ++OpenEXR_includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/OpenEXR + + Name: OpenEXR_CTL + Description: Simplified OpenEXR interface to CTL +-Version: @OPENEXR_CTL_VERSION@ +-Libs: -L${libdir} -lIlmImfCtl @OPENEXR_LDFLAGS@ @CTL_LDFLAGS@ +-Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir} ++Version: @CTL_VERSION@ ++Libs: -L${libdir} -lIlmImfCtl ++Cflags: -I${OpenEXR_includedir} ++Requires: CTL,OpenEXR +diff --git a/configure.cmake b/configure.cmake +index 1817071..eb7e14e 100644 +--- a/configure.cmake ++++ b/configure.cmake +@@ -1,10 +1,7 @@ +-# Until we get some of these modules into the upstream packages, put them here +-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") +-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_INSTALL_PREFIX}/share/CMake") ++# Make Pkg-Config required. ++find_package( PkgConfig ) + +-find_package( PkgConfig QUIET ) +- +-find_package( IlmBase QUIET ) ++PKG_CHECK_MODULES ( IlmBase REQUIRED IlmBase ) + if(IlmBase_FOUND) + message( STATUS "found IlmBase, version ${IlmBase_VERSION}" ) + ### +@@ -13,11 +10,11 @@ if(IlmBase_FOUND) + ### + include_directories( ${IlmBase_INCLUDE_DIRS} ) + link_directories( ${IlmBase_LIBRARY_DIRS} ) +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${IlmBase_CFLAGS}" ) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IlmBase_CFLAGS}" ) +- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${IlmBase_LDFLAGS}" ) +- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${IlmBase_LDFLAGS}" ) +- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${IlmBase_LDFLAGS}" ) ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${IlmBase_CFLAGS_OTHER}" ) ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IlmBase_CFLAGS_OTHER}" ) ++ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" ) ++ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" ) ++ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" ) + else() + message( SEND_ERROR "IlmBase not found, please set the include and library paths manually" ) + endif() +@@ -39,20 +36,20 @@ else() + endif() + endif() + +-find_package( OpenEXR QUIET ) ++PKG_CHECK_MODULES ( OpenEXR REQUIRED OpenEXR ) + if (OpenEXR_FOUND) + message( STATUS "Found OpenEXR, version ${OpenEXR_VERSION}" ) + else() + message( WARNING "Unable to find OpenEXR libraries, disabling" ) + endif() + +-find_package( AcesContainer ) +-if (AcesContainer_FOUND) +- message( STATUS "Found AcesContainer, version ${AcesContainer_VERSION}" ) +-else() +- if ( PKG_CONFIG_FOUND ) +- pkg_check_modules( AcesContainer AcesContainer ) +- else() +- message( WARNING "Unable to find AcesContainer libraries, disabling" ) +- endif() +-endif() ++find_package( AcesContainer ) ++ if (AcesContainer_FOUND) ++ message( STATUS "Found AcesContainer, version ${AcesContainer_VERSION}" ) ++ else() ++ if ( PKG_CONFIG_FOUND ) ++ pkg_check_modules( AcesContainer AcesContainer ) ++ else() ++ message( WARNING "Unable to find AcesContainer libraries, disabling" ) ++ endif() ++ endif() +diff --git a/ctlrender/CMakeLists.txt b/ctlrender/CMakeLists.txt +index 9fced14..d97093d 100644 +--- a/ctlrender/CMakeLists.txt ++++ b/ctlrender/CMakeLists.txt +@@ -11,12 +11,12 @@ include_directories( ${OpenEXR_INCLUDE_DIRS} ) + link_directories( ${OpenEXR_LIBRARY_DIRS} ) + endif() + +-if ( AcesContainer_FOUND ) +-add_definitions( -DHAVE_ACESFILE=1 ) +-include_directories( ${AcesContainer_INCLUDE_DIRS} ) +-link_directories( ${AcesContainer_LIBRARY_DIRS} ) +-endif() +- ++if ( AcesContainer_FOUND ) ++add_definitions( -DHAVE_ACESFILE=1 ) ++include_directories( ${AcesContainer_INCLUDE_DIRS} ) ++link_directories( ${AcesContainer_LIBRARY_DIRS} ) ++endif() ++ + include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/lib/IlmCtl" "${PROJECT_SOURCE_DIR}/lib/IlmCtlMath" "${PROJECT_SOURCE_DIR}/lib/IlmCtlSimd" "${PROJECT_SOURCE_DIR}/lib/dpx" ) + + add_executable( ctlrender +@@ -41,9 +41,9 @@ if (OpenEXR_FOUND) + target_link_libraries( ctlrender ${OpenEXR_LIBRARIES} ) + target_link_libraries( ctlrender ${OpenEXR_LDFLAGS_OTHER} ) + endif() +-if (AcesContainer_FOUND) +-target_link_libraries( ctlrender ${AcesContainer_LIBRARIES} ) +-target_link_libraries( ctlrender ${AcesContainer_LDFLAGS_OTHER} ) ++if (AcesContainer_FOUND) ++target_link_libraries( ctlrender ${AcesContainer_LIBRARIES} ) ++target_link_libraries( ctlrender ${AcesContainer_LDFLAGS_OTHER} ) + endif() + +-install( TARGETS ctlrender DESTINATION bin ) ++install( TARGETS ctlrender DESTINATION ${CMAKE_INSTALL_BINDIR} ) +diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt +index 0b123d0..9776205 100644 +--- a/doc/CMakeLists.txt ++++ b/doc/CMakeLists.txt +@@ -1 +1 @@ +-install( FILES CtlManual.pdf CtlManual.doc DESTINATION doc/CTL ) ++install( FILES CtlManual.pdf CtlManual.doc DESTINATION ${CMAKE_INSTALL_DOCDIR} ) +diff --git a/lib/IlmCtl/CMakeLists.txt b/lib/IlmCtl/CMakeLists.txt +index 3672a43..ef301bd 100644 +--- a/lib/IlmCtl/CMakeLists.txt ++++ b/lib/IlmCtl/CMakeLists.txt +@@ -22,7 +22,7 @@ add_library( IlmCtl ${DO_SHARED} + ) + + target_link_libraries( IlmCtl ${IlmBase_LDFLAGS_OTHER} ) +-target_link_libraries( IlmCtl Iex IlmThread Half ) ++target_link_libraries( IlmCtl ${IlmBase_LIBRARIES} ) + + set_target_properties( IlmCtl PROPERTIES + VERSION ${CTL_VERSION} +@@ -50,4 +50,4 @@ install( FILES + CtlVersion.h + DESTINATION include/CTL ) + +-install( TARGETS IlmCtl DESTINATION lib ) ++install( TARGETS IlmCtl DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +diff --git a/lib/IlmCtlMath/CMakeLists.txt b/lib/IlmCtlMath/CMakeLists.txt +index 96738cf..6997c74 100644 +--- a/lib/IlmCtlMath/CMakeLists.txt ++++ b/lib/IlmCtlMath/CMakeLists.txt +@@ -18,8 +18,8 @@ install( FILES + CtlLookupTable.h + CtlRbfInterpolator.h + CtlSparseMatrix.h +- DESTINATION include/CTL ) ++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/CTL ) + +-install( TARGETS IlmCtlMath DESTINATION lib ) ++install( TARGETS IlmCtlMath DESTINATION ${CMAKE_INSTALL_LIBDIR} ) + + # TODO Add Imath and Iex libadd dependency and version info +diff --git a/lib/IlmCtlSimd/CMakeLists.txt b/lib/IlmCtlSimd/CMakeLists.txt +index 2ba792a..5eaf87d 100644 +--- a/lib/IlmCtlSimd/CMakeLists.txt ++++ b/lib/IlmCtlSimd/CMakeLists.txt +@@ -1,7 +1,7 @@ + include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/lib/IlmCtl" "${PROJECT_SOURCE_DIR}/lib/IlmCtlMath" ) + + add_executable( halfExpLogTable halfExpLogTable.cpp ) +-target_link_libraries( halfExpLogTable Half ) ++target_link_libraries( halfExpLogTable ${IlmBase_LIBRARIES} ) + + add_custom_command( OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/halfExpLogTable.h" + COMMAND halfExpLogTable "${CMAKE_CURRENT_BINARY_DIR}/halfExpLogTable.h" "${CMAKE_CURRENT_BINARY_DIR}/halfExpLog.h" +@@ -40,6 +40,6 @@ set_target_properties( IlmCtlSimd PROPERTIES + SOVERSION ${CTL_VERSION} + ) + +-install( FILES CtlSimdInterpreter.h DESTINATION include/CTL ) ++install( FILES CtlSimdInterpreter.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/CTL ) + +-install( TARGETS IlmCtlSimd DESTINATION lib ) ++install( TARGETS IlmCtlSimd DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +diff --git a/lib/IlmImfCtl/CMakeLists.txt b/lib/IlmImfCtl/CMakeLists.txt +index 47563df..784e27f 100644 +--- a/lib/IlmImfCtl/CMakeLists.txt ++++ b/lib/IlmImfCtl/CMakeLists.txt +@@ -7,10 +7,10 @@ add_library( IlmImfCtl ${DO_SHARED} + ImfCtlCopyFunctionArg.cpp + ) + +-target_link_libraries( IlmImfCtl IlmCtl IlmImf Iex IlmThread Half ) ++target_link_libraries( IlmImfCtl IlmCtl ${OpenEXR_LIBRARIES} ${IlmBase_LIBRARIES} ) + +-install( FILES ImfCtlApplyTransforms.h DESTINATION include/OpenEXR ) ++install( FILES ImfCtlApplyTransforms.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenEXR ) + + export( TARGETS IlmImfCtl IlmCtl FILE "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake" ) + +-install( TARGETS IlmImfCtl DESTINATION lib ) ++install( TARGETS IlmImfCtl DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +diff --git a/lib/dpx/CMakeLists.txt b/lib/dpx/CMakeLists.txt +index c8be26e..918890e 100644 +--- a/lib/dpx/CMakeLists.txt ++++ b/lib/dpx/CMakeLists.txt +@@ -11,3 +11,4 @@ add_library( ctldpx + dpx_rw.cc + ) + ++target_link_libraries( ctldpx ${IlmBase_LIBRARIES} ) diff --git a/multimedia/ctl/ctl.SlackBuild b/multimedia/ctl/ctl.SlackBuild index 8db6239b97..b29fa6ede5 100644 --- a/multimedia/ctl/ctl.SlackBuild +++ b/multimedia/ctl/ctl.SlackBuild @@ -4,13 +4,16 @@ # Copyright 2016 Klaatu, Wellington NZ # All rights reserved. -# + +# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix build on 15.0. +# - move .doc and .pdf documentation to our doc dir. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ctl VERSION=${VERSION:-1.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +25,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -59,9 +59,16 @@ cd CTL-$PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ || true + +# 20220223 bkw: patches comes from AUR and/or gentoo. +patch -p1 < $CWD/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch +patch -p1 < $CWD/ilmbase-2.3.0-compatibility.patch + +# 20220223 bkw: C++, the ever-moving target... +sed -i -e 's,std::istream::streampos,std::streampos,g' lib/dpx/dpx.hh PKG_CONFIG_PATH="$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig:$PKG_CONFIG_PATH" \ CFLAGS="$SLKCFLAGS" \ @@ -71,32 +78,19 @@ cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_EXE_LINKER_FLAGS="-lAcesContainer" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_CMAKE_DIR=/usr/lib${LIBDIRSUFFIX} \ -DINSTALL_LIB_DIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. make - make install DESTDIR=$PKG - - #brute force to conform to LIBDIRSUFFIX post facto - #installer as written hardcode some files to usr/lib - if [ -n "$LIBDIRSUFFIX" ]; then - mv $PKG/usr/lib/* $PKG/usr/lib${LIBDIRSUFFIX} - rmdir $PKG/usr/lib || false - fi - + make install/strip DESTDIR=$PKG cd .. -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 - -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS LICENSE CHANGELOG README.md $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/CTL/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/ctl/ilmbase-2.3.0-compatibility.patch b/multimedia/ctl/ilmbase-2.3.0-compatibility.patch new file mode 100644 index 0000000000..48555c17a6 --- /dev/null +++ b/multimedia/ctl/ilmbase-2.3.0-compatibility.patch @@ -0,0 +1,11 @@ +--- a/lib/IlmCtlSimd/CtlSimdInst.cpp.orig 2014-06-03 01:11:24 UTC ++++ b/lib/IlmCtlSimd/CtlSimdInst.cpp +@@ -189,7 +189,7 @@ SimdInst::executePath (SimdBoolMask &mas + REPLACE_EXC + (e, "\n" << + xcontext.fileName() << ":" << +- inst->lineNumber() << ": " << e); ++ inst->lineNumber() << ": " << e.what()); + + throw e; + } diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild index cde233ee86..e464fe62d1 100644 --- a/multimedia/cuetools/cuetools.SlackBuild +++ b/multimedia/cuetools/cuetools.SlackBuild @@ -26,7 +26,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/cuetools/cuetools.info b/multimedia/cuetools/cuetools.info index 737fc91b7e..a20735c6c1 100644 --- a/multimedia/cuetools/cuetools.info +++ b/multimedia/cuetools/cuetools.info @@ -1,7 +1,7 @@ PRGNAM="cuetools" VERSION="1.4.1" HOMEPAGE="https://github.com/svend/cuetools" -DOWNLOAD="https://github.com/svend/cuetools/archive/1.4.1.tar.gz" +DOWNLOAD="https://github.com/svend/cuetools/archive/1.4.1/cuetools-1.4.1.tar.gz" MD5SUM="b1f365fc7ab02eff4b58b6a54ecee080" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/davs2/README b/multimedia/davs2/README new file mode 100644 index 0000000000..f91a5653fa --- /dev/null +++ b/multimedia/davs2/README @@ -0,0 +1,4 @@ +davs2 is an open-source decoder of +AVS2-P2/IEEE1857.4 video coding standard. + +davs2 is an optional dependency of FFmpeg. diff --git a/multimedia/davs2/davs2.SlackBuild b/multimedia/davs2/davs2.SlackBuild new file mode 100644 index 0000000000..edf3fed070 --- /dev/null +++ b/multimedia/davs2/davs2.SlackBuild @@ -0,0 +1,123 @@ +#!/bin/bash + +# Slackware build script for davs2 + +# Copyright 2022 Vijay Marcel + +# 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=davs2 +VERSION=${VERSION:-1.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "arm" ] ; then + ASSEMBLY_OPT="--disable-asm" +else + ASSEMBLY_OPT="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +cd build/linux/ +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --enable-shared \ + --system-libdavs2 \ + --enable-lto \ + --enable-strip \ + --bit-depth='8' \ + $ASSEMBLY_OPT \ + --chroma-format='all' + +make +make install DESTDIR=$PKG + +cd ../.. + +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 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/davs2/davs2.info b/multimedia/davs2/davs2.info new file mode 100644 index 0000000000..efb0d6d964 --- /dev/null +++ b/multimedia/davs2/davs2.info @@ -0,0 +1,10 @@ +PRGNAM="davs2" +VERSION="1.7" +HOMEPAGE="https://github.com/pkuvcl/davs2" +DOWNLOAD="https://github.com/pkuvcl/davs2/archive/1.7/davs2-1.7.tar.gz" +MD5SUM="d1558a5413b6691ad9c867cbd5c765aa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/podcastparser/slack-desc b/multimedia/davs2/slack-desc index 6c634dd29b..a3e946b9b3 100644 --- a/multimedia/podcastparser/slack-desc +++ b/multimedia/davs2/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -podcastparser: podcastparser (Python RSS feed parser) -podcastparser: -podcastparser: podcastparser is a podcast parser written in Python. -podcastparser: -podcastparser: -podcastparser: Homepage: http://gpodder.org/podcastparser/ -podcastparser: -podcastparser: -podcastparser: -podcastparser: -podcastparser: + |-----handy-ruler------------------------------------------------------| +davs2: davs2 (AVS2 Decoder) +davs2: +davs2: davs2 is an open source decoder of AVS2 Video decoding +davs2: standard +davs2: +davs2: Homepage: https//github.com/pkuvcl/davs2 +davs2: +davs2: +davs2: +davs2: +davs2: diff --git a/multimedia/dirac/README b/multimedia/dirac/README index e8f98707d4..989d416d04 100644 --- a/multimedia/dirac/README +++ b/multimedia/dirac/README @@ -1,3 +1,3 @@ -Dirac is a open and royalty free high quality codec developed by BBC Research. -The name Dirac is now mostly use to refer to the algorithm and specs while -dirac-research is the name of the implementation. +Dirac is a open and royalty free high quality codec developed by BBC +Research. The name Dirac is now mostly use to refer to the algorithm +and specs while dirac-research is the name of the implementation. diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild index d57013a00f..0af0391e78 100644 --- a/multimedia/dirac/dirac.SlackBuild +++ b/multimedia/dirac/dirac.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dirac VERSION=${VERSION:-1.0.2} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -113,6 +113,8 @@ cp -a AUTHORS ChangeLog COPYING INSTALL \ NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/droidcam/Droidcam.desktop b/multimedia/droidcam/Droidcam.desktop deleted file mode 100644 index b8c1f92f9c..0000000000 --- a/multimedia/droidcam/Droidcam.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=DroidCam -Comment=Use your phone as a webcam -TryExec=/usr/bin/droidcam -Exec=/usr/bin/droidcam -Icon=icon2.png -Terminal=false -Type=Application -Categories=Video;AudioVideo; diff --git a/multimedia/droidcam/README b/multimedia/droidcam/README index 1c5059f484..354a218a76 100644 --- a/multimedia/droidcam/README +++ b/multimedia/droidcam/README @@ -1,17 +1,21 @@ DroidCam -DroidCam turns your phone/tablet into a webcam for your PC. -Use it with chat programs like Zoom, MS Teams, and Skype. +DroidCam turns your phone/tablet into a webcam for your PC. Use + it with chat programs like Zoom, MS Teams, and Skype. Main Features: -– Chat using “DroidCam Webcam†on your computer, including Sound and Picture. +– Chat using “DroidCam Webcam†on your computer, including Sound +and Picture. – Connect over WiFi or USB cable. – Unlimited free usage with standard definition. – Keep using your phone while DroidCam is in background (Android). -– Simple, safe, efficient, and trusted by millions of people worldwide. +– Simple, safe, efficient, and trusted by millions of people +worldwide. -The GNU/Linux client is a combination an executable app that connects to -the phone, and Video4Linux and ALSA loopback drivers. +The GNU/Linux client is a combination an executable app that +connects to the phone, and Video4Linux and ALSA loopback drivers. + +It’s assumed you are somewhat familiar with the system and how to +use the Terminal. Please keep in mind other posts on the site are +Windows oriented. -It’s assumed you are somewhat familiar with the system and how to use the -Terminal. Please keep in mind other posts on the site are Windows oriented. diff --git a/multimedia/droidcam/README.SLACKWARE b/multimedia/droidcam/README.SLACKWARE index c4c7f8ca08..a91a930ff9 100644 --- a/multimedia/droidcam/README.SLACKWARE +++ b/multimedia/droidcam/README.SLACKWARE @@ -1,41 +1,24 @@ Droidcam Slackware -After installing the package, a file to load the video audio modules will be -created in "/etc/rc.d" called "rc.droidcam", +Probably the camera and microphone modules of the cell +phone will not be loaded at startup, being necessary to +add the following lines in the file "rc.modules.local". -If the module responsible for functional the camera is not working the -file is already with execution permission, only need run. +/sbin/modprobe v4l2loopback-dc +/sbin/modprobe snd-aloop -chmod +x /etc/rc.d/rc.droidcam -/etc/rc.d/rc.droidcam start -Probably the camera and microphone modules of the cell phone will not be -loaded at startup, being necessary to add the -following lines in the file "rc.local". +It is important to install the dkms package because it +manages the v412loopback-dc video module. to compile the +module automatically when the kernel is updated. +Added this lines in rc.modules.local. -if [-x /etc/rc.d/rc.droidcam]; then - /etc/rc.d/rc.droidcam start &> / dev / null -fi - -If you prefer to add in rc.shutdown. +# Enable DKMS module rebuilding -if [-x /etc/rc.d/rc.droidcam]; then - /etc/rc.d/rc.droidcam stop &> / dev / null +if [ -x /usr/lib/dkms/dkms_autoinstaller ]; then + echo "Running DKMS autoinstaller" + /usr/lib/dkms/dkms_autoinstaller start fi -Whenever you upgrade the kernel you need to reinstall the package so that the -module is recompiled on the new kernel. - - -When you need to uninstall the package The camera video driver will still be -installed and you need to remove manually if you can. - -Login as root. - -rmmod -f v4l2loopback_dc -rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/v4l2loopback-dc.ko - -For more informations. -https://www.dev47apps.com/droidcam/linux/ diff --git a/multimedia/droidcam/dkms.conf b/multimedia/droidcam/dkms.conf new file mode 100644 index 0000000000..6a926bc32c --- /dev/null +++ b/multimedia/droidcam/dkms.conf @@ -0,0 +1,5 @@ +PACKAGE_NAME="v4l2loopback-dc" +PACKAGE_VERSION="1.8.2" +BUILT_MODULE_NAME[0]="v4l2loopback-dc" +DEST_MODULE_LOCATION[0]="/kernel/drivers/media/video/v4l2loopback-dc" +AUTOINSTALL="yes"
\ No newline at end of file diff --git a/multimedia/droidcam/doinst.sh b/multimedia/droidcam/doinst.sh index 02d9e036da..4c9ca03538 100644 --- a/multimedia/droidcam/doinst.sh +++ b/multimedia/droidcam/doinst.sh @@ -1,3 +1,6 @@ +VERSION="1.8.2" +MODULE="v4l2loopback-dc" + if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -6,10 +9,22 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi -if [ -d /opt/droidcam-1.7.2 ]; then - cd /opt/droidcam-1.7.2 && ./install-video >/dev/null 2>&1 -fi +_installModule(){ + + cp -r /tmp/SBo/$MODULE-$VERSION /usr/src/ + dkms add -m $MODULE -v $VERSION + dkms build -m $MODULE -v $VERSION + dkms install -m $MODULE -v $VERSION + /sbin/modprobe $MODULE + /sbin/modprobe snd-aloop +} + +if [ "lsmod | grep v4l2loopback_dc" ]; then + + _installModule + +else + + echo "Module v4l2loopback_dc installed" -if [ -d /opt/droidcam-1.7.2 ]; then - cd /opt/droidcam-1.7.2 && ./install-sound >/dev/null 2>&1 fi diff --git a/multimedia/droidcam/douninst.sh b/multimedia/droidcam/douninst.sh new file mode 100644 index 0000000000..4406ab4609 --- /dev/null +++ b/multimedia/droidcam/douninst.sh @@ -0,0 +1,7 @@ + + VERSION="1.8.2" + MODULE="v4l2loopback-dc" + +dkms remove -m $MODULE/$VERSION --all >/dev/null 2>&1 +rm -rf /usr/src/$MODULE-$VERSION >/dev/null 2>&1 +rmmod -f v4l2loopback-dc >/dev/null 2>&1 diff --git a/multimedia/droidcam/droidcam.SlackBuild b/multimedia/droidcam/droidcam.SlackBuild index e6f8c1a6c4..1297ce75f7 100644 --- a/multimedia/droidcam/droidcam.SlackBuild +++ b/multimedia/droidcam/droidcam.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=droidcam -VERSION=${VERSION:-1.7.2} +VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,14 +39,12 @@ if [ -z "$ARCH" ]; then esac 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 fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -84,32 +82,34 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ + +MODULE="v4l2loopback-dc" + #Prepare folder to install -mkdir -p $PKG/etc/modprobe.d +mkdir -p $PKG/usr/src/$MODULE-$VERSION +cp -r $TMP/$PRGNAM-$VERSION/v4l2loopback $TMP/$MODULE-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/share/icons mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/bin -mkdir -p $PKG/opt -touch $PKG/etc/modprobe.d/$PRGNAM.conf -cp -r $TMP/$PRGNAM-$VERSION $PKG/opt/$PRGNAM-$VERSION -cat $TMP/$PRGNAM-$VERSION/uninstall > $PKG/opt/$PRGNAM-uninstall -cp -a $TMP/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM -cp -a $TMP/$PRGNAM-$VERSION/$PRGNAM-cli $PKG/usr/bin/$PRGNAM-cli -cp -a $TMP/$PRGNAM-$VERSION/icon2.png $PKG/usr/share/icons/icon2.png -cp -a $TMP/$PRGNAM-$VERSION/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop +cat $CWD/dkms.conf > $TMP/$MODULE-$VERSION/dkms.conf +cp -a $TMP/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM +strip -s $PKG/usr/bin/$PRGNAM +cp -a $TMP/$PRGNAM-$VERSION/icon2.png $PKG/usr/share/icons/droidcam.png +cp -a $TMP/$PRGNAM-$VERSION/droidcam.desktop $PKG/usr/share/applications/Droidcam.desktop + +sed -i "5,6s/local\///" $PKG/usr/share/applications/Droidcam.desktop +sed -i "7s/.*/Icon=\/usr\/share\/icons\/droidcam.png/" $PKG/usr/share/applications/Droidcam.desktop #Documentation -cp -a $CWD/README* $PKG/usr/doc/$PRGNAM-$VERSION/ +cp $CWD/README* $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -#Script for run modules -cp $CWD/rc.$PRGNAM.new /etc/rc.d/rc.$PRGNAM - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/douninst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/droidcam/droidcam.info b/multimedia/droidcam/droidcam.info index 99a351fca8..c249de346e 100644 --- a/multimedia/droidcam/droidcam.info +++ b/multimedia/droidcam/droidcam.info @@ -1,10 +1,10 @@ PRGNAM="droidcam" -VERSION="1.7.2" +VERSION="2.1.3" HOMEPAGE="https://www.dev47apps.com/" -DOWNLOAD="https://files.dev47apps.net/linux/droidcam_1.7.2.zip" -MD5SUM="fada5d691f7f358cd66182ae2214b25f" +DOWNLOAD="https://files.dev47apps.net/linux/droidcam_2.1.3.zip" +MD5SUM="9e4034e81ba9be6c9a37d6f38c4d4f62" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="android-tools" -MAINTAINER="Andreo F. Rissardo" +REQUIRES="android-tools dkms" +MAINTAINER="Andreo Rissardo" EMAIL="andreotec@gmail.com" diff --git a/multimedia/droidcam/rc.droidcam.new b/multimedia/droidcam/rc.droidcam.new deleted file mode 100644 index e6d244fece..0000000000 --- a/multimedia/droidcam/rc.droidcam.new +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash - - - - - - -case $1 in -start) - modprobe snd-aloop && modprobe v4l2loopback_dc - - -;; - -stop) - rmmod -f snd-aloop && rmmod -f v4l2loopback_dc - -;; - - - -restart) - - $0 stop - - - $0 start -;; - - -*) - echo 'Run only "/etc/rc.d/rc.droidcam start | stop| restart"' - ;; -esac diff --git a/multimedia/droidcam/slack-desc b/multimedia/droidcam/slack-desc index fb7c41ae03..52ffa083b1 100644 --- a/multimedia/droidcam/slack-desc +++ b/multimedia/droidcam/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -droidcam: droicam (Use your phone as a webcam!) +droidcam: droidcam (Use your phone as a webcam!) droidcam: droidcam: DroidCam turns your phone/tablet into a webcam for your PC. Use it droidcam: with chat programs like Zoom, MS Teams, and Skype. The app works with droidcam: a PC Client component that installs the webcam drivers, and connects droidcam: the computer to your mobile. -droidcam: -droidcam: +droidcam: +droidcam: droidcam: droidcam: https://www.dev47apps.com/ droidcam: diff --git a/multimedia/dsmidiwifi/README b/multimedia/dsmidiwifi/README index 4fcb4e5a8c..83f9efa07f 100644 --- a/multimedia/dsmidiwifi/README +++ b/multimedia/dsmidiwifi/README @@ -1,8 +1,8 @@ -An application that runs on the computer and forwards the MIDI messages received -via Wifi to MIDI applications. +An application that runs on the computer and forwards the MIDI +messages received via Wifi to MIDI applications. -Mini howto: Start jack and dsmidiwifi. Then start a (dsmi) wifimidi program on -another network device (like midimonitor on iPad) +Mini howto: Start jack and dsmidiwifi. Then start a (dsmi) wifimidi +program on another network device (like midimonitor on iPad) Optional runtime dependencies (for easy routing of dsmidiwifi) are jack and qjackctl diff --git a/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild index b5ba8238d3..fae8646fc6 100644 --- a/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild +++ b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild @@ -13,15 +13,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -31,8 +28,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,13 +54,13 @@ cd $PRGNAM-$VERSION/source 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -qmake +qmake-qt4 make # manual cp the files and canonicalize diff --git a/multimedia/dsmidiwifi/dsmidiwifi.info b/multimedia/dsmidiwifi/dsmidiwifi.info index 4a1ceceea3..f043849032 100644 --- a/multimedia/dsmidiwifi/dsmidiwifi.info +++ b/multimedia/dsmidiwifi/dsmidiwifi.info @@ -5,6 +5,6 @@ DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.g MD5SUM="e45703b1a37602d6326916d2ce1b404c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" diff --git a/multimedia/dssi/README b/multimedia/dssi/README index 9daa911de7..8db4cda608 100644 --- a/multimedia/dssi/README +++ b/multimedia/dssi/README @@ -1,6 +1,11 @@ -DSSI (pronounced "dizzy") is an API for audio processing plugins, particularly -useful for software synthesis plugins with user interfaces. +DSSI (pronounced "dizzy") is an API for audio processing plugins, +particularly useful for software synthesis plugins with user +interfaces. -DSSI is an open and well-documented specification developed for use in Linux -audio applications, although portable to other platforms. It may be thought of -as LADSPA-for-instruments, or something comparable to VSTi. +DSSI is an open and well-documented specification developed for use +in Linux audio applications, although portable to other platforms. It +may be thought of as LADSPA-for-instruments, or something comparable +to VSTi. + +qt4 is an optional dependency. If found, the package will include a +qt-based 'trivial_sampler_qt' plugin. diff --git a/multimedia/dssi/dssi.SlackBuild b/multimedia/dssi/dssi.SlackBuild index 3e3c961b09..ee3849c3ed 100644 --- a/multimedia/dssi/dssi.SlackBuild +++ b/multimedia/dssi/dssi.SlackBuild @@ -14,15 +14,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -32,8 +29,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,9 +54,9 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/dvblast/README b/multimedia/dvblast/README index 11aa28453f..476d34d17b 100644 --- a/multimedia/dvblast/README +++ b/multimedia/dvblast/README @@ -1 +1,2 @@ -DVBlast is a simple and powerful MPEG-2/TS demux and streaming application. +DVBlast is a simple and powerful MPEG-2/TS demux and streaming +application. diff --git a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild index 6b719ff826..41214889eb 100644 --- a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild +++ b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild @@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dvd-slideshow -VERSION=${VERSION:-0.8.4_2} +VERSION=${VERSION:-0.8.6_1} SRCVER=$(echo $VERSION | tr _ -) ARCH=noarch BUILD=${BUILD:-1} diff --git a/multimedia/dvd-slideshow/dvd-slideshow.info b/multimedia/dvd-slideshow/dvd-slideshow.info index 1045c88e75..3eebd16237 100644 --- a/multimedia/dvd-slideshow/dvd-slideshow.info +++ b/multimedia/dvd-slideshow/dvd-slideshow.info @@ -1,8 +1,8 @@ PRGNAM="dvd-slideshow" -VERSION="0.8.4_2" +VERSION="0.8.6_1" HOMEPAGE="http://dvd-slideshow.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/dvd-slideshow/files/dvd-slideshow/0.8.4-2/dvd-slideshow-0.8.4-2.tar.gz" -MD5SUM="ec9527a7afc11f6a05f499b590aa849a" +DOWNLOAD="http://sourceforge.net/projects/dvd-slideshow/files/dvd-slideshow/0.8.6-1/dvd-slideshow-0.8.6-1.tar.gz" +MD5SUM="6fce4f2ae9dd30fb2b19c39336ea4046" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="oggvideotools" diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild index 81035bd807..49033887db 100644 --- a/multimedia/dvdbackup/dvdbackup.SlackBuild +++ b/multimedia/dvdbackup/dvdbackup.SlackBuild @@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/dvdrip/README b/multimedia/dvdrip/README index 637a299ff4..296e3e9a93 100644 --- a/multimedia/dvdrip/README +++ b/multimedia/dvdrip/README @@ -1,7 +1,8 @@ -dvd::rip is a full featured DVD copy program written in Perl. It provides an -easy to use but feature-rich Gtk+ GUI to control almost all aspects of the -ipping and transcoding process. It uses the widely known video processing -swissknife transcode and many other Open Source tools. +dvd::rip is a full featured DVD copy program written in Perl. +It provides an easy to use but feature-rich Gtk+ GUI to control almost +all aspects of the ipping and transcoding process. It uses the widely +known video processing swissknife transcode and many other Open Source +tools. -ffmpeg, lsdvd, ogmtools, mjpegtools, xvid4conf, subtitleripper, fping and rar -are optional dependencies. +ffmpeg, lsdvd, ogmtools, mjpegtools, xvid4conf, subtitleripper, fping, +and rar are optional dependencies. diff --git a/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild index 6a8c0233c2..6dda301a07 100644 --- a/multimedia/dvdrip/dvdrip.SlackBuild +++ b/multimedia/dvdrip/dvdrip.SlackBuild @@ -14,15 +14,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -32,8 +29,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,17 +54,17 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make install DESTDIR=$PKG +make -j1 +make -j1 install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/multimedia/dvdstyler/README b/multimedia/dvdstyler/README index c03ac824f0..f1744b895b 100644 --- a/multimedia/dvdstyler/README +++ b/multimedia/dvdstyler/README @@ -1,4 +1,13 @@ DVDStyler is a cross-platform free DVD authoring application for the creation of professional-looking DVDs. It allows not only burning of -video files on DVD that can be played practically on any standalone DVD -player, but also creation of individually designed DVD menus. +video files on DVD that can be played practically on any standalone +DVD player, but also creation of individually designed DVD menus. + +NOTE +- - - +When launched the application will look for a ~/.dvdstyler +directory where to save its own preferences: if the directory is not +present the application will start but will segfault when quitting, +not saving any preferences. +Upstream has been notified but in the meantime the workaround is to +manually create the ~/.dvdstyler directory (sorry for the hassle) diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild index 06e3562ed8..ec5f94bf5a 100644 --- a/multimedia/dvdstyler/dvdstyler.SlackBuild +++ b/multimedia/dvdstyler/dvdstyler.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dvdstyler -# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dvdstyler SPRGNAM=DVDStyler -VERSION=${VERSION:-3.1.2} +VERSION=${VERSION:-3.3b3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/dvdstyler/dvdstyler.info b/multimedia/dvdstyler/dvdstyler.info index 0dfb7e863b..581bbad6cb 100644 --- a/multimedia/dvdstyler/dvdstyler.info +++ b/multimedia/dvdstyler/dvdstyler.info @@ -1,8 +1,8 @@ PRGNAM="dvdstyler" -VERSION="3.1.2" +VERSION="3.3b3" HOMEPAGE="http://www.dvdstyler.org/" -DOWNLOAD="http://downloads.sf.net/dvdstyler/DVDStyler-3.1.2.tar.bz2" -MD5SUM="8d5e977900ade9f57ae1e13c2e50b1ac" +DOWNLOAD="http://downloads.sf.net/dvdstyler/DVDStyler-3.3b3.tar.bz2" +MD5SUM="d92cc509cb6c39d74f2ce56d6f686cff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libavc1394 libmspack libquicktime mjpegtools mpgtx wxsvg" diff --git a/multimedia/emoc/emoc.SlackBuild b/multimedia/emoc/emoc.SlackBuild index 744788a225..106dba34c3 100644 --- a/multimedia/emoc/emoc.SlackBuild +++ b/multimedia/emoc/emoc.SlackBuild @@ -14,15 +14,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -32,8 +29,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,11 +54,11 @@ cd $PRGNAM 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ -qmake +qmake-qt4 make clean make diff --git a/multimedia/emoc/emoc.info b/multimedia/emoc/emoc.info index e559cbd38f..a4fae0dc83 100644 --- a/multimedia/emoc/emoc.info +++ b/multimedia/emoc/emoc.info @@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/emoc/emo MD5SUM="94b9aad7155e93a7ea69b72a573cf2b4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="otzy_007" EMAIL="oz@oprod.net" diff --git a/multimedia/exaile/README b/multimedia/exaile/README index 459eb3e91b..75a40ce440 100644 --- a/multimedia/exaile/README +++ b/multimedia/exaile/README @@ -1,9 +1,8 @@ Exaile is a music manager and player for GTK+ written in Python. It -incorporates automatic fetching of album art, handling of large libraries, -lyrics fetching, artist/album information via Wikipedia, and Last.fm -submission support. +incorporates automatic fetching of album art, handling of large +libraries, lyrics fetching, artist/album information via Wikipedia, +and Last.fm submission support. -Optional dependencies are gst0-plugins-ugly (for mp3 support), cddb-py (for -audio CD playback), gst0-gnome-vfs (for SHOUTcast support), -pywebkitgtk (for contextual informations about the track) and streamripper -(to record streams). +Optional dependencies are pylast (Last.FM integration), lxml +(Lyrics), musicbrainzngs (Musicbrainz covers), streamripper (to +record streams), and Sphinx plus sphinx_rtd_theme (Documentation). diff --git a/multimedia/exaile/doinst.sh b/multimedia/exaile/doinst.sh index 20e51af1ef..dd572e3e1a 100644 --- a/multimedia/exaile/doinst.sh +++ b/multimedia/exaile/doinst.sh @@ -17,3 +17,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/exaile/exaile.SlackBuild b/multimedia/exaile/exaile.SlackBuild index bafe2f6d50..321bab4ea0 100644 --- a/multimedia/exaile/exaile.SlackBuild +++ b/multimedia/exaile/exaile.SlackBuild @@ -3,6 +3,7 @@ # Written by Marco Cecchetti (mrc.ildp@gmail.com) # Update by Diogo Leal (diogo@diogoleal.com) +# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2017 Ekin Akoglu, Erdemli, Mersin, Turkey | ekinakoglu@gmail.com # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org @@ -24,10 +25,12 @@ # along with this program (most likely, a file named COPYING). If # not, see <http://www.gnu.org/licenses/>. +# 20221021 46and2: Updated version, new maintainer. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=exaile -VERSION=${VERSION:-3.4.5} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +43,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -53,12 +53,19 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else + SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi @@ -73,26 +80,29 @@ cd $PRGNAM-$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 \ + -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 {} \; - -## Fix manpage location. -sed -i -e 's|share/man|man|g' Makefile + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PREFIX=/usr make -PREFIX=/usr \ -LIBINSTALLDIR=/lib${LIBDIRSUFFIX} \ -make install DESTDIR=$PKG +make install \ + PREFIX=${PREFIX} \ + LIBINSTALLDIR=${PREFIX}/lib${LIBDIRSUFFIX} \ + MANPREFIX=${PREFIX}/ \ + DESTDIR=$PKG mv $PKG/etc/xdg/exaile/settings.ini $PKG/etc/xdg/exaile/settings.ini.new 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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING DEPS INSTALL README \ + COPYING DEPS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/exaile/exaile.info b/multimedia/exaile/exaile.info index 044881d47d..dd3f29f7db 100644 --- a/multimedia/exaile/exaile.info +++ b/multimedia/exaile/exaile.info @@ -1,10 +1,10 @@ PRGNAM="exaile" -VERSION="3.4.5" +VERSION="4.1.3" HOMEPAGE="https://www.exaile.org/" -DOWNLOAD="https://github.com/exaile/exaile/releases/download/3.4.5/exaile-3.4.5.tar.gz" -MD5SUM="2c72d8dc8dc68fd6a9d129a154a5af3c" +DOWNLOAD="https://github.com/exaile/exaile/releases/download/4.1.3/exaile-4.1.3.tar.gz" +MD5SUM="cb43a90e9a0526fa455cab4628470260" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst0-python mutagen" -MAINTAINER="Ekin Akoglu" -EMAIL="ekinakoglu@gmail.com" +REQUIRES="bsddb3 gst-python mutagen feedparser" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/multimedia/farsight2/farsight2.SlackBuild b/multimedia/farsight2/farsight2.SlackBuild index 9ab7fa91bf..f6b8079dfb 100644 --- a/multimedia/farsight2/farsight2.SlackBuild +++ b/multimedia/farsight2/farsight2.SlackBuild @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -75,9 +72,9 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ patch -p1 < $CWD/make-4.3.patch @@ -108,6 +105,8 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/farsight2/farsight2.info b/multimedia/farsight2/farsight2.info index 229ae66867..10493b32a7 100644 --- a/multimedia/farsight2/farsight2.info +++ b/multimedia/farsight2/farsight2.info @@ -5,6 +5,6 @@ DOWNLOAD="http://farsight.freedesktop.org/releases/farsight2/farsight2-0.0.31.ta MD5SUM="3771d8268f025b28261cc1e977fab27f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst0-plugins-base gst0-plugins-ugly gst0-python" -MAINTAINER="David Woodfall" +REQUIRES="gst0-plugins-ugly gst0-python" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/multimedia/fdkaac/README b/multimedia/fdkaac/README index a502e54324..9241c082b8 100644 --- a/multimedia/fdkaac/README +++ b/multimedia/fdkaac/README @@ -1,4 +1,2 @@ -fdkaac is command line encoder frontend for libfdk-aac, -(also available from SBo) which currently produces the -highest quality aac sound from any Linux application or -library. +fdkaac is a command-line encoder frontend for libfdk-aac, +(also available from SBo) to convert a sound file to AAC. diff --git a/multimedia/fdkaac/fdkaac.SlackBuild b/multimedia/fdkaac/fdkaac.SlackBuild index 457c9aeafc..8697675e54 100644 --- a/multimedia/fdkaac/fdkaac.SlackBuild +++ b/multimedia/fdkaac/fdkaac.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fdkaac -# Klaatu | Wellington, NZ | klaatu@member.fsf.org +# Klaatu | Lawrence, NZ | klaatu@member.fsf.org # Copyright 2015 Andrew Strong, Blue Mountains Australia. # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fdkaac -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/fdkaac/fdkaac.info b/multimedia/fdkaac/fdkaac.info index d5805dc951..99136c71a3 100644 --- a/multimedia/fdkaac/fdkaac.info +++ b/multimedia/fdkaac/fdkaac.info @@ -1,8 +1,8 @@ PRGNAM="fdkaac" -VERSION="1.0.0" +VERSION="1.0.2" HOMEPAGE="https://github.com/nu774/fdkaac" -DOWNLOAD="https://github.com/nu774/fdkaac/archive/1.0.0/fdkaac-1.0.0.tar.gz" -MD5SUM="f9eabdada9f1469721ef508360d7c3a3" +DOWNLOAD="https://github.com/nu774/fdkaac/archive/refs/tags/v1.0.2/fdkaac-1.0.2.tar.gz" +MD5SUM="e2d844fd705faef00a09e5f29a88acda" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libfdk-aac" diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild index 05918b2523..f74f241404 100644 --- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild +++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="ffmpeg2theora" VERSION=${VERSION:-0.30} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,9 @@ find -L . \ # thanks to Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768674 patch -p1 < $CWD/link-libm.patch +# thanks arch maintainers +zcat $CWD/scons-python3.patch.gz | patch -p1 + scons install APPEND_CCFLAGS="$SLKCFLAGS" prefix=/usr destdir=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/multimedia/ffmpeg2theora/scons-python3.patch.gz b/multimedia/ffmpeg2theora/scons-python3.patch.gz Binary files differnew file mode 100644 index 0000000000..9302739d1d --- /dev/null +++ b/multimedia/ffmpeg2theora/scons-python3.patch.gz diff --git a/multimedia/ffmpegfs/README b/multimedia/ffmpegfs/README new file mode 100644 index 0000000000..b79da1f3e7 --- /dev/null +++ b/multimedia/ffmpegfs/README @@ -0,0 +1,22 @@ +FFmpegfs is a read-only FUSE file system which transcodes +various audio and video formats to mp4, WebM and many more +on the fly when opened and read using the ffmpeg library +thus supporting a multitude of input formats and a variety +of common output formats. + +By default only root has access to this filesystem +for other users, uncomment user_allow_other in +/etc/fuse.conf + +fop is an optional dependency needed for genetating +pdf documents. To generate pdf docs run +make help-pdf and copy the pdf to the doc dir by +customizing the slackbuild + +Example: + +ffmpegs --desttype=mp4 input_dir output_dir -o allow_other,rw + +Other optional dependencies include twolame x264 openh264 + +It is licensed under GPLv3 diff --git a/multimedia/ffmpegfs/changelog b/multimedia/ffmpegfs/changelog new file mode 100644 index 0000000000..29eddedd1d --- /dev/null +++ b/multimedia/ffmpegfs/changelog @@ -0,0 +1,15 @@ +Changelog for FFmpegfs SlackBuild Script +-------------------------------------------------------------------- + +04/09/2022: + +Added to slackbuilds.org + +12/05/2023: + +optional dependencies to ffmpegfs are twolame,x264 and openh264 +updated to version 2.13 + +08/02/2024: + +updated to version 2.15 diff --git a/multimedia/ffmpegfs/ffmpegfs.SlackBuild b/multimedia/ffmpegfs/ffmpegfs.SlackBuild new file mode 100644 index 0000000000..774a8cad7c --- /dev/null +++ b/multimedia/ffmpegfs/ffmpegfs.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for ffmpegfs + +# Copyright 2022-2024 Vijay Marcel +# 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=ffmpegfs +VERSION=${VERSION:-2.15} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --htmldir=/usr/doc/$PRGNAM-$VERSION/html/ \ + --build=$ARCH-slackware-linux + +make +make help-html +make install DESTDIR=$PKG + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION/html +cp -a COPYING COPYING.CC0 COPYING.DOC FEATURES.md PROBLEMS.md ChangeLog HISTORY.md README.md NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -r ffmpegfs.1.htmlhelp/* $PKG/usr/doc/$PRGNAM-$VERSION/html +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/ffmpegfs/ffmpegfs.info b/multimedia/ffmpegfs/ffmpegfs.info new file mode 100644 index 0000000000..cbfdc59f6d --- /dev/null +++ b/multimedia/ffmpegfs/ffmpegfs.info @@ -0,0 +1,10 @@ +PRGNAM="ffmpegfs" +VERSION="2.15" +HOMEPAGE="https://nschlia.github.io/ffmpegfs/html/index.html" +DOWNLOAD="https://github.com/nschlia/ffmpegfs/releases/download/v2.15/ffmpegfs-2.15.tar.gz" +MD5SUM="e92de951d96a2e8031f59180cacef8bc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="w3m graphviz libchardet chromaprint" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/ffmpegfs/slack-desc b/multimedia/ffmpegfs/slack-desc new file mode 100644 index 0000000000..b2c8cc7a19 --- /dev/null +++ b/multimedia/ffmpegfs/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------------------------------------------------------| +ffmpegfs: ffmpegfs (Fuse based transcoding File System) +ffmpegfs: +ffmpegfs: FFmpegfs is a read-only FUSE file system which transcodes +ffmpegfs: various audio and video formats to mp4, WebM and many more +ffmpegfs: on the fly when opened and read using the ffmpeg library +ffmpegfs: thus supporting a multitude of input formats and a variety +ffmpegfs: of common output formats. +ffmpegfs: +ffmpegfs: Homepage:https://nschlia.github.io/ffmpegfs/ +ffmpegfs: +ffmpegfs: diff --git a/multimedia/filebot-legacy/README b/multimedia/filebot-legacy/README new file mode 100644 index 0000000000..9141451d29 --- /dev/null +++ b/multimedia/filebot-legacy/README @@ -0,0 +1,18 @@ +filebot-4.7 (The ultimate TV and Movie Renamer) + +FileBot is the ultimate tool for organizing and renaming your movies, +tv shows, anime, and music, as well as downloading subtitles and +artwork. It's smart and just works. + +Many examples of renaming conventions, including automating renaming, +can be found on their website and forum. + +If desired, other JDKs can be substituted. + +This is the last free version of filebot. 4.8+ require a paid license +to be able to use. This version is unmaintained and is at least +partially broken. I know TheTVDB.com support is no longer working due +to API changes. It is provided as-is, for those not wanting to move +to the paid version. + +You are unable to install this with the updated version of filebot. diff --git a/multimedia/OpenPHT/doinst.sh b/multimedia/filebot-legacy/doinst.sh index 65c7e2eeb9..65c7e2eeb9 100644 --- a/multimedia/OpenPHT/doinst.sh +++ b/multimedia/filebot-legacy/doinst.sh diff --git a/multimedia/filebot-legacy/filebot-legacy.SlackBuild b/multimedia/filebot-legacy/filebot-legacy.SlackBuild new file mode 100644 index 0000000000..7fdc77dd64 --- /dev/null +++ b/multimedia/filebot-legacy/filebot-legacy.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/bash + +# Slackware build script for filebot-legacy +# +# Copyright 2016-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# 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=filebot-legacy +SRCNAM=filebot +VERSION=${VERSION:-4.7.9} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + DEBARCH="i386" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + DEBARCH="amd64" + LIBDIRSUFFIX="64" +else + echo "Package for $(uname -m) architecture is not available." + exit 1 +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $PKG +ar p $CWD/${SRCNAM}_${VERSION}_${DEBARCH}.deb data.tar.xz | unxz | tar xv + +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 {} \; + +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 + +# Create launcher file in /usr/bin/ +mkdir -p $PKG/usr/bin/ +cat << EOF > $PKG/usr/bin/filebot +#!/bin/bash +# +# Launcher for FileBot + +/usr/share/filebot/filebot.sh "\$@" +EOF +chmod 0755 $PKG/usr/bin/filebot + +# Disable the update notification since we're choosing to run a legacy version +sed -i 's|-Dunixfs=false|& -Dapplication.update=skip|' $PKG/usr/share/filebot/filebot.sh + +# Remove deprecated entries in filebot.desktop +sed -i '/OnlyShowIn=Unity;/d' $PKG/usr/share/applications/filebot.desktop + +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/filebot-legacy/filebot-legacy.info b/multimedia/filebot-legacy/filebot-legacy.info new file mode 100644 index 0000000000..51b613d67c --- /dev/null +++ b/multimedia/filebot-legacy/filebot-legacy.info @@ -0,0 +1,10 @@ +PRGNAM="filebot-legacy" +VERSION="4.7.9" +HOMEPAGE="https://www.filebot.net" +DOWNLOAD="http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/filebot_4.7.9_i386.deb" +MD5SUM="ab14c92e18b961068a5b850748aea379" +DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/filebot_4.7.9_amd64.deb" +MD5SUM_x86_64="8e4aa7163bd4ddd8017459fb77e4e0ee" +REQUIRES="zulu-openjdk8 chromaprint" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/filebot-legacy/slack-desc b/multimedia/filebot-legacy/slack-desc new file mode 100644 index 0000000000..eee72f4a13 --- /dev/null +++ b/multimedia/filebot-legacy/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------------------------------------------------------| +filebot-legacy: filebot-legacy (The ultimate TV and Movie Renamer) +filebot-legacy: +filebot-legacy: FileBot is the ultimate tool for organizing and renaming your movies, +filebot-legacy: tv shows, anime, and music, as well as downloading subtitles and +filebot-legacy: artwork. It's smart and just works. +filebot-legacy: +filebot-legacy: Many examples of renaming conventions, including automating renaming, +filebot-legacy: can be found on their website and forum. +filebot-legacy: +filebot-legacy: Homepage: http://www.filebot.net/ +filebot-legacy: diff --git a/multimedia/filebot/README b/multimedia/filebot/README index c69c9b9950..d5abbda476 100644 --- a/multimedia/filebot/README +++ b/multimedia/filebot/README @@ -7,4 +7,13 @@ artwork. It's smart and just works. Many examples of renaming conventions, including automating renaming, can be found on their website and forum. -If desired, openjdk can be substituted for jdk. +If desired, zulu-openjdk11 can be substituted for any jdk v11 and +higher. + +NOTE: This is no longer a free version. You need to purchase a license +to use this program. You can purchase a 1-year or lifetime license on +their website, https://www.filebot.net/. It is good for all platforms. + +The free version is available on SBo under multimedia/filebot-legacy, +however, that version may have parts of it broken since it is no +longer maintained. Use at your own risk. diff --git a/multimedia/filebot/filebot.SlackBuild b/multimedia/filebot/filebot.SlackBuild index 3d779048cc..1bf0250210 100644 --- a/multimedia/filebot/filebot.SlackBuild +++ b/multimedia/filebot/filebot.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for filebot # -# Copyright 2016 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2016-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=filebot -VERSION=${VERSION:-4.7.9} +SRCNAM=FileBot +VERSION=${VERSION:-5.1.3} +JNAVER=${JNAVER:-5.13.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -51,11 +50,17 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - DEBARCH="i386" LIBDIRSUFFIX="" + JNAARCH="x86" elif [ "$ARCH" = "x86_64" ]; then - DEBARCH="amd64" LIBDIRSUFFIX="64" + JNAARCH="x86-64" +elif [ "$ARCH" = "arm" ]; then + LIBDIRSUFFIX="" + JNAARCH="arm" +elif [ "$ARCH" = "aarch64" ]; then + LIBDIRSUFFIX="" + JNAARCH="aarch64" else echo "Package for $(uname -m) architecture is not available." exit 1 @@ -63,10 +68,16 @@ fi set -eu -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +rm -rf $PKG $TMP/jna +mkdir -p $TMP $PKG $OUTPUT $TMP/jna +cd $TMP/jna +unzip $CWD/jna-$JNAVER.jar cd $PKG -ar p $CWD/${PRGNAM}_${VERSION}_${DEBARCH}.deb data.tar.xz | unxz | tar xv +ar p $CWD/${SRCNAM}_${VERSION}_universal.deb data.tar.xz | unxz | tar xv + +mkdir -p $PKG/usr/share/filebot/lib/$(uname -m) +cp $TMP/jna/com/sun/jna/linux-$JNAARCH/libjnidispatch.so $PKG/usr/share/filebot/lib/$(uname -m) +cp $CWD/jna-$JNAVER.jar $PKG/usr/share/filebot/jar/jna.jar chown -R root:root . find -L . \ @@ -88,10 +99,18 @@ cat << EOF > $PKG/usr/bin/filebot # # Launcher for FileBot -/usr/share/filebot/filebot.sh "$@" +/usr/share/filebot/bin/filebot.sh "\$@" EOF chmod 0755 $PKG/usr/bin/filebot +# Ensure it uses the proper jna library +SEDSEARCH="-Djna.boot.library.name=jnidispatch.system" +SEDREPLACE='-Djna.boot.library.path=\"$LIBRARY_PATH\" -Djna.library.path=\"$LIBRARY_PATH\" -Djava.library.path=\"$LIBRARY_PATH\"' +sed -i "s|$SEDSEARCH|$SEDREPLACE|" $PKG/usr/share/filebot/bin/filebot.sh + +# Set the correct paths +sed -i "s|LIBRARY_PATH=.*|LIBRARY_PATH=\$FILEBOT_HOME/lib/\$(uname -m):/usr/lib$LIBDIRSUFFIX|" $PKG/usr/share/filebot/bin/filebot.sh + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/multimedia/filebot/filebot.info b/multimedia/filebot/filebot.info index 2378337d9f..76c78c1de4 100644 --- a/multimedia/filebot/filebot.info +++ b/multimedia/filebot/filebot.info @@ -1,10 +1,12 @@ PRGNAM="filebot" -VERSION="4.7.9" +VERSION="5.1.3" HOMEPAGE="https://www.filebot.net" -DOWNLOAD="http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/filebot_4.7.9_i386.deb" -MD5SUM="ab14c92e18b961068a5b850748aea379" -DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/filebot_4.7.9_amd64.deb" -MD5SUM_x86_64="8e4aa7163bd4ddd8017459fb77e4e0ee" -REQUIRES="jdk chromaprint libmediainfo" +DOWNLOAD="https://get.filebot.net/filebot/FileBot_5.1.3/FileBot_5.1.3_universal.deb \ + https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar" +MD5SUM="d61e830e5a7e2f69d25deada9b412339 \ + bd2e5bc6b4b020c2d9a6e17a8e9bcef1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="zulu-openjdk11 chromaprint libmediainfo" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild index ed11fd5307..fa833c97f7 100644 --- a/multimedia/flowblade/flowblade.SlackBuild +++ b/multimedia/flowblade/flowblade.SlackBuild @@ -11,7 +11,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=flowblade -VERSION=${VERSION:-1.16} +VERSION=${VERSION:-24564a} +SRCVERSION=${SRCVERSION:-24564ae0899af9ee92ad31bd884ba804a3137d3b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,7 +51,7 @@ else LIBDIRSUFFIX="" fi -PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") +PYTHONDIR=$(python3 -c "import sys, os; print(os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages'))") set -e @@ -58,8 +59,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +mkdir $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz --strip-components=1 \ + -C $PRGNAM-$VERSION +mv $PRGNAM-$VERSION/README.md $PRGNAM-$VERSION/$PRGNAM-trunk cd $PRGNAM-$VERSION/$PRGNAM-trunk + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -67,10 +72,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p2 < $CWD/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch +# this has been submitted upstream but for now patch it here +patch -p2 < $CWD/mlt7.patch # install -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG # replace PY path in main script sed -i "s|/usr/share/pyshared|$PYTHONDIR|" $PKG/usr/bin/$PRGNAM @@ -91,8 +97,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; # doc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +echo `pwd` cp -a \ - PKG-INFO README \ + AUTHORS COPYING README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/flowblade/flowblade.info b/multimedia/flowblade/flowblade.info index 4f18df68b9..fc4084cc89 100644 --- a/multimedia/flowblade/flowblade.info +++ b/multimedia/flowblade/flowblade.info @@ -1,10 +1,10 @@ PRGNAM="flowblade" -VERSION="1.16" +VERSION="24564a" HOMEPAGE="https://github.com/jliljebl/flowblade/" -DOWNLOAD="https://github.com/jliljebl/flowblade/archive/v1.16/flowblade-1.16.tar.gz" -MD5SUM="71490e33fd7c2d44e96de5b59b88121f" +DOWNLOAD="https://github.com/jliljebl/flowblade/archive/24564a/flowblade-24564ae0899af9ee92ad31bd884ba804a3137d3b.tar.gz" +MD5SUM="ededb19439e16588f2490b2f77c66848" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gnome-python ladspa_sdk numpy" +REQUIRES="mlt-bindings python3-numpy" MAINTAINER="Klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/flowblade/mlt7.patch b/multimedia/flowblade/mlt7.patch new file mode 100644 index 0000000000..9f9a1e25b9 --- /dev/null +++ b/multimedia/flowblade/mlt7.patch @@ -0,0 +1,21 @@ +diff --git a/flowblade-trunk/flowblade b/flowblade-trunk/flowblade +index 01f6d092..2cdfcedb 100755 +--- a/flowblade-trunk/flowblade ++++ b/flowblade-trunk/flowblade +@@ -58,11 +58,11 @@ sys.path.insert(0, modules_path) + # Check that we have MLT, missing is fatal. + try: + import mlt +- try: +- mlt_version = mlt.LIBMLT_VERSION +- print ("MLT found, version:", mlt_version) +- except: +- print ("MLT found but version info not available. MLT probably too old to work reliably...") ++except: ++ import mlt7 as mlt ++ ++try: ++ mlt_version = mlt.LIBMLT_VERSION + except Exception as err: + print ("MLT not found, exiting...") + print ("ERROR:", err) diff --git a/multimedia/flowblade/slack-desc b/multimedia/flowblade/slack-desc index 3dce6eeae7..990662a74c 100644 --- a/multimedia/flowblade/slack-desc +++ b/multimedia/flowblade/slack-desc @@ -14,6 +14,6 @@ flowblade: between two existing clips - when they are inserted on the timeline. flowblade: It is efficient, effective, and includes powerful tools to mix, flowblade: filter, and affect video and audio. flowblade: -flowblade: https://code.google.com/p/flowblade/ +flowblade: https://github.com/jliljebl/flowblade flowblade: flowblade: diff --git a/multimedia/flvtool2/README b/multimedia/flvtool2/README index 53e36308d2..aed16a12b2 100644 --- a/multimedia/flvtool2/README +++ b/multimedia/flvtool2/README @@ -1,4 +1,4 @@ -FLVTool2 is a manipulation tool for Macromedia Flash Video files (FLV). It -can calculate a lot of meta data, insert an onMetaData tag, cut FLV files, -add cue points (onCuePoint), show the FLV structure and print meta data -information in XML or YAML. +FLVTool2 is a manipulation tool for Macromedia Flash Video files +(FLV). It can calculate a lot of meta data, insert an onMetaData tag, +cut FLV files, add cue points (onCuePoint), show the FLV structure and +print meta data information in XML or YAML. diff --git a/multimedia/freetube/README b/multimedia/freetube/README new file mode 100644 index 0000000000..a8d9602149 --- /dev/null +++ b/multimedia/freetube/README @@ -0,0 +1,10 @@ +FreeTube (The Private YouTube Client) + +FreeTube is a YouTube client for Windows, Mac, and Linux built around +using YouTube more privately. You can enjoy your favorite content and +creators without your habits being tracked. All of your user data is +stored locally and never sent or published to the internet. FreeTube +grabs data by scraping the information it needs (with either local +methods or by optionally utilizing the Invidious API). With many +features similar to YouTube, FreeTube has become one of the best +methods to watch YouTube privately on desktop. diff --git a/multimedia/freetube/doinst.sh b/multimedia/freetube/doinst.sh new file mode 100644 index 0000000000..9169c83208 --- /dev/null +++ b/multimedia/freetube/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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/freetube/freetube.SlackBuild b/multimedia/freetube/freetube.SlackBuild new file mode 100644 index 0000000000..500217ed4b --- /dev/null +++ b/multimedia/freetube/freetube.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/bash + +# Slackware build script for freetube + +# Copyright 2022 Andreo Rissardo <andreotec@gmail.com> +# 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=freetube +VERSION=${VERSION:-0.18.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +DEBBUILD=${DEBBUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +# Abort build if architecture is not 64-bit. +if [ "$ARCH" != "x86_64" ]; then + echo "$ARCH is not supported." + exit 1 +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +rpm2cpio < $CWD/${PRGNAM}_${VERSION}_amd64.rpm | cpio -imdv +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 {} \; + +# freetube has its own symlinks from opt to bin +cp -vr {opt,usr} $PKG/ + +#Binary link +( + mkdir -p $PKG/usr/bin + ln -s /opt/FreeTube/$PRGNAM $PKG/usr/bin/$PRGNAM +) + +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 + +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/freetube/freetube.info b/multimedia/freetube/freetube.info new file mode 100644 index 0000000000..7071f71f7e --- /dev/null +++ b/multimedia/freetube/freetube.info @@ -0,0 +1,10 @@ +PRGNAM="freetube" +VERSION="0.18.0" +HOMEPAGE="https://freetubeapp.io" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/FreeTubeApp/FreeTube/releases/download/v0.18.0-beta/freetube_0.18.0_amd64.rpm" +MD5SUM_x86_64="946775bbe8742fb9da6a50b5d584697a" +REQUIRES="" +MAINTAINER="Andreo Rissardo" +EMAIL="andreofr@proton.me" diff --git a/multimedia/freetube/slack-desc b/multimedia/freetube/slack-desc new file mode 100644 index 0000000000..e45dc08de8 --- /dev/null +++ b/multimedia/freetube/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------------------------------------------------------| +freetube: freetube (The Private YouTube Client) +freetube: +freetube: FreeTube is a YouTube client for Windows, Mac, and Linux built around +freetube: using YouTube more privately. You can enjoy your favorite content and +freetube: creators without your habits being tracked. +freetube: +freetube: +freetube: +freetube: +freetube: Homepage: https://freetubeapp.io/ +freetube: diff --git a/multimedia/freshplayerplugin/README b/multimedia/freshplayerplugin/README deleted file mode 100644 index d41c86d6f7..0000000000 --- a/multimedia/freshplayerplugin/README +++ /dev/null @@ -1,14 +0,0 @@ -The main goal of this project is to get PPAPI (Pepper) Flash player -working in Firefox. This is done by impementing a wrapper, some kind -of adapter which will look like browser to PPAPI plugin and look like -NPAPI plugin for browser. - -When loaded by browser it will search for libpepflashplayer.so in a -directory where it can be: if you have google-chrome from /extra or -chromium-pepperflash-plugin from Alien Bob installed it can use also -those versions. If for any reason it doesn't find your installed -version of the plugin, specify the full path in -~/.config/freshwrapper.conf. -You may find a sample configuration file in the docs folder of the -resulting package to copy in the above location: check it also to -enable hardware acceleration (disabled by default). diff --git a/multimedia/freshplayerplugin/freshplayerplugin.info b/multimedia/freshplayerplugin/freshplayerplugin.info deleted file mode 100644 index 745e89b027..0000000000 --- a/multimedia/freshplayerplugin/freshplayerplugin.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="freshplayerplugin" -VERSION="0.3.11" -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin" -DOWNLOAD="https://github.com/i-rinat/freshplayerplugin/archive/v0.3.11/freshplayerplugin-0.3.11.tar.gz" -MD5SUM="c34383e281135b7d40e29444af189d34" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="pepperflash-plugin ragel uriparser" -MAINTAINER="Matteo Bernardini" -EMAIL="ponce@slackbuilds.org" diff --git a/multimedia/freshplayerplugin/slack-desc b/multimedia/freshplayerplugin/slack-desc deleted file mode 100644 index 605a9702fe..0000000000 --- a/multimedia/freshplayerplugin/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -freshplayerplugin: freshplayerplugin (PPAPI-host NPAPI-plugin adapter) -freshplayerplugin: -freshplayerplugin: The main goal of this project is to get PPAPI (Pepper) Flash player -freshplayerplugin: working in Firefox. This is done by impementing a wrapper, some kind -freshplayerplugin: of adapter which will look like browser to PPAPI plugin and look like -freshplayerplugin: NPAPI plugin for browser. -freshplayerplugin: -freshplayerplugin: homepage: https://github.com/i-rinat/freshplayerplugin -freshplayerplugin: -freshplayerplugin: -freshplayerplugin: diff --git a/multimedia/gaupol/README b/multimedia/gaupol/README index 3129a19804..c04861dbc5 100644 --- a/multimedia/gaupol/README +++ b/multimedia/gaupol/README @@ -1,20 +1,15 @@ -Gaupol is an editor for text-based subtitle files. It supports multiple -subtitle file formats and provides means of correcting texts and timing -subtitles to match video. The user interface is designed with attention -to batch processing of multiple documents and convenience of translating. - -Gaupol should run on all Unix-like (GNU/Linux, *BSD, etc.) operating systems -and on Windows. Technically, it should run on Mac as well, but that has not -been tested nor made convenient. Gaupol's user interface is based on the -GTK+ toolkit and has been designed to best fit the GNOME desktop environment. +Gaupol is an editor for text-based subtitle files. It supports +multiple subtitle file formats and provides means of correcting +texts and timing subtitles to match video. The user interface is +designed with attention to batch processing of multiple documents and +convenience of translating. + +Gaupol should run on all Unix-like (GNU/Linux, *BSD, etc.) operating +systems and on Windows. Technically, it should run on Mac as well, but +that has not been tested nor made convenient. Gaupol's user interface +is based on the GTK+ toolkit and has been designed to best fit the +GNOME desktop environment. Optional dependencies are: -- pyenchant 1.1.3 or greater is required for spell-checking. - Additionally, spell-checking requires a dictionary, any of Aspell/Pspell, - Ispell, MySpell, Uspell, Hspell or AppleSpell. - -- iso-codes, if available, will be used to translate script, language and - country names. - -- MPlayer or VLC is recommended for preview. +- MPlayer, mpv, or VLC is recommended for preview. diff --git a/multimedia/gaupol/gaupol.SlackBuild b/multimedia/gaupol/gaupol.SlackBuild index d87b1e7788..2ef3567e16 100644 --- a/multimedia/gaupol/gaupol.SlackBuild +++ b/multimedia/gaupol/gaupol.SlackBuild @@ -2,29 +2,33 @@ # Slackware build script for gaupol +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Written by Andre Barboza <bmg.andre@gmail.com> - +# 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. +# 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. + +# 20220922 46and2: Updated version, new maintainer. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gaupol -VERSION=${VERSION:-0.19.2} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -37,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -59,20 +60,22 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \+ + +python3 setup.py install --root=$PKG -mkdir -p $PKG/usr -python setup.py clean install --prefix=/usr --root=$PKG +# pycache file has /tmp/SBo patch hardcoded, remove it and let it regenerate +rm $PKG/usr/share/gaupol/extensions/custom-framerates/__pycache__/custom-framerates.cpython-*.pyc mv $PKG/usr/share/man $PKG/usr -find $PKG/usr/man -type f -exec gzip -9 {} \; +find $PKG/usr/man -type f -exec gzip -9 {} \+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING CREDITS INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS.md COPYING NEWS.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/gaupol/gaupol.info b/multimedia/gaupol/gaupol.info index a7e9d5efc9..6ece9a8b22 100644 --- a/multimedia/gaupol/gaupol.info +++ b/multimedia/gaupol/gaupol.info @@ -1,10 +1,10 @@ PRGNAM="gaupol" -VERSION="0.19.2" +VERSION="1.14.1" HOMEPAGE="https://github.com/otsaloma/gaupol" -DOWNLOAD="https://github.com/otsaloma/gaupol/archive/0.19.2/gaupol-0.19.2.tar.gz" -MD5SUM="bdebf0abcdd3ee6f22c9608c13dc1dc8" +DOWNLOAD="https://github.com/otsaloma/gaupol/archive/1.14.1/gaupol-1.14.1.tar.gz" +MD5SUM="fc45c20eb110528395bdea312a5153d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Andre Barboza" -EMAIL="bmg.andre@gmail.com" +REQUIRES="gspell" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/multimedia/gecko-mediaplayer/README b/multimedia/gecko-mediaplayer/README deleted file mode 100644 index e7443054be..0000000000 --- a/multimedia/gecko-mediaplayer/README +++ /dev/null @@ -1,6 +0,0 @@ -Gecko Mediaplayer is the modern replacement for the mplayerplug-in -application. - -It is a browser plugin that uses GNOME MPlayer to play media in a browser. -It should work with most browsers (not Chrome) on Unix-ish systems -(Linux, BSD, Solaris) and uses the NS4 API (Mozilla, Firefox, Opera, etc.). diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild deleted file mode 100644 index 1530bf7e24..0000000000 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/bash - -# Slackware build script for gecko-mediaplayer -# Written by Phillip Warner <pc_warner@yahoo.com> - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=gecko-mediaplayer -VERSION=${VERSION:-1.0.8} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -std=c++11" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686 -std=c++11" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC -std=c++11" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2 -std=c++11" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -# Fix for -current (20150722 dbs) -# This patch comes from Debian's 1.0.9-2 package (thanks!) -patch -p1 < $CWD/np_loadds.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-schemas-install \ - --build=$ARCH-slackware-linux - -make libdir=/usr/lib${LIBDIRSUFFIX} force_arch="$ARCH" -make libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG install - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info b/multimedia/gecko-mediaplayer/gecko-mediaplayer.info deleted file mode 100644 index 190ce75cb6..0000000000 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gecko-mediaplayer" -VERSION="1.0.8" -HOMEPAGE="http://sites.google.com/site/kdekorte2/gecko-mediaplayer" -DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gecko-mediaplayer/gecko-mediaplayer-1.0.8.tar.gz" -MD5SUM="d13303664fcbb7f3b1273be4b1aa1b1e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gnome-mplayer" -MAINTAINER="Phillip Warner" -EMAIL="pc_warner@yahoo.com" diff --git a/multimedia/gecko-mediaplayer/np_loadds.patch b/multimedia/gecko-mediaplayer/np_loadds.patch deleted file mode 100644 index de406963fa..0000000000 --- a/multimedia/gecko-mediaplayer/np_loadds.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: Define NP_LOADDS if it doesn't exist -Author: Sebastian Ramacher <sramacher@debian.org> -Last-Update: 2014-06-14 - ---- gecko-mediaplayer-1.0.9.orig/src/npupp.h -+++ gecko-mediaplayer-1.0.9/src/npupp.h -@@ -63,6 +63,9 @@ - - #include "npruntime.h" - -+#ifndef NP_LOADDS -+#define NP_LOADDS -+#endif - - /****************************************************************************************** - plug-in function table macros diff --git a/multimedia/gecko-mediaplayer/slack-desc b/multimedia/gecko-mediaplayer/slack-desc deleted file mode 100644 index 0a7ca16280..0000000000 --- a/multimedia/gecko-mediaplayer/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -gecko-mediaplayer: gecko-mediaplayer (Browser media plugin) -gecko-mediaplayer: -gecko-mediaplayer: Gecko Mediaplayer is the modern replacement for mplayerplug-in. -gecko-mediaplayer: It is a browser plugin that uses GNOME MPlayer to play media in a -gecko-mediaplayer: browser. -gecko-mediaplayer: -gecko-mediaplayer: Homepage: http://sites.google.com/site/kdekorte2/gecko-mediaplayer -gecko-mediaplayer: -gecko-mediaplayer: -gecko-mediaplayer: -gecko-mediaplayer: diff --git a/multimedia/genpuid/README b/multimedia/genpuid/README index 31c55172b0..62ca597351 100644 --- a/multimedia/genpuid/README +++ b/multimedia/genpuid/README @@ -1,12 +1,13 @@ -GenPUID is a MusicIP (now known as AmpliFIND Music Services) proprietary closed -source command line utility for performing music analysis and audio -fingerprinting of music files. GenPUID runs under Linux, Mac OS X, and Windows. +GenPUID is a MusicIP (now known as AmpliFIND Music Services) +proprietary closed source command line utility for performing music +analysis and audio fingerprinting of music files. GenPUID runs under +Linux, Mac OS X, and Windows. -If MusicBrainz Picard can not find a PUID for a file, it may need to be run -through GenPUID to be analyzed first. +If MusicBrainz Picard can not find a PUID for a file, it may need to +be run through GenPUID to be analyzed first. -Having problems with Unicode files? -Instead of using genpuid dns-key * to scan Unicode files you will need to use -genpuid dns-key -r . as a workaround. +Having problems with Unicode filenames? +Instead of using 'genpuid dns-key *' to scan Unicode files, use +'genpuid dns-key -r .' as a workaround. -This only works on x86 there are no x86_64 binaries. +This only works on x86: there are no x86_64 binaries. diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild index 5f2dade86d..ce9c5b103a 100644 --- a/multimedia/get_iplayer/get_iplayer.SlackBuild +++ b/multimedia/get_iplayer/get_iplayer.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for get_iplayer. # -# Copyright 2012-2021 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2012-2023 Gregory J. L. Tourte <artourter@gmail.com> # Copyright 2012 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=get_iplayer -VERSION=${VERSION:-3.27} +VERSION=${VERSION:-3.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,10 +55,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$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 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + mkdir -p $PKG/usr/bin install -m 755 get_iplayer $PKG/usr/bin diff --git a/multimedia/get_iplayer/get_iplayer.info b/multimedia/get_iplayer/get_iplayer.info index e1ff6d3a1b..df82d63878 100644 --- a/multimedia/get_iplayer/get_iplayer.info +++ b/multimedia/get_iplayer/get_iplayer.info @@ -1,8 +1,8 @@ PRGNAM="get_iplayer" -VERSION="3.27" +VERSION="3.34" HOMEPAGE="http://www.infradead.org/get_iplayer/html/get_iplayer.html" -DOWNLOAD="https://github.com/get-iplayer/get_iplayer/archive/v3.27/get_iplayer-3.27.tar.gz" -MD5SUM="279f101d658b912a8d2cfd6bb3539551" +DOWNLOAD="https://github.com/get-iplayer/get_iplayer/archive/v3.34/get_iplayer-3.34.tar.gz" +MD5SUM="b57588277b2f60b2f165157fbc5d45c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-LWP-Protocol-https perl-JSON perl-xml-libxml perl-Mojolicious AtomicParsley" diff --git a/multimedia/gigedit/gigedit.SlackBuild b/multimedia/gigedit/gigedit.SlackBuild index 80e95e9f23..9dcaa44a0e 100644 --- a/multimedia/gigedit/gigedit.SlackBuild +++ b/multimedia/gigedit/gigedit.SlackBuild @@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -31,8 +31,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/glyr/glyr.SlackBuild b/multimedia/glyr/glyr.SlackBuild index 71ec056a88..5fcf893946 100644 --- a/multimedia/glyr/glyr.SlackBuild +++ b/multimedia/glyr/glyr.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # 20180904 bkw: BUILD=2, fix lyricswiki # 20170302 bkw: use long-format github URL diff --git a/multimedia/glyr/glyr.info b/multimedia/glyr/glyr.info index e676437483..79fc857963 100644 --- a/multimedia/glyr/glyr.info +++ b/multimedia/glyr/glyr.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/gmidimonitor/README b/multimedia/gmidimonitor/README index 58612c98e1..13fa7f3b95 100644 --- a/multimedia/gmidimonitor/README +++ b/multimedia/gmidimonitor/README @@ -1,3 +1,4 @@ -GMIDImonitor is GTK+ application that shows MIDI events via ALSA or JACK. +GMIDImonitor is GTK+ application that shows MIDI events via ALSA or +JACK. Optional dependencies: jack, lash diff --git a/multimedia/gmtp/README b/multimedia/gmtp/README index 004b92a906..4f6e7c6e8d 100644 --- a/multimedia/gmtp/README +++ b/multimedia/gmtp/README @@ -4,13 +4,14 @@ Supports MTP devices including those with multiple storage devices (typically mobile phones). Supports Drag'n'Drop interface for upload/download of files. -This Doesnt pick up my Device(Droid Ultra) as normal user, so I use gksu -to launch it and it works great. Xfsudo works as well. It may or may not -detect your device as normal user, I have no idea and I make no promises. +This doesn't pick up my device (Droid Ultra) as a normal user, so I +use gksu to launch it and it works great. Xfsudo works as well. It may +or may not detect your device as a normal user, I have no idea and I +make no promises. This package is built with gtk2 but the default is gtk3, if you would like gtk3, simply delete or comment out the line ---with-gtk2 + --with-gtk2 from within the SlackBuild script under the configure flags. There is a FAQ inside the source tarball in the README. diff --git a/multimedia/gmtp/gmtp.SlackBuild b/multimedia/gmtp/gmtp.SlackBuild index 2afe872a85..7dc3a05def 100644 --- a/multimedia/gmtp/gmtp.SlackBuild +++ b/multimedia/gmtp/gmtp.SlackBuild @@ -85,6 +85,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +SLKCFLAGS+=" -fcommon" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/gnash/README b/multimedia/gnash/README index 9e034fc885..8f15693bf8 100644 --- a/multimedia/gnash/README +++ b/multimedia/gnash/README @@ -4,3 +4,4 @@ desktop or an embedded device, as well as a plugin for several browsers. Plugins are now disabled by default due to browsers removing support. Optional but recommended deps are gst0-ffmpeg and gst0-plugins-ugly. +Another optional dependency is qt4. diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild index 40b8e1aa90..f39d2ffaad 100644 --- a/multimedia/gnash/gnash.SlackBuild +++ b/multimedia/gnash/gnash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gnash -# Copyright 2012-2021 Kyle Guinn <elyk03@gmail.com> +# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnash VERSION=${VERSION:-0.8.11dev_20190130} SRCVER=${SRCVER:-583ccbc1275c7701dc4843ec12142ff86bb305b4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,24 +39,18 @@ if [ -z "$ARCH" ]; then esac 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 fi TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM-$VERSION +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO" +DOCS="AUTHORS COPYING ChangeLog NEWS README* TODO" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -70,13 +64,6 @@ else LIBDIRSUFFIX="" fi -# Set $NPAPI to "yes" to enable the Mozilla plugin. Requires xulrunner. -if [ "${NPAPI:-no}" != "no" ]; then - NPAPI_OPT="--enable-write" # This option no longer does anything? -else - NPAPI_OPT="--disable-npapi" -fi - # TODO: Test the KPARTS3 plugin with KDE3/Trinity. if [ "${KPARTS3:-no}" != "no" ]; then KPARTS3_OPT="" @@ -140,11 +127,11 @@ autoreconf -vif --enable-ssl \ --without-gconf \ --with-plugins-install=system \ - $NPAPI_OPT \ + --disable-npapi \ $KPARTS3_OPT \ $KPARTS4_OPT \ CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS -std=c++14" \ make make install-strip install-plugins DESTDIR=$PKG diff --git a/multimedia/gnome-mplayer/README b/multimedia/gnome-mplayer/README index d058d941a4..227c9b604e 100644 --- a/multimedia/gnome-mplayer/README +++ b/multimedia/gnome-mplayer/README @@ -1,22 +1,22 @@ -A GTK2/GTK3 interface to MPlayer. The power of MPlayer combined with a -friendly interface for your desktop; You can play all your multimedia -(audio, video, CD, DVDs, and VCDs, streams etc.), organize, sort and -create playlists, take screenshots while playing videos, be notified -about media changes. Full DVD and MKV chapter support, when supported by -Mplayer. Subtitle support with the ability to specify preferred audio -and subtitle languages if the media supports it. Support for cover art -retrieval from Amazon.com for audio media files with artist and/or album -information contained in the file. +A GTK2/GTK3 interface to MPlayer. The power of MPlayer combined with a +friendly interface for your desktop; You can play all your multimedia +(audio, video, CD, DVDs, and VCDs, streams etc.), organize, sort and +create playlists, take screenshots while playing videos, be notified +about media changes. Full DVD and MKV chapter support, when supported +by Mplayer. Subtitle support with the ability to specify preferred +audio and subtitle languages if the media supports it. Support for +cover art retrieval from Amazon.com for audio media files with artist +and/or album information contained in the file. -The player can be used to play media on websites from your browser when -used with Gecko Mediaplayer and is the modern replacement for the +The player can be used to play media on websites from your browser +when used with Gecko Mediaplayer and is the modern replacement for the mplayerplug-in application. Gnome MPlayer has a rich API that is exposed via DBus. Using DBus you can control a single or multiple instances of GNOME MPlayer from a single command. -Gnome MPlayer is not dependent on any Gnome libraries. However, the look -and feel of the application is based on the Gnome HIG. +Gnome MPlayer is not dependent on any Gnome libraries. However, the +look and feel of the application is based on the Gnome HIG. libmusicbrainz3 is an optional dependency. diff --git a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild index 5c8bc5d24e..b1af974558 100644 --- a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild +++ b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild @@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -31,8 +31,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,7 +60,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/multimedia/gnome-video-effects/README b/multimedia/gnome-video-effects/README new file mode 100644 index 0000000000..0f4d038c7c --- /dev/null +++ b/multimedia/gnome-video-effects/README @@ -0,0 +1,3 @@ +gnome-video-effects provides video effects for use in GNOME's webcam +application called "cheese". + diff --git a/multimedia/gnome-video-effects/gnome-video-effects.SlackBuild b/multimedia/gnome-video-effects/gnome-video-effects.SlackBuild new file mode 100644 index 0000000000..5168276249 --- /dev/null +++ b/multimedia/gnome-video-effects/gnome-video-effects.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for gnome-video-effects + +# Copyright 2023, Bob Funk, Winnipeg Canada +# 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=gnome-video-effects +VERSION=${VERSION:-0.5.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +ARCH=noarch + +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} + +SLKCFLAGS="-O2" +LIBDIRSUFFIX="" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$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 {} \; + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +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 +cp -a \ + AUTHORS COPYING ChangeLog NEWS README \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/gnome-video-effects/gnome-video-effects.info b/multimedia/gnome-video-effects/gnome-video-effects.info new file mode 100644 index 0000000000..f34e1a2c1d --- /dev/null +++ b/multimedia/gnome-video-effects/gnome-video-effects.info @@ -0,0 +1,10 @@ +PRGNAM="gnome-video-effects" +VERSION="0.5.0" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-video-effects" +DOWNLOAD="https://download.gnome.org/sources/gnome-video-effects/0.5/gnome-video-effects-0.5.0.tar.xz" +MD5SUM="0c81bfafa7fc5c88cb0834d0026ad001" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/multimedia/gnome-video-effects/slack-desc b/multimedia/gnome-video-effects/slack-desc new file mode 100644 index 0000000000..3b82134d42 --- /dev/null +++ b/multimedia/gnome-video-effects/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------------------------------------------------------| +gnome-video-effects: gnome-video-effects (Video Effects for GNOME Cheese) +gnome-video-effects: +gnome-video-effects: A collection of video effects for GNOME's Cheese application. +gnome-video-effects: +gnome-video-effects: +gnome-video-effects: +gnome-video-effects: +gnome-video-effects: +gnome-video-effects: +gnome-video-effects: https://gitlab.gnome.org/GNOME/gnome-video-effects +gnome-video-effects: diff --git a/multimedia/gnupod/README b/multimedia/gnupod/README index 374f6f719c..9a9ec1056b 100644 --- a/multimedia/gnupod/README +++ b/multimedia/gnupod/README @@ -1,5 +1,6 @@ GNUpod is a collection of tools which allow you to use your iPod with -Linux and other UNIX-like operating systems. All iPod-models are supported. +Linux and other UNIX-like operating systems. All iPod-models are +supported. Optional dependencies include: faac, ffmpeg, TiMidity++, perl-Audio-FLAC-Header, perl-Date-Manip, and diff --git a/multimedia/gnupod/gnupod.SlackBuild b/multimedia/gnupod/gnupod.SlackBuild index 76acf1d268..a841205e7d 100644 --- a/multimedia/gnupod/gnupod.SlackBuild +++ b/multimedia/gnupod/gnupod.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/google-talkplugin/README b/multimedia/google-talkplugin/README deleted file mode 100644 index 64751c0bd4..0000000000 --- a/multimedia/google-talkplugin/README +++ /dev/null @@ -1,4 +0,0 @@ -Google TalkPlugin - -This script will repackage the debian binary. Google doesn't version -their downloads, so the MD5SUM and VERSION numbers might not match. diff --git a/multimedia/google-talkplugin/google-talkplugin.SlackBuild b/multimedia/google-talkplugin/google-talkplugin.SlackBuild deleted file mode 100644 index 53577d8d3c..0000000000 --- a/multimedia/google-talkplugin/google-talkplugin.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for Google Voice (talkplugin) - -# Copyright 2010-2014 Erik Hanson, Minneapolis, MN, USA -# 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=google-talkplugin -VERSION=${VERSION:-5.41.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i386 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -case "$ARCH" in - i?86) DEBARCH="i386" ;; - x86_64) DEBARCH="amd64" ;; - *) echo "Not supported" ; exit 1 ;; -esac - -# Get the real version, thanks to Fred Richards. -REAL_VER=$(ar p google-talkplugin_current_${DEBARCH}.deb control.tar.gz | tar zxO ./control | grep Version | awk '{print $2}' | cut -d- -f1) - -# 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-$REAL_VER-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $PKG -ar p $CWD/google-talkplugin_current_${DEBARCH}.deb data.tar.gz | tar xvz -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 0755 $PKG # Put this back. -rm -rf etc/ opt/google/talkplugin/cron # The cron job is debian/ubuntu only. - -# These just aren't necessary, mozilla/plugins/ covers all bases. -for s in firefox iceape iceweasel midbrowser xulrunner xulrunner-addons ; do - rm -rf $PKG/usr/lib/${s} -done - -mv ${PKG}/usr/lib/chromium-browser ${PKG}/usr/lib/chromium - -if [ "$DEBARCH" = "amd64" ] ; then mv $PKG/usr/lib $PKG/usr/lib64 ; fi - -mkdir -p $PKG/usr/doc -mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$REAL_VER -rmdir $PKG/usr/share/doc $PKG/usr/share -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$REAL_VER/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$REAL_VER-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/google-talkplugin/google-talkplugin.info b/multimedia/google-talkplugin/google-talkplugin.info deleted file mode 100644 index 2937d8c212..0000000000 --- a/multimedia/google-talkplugin/google-talkplugin.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="google-talkplugin" -VERSION="5.41.0.0" -HOMEPAGE="http://www.google.com/chrome/" -DOWNLOAD="http://dl.google.com/linux/direct/google-talkplugin_current_i386.deb" -MD5SUM="915f51a1407488efbcda2af06c2ad6c1" -DOWNLOAD_x86_64="http://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -MD5SUM_x86_64="7bfeea18335d2ab7aab2dc40dd67355d" -REQUIRES="" -MAINTAINER="Erik Hanson" -EMAIL="erik@slackbuilds.org" diff --git a/multimedia/google-talkplugin/slack-desc b/multimedia/google-talkplugin/slack-desc deleted file mode 100644 index 521e6e0493..0000000000 --- a/multimedia/google-talkplugin/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -google-talkplugin: google-talkplugin (Google Voice and Video Browser Plugin) -google-talkplugin: -google-talkplugin: Google TalkPlugin enables Voice and Video chat right from Gmail, -google-talkplugin: iGoogle, and orkut. -google-talkplugin: -google-talkplugin: This is a binary repackage. -google-talkplugin: -google-talkplugin: -google-talkplugin: -google-talkplugin: -google-talkplugin: diff --git a/multimedia/goom/README b/multimedia/goom/README new file mode 100644 index 0000000000..3460c6674e --- /dev/null +++ b/multimedia/goom/README @@ -0,0 +1,3 @@ +Visualization plugin for XMMS audio player. +After installation you can enable goom +Visualization from settings. diff --git a/multimedia/goom/goom.SlackBuild b/multimedia/goom/goom.SlackBuild new file mode 100644 index 0000000000..381dab8609 --- /dev/null +++ b/multimedia/goom/goom.SlackBuild @@ -0,0 +1,123 @@ +#!/bin/bash + +# Slackware build script for goom + +# Copyright 2023 Vijay Marcel +# 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. +# +# Modified by slackbuilds.org + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=goom +VERSION=${VERSION:-2k4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=${SRCNAM:-$PRGNAM-$VERSION-0-src} + +if [ -z "$ARCH" ]; then +case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +HARDENING="-fexceptions -fstack-protector-strong -fstack-clash-protection -mindirect-branch=thunk -mfunction-return=thunk" + +SLDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack" + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -march=i586 -mtune=i686 -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -march=i686 -mtune=i686 -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM.tar.gz +mv -v $TMP/${PRGNAM}$VERSION-0 $TMP/$PRGNAM-$VERSION +cd $PRGNAM-$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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="$SLDFLAGS" \ +./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --build=$ARCH-slackware-linux \ + --with-xmms-prefix=/usr \ + --with-sdl-prefix=/usr \ + --enable-shared \ + --with-gnu-ld + +make +make install DESTDIR=$PKG + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +rm -f $PKG/usr/lib$LIBDIRSUFFIX/xmms/Visualization/libxmmsgoom2.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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/goom/goom.info b/multimedia/goom/goom.info new file mode 100644 index 0000000000..f966e10e30 --- /dev/null +++ b/multimedia/goom/goom.info @@ -0,0 +1,10 @@ +PRGNAM="goom" +VERSION="2k4" +HOMEPAGE="https://downloads.sourceforge.net/project/goom/" +DOWNLOAD="https://downloads.sourceforge.net/sourceforge/goom/goom2k4/0/goom-2k4-0-src.tar.gz" +MD5SUM="8100dd07e0c6784fdf079eeaa53a5c7f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/miro/slack-desc b/multimedia/goom/slack-desc index 13298f7abb..4bf44836b2 100644 --- a/multimedia/miro/slack-desc +++ b/multimedia/goom/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -miro: miro (Online media aggregator) -miro: -miro: Miro is a free Internet television application for the online -miro: Democracy Network. -miro: -miro: Homepage: http://www.getmiro.com/ -miro: -miro: -miro: -miro: -miro: +goom: goom (GOOM Visualization Plugin) +goom: +goom: Goom is Visualization plugin for XMMS audio player. +goom: +goom: +goom: +goom: Homepage:https://downloads.sourceforge.net/project/goom/ +goom: +goom: +goom: +goom: diff --git a/multimedia/gpac/README b/multimedia/gpac/README index cadc77b6f0..1e7c8f82a2 100644 --- a/multimedia/gpac/README +++ b/multimedia/gpac/README @@ -1,6 +1,6 @@ -GPAC is mainly used to package multimedia content for local or streaming -playback. GPAC includes MP4Box utility which lets packaging of -various audio and video codecs into mp4 container. +GPAC is mainly used to package multimedia content for local or +streaming playback. GPAC includes MP4Box utility which lets packaging +of various audio and video codecs into mp4 container. -Optional dependencies include the following: wxPython, js, faad2, ffmpeg, -xvidcore, jack, xulrunner and xmlrpc-c. +Optional dependencies include the following: wxPython, js, faad2, +ffmpeg, xvidcore, jack, xulrunner and xmlrpc-c. diff --git a/multimedia/gpodder/README b/multimedia/gpodder/README index 082b27e420..b2b23234cd 100644 --- a/multimedia/gpodder/README +++ b/multimedia/gpodder/README @@ -1,6 +1,13 @@ -gPodder is a podcast receiver/catcher written in Python utilizing PyGTK -for its user interface. gPodder allows the user to subscribe to RSS -feeds for podcasts, videocasts, and other similar content and download -media files found in those feeds. gPodder has system-tray -notifications, remote access to the gpodder.net web services and -optional support for Bluetooth and iPod synchronization. +gPodder +Media aggregator and podcast client +gPodder is a simple, open source podcast client. +In development since 2005 with a proven, mature codebase. + +gPodder is a media aggregator and podcast client written in Python. +It has a CLI called 'gpo' and also a GTK+ user interface that allows +the user to subscribe to RSS feeds for podcasts, videocasts, and other +similar content and download media files found in those feeds. + +gPodder has system-tray notifications, remote access to the +gpodder.net web services and optional support for Bluetooth +and iPod synchronization. diff --git a/multimedia/gpodder/doinst.sh b/multimedia/gpodder/doinst.sh index 4a25de5e6f..65c7e2eeb9 100644 --- a/multimedia/gpodder/doinst.sh +++ b/multimedia/gpodder/doinst.sh @@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - diff --git a/multimedia/gpodder/gpodder.SlackBuild b/multimedia/gpodder/gpodder.SlackBuild index ce0d5c8861..4d5fcd5453 100644 --- a/multimedia/gpodder/gpodder.SlackBuild +++ b/multimedia/gpodder/gpodder.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for gPodder +# Slackware build script for gpodder -# Copyright 2008-2009 Chess Griffin <chess@chessgriffin.com> +# Copyright 2024 Diniz Bortolotto <diniz.bortolotto@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,21 +11,21 @@ # 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. +# 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=gpodder -VERSION=${VERSION:-3.10.17} +VERSION=${VERSION:-3.11.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -50,22 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="COPYING" - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -76,22 +57,26 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; + +#set man inside $PKG/usr/man instead of $PKG/usr/share/man +export GPODDER_MANPATH_NO_SHARE=yes make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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/ -mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CONTRIBUTING.md COPYING README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/gpodder/gpodder.info b/multimedia/gpodder/gpodder.info index 7c2c99e213..3d72c85e7b 100644 --- a/multimedia/gpodder/gpodder.info +++ b/multimedia/gpodder/gpodder.info @@ -1,10 +1,10 @@ PRGNAM="gpodder" -VERSION="3.10.17" +VERSION="3.11.4" HOMEPAGE="http://gpodder.org/" -DOWNLOAD="https://github.com/gpodder/gpodder/archive/3.10.17/gpodder-3.10.17.tar.gz" -MD5SUM="2262b6fa6f26a0e933a6ea8b0d68b33c" +DOWNLOAD="https://github.com/gpodder/gpodder/archive/3.11.4/gpodder-3.11.4.tar.gz" +MD5SUM="63688566b1ab3ccc9b0c583afaeb2902" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="podcastparser mygpoclient" -MAINTAINER="Chris Farrell" -EMAIL="timcowchip@gorge.net" +MAINTAINER="Diniz Bortolotto" +EMAIL="diniz.bortolotto@gmail.com" diff --git a/multimedia/gpodder/slack-desc b/multimedia/gpodder/slack-desc index 940f98f12d..d5513fd620 100644 --- a/multimedia/gpodder/slack-desc +++ b/multimedia/gpodder/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -gpodder: gpodder (GTK2 media aggregator) +gpodder: gpodder (Media aggregator and podcast client) gpodder: -gpodder: gPodder is a podcast receiver/catcher written in Python utilizing -gpodder: PyGTK for its user interface. gPodder allows the user to subscribe -gpodder: to RSS feeds for podcasts, videocasts, and other similar content -gpodder: and download media files found in those feeds. -gpodder: gPodder has system-tray notifications, support for optional iPod -gpodder: synchronization, and MP3/Ogg id3 tag editing. -gpodder: -gpodder: Homepage: http://gpodder.org/ +gpodder: gPodder is a media aggregator and podcast client written in Python. +gpodder: It has a CLI called 'gpo' and also a GTK+ user interface that allows +gpodder: the user to subscribe to RSS feeds for podcasts, videocasts, and +gpodder: other similar content and download media files found in those feeds. +gpodder: gPodder has system-tray notifications, remote access to gpodder.net +gpodder: web services and optional support for Bluetooth and iPod +gpodder: synchronization. +gpodder: Homepage: https://gpodder.github.io/ gpodder: diff --git a/multimedia/gst-plugins-bad-nonfree/README b/multimedia/gst-plugins-bad-nonfree/README new file mode 100644 index 0000000000..038ef30548 --- /dev/null +++ b/multimedia/gst-plugins-bad-nonfree/README @@ -0,0 +1,24 @@ +gst-plugins-bad-nonfree (encumbered set of GStreamer plugins) + +GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par +compared to the rest. They might be close to being good quality, +but they're missing something - be it a good code review, some +documentation, a set of tests, a real live maintainer, or some actual +wide use. + +Since gst-plugins-bad-free is part of Slackware, this package only +includes the plugins that are not already in gst-plugins-bad-free. + +This optionally depends on TiMidity++, aom, amrnb, amrwb, celt, +chromaprint, DirectFB, faac, faad2, flite, gsm, ladspa_sdk, libass, +libcdaudio, libdc1394, libdca, libfdk-aac, libkate, liblrdf, libmimic, +libmodplug, libmusicbrainz, libofa, libquicktime, libsrtp, lv2, +musepack-tools, rtmpdump, schroedinger, srt, soundtouch, swfdec, +xvidcore, and nvidia*driver. And probably a few more that we've +missed. + +Note that if you have any version of the nvidia drivers installed +the script would autodetect them and will try to build its nvdec +support, requiring the presence on the system of cudatoolkit too: as +cudatoolkit is *huge*, cuda support is disabled by default but it can +be explicitly enabled passing the script the variable CUDA=yes diff --git a/multimedia/gst-plugins-bad-nonfree/README_docs.txt b/multimedia/gst-plugins-bad-nonfree/README_docs.txt new file mode 100644 index 0000000000..8ee8bceee9 --- /dev/null +++ b/multimedia/gst-plugins-bad-nonfree/README_docs.txt @@ -0,0 +1,3 @@ +If you're looking for the documentation, see: + +/usr/doc/gst-plugins-bad-free-*/ diff --git a/multimedia/gst-plugins-bad-nonfree/gst-plugins-bad-nonfree.SlackBuild b/multimedia/gst-plugins-bad-nonfree/gst-plugins-bad-nonfree.SlackBuild new file mode 100644 index 0000000000..5fdcb0305a --- /dev/null +++ b/multimedia/gst-plugins-bad-nonfree/gst-plugins-bad-nonfree.SlackBuild @@ -0,0 +1,236 @@ +#!/bin/bash + +# Slackware build script for gst-plugins-bad-nonfree + +# Copyright 2013-2021 Robby Workman, Tuscaloosa, Alabama, USA +# 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. + +# 20220307 bkw: this is a rename and rework of the old SBo +# gst-plugins-bad. Here we build only the portions of gst-plugins-bad +# that are missing from Slackware's gst-plugins-bad-free. Despite +# the -nonfree in the name, not all of these are encumbered (some +# just aren't included in Slackware because it lacks the optional +# dependencies). + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=gst-plugins-bad-nonfree +VERSION=${VERSION:-1.18.5} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +SRCNAM=gst-plugins-bad + +# 20220307 bkw: libsrtp is disabled by default because it currently breaks +# the build. +[ "${SRTP:-no}" = "no" ] && SRTPOPT="-Dsrtp=disabled" + +# 20220307 bkw: nvcodec is disabled by default, per Robby's README. +[ "${CUDA:-no}" = "no" ] && CUDAOPT="-Dnvcodec=disabled" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# 20220307 bkw: the massive list of -Dfoo=disabled below took a minute +# to put together. Notice that shm is *not* in the list, though it +# should be. This is because the build fails with -Dshm=disabled. +# So we build it, then remove it from $PKG after it's installed. + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dexamples=disabled \ + -Dopencv=disabled \ + $SRTPOPT \ + $CUDAOPT \ + -Daccurip=disabled \ + -Dadpcmdec=disabled \ + -Dadpcmenc=disabled \ + -Daiff=disabled \ + -Dasfmux=disabled \ + -Daudiobuffersplit=disabled \ + -Daudiofxbad=disabled \ + -Daudiomixmatrix=disabled \ + -Daudiolatency=disabled \ + -Daudiovisualizers=disabled \ + -Dautoconvert=disabled \ + -Dbayer=disabled \ + -Dcamerabin2=disabled \ + -Dcoloreffects=disabled \ + -Ddebugutils=disabled \ + -Ddvbsubenc=disabled \ + -Dfaceoverlay=disabled \ + -Dfestival=disabled \ + -Dfieldanalysis=disabled \ + -Dfreeverb=disabled \ + -Dfrei0r=disabled \ + -Dgaudieffects=disabled \ + -Dgdp=disabled \ + -Dgeometrictransform=disabled \ + -Did3tag=disabled \ + -Dinter=disabled \ + -Dinterlace=disabled \ + -Divfparse=disabled \ + -Divtc=disabled \ + -Djp2kdecimator=disabled \ + -Djpegformat=disabled \ + -Dlibrfb=disabled \ + -Dmidi=disabled \ + -Dmpegdemux=disabled \ + -Dmpegpsmux=disabled \ + -Dmpegtsdemux=disabled \ + -Dmpegtsmux=disabled \ + -Dmxf=disabled \ + -Dnetsim=disabled \ + -Drtp=disabled \ + -Dpcapparse=disabled \ + -Dpnm=disabled \ + -Dproxy=disabled \ + -Drawparse=disabled \ + -Dremovesilence=disabled \ + -Drist=disabled \ + -Drtmp2=disabled \ + -Drtp=disabled \ + -Dsdp=disabled \ + -Dsegmentclip=disabled \ + -Dsmooth=disabled \ + -Dspeed=disabled \ + -Dsubenc=disabled \ + -Dswitchbin=disabled \ + -Dtimecode=disabled \ + -Dvideoframe_audiolevel=disabled \ + -Dvideofilters=disabled \ + -Dvideoparsers=disabled \ + -Dvideosignal=disabled \ + -Dvmnc=disabled \ + -Dy4m=disabled \ + -Dbluez=disabled \ + -Ddecklink=disabled \ + -Ddvb=disabled \ + -Dfbdev=disabled \ + -Dipcpipeline=disabled \ + -Dkms=disabled \ + -Duvch264=disabled \ + -Dv4l2codecs=disabled \ + -Dva=disabled \ + -Dbz2=disabled \ + -Dclosedcaption=disabled \ + -Dcolormanagement=disabled \ + -Dcurl=disabled \ + -Ddash=disabled \ + -Ddtls=disabled \ + -Dfluidsynth=disabled \ + -Dhls=disabled \ + -Dneon=disabled \ + -Donvif=disabled \ + -Dopenal=disabled \ + -Dopencv=disabled \ + -Dopenexr=disabled \ + -Dopenjpeg=disabled \ + -Dopus=disabled \ + -Dresindvd=disabled \ + -Drsvg=disabled \ + -Dsbc=disabled \ + -Dsctp=disabled \ + -Dsmoothstreaming=disabled \ + -Dsndfile=disabled \ + -Dttml=disabled \ + -Dtranscode=disabled \ + -Dvulkan=disabled \ + -Dwayland=disabled \ + -Dwebrtc=disabled \ + -Dwebp=disabled + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +# 20220307 bkw: remove all the things that already exist in Slackware. +rm -rf $PKG/usr/lib*/gstreamer-*/libgstshm.so \ + $PKG/usr/lib*/*.so* \ + $PKG/usr/lib*/girepository* \ + $PKG/usr/lib*/pkgconfig \ + $PKG/usr/share \ + $PKG/usr/include \ + $PKG/usr/bin + +strip $PKG/usr/lib*/gstreamer-*/*.so + +# 20220308 bkw: don't even include the docs. they already exist in Pat's +# gst-plugins-bad-free package. +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cat $CWD/README_docs.txt > $PKGDOC/README_docs.txt +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.info b/multimedia/gst-plugins-bad-nonfree/gst-plugins-bad-nonfree.info index b20ac599c2..43340d39f2 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.info +++ b/multimedia/gst-plugins-bad-nonfree/gst-plugins-bad-nonfree.info @@ -1,4 +1,4 @@ -PRGNAM="gst-plugins-bad" +PRGNAM="gst-plugins-bad-nonfree" VERSION="1.18.5" HOMEPAGE="https://gstreamer.freedesktop.org/" DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.5.tar.xz" diff --git a/multimedia/gst-plugins-bad-nonfree/slack-desc b/multimedia/gst-plugins-bad-nonfree/slack-desc new file mode 100644 index 0000000000..da73b3c0b2 --- /dev/null +++ b/multimedia/gst-plugins-bad-nonfree/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------------------------------------------------------| +gst-plugins-bad-nonfree: gst-plugins-bad-nonfree (encumbered set of GStreamer plugins) +gst-plugins-bad-nonfree: +gst-plugins-bad-nonfree: GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par +gst-plugins-bad-nonfree: compared to the rest. They might be close to being good quality, +gst-plugins-bad-nonfree: but they're missing something - be it a good code review, some +gst-plugins-bad-nonfree: documentation, a set of tests, a real live maintainer, or some actual +gst-plugins-bad-nonfree: wide use. +gst-plugins-bad-nonfree: +gst-plugins-bad-nonfree: Since gst-plugins-bad-free is part of Slackware, this package only +gst-plugins-bad-nonfree: includes the plugins that are not already in gst-plugins-bad-free. +gst-plugins-bad-nonfree: diff --git a/multimedia/gst-plugins-bad/README b/multimedia/gst-plugins-bad/README deleted file mode 100644 index 662fadc1bc..0000000000 --- a/multimedia/gst-plugins-bad/README +++ /dev/null @@ -1,16 +0,0 @@ -GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared -to the rest. They might be close to being good quality, but they're missing -something - be it a good code review, some documentation, a set of tests, -a real live maintainer, or some actual wide use. - -This optionally depends on TiMidity++, aom, amrnb, amrwb, celt, faac, faad2 -flite, gsm, libass, libcdaudio, libdc1394, libdca, libfdk-aac, libkate, -liblrdf, libmimic, libmodplug, libmusicbrainz, libofa, libquicktime, -lv2, musepack-tools, rtmpdump, schroedinger, soundtouch, swfdec, xvidcore, -and nvidia*driver. - -Note that if you have any version of the nvidia drivers installed the -script will autodetect them and will try to build its nvdec support, -requiring the presence on the system of cudatoolkit too: as cudatoolkit -is *huge*, cuda support is disabled by default but it can be explicitly -enabled passing the script the variable CUDA=yes diff --git a/multimedia/gst-plugins-bad/slack-desc b/multimedia/gst-plugins-bad/slack-desc deleted file mode 100644 index b8e30f8f13..0000000000 --- a/multimedia/gst-plugins-bad/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -gst-plugins-bad: gst-plugins-bad (bad set of GStreamer plugins) -gst-plugins-bad: -gst-plugins-bad: GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par -gst-plugins-bad: compared to the rest. They might be close to being good quality, -gst-plugins-bad: but they're missing something - be it a good code review, some -gst-plugins-bad: documentation, a set of tests, a real live maintainer, or some -gst-plugins-bad: actual wide use. -gst-plugins-bad: -gst-plugins-bad: -gst-plugins-bad: -gst-plugins-bad: diff --git a/multimedia/gst-plugins-ugly/README b/multimedia/gst-plugins-ugly/README index 41aca06c64..2d2ab19fcf 100644 --- a/multimedia/gst-plugins-ugly/README +++ b/multimedia/gst-plugins-ugly/README @@ -1,7 +1,8 @@ -GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and -correct functionality, but distributing them might pose problems. The -license on either the plug-ins or the supporting libraries might not be -how we'd like. The code might be widely known to present patent problems. +GStreamer Ugly Plug-ins is a set of plug-ins that have good quality +and correct functionality, but distributing them might pose problems. +The license on either the plug-ins or the supporting libraries might +not be how we'd like. The code might be widely known to present patent +problems. This optionally depends on opencore-amr, libdvdcss, libmpeg2, twolame, and x264. diff --git a/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild b/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild index c65b2a7fb8..33c398cd84 100644 --- a/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild +++ b/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild @@ -34,7 +34,7 @@ SRCNAM=gst-ffmpeg if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -52,8 +52,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/gst0-plugins-ugly/README b/multimedia/gst0-plugins-ugly/README index 6fb0d527e4..09169028c2 100644 --- a/multimedia/gst0-plugins-ugly/README +++ b/multimedia/gst0-plugins-ugly/README @@ -1,6 +1,7 @@ -GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and -correct functionality, but distributing them might pose problems. The -license on either the plug-ins or the supporting libraries might not be -how we'd like. The code might be widely known to present patent problems. +GStreamer Ugly Plug-ins is a set of plug-ins that have good quality +and correct functionality, but distributing them might pose problems. +The license on either the plug-ins or the supporting libraries might +not be how we'd like. The code might be widely known to present patent +problems. This optionally depends on opencore-amr, libmpeg2, twolame, and x264. diff --git a/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild index 78187c5609..67d800a315 100644 --- a/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild +++ b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild @@ -36,7 +36,7 @@ SRCNAM=gst-plugins-ugly if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -54,8 +54,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.info b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.info index 7f4f1e8f51..b4d52bfee3 100644 --- a/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.info +++ b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.info @@ -5,6 +5,6 @@ DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugl MD5SUM="1d81c593e22a6cdf0f2b4f57eae93df2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="gst0-plugins-base" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" diff --git a/multimedia/gstreamer0/gstreamer0.SlackBuild b/multimedia/gstreamer0/gstreamer0.SlackBuild index 0c71ad4a89..2a3f35b5ee 100644 --- a/multimedia/gstreamer0/gstreamer0.SlackBuild +++ b/multimedia/gstreamer0/gstreamer0.SlackBuild @@ -86,6 +86,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/gstreamer-0.10.36-bison3.patch || exit 1 +sed -e 's/static volatile gsize gonce_data/static gsize gonce_data/g' -i gst/gstutils.h CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/gstreamer0/slack-desc b/multimedia/gstreamer0/slack-desc index 31bcf2128f..2609b28210 100644 --- a/multimedia/gstreamer0/slack-desc +++ b/multimedia/gstreamer0/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| gstreamer0: gstreamer0 (streaming multimedia framework, v0) -gstreamer0: +gstreamer0: gstreamer0: GStreamer is a library that allows the construction of graphs of a gstreamer0: media-handling components, ranging from simple Ogg/Vorbis playback gstreamer0: to complex audio (mixing) and video (non-linear editing) processing. gstreamer0: Applications can take advantage of advances in codec and filter gstreamer0: technology transparently. Developers can add new codecs and filters gstreamer0: by writing a simple plugin with a clean, generic interface. -gstreamer0: +gstreamer0: gstreamer0: GStreamer is released under the LGPL. -gstreamer0: +gstreamer0: diff --git a/multimedia/gtick/gtick.SlackBuild b/multimedia/gtick/gtick.SlackBuild index 987d362338..566f2acca6 100644 --- a/multimedia/gtick/gtick.SlackBuild +++ b/multimedia/gtick/gtick.SlackBuild @@ -25,14 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gtick -VERSION=${VERSION:-0.5.4} +VERSION=${VERSION:-0.5.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -75,9 +75,11 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +SLKCFLAGS+=" -fcommon" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/gtick/gtick.info b/multimedia/gtick/gtick.info index 53946d2ce7..3f7e008afd 100644 --- a/multimedia/gtick/gtick.info +++ b/multimedia/gtick/gtick.info @@ -1,8 +1,8 @@ PRGNAM="gtick" -VERSION="0.5.4" +VERSION="0.5.5" HOMEPAGE="http://www.antcom.de/gtick/" -DOWNLOAD="http://www.antcom.de/gtick/download/gtick-0.5.4.tar.gz" -MD5SUM="1df601c1ff202a9a888f982087fa2488" +DOWNLOAD="http://www.antcom.de/gtick/download/gtick-0.5.5.tar.gz" +MD5SUM="0d7e99785188aaf1b446d94c9a175939" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild index 4541845b52..75cad4b1c8 100644 --- a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild +++ b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild @@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -31,8 +31,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/guvcview/guvcview.SlackBuild b/multimedia/guvcview/guvcview.SlackBuild index 5253626c78..bc5f30760e 100644 --- a/multimedia/guvcview/guvcview.SlackBuild +++ b/multimedia/guvcview/guvcview.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for guvcview # -# Copyright 2010-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2010-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=guvcview -VERSION=${VERSION:-2.0.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -72,7 +69,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-src-$VERSION -tar xvf $CWD/$PRGNAM-src-$VERSION.tar.gz +mkdir -p $PRGNAM-src-$VERSION +tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2 cd $PRGNAM-src-$VERSION chown -R root:root . find -L . \ diff --git a/multimedia/guvcview/guvcview.info b/multimedia/guvcview/guvcview.info index 7a409ff5ae..18535e84ef 100644 --- a/multimedia/guvcview/guvcview.info +++ b/multimedia/guvcview/guvcview.info @@ -1,8 +1,8 @@ PRGNAM="guvcview" -VERSION="2.0.6" +VERSION="2.1.0" HOMEPAGE="http://guvcview.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/project/guvcview/source/guvcview-src-2.0.6.tar.gz" -MD5SUM="ea35acb3a97952ceca26d92478b6e7ea" +DOWNLOAD="http://downloads.sourceforge.net/project/guvcview/source/guvcview-src-2.1.0.tar.bz2" +MD5SUM="43593ab63c9fa7e31105d6552d926bf4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="portaudio" diff --git a/multimedia/gxine/README b/multimedia/gxine/README new file mode 100644 index 0000000000..04c5459f41 --- /dev/null +++ b/multimedia/gxine/README @@ -0,0 +1,5 @@ +GXine is a graphical frontend to the Xine Multimedia +player. It can play MPEG system streams [audio and video], +MPEG elementary streams such as mp3,mpa or mpv files, MPEG +transport stream, AVI,ASF,quicktime as well as (S)VCD and +DVD files. Anything Xine-lib can handle. diff --git a/multimedia/gxine/doinst.sh b/multimedia/gxine/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/multimedia/gxine/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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/gxine/gxine.SlackBuild b/multimedia/gxine/gxine.SlackBuild new file mode 100644 index 0000000000..9f99bfbeff --- /dev/null +++ b/multimedia/gxine/gxine.SlackBuild @@ -0,0 +1,147 @@ +#!/bin/bash + +# Slackware build script for gxine + +# Copyright 2023 Vijay Marcel +# 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=gxine +VERSION=${VERSION:-0.5.910} +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 [ ! -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} + +PREPROCESS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS" + +HARDENING="-fexceptions -fstack-protector-strong -fstack-clash-protection -mindirect-branch=thunk -mfunction-return=thunk -mneeded -fPIE" + +SLDFLAGS="-pie -Wl,-z,relro -Wl,-z,separate-code -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,defs" + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="$PREPROCESS -march=i586 -mtune=i686 -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="$PREPROCESS -march=i686 -mtune=i686 -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="$PREPROCESS -march=x86-64 -mtune=generic -pipe -O2 -fPIC $HARDENING" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$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 {} \; + +for size in 64 64 ; do +convert $TMP/${PRGNAM}-${VERSION}/pixmaps/${PRGNAM}.png -resize ${size}x${size}! \ + $TMP/${PRGNAM}-${VERSION}/pixmaps/Gxine.png +done + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="$SLDFLAGS" \ +./autogen.sh \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux \ + --with-xcb \ + --with-x \ + --enable-watchdog \ + --disable-deprecated \ + --without-hal \ + --with-gtk3 \ + --with-gudev \ + --with-logo-format=auto + +make +make install DESTDIR=$PKG + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/gxine/*.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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +rm -rvf $PKG/usr/share/applications/gxine.desktop +install -Dm0644 $CWD/gxine.desktop -t $PKG/usr/share/applications +rm -rvf $PKG/usr/share/icons/hicolor/64x64/apps/gxine.png +rm -rvf $PKG/usr/share/pixmaps/gxine.png +install -Dm0644 $TMP/$PRGNAM-$VERSION/pixmaps/Gxine.png -t $PKG/usr/share/pixmaps/ +install -Dm0644 $TMP/$PRGNAM-$VERSION/pixmaps/Gxine.png -t $PKG/usr/share/icons/hicolor/64x64/apps/ + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING README $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/gxine/gxine.desktop b/multimedia/gxine/gxine.desktop new file mode 100644 index 0000000000..00dc6ecbd6 --- /dev/null +++ b/multimedia/gxine/gxine.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=gxine +Comment=Watch videos or TV and listen to audio in a variety of formats +GenericName=Video Player +Exec=gxine %U +X-MultipleArgs=true +Icon=Gxine +Terminal=false +Type=Application +StartupNotify=true +Categories=AudioVideo;Video;GTK;Player;TV; +MimeType=x-content/video-dvd;x-content/audio-cdda;x-content/video-vcd;x-content/video-svcd; diff --git a/multimedia/gxine/gxine.info b/multimedia/gxine/gxine.info new file mode 100644 index 0000000000..58553ce7f7 --- /dev/null +++ b/multimedia/gxine/gxine.info @@ -0,0 +1,10 @@ +PRGNAM="gxine" +VERSION="0.5.910" +HOMEPAGE="https://sourceforge.net/projects/xine" +DOWNLOAD="https://downloads.sourceforge.net/xine/gxine/gxine-0.5.910.tar.xz" +MD5SUM="33f507b1014e928799dc2fe1c755fda6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="js185 gnome-vfs lirc" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/gxine/slack-desc b/multimedia/gxine/slack-desc new file mode 100644 index 0000000000..4ab211ce40 --- /dev/null +++ b/multimedia/gxine/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------------------------------------------------------| +gxine: gxine (Xine GUI Frontend) +gxine: +gxine: GXine is a graphical frontend to the Xine Multimedia +gxine: player. It can play MPEG system streams [audio and video], +gxine: MPEG elementary streams such as mp3,mpa or mpv files, MPEG +gxine: transport stream, AVI,ASF,quicktime as well as (S)VCD and +gxine: DVD files. Anything Xine-lib can handle. +gxine: +gxine: Homepage:https://sourforge.net/projects/xine +gxine: +gxine: diff --git a/multimedia/haruna/README b/multimedia/haruna/README new file mode 100644 index 0000000000..ebd6b7398c --- /dev/null +++ b/multimedia/haruna/README @@ -0,0 +1,13 @@ +Haruna Video Player + +Haruna is an open source video player built with Qt/QML and libmpv + +Features +these are just some features that set Haruna apart from others players + +- play online videos, through yt-dlp +- toggle playlist with mouse-over, playlist overlays the video +- auto skip chapter containing certain words +- configurable shortcuts and mouse buttons +- quick jump to next chapter by middle click on progress bar + diff --git a/multimedia/haruna/doinst.sh b/multimedia/haruna/doinst.sh new file mode 100644 index 0000000000..be52e823bf --- /dev/null +++ b/multimedia/haruna/doinst.sh @@ -0,0 +1,11 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +# If other icon themes are installed, then add to/modify this as needed +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/multimedia/haruna/haruna.SlackBuild b/multimedia/haruna/haruna.SlackBuild new file mode 100644 index 0000000000..4481cf9698 --- /dev/null +++ b/multimedia/haruna/haruna.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/bash + +# Copyright 2022 marav, Paris, FR +# 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=haruna +VERSION=${VERSION:-0.12.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +mkdir build +cd build + cmake \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 +cp -a \ + LICENSES/* \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -rf $PKG/usr/share/doc + +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/haruna/haruna.info b/multimedia/haruna/haruna.info new file mode 100644 index 0000000000..c63e693c1c --- /dev/null +++ b/multimedia/haruna/haruna.info @@ -0,0 +1,10 @@ +PRGNAM="haruna" +VERSION="0.12.3" +HOMEPAGE="https://apps.kde.org/haruna/" +DOWNLOAD="https://download.kde.org/stable/haruna/haruna-0.12.3.tar.xz" +MD5SUM="8369fde2841a696bfd027c9c18a82fc0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="mpv yt-dlp" +MAINTAINER="marav" +EMAIL="marav8@free.fr" diff --git a/multimedia/haruna/slack-desc b/multimedia/haruna/slack-desc new file mode 100644 index 0000000000..56792f5c1e --- /dev/null +++ b/multimedia/haruna/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 ':'. + + |-----handy-ruler------------------------------------------------------| +haruna: haruna (Video Player) +haruna: +haruna: haruna is an open source video player built with Qt/QML +haruna: and libmpv +haruna: +haruna: +haruna: +haruna: Homepage: https://apps.kde.org/haruna/ +haruna: +haruna: +haruna: diff --git a/multimedia/hexter/hexter.SlackBuild b/multimedia/hexter/hexter.SlackBuild index ff3bb6d193..243c0c9d2a 100644 --- a/multimedia/hexter/hexter.SlackBuild +++ b/multimedia/hexter/hexter.SlackBuild @@ -18,9 +18,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -56,9 +53,11 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +SLKCFLAGS+=" -lm" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/huludesktop/huludesktop.SlackBuild b/multimedia/huludesktop/huludesktop.SlackBuild index ccf89cec14..0793f5bd44 100644 --- a/multimedia/huludesktop/huludesktop.SlackBuild +++ b/multimedia/huludesktop/huludesktop.SlackBuild @@ -30,27 +30,34 @@ BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ "$ARCH" = "x86_64" ]; then + DEBARCH="amd64" +elif [[ $ARCH =~ i?86 ]]; then + DEBARCH="i386" +else + echo "$ARCH architecture is unsupported." >/dev/stderr + exit 1 +fi + REAL_VER=$(ar p ${PRGNAM}_${DEBARCH}.deb control.tar.gz | tar zxO ./control \ | grep Version | awk '{print $2}' | cut -d- -f1) -# 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-$REAL_VER-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -case "$(uname -m)" in - i?86) DEBARCH="i386" ; ARCH=i386 ;; - x86_64) DEBARCH="amd64" ; ARCH=x86_64 ;; - *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; -esac - set -eu rm -rf $PKG diff --git a/multimedia/huludesktop/huludesktop.info b/multimedia/huludesktop/huludesktop.info index 9a9099b27b..44f005053e 100644 --- a/multimedia/huludesktop/huludesktop.info +++ b/multimedia/huludesktop/huludesktop.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/huludesktop_i386.deb" MD5SUM="d9b27d1837ab86526100964e80c3cdd1" DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/huludesktop_amd64.deb" MD5SUM_x86_64="bccc94d7f327989dab2653d254f40869" -REQUIRES="flashplayer-plugin" +REQUIRES="" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" diff --git a/multimedia/iat/README b/multimedia/iat/README index c290afd127..d65061d502 100644 --- a/multimedia/iat/README +++ b/multimedia/iat/README @@ -1,5 +1,5 @@ -IAT (Iso9660 Analyzer Tool is a tool for detecting the structure of many types -of CD/DVD images and is part of iGnus Project. +IAT (Iso9660 Analyzer Tool is a tool for detecting the structure of +many types of CD/DVD images and is part of iGnus Project. With Iso9660 Analyzer Tool you can: * Create Cuesheet file from image CD/DVD diff --git a/multimedia/imagination/imagination.SlackBuild b/multimedia/imagination/imagination.SlackBuild index 17ec502713..b18dd1920d 100644 --- a/multimedia/imagination/imagination.SlackBuild +++ b/multimedia/imagination/imagination.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for imagination -# Maintained by Klaatu @member.fsf.org +# Maintained by Klaatu <klaatu@member.fsf.org> | Lawrence NZ # Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=imagination -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -102,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + AUTHORS COPYING ChangeLog INSTALL README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/imagination/imagination.info b/multimedia/imagination/imagination.info index b90682b52e..36c50e9fb8 100644 --- a/multimedia/imagination/imagination.info +++ b/multimedia/imagination/imagination.info @@ -1,8 +1,8 @@ PRGNAM="imagination" -VERSION="3.1" +VERSION="3.6" HOMEPAGE="http://imagination.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/imagination/imagination-3.1.tar.bz2" -MD5SUM="0c430f90a58cbd6c9fcebf1f8385d777" +DOWNLOAD="https://sourceforge.net/projects/imagination/files/imagination-3.6.tar.gz" +MD5SUM="798bcb72a939f5c6c48801fd0442f1b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/inputstream.adaptive/README b/multimedia/inputstream.adaptive/README new file mode 100644 index 0000000000..923b804ff6 --- /dev/null +++ b/multimedia/inputstream.adaptive/README @@ -0,0 +1,16 @@ +InputStream Adaptive (inputstream.adaptive) is a binary kodi addon +that acts as a demuxer for segmented, multi-bitrate internet streams. +On Kodi, InputStream Adaptive serves as a client for adaptive streams +and can even play DRM content using an external library. + +It is an essential component for many popular video addons including +Hummingbird, Netflix, YouTube, Disney Plus, Amazon Prime Video and SGK +Live-Portal. + +NOTE: Many, if not all, players using inputstream.adaptive will +require downloading and installing the Widevine Content Decryption +Module (CDM). Widevine CDM is DRM licensing and encryption technology +that is owned and maintained by Google. + +Kodi will prompt you to agree to download and install it the first +time Widevine CDM is requested for use. diff --git a/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild b/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild new file mode 100644 index 0000000000..47ce5311a2 --- /dev/null +++ b/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/bash + +# Slackware build script for inputstream.adaptive + +# Copyright 2022-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# 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=inputstream.adaptive +CODNAM=Omega +VERSION=${VERSION:-21.4.7} +BENTO4VER=${BENTO4VER:-1.6.0-641} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION-$CODNAM +tar xvf $CWD/$PRGNAM-$VERSION-$CODNAM.tar.gz +cd $PRGNAM-$VERSION-$CODNAM +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 {} \; + +mkdir -p build +cd build + + # Requires internal bento4 as it won't work with external bento4 + # when built with apps. + # See https://github.com/xbmc/inputstream.adaptive/issues/859#issuecomment-1429396200 + + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_INTERNAL_BENTO4=ON \ + -DBENTO4_URL=$CWD/Bento4-$BENTO4VER-$CODNAM.tar.gz \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.md README.md \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/inputstream.adaptive/inputstream.adaptive.info b/multimedia/inputstream.adaptive/inputstream.adaptive.info new file mode 100644 index 0000000000..219567c3e9 --- /dev/null +++ b/multimedia/inputstream.adaptive/inputstream.adaptive.info @@ -0,0 +1,12 @@ +PRGNAM="inputstream.adaptive" +VERSION="21.4.7" +HOMEPAGE="https://github.com/xbmc/inputstream.adaptive/" +DOWNLOAD="https://github.com/xbmc/inputstream.adaptive/archive/21.4.7-Omega/inputstream.adaptive-21.4.7-Omega.tar.gz \ + https://github.com/xbmc/Bento4/archive/refs/tags/1.6.0-641-Omega/Bento4-1.6.0-641-Omega.tar.gz" +MD5SUM="084e0e4454abce7cd65fe0152b19c201 \ + 77b1246f0d738ee4f2006c27eb48d3c8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="kodi pycryptodomex pugixml" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/inputstream.adaptive/slack-desc b/multimedia/inputstream.adaptive/slack-desc new file mode 100644 index 0000000000..6db0c57095 --- /dev/null +++ b/multimedia/inputstream.adaptive/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------------------------------------------------------| +inputstream.adaptive: inputstream.adaptive (kodi addon for adaptive streams) +inputstream.adaptive: +inputstream.adaptive: InputStream Adaptive (inputstream.adaptive) is a binary kodi addon +inputstream.adaptive: that acts as a demuxer for segmented, multi-bitrate internet streams. +inputstream.adaptive: On Kodi, InputStream Adaptive serves as a client for adaptive streams +inputstream.adaptive: and can even play DRM content using an external library. +inputstream.adaptive: +inputstream.adaptive: It is an essential component for many popular video addons including +inputstream.adaptive: Hummingbird, Netflix, YouTube, Disney Plus, Amazon Prime Video and SGK +inputstream.adaptive: Live-Portal. +inputstream.adaptive: diff --git a/multimedia/intel-gmmlib/README b/multimedia/intel-gmmlib/README new file mode 100644 index 0000000000..c0ef0fe205 --- /dev/null +++ b/multimedia/intel-gmmlib/README @@ -0,0 +1,3 @@ +The Intel(R) Graphics Memory Management Library provides device specific +and buffer management for the Intel(R) Graphics Compute Runtime for +OpenCL(TM) and the Intel(R) Media Driver for VAAPI. diff --git a/multimedia/intel-gmmlib/intel-gmmlib.SlackBuild b/multimedia/intel-gmmlib/intel-gmmlib.SlackBuild new file mode 100644 index 0000000000..0d62385bcf --- /dev/null +++ b/multimedia/intel-gmmlib/intel-gmmlib.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/bash + +# Slackware build script for intel-gmmlib + +# Copyright 2021 Mario Preksavec, Zagreb, Croatia +# 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=intel-gmmlib +VERSION=${VERSION:-21.3.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=gmmlib-$PRGNAM + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.md README.rst $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/intel-gmmlib/intel-gmmlib.info b/multimedia/intel-gmmlib/intel-gmmlib.info new file mode 100644 index 0000000000..56c6e5218b --- /dev/null +++ b/multimedia/intel-gmmlib/intel-gmmlib.info @@ -0,0 +1,10 @@ +PRGNAM="intel-gmmlib" +VERSION="21.3.1" +HOMEPAGE="https://github.com/intel/gmmlib/" +DOWNLOAD="https://github.com/intel/gmmlib/archive/intel-gmmlib-21.3.1/gmmlib-intel-gmmlib-21.3.1.tar.gz" +MD5SUM="e6755c5d0f44e336f298cee9c7c3fdae" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Mario Preksavec" +EMAIL="mario at slackware dot hr" diff --git a/multimedia/intel-gmmlib/slack-desc b/multimedia/intel-gmmlib/slack-desc new file mode 100644 index 0000000000..1dbed8d8b5 --- /dev/null +++ b/multimedia/intel-gmmlib/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------------------------------------------------------| +intel-gmmlib: intel-gmmlib (The Intel(R) Graphics Memory Management Library) +intel-gmmlib: +intel-gmmlib: The Intel(R) Graphics Memory Management Library provides device +intel-gmmlib: specific and buffer management for the Intel(R) Graphics Compute +intel-gmmlib: Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI. +intel-gmmlib: +intel-gmmlib: +intel-gmmlib: +intel-gmmlib: +intel-gmmlib: +intel-gmmlib: diff --git a/multimedia/intel-media-driver/README b/multimedia/intel-media-driver/README new file mode 100644 index 0000000000..874e5090d1 --- /dev/null +++ b/multimedia/intel-media-driver/README @@ -0,0 +1,3 @@ +The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration +API) user mode driver supporting hardware accelerated decoding, +encoding, and video post processing for GEN based graphics hardware. diff --git a/multimedia/intel-media-driver/intel-media-driver.SlackBuild b/multimedia/intel-media-driver/intel-media-driver.SlackBuild new file mode 100644 index 0000000000..dfb1b3b30b --- /dev/null +++ b/multimedia/intel-media-driver/intel-media-driver.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/bash + +# Slackware build script for intel-media-driver + +# Copyright 2021 Mario Preksavec, Zagreb, Croatia +# 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=intel-media-driver +VERSION=${VERSION:-21.3.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=intel-media + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf media-driver-$SRCNAM-$VERSION +tar xvf $CWD/media-driver-$SRCNAM-$VERSION.tar.gz +cd media-driver-$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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CODEOWNERS LICENSE.md README.md $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/intel-media-driver/intel-media-driver.info b/multimedia/intel-media-driver/intel-media-driver.info new file mode 100644 index 0000000000..9516ea42a4 --- /dev/null +++ b/multimedia/intel-media-driver/intel-media-driver.info @@ -0,0 +1,10 @@ +PRGNAM="intel-media-driver" +VERSION="21.3.5" +HOMEPAGE="https://github.com/intel/media-driver/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/intel/media-driver/archive/intel-media-21.3.5/media-driver-intel-media-21.3.5.tar.gz" +MD5SUM_x86_64="3ace8aec373b3990acb1e3270e4a9e0b" +REQUIRES="intel-gmmlib" +MAINTAINER="Mario Preksavec" +EMAIL="mario at slackware dot hr" diff --git a/multimedia/pepperflash-plugin/slack-desc b/multimedia/intel-media-driver/slack-desc index 0b2ccd490b..797217d89e 100644 --- a/multimedia/pepperflash-plugin/slack-desc +++ b/multimedia/intel-media-driver/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -pepperflash-plugin: pepperflash-plugin (flash PPAPI plugin) -pepperflash-plugin: -pepperflash-plugin: This package contains Adobe's PPAPI Flash Plugin. -pepperflash-plugin: -pepperflash-plugin: You will have to accept the bundled license file if you want to use -pepperflash-plugin: this closed-source plugin. -pepperflash-plugin: -pepperflash-plugin: homepage: https://get.adobe.com/flashplayer/otherversions/ -pepperflash-plugin: -pepperflash-plugin: -pepperflash-plugin: +intel-media-driver: intel-media-driver (The Intel(R) Media Driver for VAAPI) +intel-media-driver: +intel-media-driver: The Intel(R) Media Driver for VAAPI is a new VA-API (Video +intel-media-driver: Acceleration API) user mode driver supporting hardware accelerated +intel-media-driver: decoding, encoding, and video post processing for GEN based graphics +intel-media-driver: hardware. +intel-media-driver: +intel-media-driver: +intel-media-driver: +intel-media-driver: +intel-media-driver: diff --git a/multimedia/intel-media-sdk/README b/multimedia/intel-media-sdk/README new file mode 100644 index 0000000000..5456e3ed25 --- /dev/null +++ b/multimedia/intel-media-sdk/README @@ -0,0 +1,11 @@ +Intel(R) Media SDK provides a plain C API to access hardware-accelerated +video decode, encode and filtering on Intel(R) Gen graphics hardware +platforms. Implementation written in C++ 11 with parts in C-for-Media +(CM). + +Supported video encoders: HEVC, AVC, MPEG-2, JPEG, VP9 + +Supported video decoders: HEVC, AVC, VP8, VP9, MPEG-2, VC1, JPEG, AV1 + +Supported video pre-processing filters: Color Conversion, Deinterlace, +Denoise, Resize, Rotate, Composition diff --git a/multimedia/intel-media-sdk/intel-media-sdk.SlackBuild b/multimedia/intel-media-sdk/intel-media-sdk.SlackBuild new file mode 100644 index 0000000000..2c3f1e67bf --- /dev/null +++ b/multimedia/intel-media-sdk/intel-media-sdk.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for intel-media-sdk + +# Copyright 2021 Mario Preksavec, Zagreb, Croatia +# 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=intel-media-sdk +VERSION=${VERSION:-21.3.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=intel-mediasdk + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf MediaSDK-$SRCNAM-$VERSION +tar xvf $CWD/MediaSDK-$SRCNAM-$VERSION.tar.gz +cd MediaSDK-$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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TOOLS:BOOL="ON" \ + -DENABLE_OPENCL:BOOL="OFF" \ + -DENABLE_X11_DRI3:BOOL="ON" \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md CODEOWNERS CONTRIBUTING.md LICENSE README.rst \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/intel-media-sdk/intel-media-sdk.info b/multimedia/intel-media-sdk/intel-media-sdk.info new file mode 100644 index 0000000000..8ac23ebd28 --- /dev/null +++ b/multimedia/intel-media-sdk/intel-media-sdk.info @@ -0,0 +1,10 @@ +PRGNAM="intel-media-sdk" +VERSION="21.3.5" +HOMEPAGE="https://github.com/Intel-Media-SDK/MediaSDK/" +DOWNLOAD="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-21.3.5/MediaSDK-intel-mediasdk-21.3.5.tar.gz" +MD5SUM="7a71beb6def13ab71348785a8880dd0a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Mario Preksavec" +EMAIL="mario at slackware dot hr" diff --git a/multimedia/intel-media-sdk/slack-desc b/multimedia/intel-media-sdk/slack-desc new file mode 100644 index 0000000000..977888fe5b --- /dev/null +++ b/multimedia/intel-media-sdk/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------------------------------------------------------| +intel-media-sdk: intel-media-sdk (Intel(R) Media SDK) +intel-media-sdk: +intel-media-sdk: Intel(R) Media SDK provides a plain C API to access +intel-media-sdk: hardware-accelerated video decode, encode and filtering on Intel(R) +intel-media-sdk: Gen graphics hardware platforms. Implementation written in C++ 11 +intel-media-sdk: with parts in C-for-Media (CM). +intel-media-sdk: +intel-media-sdk: +intel-media-sdk: +intel-media-sdk: +intel-media-sdk: diff --git a/multimedia/iptvnator/README b/multimedia/iptvnator/README new file mode 100644 index 0000000000..de5739ac64 --- /dev/null +++ b/multimedia/iptvnator/README @@ -0,0 +1,32 @@ +IPTVnator - IPTV Player Application + +IPTVnator is a video player application that provides support for the +playback of IPTV playlists (m3u, m3u8). +The application allows to import playlists by using remote URLs or per +file upload from the file system. Additionally there is a support of EPG +information XMLTV-based which can be provided by URL. + +The application is a cross-platform and open source project based on +Electron and Angular. + +Note: IPTVnator doesn't provide any playlists or other digital +content. + +Features +- M3u and M3u8 playlists support +- Xtream Code (XC) and Stalker portal (STB) support +- External player support - mvp, VLC +- Add playlists from file system or from remote URL +- Playlists auto-update feature on app startup +- Search for channels +- EPG support (TV Guide) with detailed info +- TV archive/catchup/timeshift +- Group-based channels list +- Save channels as favorites +- Global favorites aggregated from all playlists +- HTML video player with hls.js support or Video.js based player +- Internalization, currently 8 languages are supported (en, ru, de, ko, + es, zh, fr, it) +- Set custom "User Agent" header for a playlist +- Light and Dark theme +- Version for self-hosted docker is available diff --git a/multimedia/iptvnator/doinst.sh b/multimedia/iptvnator/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/multimedia/iptvnator/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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/iptvnator/iptvnator.SlackBuild b/multimedia/iptvnator/iptvnator.SlackBuild new file mode 100644 index 0000000000..02cb821343 --- /dev/null +++ b/multimedia/iptvnator/iptvnator.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/bash + +# Slackware build script for iptvnator + +# Copyright 2023-2024 Marco Lavorini, Campiglia Marittima Italy +# 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=iptvnator +VERSION=${VERSION:-0.15.1} +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 [ ! -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} + +if [ "$ARCH" = "x86_64" ]; then + SUFFIX="amd64" +else + echo Arch $ARCH not supported! + exit 1 +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +mkdir -p $PRGNAM +cd $PRGNAM +ar -x $CWD/$PRGNAM\_$VERSION\_$SUFFIX.deb +tar xvf data.tar.xz -C $PKG +cd $PKG +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 {} + + +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 +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rm -Rf $PKG/usr/share/doc/ + +mkdir -p $PKG/usr/bin/ +ln -sf ../../opt/IPTVnator/iptvnator $PKG/usr/bin/iptvnator +chmod 4755 $PKG/opt/IPTVnator/chrome-sandbox + +sed -i "s|/opt/IPTVnator/||g" $PKG/usr/share/applications/$PRGNAM.desktop +sed -i "s|Video|AudioVideo|g" $PKG/usr/share/applications/$PRGNAM.desktop + +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/iptvnator/iptvnator.info b/multimedia/iptvnator/iptvnator.info new file mode 100644 index 0000000000..1755e4f210 --- /dev/null +++ b/multimedia/iptvnator/iptvnator.info @@ -0,0 +1,10 @@ +PRGNAM="iptvnator" +VERSION="0.15.1" +HOMEPAGE="https://github.com/4gray/iptvnator" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/4gray/iptvnator/releases/download/v0.15.1/iptvnator_0.15.1_amd64.deb" +MD5SUM_x86_64="35b243ffb88ae2188db4d5d81f4738a3" +REQUIRES="" +MAINTAINER="Marco Lavorini" +EMAIL="sbo.mlavorini@outlook.com" diff --git a/multimedia/iptvnator/slack-desc b/multimedia/iptvnator/slack-desc new file mode 100644 index 0000000000..dc1b53780b --- /dev/null +++ b/multimedia/iptvnator/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------------------------------------------------------| +iptvnator: iptvnator (IPTV Player Application) +iptvnator: +iptvnator: IPTVnator is a video player application that provides support for +iptvnator: the playback of IPTV playlists (m3u, m3u8). +iptvnator: +iptvnator: +iptvnator: +iptvnator: Homepage: https://github.com/4gray/iptvnator +iptvnator: +iptvnator: +iptvnator: diff --git a/multimedia/ivtv-utils/README b/multimedia/ivtv-utils/README index f151532b6b..68bf7f3334 100644 --- a/multimedia/ivtv-utils/README +++ b/multimedia/ivtv-utils/README @@ -1,8 +1,8 @@ Userspace utilities and firmware for Hauppauge PVR cards. Note that the header files ivtv.h and ivtvfb.h included in the source -tarball are already provided by the Linux kernel headers, so the included -build script removes these. +tarball are already provided by the Linux kernel headers, so the +included build script removes these. Similarly, two binaries v4l2-ctl and ivtv-ctl are provided by v4l-utils (assuming you did a full Slackware installation) and therefore the in- diff --git a/multimedia/ivtv-utils/ivtv-utils.SlackBuild b/multimedia/ivtv-utils/ivtv-utils.SlackBuild index 2203ec4591..cea9578bb8 100644 --- a/multimedia/ivtv-utils/ivtv-utils.SlackBuild +++ b/multimedia/ivtv-utils/ivtv-utils.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20231030 bkw: modified by SlackBuilds.org, BUILD=2: +# - add missing SlackBuild to /usr/doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ivtv-utils VERSION=${VERSION:-1.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -76,9 +76,9 @@ tar xvf $CWD/ivtv-firmware-20080701.tar.gz 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Use SLKCFLAGS sed -i "/^C.*.*FLAGS/s/=/+=/" Makefile @@ -100,8 +100,10 @@ for file in \ install -D -m644 $file $PKG/lib/firmware/$file done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING* ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +cp -a COPYING* ChangeLog README $PKGDOC # N.B. Remove stuff that clobbers existing files - thanks Arch Linux: # Already provided by kernel headers diff --git a/multimedia/ivtv-utils/ivtv-utils.info b/multimedia/ivtv-utils/ivtv-utils.info index 54422bd8e8..6e595f0e1b 100644 --- a/multimedia/ivtv-utils/ivtv-utils.info +++ b/multimedia/ivtv-utils/ivtv-utils.info @@ -1,10 +1,10 @@ PRGNAM="ivtv-utils" VERSION="1.4.1" HOMEPAGE="http://ivtvdriver.org/" -DOWNLOAD="http://http.debian.net/debian/pool/contrib/i/ivtv-utils/ivtv-utils_1.4.1.orig.tar.gz \ - ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/ivtv-firmware-20080701.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/ivtv-utils_1.4.1.orig.tar.gz \ + https://distfiles.gentoo.org/distfiles/ad/ivtv-firmware-20080701.tar.gz" MD5SUM="3a4219d698262ca2b28e41f0f547b0a2 \ - b9a871f1c569025be9c48a77b3515faf" + b9a871f1c569025be9c48a77b3515faf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/jellyfin-bin/README b/multimedia/jellyfin-bin/README new file mode 100644 index 0000000000..9417a5d22b --- /dev/null +++ b/multimedia/jellyfin-bin/README @@ -0,0 +1,12 @@ +Jellyfin is the volunteer-built media solution that puts you in control +of your media. Stream to any device from your own server, with no +strings attached. Your media, your server, your way. + +By default, jellyfin will use below folders: + -Data /opt/jellyfin/data + -Cache /opt/jellyfin/cache + -Log /opt/jellyfin/log + -Config /opt/jellyfin/config +To change them, edit /etc/default/jellyfin + +For more information read README.SLACKWARE diff --git a/multimedia/jellyfin-bin/README.SLACKWARE b/multimedia/jellyfin-bin/README.SLACKWARE new file mode 100644 index 0000000000..e5c2ea53c8 --- /dev/null +++ b/multimedia/jellyfin-bin/README.SLACKWARE @@ -0,0 +1,14 @@ +The default configuration is under /etc/default/jellyfin and is s below: + +DATADIR=/opt/jellyfin/data +CACHEDIR=/opt/jellyfin/cache +CONFIGDIR=/opt/jellyfin/config +LOGDIR=/opt/jellyfin/log + +You can change them as you need and the package updates won't override +them + +It is also possible to run jellyfin under its own user: Usually people +use jellyfin:jellyfin. If you want to run it under its own user, then +you have to change the permissions of the DATADIR, CACHEDIR, CONFIGFIR, +and LOGDIR so jellyfin user can read and write to the folders.
\ No newline at end of file diff --git a/multimedia/jellyfin-bin/doinst.sh b/multimedia/jellyfin-bin/doinst.sh new file mode 100644 index 0000000000..cda26e8011 --- /dev/null +++ b/multimedia/jellyfin-bin/doinst.sh @@ -0,0 +1,24 @@ +# FUNCTION: config() +# DESCRIPTION: Discards identical copies of config and rc.INIT files. +# ARGUMENTS: A single filename. +# NOTE +# Files should be installed with a .new extension. +# Example: etc/rc.d/rc.myshinynewdaemon.new +# We don't clobber if it's avoidable. +# "slackpkg new-config" is one way that users can list+process .new files. + +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Does the finished package have config files in etc/? +config etc/default/jellyfin.new diff --git a/multimedia/jellyfin-bin/jellyfin b/multimedia/jellyfin-bin/jellyfin new file mode 100644 index 0000000000..ab57c7ab1c --- /dev/null +++ b/multimedia/jellyfin-bin/jellyfin @@ -0,0 +1,8 @@ +# Below is the default values. Change them as you need them +DATADIR=/opt/jellyfin/data +CACHEDIR=/opt/jellyfin/cache +CONFIGDIR=/opt/jellyfin/config +LOGDIR=/opt/jellyfin/log + +#USER=jellyfin +#GROUP=jellyfin
\ No newline at end of file diff --git a/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild b/multimedia/jellyfin-bin/jellyfin-bin.SlackBuild index 4c8d811617..d76acdafa3 100644 --- a/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild +++ b/multimedia/jellyfin-bin/jellyfin-bin.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for pepperflash-plugin +# Slackware build script for jellyfin-bin -# Copyright 2016-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2023 Ozan Türkyılmaz Türkiye # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,23 +24,22 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pepperflash-plugin -SRCNAM=flash_player_ppapi_linux -VERSION=${VERSION:-32.0.0.465} +PRGNAM=jellyfin-bin +APPNAME=jellyfin +ARCHFIX=amd64 +VERSION=${VERSION:-10.8.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i386 ;; + i?86) ARCH=i586;; + arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -50,21 +49,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i386" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - echo "$ARCH is unsupported." ; exit 1 -fi - set -e rm -rf $PKG -mkdir -p $TMP $OUTPUT \ - $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/lib/pepperflashplugin-nonfree -cd $PKG/usr/doc/$PRGNAM-$VERSION -tar xvf $CWD/$SRCNAM.$ARCH.tar.gz +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf "$APPNAME"_"$VERSION" +tar xvf $CWD/"$APPNAME"_"$VERSION"_"$ARCHFIX".tar.gz +cd "$APPNAME"_"$VERSION" chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -72,12 +64,28 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mv libpepflashplayer.so manifest.json $PKG/usr/lib/pepperflashplugin-nonfree/ +mkdir -p $PKG/opt/jellyfin +cd $PKG/opt/jellyfin +mkdir -p data cache config log +cp -r $TMP/"$APPNAME"_"$VERSION" $PKG/opt/jellyfin +ln -s "$APPNAME"_"$VERSION" "$APPNAME" + +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 + +mkdir -p $PKG/etc/rc.d/ +cat $CWD/rc.jellyfin > $PKG/etc/rc.d/rc.jellyfin +mkdir -p $PKG/etc/default/ +cat $CWD/jellyfin > $PKG/etc/default/jellyfin.new +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/jellyfin-bin/jellyfin-bin.info b/multimedia/jellyfin-bin/jellyfin-bin.info new file mode 100644 index 0000000000..3ad49f46e1 --- /dev/null +++ b/multimedia/jellyfin-bin/jellyfin-bin.info @@ -0,0 +1,10 @@ +PRGNAM="jellyfin-bin" +VERSION="10.8.13" +HOMEPAGE="https://jellyfin.org" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://repo.jellyfin.org/releases/server/linux/stable/combined/jellyfin_10.8.13_amd64.tar.gz" +MD5SUM_x86_64="49c815f03cfeb998afe35f53f25d8971" +REQUIRES="" +MAINTAINER="Ozan Türkyılmaz" +EMAIL="ozan.turkyilmaz@gmail.com" diff --git a/multimedia/jellyfin-bin/rc.jellyfin b/multimedia/jellyfin-bin/rc.jellyfin new file mode 100644 index 0000000000..6af29237e2 --- /dev/null +++ b/multimedia/jellyfin-bin/rc.jellyfin @@ -0,0 +1,77 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: Jellyfin Media Server +# Required-Start: +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Jellyfin Media Server +# Description: Runs Jellyfin Media Server +### END INIT INFO + +# Load the defaults +. /etc/default/jellyfin + + +start() { +if [ -x /opt/jellyfin/jellyfin/jellyfin ]; then + if [ "$USER" = "" ]; then + echo "Starting Jellyfin Media Server" + /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid -- \ + /opt/jellyfin/jellyfin/jellyfin \ + -d $DATADIR \ + -C $CACHEDIR \ + -c $CONFIGDIR \ + -l $LOGDIR + else + echo "Starting Jellyfin Media Server" + /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid -- \ + /opt/jellyfin/jellyfin/jellyfin \ + -d $DATADIR \ + -C $CACHEDIR \ + -c $CONFIGDIR \ + -l $LOGDIR \ + -u $USER:$GROUP + fi +fi +} + +stop() { +echo "Stopping Jellyfin Media Server" +if /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid --running ; then + /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid --stop +fi +} + +restart() { +echo "Restarting Jellyfin Media Server" +if /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid --running ; then + /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid --restart + fi +} + +status() { +/usr/bin/daemon --name=jellyfin --running --pidfile=/var/run/jellyfin.pid --verbose +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +restart) + restart + ;; +status) + status + ;; +*) + echo $"Usage: $0 {start|stop|restart|status}" + exit 1 +esac + + + diff --git a/multimedia/jellyfin-bin/slack-desc b/multimedia/jellyfin-bin/slack-desc new file mode 100644 index 0000000000..5e16fd2f03 --- /dev/null +++ b/multimedia/jellyfin-bin/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------------------------------------------------------| +jellyfin-bin: jellyfin-bin (The Free Software Media System) +jellyfin-bin: +jellyfin-bin: +jellyfin-bin: Jellyfin is a volunteer-built media solution that puts you in control +jellyfin-bin: of your media. Stream to any device from your own server, with no +jellyfin-bin: strings attached. Your media, your server, your way. +jellyfin-bin: +jellyfin-bin: https://jellyfin.org/ +jellyfin-bin: +jellyfin-bin: +jellyfin-bin: diff --git a/multimedia/jellyfin-media-player/README b/multimedia/jellyfin-media-player/README new file mode 100644 index 0000000000..7c0a0352e6 --- /dev/null +++ b/multimedia/jellyfin-media-player/README @@ -0,0 +1,8 @@ +Desktop client using jellyfin-web with embedded MPV player. Supports +Windows, Mac OS, and Linux. Media plays within the same window using the +jellyfin-web interface unlike Jellyfin Desktop. Supports audio +passthrough. Based on Plex Media Player. + +OPptional dependecies: + - libcec for HDMI CEC support + - lirc for Linux IR handling diff --git a/multimedia/simpleburn/doinst.sh b/multimedia/jellyfin-media-player/doinst.sh index 65c7e2eeb9..55ca305770 100644 --- a/multimedia/simpleburn/doinst.sh +++ b/multimedia/jellyfin-media-player/doinst.sh @@ -1,3 +1,4 @@ + if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi diff --git a/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild b/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild new file mode 100644 index 0000000000..73cf932ec9 --- /dev/null +++ b/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash + +# Slackware build script for jellyfin-media-player + +# Copyright 2022 Ozan Türkyılmaz Istanbul +# 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=jellyfin-media-player +WCPRGNAM=jellyfin-web +VERSION=${VERSION:-1.9.1} +WCVERSION=${WCVERSION:-10.8.10} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +mkdir -p build +cd build + #We untar webclient here + tar xvf $CWD/jellyfin-web_${WCVERSION}_portable.tar.gz + #And rename the folder + mv jellyfin-web_${WCVERSION} dist + cmake .. \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DOpenGL_GL_PREFERENCE=GLVND \ + -DCMAKE_SKIP_RPATH=1 \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $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/jellyfin-media-player/jellyfin-media-player.info b/multimedia/jellyfin-media-player/jellyfin-media-player.info new file mode 100644 index 0000000000..d5c0105ff0 --- /dev/null +++ b/multimedia/jellyfin-media-player/jellyfin-media-player.info @@ -0,0 +1,10 @@ +PRGNAM="jellyfin-media-player" +VERSION="1.9.1" +HOMEPAGE="https://github.com/jellyfin/jellyfin-media-player" +DOWNLOAD="https://github.com/jellyfin/jellyfin-media-player/archive/v1.9.1/jellyfin-media-player-1.9.1.tar.gz https://repo.jellyfin.org/releases/server/portable/stable/web/jellyfin-web_10.8.10_portable.tar.gz" +MD5SUM="7e9808a1f54b4dd814eae89ef4a5b408 e69f7ccb9df998d1cf2a606c316a8cc1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="mpv" +MAINTAINER="Ozan Turkyilmaz" +EMAIL="ozan.turkyilmaz@gmail.com" diff --git a/multimedia/jellyfin-media-player/slack-desc b/multimedia/jellyfin-media-player/slack-desc new file mode 100644 index 0000000000..bb5d310b85 --- /dev/null +++ b/multimedia/jellyfin-media-player/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------------------------------------------------------| +jellyfin-media-player: jellyfin-media-player (Jellyfin Desktop Client) +jellyfin-media-player: +jellyfin-media-player: Desktop client using jellyfin-web with embedded MPV player. Supports +jellyfin-media-player: Windows, Mac OS, and Linux. Media plays within the same window using +jellyfin-media-player: the jellyfin-web interface. +jellyfin-media-player: +jellyfin-media-player: https://github.com/jellyfin/jellyfin-media-player +jellyfin-media-player: +jellyfin-media-player: +jellyfin-media-player: +jellyfin-media-player: diff --git a/multimedia/jlscp/README b/multimedia/jlscp/README index 6a80be4413..880c0c69b6 100644 --- a/multimedia/jlscp/README +++ b/multimedia/jlscp/README @@ -4,7 +4,7 @@ This library provides client API for retrieving information and configuring running LinuxSampler instance according to the LinuxSampler control protocol version 1.4 -For more information about LinuxSampler visit http://www.linuxsampler.org +For more information about LinuxSampler, see http://www.linuxsampler.org Homepage: http://sourceforge.net/projects/jlscp/ See also: http://www.linuxsampler.org/downloads.html diff --git a/multimedia/jlscp/jlscp.SlackBuild b/multimedia/jlscp/jlscp.SlackBuild index 816ea50d78..804f822e34 100644 --- a/multimedia/jlscp/jlscp.SlackBuild +++ b/multimedia/jlscp/jlscp.SlackBuild @@ -4,6 +4,10 @@ # Written by klaatu@member.fsf.org +# 20220331 bkw: Modified by SlackBuilds.org: fail if JAVA_HOME not set +# and can't be set from profile.d script. This avoid creating a /jre +# in the package root. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jlscp @@ -13,9 +17,6 @@ TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# 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 @@ -36,9 +37,21 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ + +if [ -z "$JAVA_HOME" ]; then + source /etc/profile.d/zulu-openjdk8.sh +fi + +if [ -z "$JAVA_HOME" ]; then + cat <<EOF +*** No JDK found. Install zulu-openjdk8 or another *jdk package and +*** try again. +EOF + exit 1 +fi # here is the install, such as it is mkdir -p $PKG/$JAVA_HOME/jre/lib/ext diff --git a/multimedia/jlscp/jlscp.info b/multimedia/jlscp/jlscp.info index b8156a0e48..bdd77557c2 100644 --- a/multimedia/jlscp/jlscp.info +++ b/multimedia/jlscp/jlscp.info @@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/jlscp/jlscp-0.8.tar.bz2" MD5SUM="9a3a507b3e5359369c2be777e71b8232" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jdk linuxsampler" +REQUIRES="zulu-openjdk8 linuxsampler" MAINTAINER="Klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild index fee0b52a47..644189ac09 100644 --- a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild +++ b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild @@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/kaffeine/kaffeine.SlackBuild b/multimedia/kaffeine/kaffeine.SlackBuild index 105e57ba6e..68e42ef000 100644 --- a/multimedia/kaffeine/kaffeine.SlackBuild +++ b/multimedia/kaffeine/kaffeine.SlackBuild @@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kaffeine VERSION=${VERSION:-2.0.18} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -52,8 +52,8 @@ OUTPUT=${OUTPUT:-/tmp} SRC_VERSION=$(echo $VERSION | tr _ -) -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,6 +98,9 @@ cd - 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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING* Changelog NOTES README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/kaffeine/slack-desc b/multimedia/kaffeine/slack-desc index ae3331a5f7..d47926bcf8 100644 --- a/multimedia/kaffeine/slack-desc +++ b/multimedia/kaffeine/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -kaffeine: Kaffeine (Multimedia player for KDE) +kaffeine: kaffeine (Multimedia player for KDE) kaffeine: kaffeine: Kaffeine is a media player. What makes it different from the others is kaffeine: its excellent support of digital TV (DVB). Kaffeine has user-friendly diff --git a/multimedia/kodi/README b/multimedia/kodi/README index fb2bf88043..44352744a8 100644 --- a/multimedia/kodi/README +++ b/multimedia/kodi/README @@ -5,24 +5,31 @@ viewing and playing a vast library of audio, video and image formats. Kodi has a sophisticated library management system that allows you to organize all your media to give you quick and immediate access. -Optional dependencies: libcec, libnfs, lirc, cwiid, pybluez, avahi, - shairplay, and openjdk - -Optional: libcrystalhd (not available at slackbuilds.org) - -Below are some paramaters that can be passed to the slackbuild to turn -on some optional components. - -WII=yes|no (Default is no), requires cwiid and pybluez -WEBSERVER=yes|no (Default is yes), requires libmicrohttpd +Optional autodetected dependencies: +avahi - Network discovery +cwiid - Controller support +dav1d - AV1 codec support +libcec - CEC support +libmicrohttpd - Web interface support +libnfs - Browse NFS shares +libudfread - Universal Disk Format (UDF) support +lirc - Remote support +shairplay - Airplay Support +sndio - Alternative audio backend +waylandpp - Early wayland support NOTE: -Kodi can be compiled with openjdk instead of jdk. +Kodi can be compiled with jdk11 instead of zulu-openjdk11. -Please remove or rename /etc/oss.conf if it exists on your system -prior to building this package or it will fail to build. +ADDITIONAL NOTE: +If you are having issues with addons crashing, please ensure you're +upgraded to at least python3-3.9.14 or later from the patches/ +directory on your favorite mirror. 3.9.12 and earlier had issues. -Using the system ffmpeg in the Kodi slackbuild is currently not -supported. The option to build Kodi with system ffmpeg is still -available in the slackbuild but it won't be supported by the -maintainer. +FINAL NOTE: +FFMPEG on 15.0 is too old to be used in kodi v21, so it is using an +internal version of 6.0.1. If you have FFMPEG v6+ installed (probably +mainly -current users), you can have kodi build against the system +version by passing FFMPEG=external when building. System versions of +FFMPEG may need to be recompiled to enable certain functionality like +AV1 after installing dav1d. diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild index a954a733eb..69c527a5ff 100644 --- a/multimedia/kodi/kodi.SlackBuild +++ b/multimedia/kodi/kodi.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for kodi # Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2022-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,13 +27,22 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kodi SRCNAM=xbmc -CODNAM=Krypton -VERSION=${VERSION:-17.6} -FFMPEGVER=${FFMPEGVER:-3.1.11} +CODNAM=Omega +VERSION=${VERSION:-21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +# Versions used below +crossguidVER=${crossguiVER:-ca1bf4b810e2d188d04cb6286f957008ee1b7681} +libdvdcssVER=${libdvdcssVER:-1.4.3-Next-Nexus-Alpha2-2} +libdvdnavVER=${libdvdnavVER:-6.1.1-Next-Nexus-Alpha2-2} +libdvdreadVER=${libdvdreadVER:-6.1.3-Next-Nexus-Alpha2-2} +groovyVER=${groovyVER:-4.0.16} +comLangVER=${comLangVER:-3.14.0} +comTextVER=${comTextVER:-1.11.0} +ffmpegVER=${ffmpegVER:-6.0.1} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -41,9 +51,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -55,16 +62,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -72,12 +75,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION-$CODNAM +rm -rf $SRCNAM-$VERSION-$CODNAM $PRGNAM-build tar xvf $CWD/$SRCNAM-$VERSION-$CODNAM.tar.gz cd $SRCNAM-$VERSION-$CODNAM -# Don't have the Makefile download ffmpeg during install. -ln -s $CWD/FFmpeg-${FFMPEGVER}-${CODNAM}.tar.gz \ - tools/depends/target/ffmpeg/ffmpeg-${FFMPEGVER}-${CODNAM}-17.5.tar.gz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -85,89 +85,111 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# No need to show Git: "Version" in a release build. -sed -i '/Git:/s|.*| return GetVersionShort();|' $SRCNAM/utils/SystemInfo.cpp - -# Patch for Samba 4.0. -patch -p1 < $CWD/patches/xbmc-Krypton-samba-4.0.patch - -# Fix static linking for Texturepacker. Thanks to Gentoo. -# Issue: http://forum.kodi.tv/showthread.php?tid=220407 -patch -p0 < $CWD/patches/kodi-texturepacker.patch - -# The version of ffmpeg on SBo is too old to compile kodi. -# Optional ffmpeg is still available but not turned on by -# default. -if [ "${FFMPEG:-no}" == "yes" ]; then - OPT_DEPS="--with-ffmpeg=shared" +# Autodetection of "optional" dependencies sucks. It does not work and +# compilation will fail on each of these if not explicitly disabled. +# Figured I'd implement my own autodetection instead of requiring +# passing a bunch of annoying flags :) +if pkg-config --exists avahi-core ; then AVAHI=ON; else AVAHI=OFF; fi +if pkg-config --exists cwiid ; then CWIID=ON; else CWIID=OFF; fi +if pkg-config --exists dav1d ; then DAV1D=ON; else DAV1D=OFF; fi +if pkg-config --exists libmicrohttpd ; then WEBSERVER=ON; else WEBSERVER=OFF; fi +if pkg-config --exists libcec ; then CEC=ON; else CEC=OFF; fi +if pkg-config --exists libnfs ; then NFS=ON; else NFS=OFF; fi +if pkg-config --exists lirc ; then LIRC=ON; else LIRC=OFF; fi +if pkg-config --exists libudfread ; then UDFREAD=ON; else UDFREAD=OFF; fi +if [ -f /usr/bin/shairplay ] ; then AIRPLAY=ON; else AIRPLAY=OFF; fi + +# Adding early support for wayland. Needs libraries/waylandpp from SBo. +PLATFORM="x11 gbm" +if pkg-config --exists wayland-client++; then PLATFORM="$PLATFORM wayland"; fi + +mkdir -p $TMP/$PRGNAM-build +cd $TMP/$PRGNAM-build + +# 15.0's ffmpeg is not supported in Omega, you need at least ffmpeg 6.0 +# Default to using the internal version, but allow switching to external +# for -current users or people who upgrade their stock ffmpeg. +# Pass FFMPEG=external to enable external support. +if [ "${FFMPEG}" == "external" ]; then + FFMPEG="OFF" + FFMPEGURL="" else - OPT_DEPS="" + FFMPEG="ON" + FFMPEGURL="-DFFMPEG_URL=$CWD/ffmpeg-$ffmpegVER.tar.gz" fi -# Build webserver. Requires libmicrohttpd. -if [ "${WEBSERVER:-yes}" == "yes" ]; then - OPT_DEPS="$OPT_DEPS --enable-webserver" -else - OPT_DEPS="$OPT_DEPS --disable-webserver" -fi - -export PATH="$PATH:$PWD/tools/depends/native/JsonSchemaBuilder/bin" - -./bootstrap - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-silent-rules \ - --enable-static=no \ - --disable-debug \ - --enable-gl \ - --enable-mid \ - --enable-alsa \ - --enable-texturepacker \ - --enable-pulse \ - $OPT_DEPS \ - --build=$ARCH-slackware-linux - -make VERBOSE=1 - -# Wii controller usage. Default is no. -if ! [ "${WII:-no}" = "no" ]; then - make eventclients DESTDIR=$PKG WII_EXTRA_OPTS="-DCWIID_OLD" - find $PKG/usr/lib${LIBDIRSUFFIX}/python* -iname "*\.py" -exec chmod 0644 '{}' \; - # Create byte-compiled python files. - python -m compileall $PKG/usr/lib${LIBDIRSUFFIX}/python*/site-packages/$PRGNAM 2>/dev/null -fi - -make install DESTDIR=$PKG -python -m compileall $PKG/usr/share/$PRGNAM/addons/service.xbmc.versioncheck - -install -m 0755 tools/TexturePacker/TexturePacker $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM +# There doesn't seem to be a way to specify the url of these files +# (eg -DGROOVY_URL didn't work for the first one). But if you place them +# in the expected location, it won't try and download them. +mkdir -p build/download +cp -a $CWD/apache-groovy-binary-$groovyVER.zip \ + $CWD/commons-lang3-$comLangVER-bin.tar.gz \ + $CWD/commons-text-$comTextVER-bin.tar.gz \ + build/download + +# Reasons for internal programs +# (so I can remember in the future why we're using them) + +# Internal crossguid is recommended by upstream +# Internal libdvd{css,nav,read} are required by kodi due to patches +# Internal ffmpeg since 15.0's is too old + + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DAPP_RENDER_SYSTEM=gl \ + -DCORE_PLATFORM_NAME="$PLATFORM" \ + -DENABLE_INTERNAL_CROSSGUID=ON \ + -DENABLE_INTERNAL_FFMPEG=$FFMPEG \ + -DENABLE_AIRTUNES=$AIRPLAY \ + -DENABLE_AVAHI=$AVAHI \ + -DENABLE_CEC=$CEC \ + -DENABLE_DAV1D=$DAV1D \ + -DENABLE_EVENTCLIENTS=$CWIID \ + -DENABLE_LIRCCLIENT=$LIRC \ + -DENABLE_MICROHTTPD=$WEBSERVER \ + -DENABLE_NFS=$NFS \ + -DENABLE_UDFREAD=$UDFREAD \ + -DCROSSGUID_URL=$CWD/crossguid-$crossguidVER.tar.gz \ + -Dlibdvdcss_URL=$CWD/libdvdcss-$libdvdcssVER.tar.gz \ + -Dlibdvdnav_URL=$CWD/libdvdnav-$libdvdnavVER.tar.gz \ + -Dlibdvdread_URL=$CWD/libdvdread-$libdvdreadVER.tar.gz \ + $FFMPEGURL \ + -DCMAKE_BUILD_TYPE=Release ../$SRCNAM-$VERSION-$CODNAM + make + make install/strip DESTDIR=$PKG +cd .. 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 manpages. +# Install manpages mkdir -p $PKG/usr/man/man1 -for i in $PRGNAM.bin.1 $PRGNAM.1 $PRGNAM-standalone.1; do - install -m 0644 docs/manpages/$i $PKG/usr/man/man1/$i +for i in $PRGNAM{,.bin,-standalone,-TexturePacker}.1; do + install -m 0644 $SRCNAM-$VERSION-$CODNAM/docs/manpages/$i $PKG/usr/man/man1/$i done -if ! [ "${WII:-no}" = "no" ]; then - for i in $PRGNAM-ps3remote.1 $PRGNAM-send.1 $PRGNAM-wiiremote.1; do - install -m 0644 docs/manpages/$i $PKG/usr/man/man1/$i +# Install Event Control manpages if enabled +if [ $CWIID == "ON" ]; then + for i in $PRGNAM{-ps3remote,-wiiremote,-send}.1; do + install -m 0644 $SRCNAM-$VERSION-$CODNAM/docs/manpages/$i $PKG/usr/man/man1/$i done fi -gzip -9 $PKG/usr/man/man?/*.? - -cp -a tools/EventClients/README.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Final clean up. -find $PKG \( -name "Makefile*" -o -name "*cmake*" -o -name "*\.in" \) -exec rm -f '{}' \; +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +( + cd $SRCNAM-$VERSION-$CODNAM + cp -a README.md privacy-policy.txt version.txt docs/MANIFESTO.md $PKG/usr/doc/$PRGNAM-$VERSION + if [ $CWIID == "ON" ]; then + cat tools/EventClients/README.txt > $PKG/usr/doc/$PRGNAM-$VERSION/Event-Client-README.txt + fi + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/kodi/kodi.info b/multimedia/kodi/kodi.info index 0124fc7167..3c712c4197 100644 --- a/multimedia/kodi/kodi.info +++ b/multimedia/kodi/kodi.info @@ -1,12 +1,26 @@ PRGNAM="kodi" -VERSION="17.6" +VERSION="21.0" HOMEPAGE="https://kodi.tv/" -DOWNLOAD="https://github.com/xbmc/xbmc/archive/17.6-Krypton/xbmc-17.6-Krypton.tar.gz \ - https://github.com/xbmc/FFmpeg/archive/3.1.11-Krypton-17.5/FFmpeg-3.1.11-Krypton.tar.gz" -MD5SUM="a64c2fc56ddc41b9b0dded55eaabf170 \ - 6cf2d25e2a38fd274d9fb37a7bb4f953" +DOWNLOAD="https://github.com/xbmc/xbmc/archive/21.0-Omega/xbmc-21.0-Omega.tar.gz \ + https://github.com/xbmc/crossguid/archive/ca1bf4b/crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz \ + https://github.com/xbmc/libdvdcss/archive/refs/tags/1.4.3-Next-Nexus-Alpha2-2/libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz \ + https://github.com/xbmc/libdvdnav/archive/refs/tags/6.1.1-Next-Nexus-Alpha2-2/libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz \ + https://github.com/xbmc/libdvdread/archive/refs/tags/6.1.3-Next-Nexus-Alpha2-2/libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz \ + http://mirrors.kodi.tv/build-deps/sources/apache-groovy-binary-4.0.16.zip \ + http://mirrors.kodi.tv/build-deps/sources/commons-lang3-3.14.0-bin.tar.gz \ + http://mirrors.kodi.tv/build-deps/sources/commons-text-1.11.0-bin.tar.gz \ + http://mirrors.kodi.tv/build-deps/sources/ffmpeg-6.0.1.tar.gz" +MD5SUM="74501a89f0ea23d2908a9b983ab3d6f8 \ + d4a8d62f3f8d6d946be75cf5bfa92687 \ + 42dc3770ae928103e8033a18b007e79d \ + 2349cde54d950af21fa4936371ad3349 \ + 0d24c950abfef9dc02e231dda56912ac \ + bd9eb761a11372dd659da8c2cf1ae692 \ + 88c83b3fa007ae35d4f82a2466cad423 \ + ae1f7607159b192e12f9c8eaaaf3d927 \ + ab9c27629c2a43689c63ff55fd7cbf67" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jdk libass crossguid yajl tinyxml libmicrohttpd" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +REQUIRES="zulu-openjdk11 libass flatbuffers tinyxml gtest fstrcmp spdlog tinyxml2 libdisplay-info rapidjson" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/kodi/patches/kodi-texturepacker.patch b/multimedia/kodi/patches/kodi-texturepacker.patch deleted file mode 100644 index fe3dcdcf7a..0000000000 --- a/multimedia/kodi/patches/kodi-texturepacker.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- tools/depends/native/TexturePacker/Makefile.old 2015-03-17 22:29:18.880029509 +0100 -+++ tools/depends/native/TexturePacker/Makefile 2015-03-17 22:29:41.459671679 +0100 -@@ -9,14 +9,10 @@ - - ifeq ($(NATIVEPLATFORM),) - PLATFORM = native -- EXTRA_CONFIGURE = --enable-static - else - PLATFORM = $(NATIVEPLATFORM) - endif - --ifeq ($(NATIVE_OS), linux) -- EXTRA_CONFIGURE = --enable-static --endif - ifeq ($(NATIVE_OS), android) - EXTRA_CONFIGURE = --enable-static - endif diff --git a/multimedia/kodi/patches/xbmc-Krypton-samba-4.0.patch b/multimedia/kodi/patches/xbmc-Krypton-samba-4.0.patch deleted file mode 100644 index 6916ead2ce..0000000000 --- a/multimedia/kodi/patches/xbmc-Krypton-samba-4.0.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur xbmc-17.1-Krypton.orig/xbmc/filesystem/SMBDirectory.cpp xbmc-17.1-Krypton/xbmc/filesystem/SMBDirectory.cpp ---- xbmc-17.1-Krypton.orig/xbmc/filesystem/SMBDirectory.cpp 2017-03-20 16:17:49.000000000 +0000 -+++ xbmc-17.1-Krypton/xbmc/filesystem/SMBDirectory.cpp 2017-03-20 23:01:52.444160749 +0000 -@@ -45,7 +45,7 @@ - #include "linux/XTimeUtils.h" - #endif - --#include <libsmbclient.h> -+#include <samba-4.0/libsmbclient.h> - - struct CachedDirEntry - { -diff -Naur xbmc-17.1-Krypton.orig/xbmc/filesystem/SMBFile.cpp xbmc-17.1-Krypton/xbmc/filesystem/SMBFile.cpp ---- xbmc-17.1-Krypton.orig/xbmc/filesystem/SMBFile.cpp 2017-03-20 16:17:49.000000000 +0000 -+++ xbmc-17.1-Krypton/xbmc/filesystem/SMBFile.cpp 2017-03-20 23:00:17.355154034 +0000 -@@ -26,7 +26,7 @@ - #include "SMBFile.h" - #include "PasswordManager.h" - #include "SMBDirectory.h" --#include <libsmbclient.h> -+#include <samba-4.0/libsmbclient.h> - #include "filesystem/SpecialProtocol.h" - #include "settings/AdvancedSettings.h" - #include "settings/Settings.h" diff --git a/multimedia/kvazaar/README b/multimedia/kvazaar/README new file mode 100644 index 0000000000..c946e1fc21 --- /dev/null +++ b/multimedia/kvazaar/README @@ -0,0 +1,6 @@ +Kvazaar is an open source HEVC encoder. It is still +under development and does not implement all the +features of HEVC. Performance will increase as more coding +tools are added. + +This is an optional dependency of FFmpeg. diff --git a/multimedia/kvazaar/changelog b/multimedia/kvazaar/changelog new file mode 100644 index 0000000000..0816e3f5a5 --- /dev/null +++ b/multimedia/kvazaar/changelog @@ -0,0 +1,18 @@ +Changelog for kvazaar SlackBuild Script +-------------------------------------------------------------------- + +27/08/2022: + +Added to slackbuilds.org + +15/05/2023: + +updated to version 2.2.0 + +08/02/2024: + +updated to version 2.3.0 + +23/04/2024: + +updated to version 2.3.1 diff --git a/multimedia/kvazaar/kvazaar.SlackBuild b/multimedia/kvazaar/kvazaar.SlackBuild new file mode 100644 index 0000000000..c6e432de90 --- /dev/null +++ b/multimedia/kvazaar/kvazaar.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/bash + +# Slackware build script for kvazaar + +# Copyright 2022-2024 Vijay Marcel +# 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=kvazaar +VERSION=${VERSION:-2.3.1} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +autoreconf -fiv +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-shared=yes \ + --disable-static \ + --with-gnu-ld \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod \ + -o -name ".packlist" -o -name "*.bs" \ + | xargs rm -f + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CREDITS LICENSE LICENSE.EXT.greatest README.md $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/kvazaar/kvazaar.info b/multimedia/kvazaar/kvazaar.info new file mode 100644 index 0000000000..1f2a908be9 --- /dev/null +++ b/multimedia/kvazaar/kvazaar.info @@ -0,0 +1,10 @@ +PRGNAM="kvazaar" +VERSION="2.3.1" +HOMEPAGE="https://github.com/ultravideo/kvazaar" +DOWNLOAD="https://github.com/ultravideo/kvazaar/archive/v2.3.1/kvazaar-2.3.1.tar.gz" +MD5SUM="4ee30f43efea54bee14757f108c1da55" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/kvazaar/slack-desc b/multimedia/kvazaar/slack-desc new file mode 100644 index 0000000000..889da3154d --- /dev/null +++ b/multimedia/kvazaar/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------------------------------------------------------| +kvazaar: kvazaar (Open Source HEVC Encoder) +kvazaar: +kvazaar: Kvazaar is an open source HEVC encoder. It is still +kvazaar: under development and does not implement all the +kvazaar: features of HEVC. Performance will increase as more coding +kvazaar: tools are added. +kvazaar: +kvazaar: Homepage: https://github.com/ultravideo/kvazaar +kvazaar: +kvazaar: +kvazaar: diff --git a/multimedia/l-smash/l-smash.SlackBuild b/multimedia/l-smash/l-smash.SlackBuild index 07c3386d59..bd6629af53 100644 --- a/multimedia/l-smash/l-smash.SlackBuild +++ b/multimedia/l-smash/l-smash.SlackBuild @@ -22,8 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> +# 20230708 bkw: BUILD=4, install shared lib +x. +# 20220411 bkw: BUILD=3, put README in right place (not /install!) # 20210910 bkw: include our own README since there are no docs # 20180215 bkw: update for 2.14.5 # 20170302 bkw: use long-format github URL @@ -38,7 +40,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=l-smash VERSION=${VERSION:-2.14.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,6 +98,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ make make install DESTDIR=$PKG +chmod 755 $PKG/usr/lib*/*.so.* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION @@ -103,10 +106,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # 20210910 bkw: upstream didn't bother with any docs other than --help # messages. Include our own README, which at least tells the user the -# names of the binaries (hint: none of them are called -lsmash!), and +# names of the binaries (hint: none of them are called l-smash!), and # tells him to use the --help option. +cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README + mkdir -p $PKG/install -cat $CWD/README > $PKG/install/README cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG diff --git a/multimedia/l-smash/l-smash.info b/multimedia/l-smash/l-smash.info index 1743bbac6d..c10a5715a1 100644 --- a/multimedia/l-smash/l-smash.info +++ b/multimedia/l-smash/l-smash.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/lightspark/README b/multimedia/lightspark/README index a2343f66ce..10cddcc59b 100644 --- a/multimedia/lightspark/README +++ b/multimedia/lightspark/README @@ -5,6 +5,5 @@ as a standalone application. Lightspark supports SWF files written on all versions of the ActionScript language. -Optional Dependency - +Optional Dependency: gnash can optionally be used as fallback support. diff --git a/multimedia/lightspark/lightspark.SlackBuild b/multimedia/lightspark/lightspark.SlackBuild index a634b94c6b..a4f0e26e7c 100644 --- a/multimedia/lightspark/lightspark.SlackBuild +++ b/multimedia/lightspark/lightspark.SlackBuild @@ -4,6 +4,8 @@ # Copyright 2016-2021 Hunter Sezen California, USA # All rights reserved. +# Copyright 2024 Bloyburt +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lightspark -VERSION=${VERSION:-0.8.4.1} +VERSION=${VERSION:-0.8.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/lightspark/lightspark.info b/multimedia/lightspark/lightspark.info index 18c30952e0..802c8af91a 100644 --- a/multimedia/lightspark/lightspark.info +++ b/multimedia/lightspark/lightspark.info @@ -1,10 +1,10 @@ PRGNAM="lightspark" -VERSION="0.8.4.1" +VERSION="0.8.7" HOMEPAGE="https://lightspark.github.io/" -DOWNLOAD="https://github.com/lightspark/lightspark/archive/0.8.4.1/lightspark-0.8.4.1.tar.gz" -MD5SUM="27c1ad450eb1c8f47bd07dbc2ba34a5a" +DOWNLOAD="https://github.com/lightspark/lightspark/archive/0.8.7/lightspark-0.8.7.tar.gz" +MD5SUM="80a668a9ae6b36a6e05701d2ecab8050" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rtmpdump" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" +MAINTAINER="Bloyburt" +EMAIL="alexpen@startmail.com" diff --git a/multimedia/lives/lives.SlackBuild b/multimedia/lives/lives.SlackBuild index db9663e5e0..f4f7d3ce94 100644 --- a/multimedia/lives/lives.SlackBuild +++ b/multimedia/lives/lives.SlackBuild @@ -26,12 +26,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230630 bkw: Modified by SlackBuilds.org, BUILD=4: +# - move docs from /usr/share/doc to /usr/doc/$PRGNAM-$VERSION + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lives SRCNAM=LiVES VERSION=${VERSION:-3.2.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +46,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -87,9 +87,9 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + CV="--disable-opencv" ; [ "${OPENCV:-no}" = "yes" ] && CV="" PA="--disable-pulse" ; [ "${PULSE:-yes}" = "yes" ] && PA="" @@ -108,22 +108,21 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -j1 -make -j1 install DESTDIR=$PKG - -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 +make -j1 install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING ChangeLog FEATURES GETTING.STARTED INSTALL \ - NEWS README \ - $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 +mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC +rm -rf $PKG/usr/share/doc +cp -a COPYING NEWS $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild ( cd $PKG/usr/bin && rm -f lives && ln -s lives-exe lives ) +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/multimedia/lives/lives.info b/multimedia/lives/lives.info index 90a8c09951..027b93b218 100644 --- a/multimedia/lives/lives.info +++ b/multimedia/lives/lives.info @@ -1,6 +1,6 @@ PRGNAM="lives" VERSION="3.2.0" -HOMEPAGE="https://lives.sourceforge.net" +HOMEPAGE="http://lives-video.com/" DOWNLOAD="http://lives-video.com/releases/LiVES-3.2.0.tar.bz2" MD5SUM="5d7bd0ad41d3189b62c002e518fb94c8" DOWNLOAD_x86_64="" diff --git a/multimedia/lsdvd/lsdvd.SlackBuild b/multimedia/lsdvd/lsdvd.SlackBuild index a0097570a0..e72f2caa01 100644 --- a/multimedia/lsdvd/lsdvd.SlackBuild +++ b/multimedia/lsdvd/lsdvd.SlackBuild @@ -2,15 +2,17 @@ # Slackware build script for lsdvd -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: BUILD=2, remove useless INSTALL from doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lsdvd VERSION=${VERSION:-0.17} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,9 +73,10 @@ make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp ChangeLog AUTHORS COPYING INSTALL README $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 ChangeLog AUTHORS COPYING README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/lsdvd/lsdvd.info b/multimedia/lsdvd/lsdvd.info index 816dc24d8e..8abfa26d91 100644 --- a/multimedia/lsdvd/lsdvd.info +++ b/multimedia/lsdvd/lsdvd.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/lwks/README b/multimedia/lwks/README deleted file mode 100644 index dc1dc94403..0000000000 --- a/multimedia/lwks/README +++ /dev/null @@ -1,39 +0,0 @@ -lightworks (professional non-linear editing system) - -Lightworks is a cross-platform industry-grade NLE, having been used -for films including Pulp Fiction, Hugo, and The King's Speech. It is -free to use, but for additional codec support and technical support, -you can purchase a variety of licenses from http://lwks.com - -Using Lightworks requires registration on lwks.com. It is free, but -you must register in order to use the application. You can register in -advance or after you launch Lightworks. - -Lightworks will work with Nvidia or AMD graphic cards, but Nvidia is -recommended. Lightworks requires proprietary Nvidia drivers. - -Lightworks is 64bit only. - -System Recommendations: ------------------------ - -From lwks.com: - -- Intel i7 chipset or faster, fast AMD chipset -- 3GB RAM or higher -- Two high-resolution displays (1920 x1080) or above -- PCI Express graphics card (NVIDIA or ATI) with 1GB or higher -- Separate media and system drives (these can be internal or external - as long as the the interface is suitably fast) -- Compatible sound card -- 200MB Disk space for Lightworks installation -- (Optional) a Lightworks Console. -- (Optional) a Lightworks keyboard. - -From Klaatu: - -I run this on two machines: -- AMD FX-6300 / 8gb RAM / Nvidia GeForce GT 630 (proprietary drivers) -- Intel i7 / 16gb RAM / Intel HD Mobile 4000 (laptop) - -Both edit HD footage without a problem. Your mileage may vary. diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild deleted file mode 100644 index e9edc4bf53..0000000000 --- a/multimedia/lwks/lwks.SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash -# Slackware build script for lwks - -# Copyright 2015 Klaatu Wellington NZ -# GNU All-Permissive License -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. This file is offered as-is, -# without any warranty. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=lwks -VERSION=${VERSION:-14.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} -ARCH=amd64 - -# 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-x86_64-$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/$PRGNAM-$VERSION-$ARCH.deb data.tar.xz | tar xJv -cd $PKG -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 {} \; - -## install -mkdir -p $PKG/usr/bin $PKG/usr/lib64 $PKG/usr/share/fonts/TTF -cp -v $TMP/usr/bin/lightworks $PKG/usr/bin/ -cp -rv $TMP/usr/lib/* $PKG/usr/lib64/ -cp -rv $TMP/usr/share/applications $PKG/usr/share/ -cp -rv $TMP/usr/share/fonts/truetype/lw3.ttf $PKG/usr/share/fonts/TTF/ -cp -rv $TMP/usr/share/lightworks $PKG/usr/share/ - -# patch thanks to Christoph Willing -sed -i 's|/usr/lib/lightworks/ntcardvt|/usr/lib64/lightworks/ntcardvt|' \ - $PKG/usr/bin/lightworks - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# editshare controller udev rules. -# more thanks to Christoph Willing -mkdir -p $PKG/etc/udev/rules.d -cp -rv $TMP/lib/udev/rules.d/* $PKG/etc/udev/rules.d/ - -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-x86_64-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/lwks/lwks.info b/multimedia/lwks/lwks.info deleted file mode 100644 index 3a1a0bbf29..0000000000 --- a/multimedia/lwks/lwks.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="lwks" -VERSION="14.0.0" -HOMEPAGE="http://lwks.com" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb" -MD5SUM_x86_64="17a60e8c2956f65dd578a14cf673b0d4" -REQUIRES="nvidia-cg-toolkit" -MAINTAINER="klaatu" -EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/makemkv/README.issues b/multimedia/makemkv/README.issues index 1c287f5ad9..95a843d76a 100644 --- a/multimedia/makemkv/README.issues +++ b/multimedia/makemkv/README.issues @@ -31,3 +31,5 @@ Note that usually new registration keys are posted in the official MakeMKV forums so that old time-expired MakeMKV versions will still work during the beta (so you won't need to immediately upgrade to a newer version). + +Optional dependency: ccextractor diff --git a/multimedia/makemkv/makemkv.SlackBuild b/multimedia/makemkv/makemkv.SlackBuild index bbdde64d1a..62e131e9b1 100644 --- a/multimedia/makemkv/makemkv.SlackBuild +++ b/multimedia/makemkv/makemkv.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for MakeMKV # Copyright 2019 T3slider <t3slider@gmail.com> +# Copyright 2023 Matt Dinslage <matthhewdinslage@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=makemkv -VERSION=${VERSION:-1.14.4} +VERSION=${VERSION:-1.17.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/makemkv/makemkv.info b/multimedia/makemkv/makemkv.info index f9280dd812..4aecb49fd1 100644 --- a/multimedia/makemkv/makemkv.info +++ b/multimedia/makemkv/makemkv.info @@ -1,12 +1,12 @@ PRGNAM="makemkv" -VERSION="1.14.4" +VERSION="1.17.6" HOMEPAGE="http://www.makemkv.com/" -DOWNLOAD="http://www.makemkv.com/download/old/makemkv-oss-1.14.4.tar.gz \ - http://www.makemkv.com/download/old/makemkv-bin-1.14.4.tar.gz" -MD5SUM="e738e5e2e0ff2d556f00002699253271 \ - b7ec3c40359a9b5b5adb1a48dba36f30" +DOWNLOAD="https://www.makemkv.com/download/makemkv-oss-1.17.6.tar.gz \ + https://www.makemkv.com/download/makemkv-bin-1.17.6.tar.gz" +MD5SUM="081076450f7b2d81505aa0437100b76c \ + f42b8574b2b2e2e7ace837eed6fab9f7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="T3slider" -EMAIL="t3slider@gmail.com" +MAINTAINER="M.Dinslage" +EMAIL="matthewdinslage@gmail.com" diff --git a/multimedia/mediainfo/README b/multimedia/mediainfo/README index e92ee86ae6..34238807ad 100644 --- a/multimedia/mediainfo/README +++ b/multimedia/mediainfo/README @@ -1,9 +1,9 @@ MediaInfo supplies technical and tag information about a video or audio file. -It will build the CLI version by default, however, you can optionally -build mediainfo-gui by passing GUI=yes to the SlackBuild script, or -you can disable the CLI version by passing CLI=no. Either the CLI -or GUI verison must be enabled. +The CLI version is built by default and the GUI version will be built +automatically if wxGTK3 is installed. Either can be manually disabled +by passing GUI=no or CLI=no to the SlackBuild script, but at least one +must be enabled to build the program. -GUI=yes requires wxPython. +wxGTK3 is an optional, autodetected dependency required for the GUI. diff --git a/multimedia/mediainfo/mediainfo.SlackBuild b/multimedia/mediainfo/mediainfo.SlackBuild index 35fd7f7873..e414e49f83 100644 --- a/multimedia/mediainfo/mediainfo.SlackBuild +++ b/multimedia/mediainfo/mediainfo.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com> # Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# Copyright 2017-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,15 +27,16 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mediainfo -VERSION=${VERSION:-20.09} +VERSION=${VERSION:-24.04} SRCNAM=MediaInfo BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# CLI is built by default, GUI is optional +# CLI is built by default, GUI is autodetected +# Either can be disabled by passing the variable with "no" CLI=${CLI:-yes} -GUI=${GUI:-no} +if [ -e /usr/bin/wx-config ]; then GUI=${GUI:-yes}; else GUI=${GUI:-no}; fi # Clear the document variables to make sure it works CLIDOC="" @@ -57,9 +58,6 @@ if [ -z "$ARCH" ]; then esac 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 diff --git a/multimedia/mediainfo/mediainfo.info b/multimedia/mediainfo/mediainfo.info index a7713afba0..cb639f0002 100644 --- a/multimedia/mediainfo/mediainfo.info +++ b/multimedia/mediainfo/mediainfo.info @@ -1,8 +1,8 @@ PRGNAM="mediainfo" -VERSION="20.09" +VERSION="24.04" HOMEPAGE="https://mediaarea.net/MediaInfo/" -DOWNLOAD="https://github.com/MediaArea/MediaInfo/archive/v20.09/MediaInfo-20.09.tar.gz" -MD5SUM="5814d9ed34be0719cc71a7d90967bc16" +DOWNLOAD="https://github.com/MediaArea/MediaInfo/archive/v24.04/MediaInfo-24.04.tar.gz" +MD5SUM="2a33bd893c819bb7050154e0c4f9ca6a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmediainfo" diff --git a/multimedia/mediainfo/remove-internal-libzen-support.patch b/multimedia/mediainfo/remove-internal-libzen-support.patch index e4e827f4b2..37c2afc0f1 100644 --- a/multimedia/mediainfo/remove-internal-libzen-support.patch +++ b/multimedia/mediainfo/remove-internal-libzen-support.patch @@ -1,8 +1,8 @@ diff --git a/Project/GNU/CLI/configure.ac b/Project/GNU/CLI/configure.ac -index 275c349..1ddeec0 100644 +index 062688e..6b0d3dd 100644 --- a/Project/GNU/CLI/configure.ac +++ b/Project/GNU/CLI/configure.ac -@@ -65,16 +65,10 @@ dnl ######################################################################### +@@ -66,16 +66,10 @@ dnl ######################################################################### dnl ------------------------------------------------------------------------- dnl Unicode dnl @@ -13,8 +13,8 @@ index 275c349..1ddeec0 100644 +if pkg-config --exists libzen; then + enable_unicode="$(pkg-config --variable=Unicode libzen)" else -- if pkg-config --exists libzen; then -- enable_unicode="$(pkg-config --variable=Unicode libzen)" +- if ${PKG_CONFIG:-pkg-config} --exists libzen; then +- enable_unicode="$(${PKG_CONFIG:-pkg-config} --variable=Unicode libzen)" - else - AC_MSG_ERROR([libzen configuration is not found]) - fi @@ -22,7 +22,7 @@ index 275c349..1ddeec0 100644 fi dnl ######################################################################### -@@ -198,41 +192,19 @@ fi +@@ -199,41 +193,18 @@ fi dnl ------------------------------------------------------------------------- dnl ZenLib dnl @@ -39,7 +39,6 @@ index 275c349..1ddeec0 100644 -elif test "$(libzen-config Exists)" = "yes" ; then - CXXFLAGS="$CXXFLAGS $(libzen-config CXXFLAGS)" - MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(libzen-config CXXFLAGS)" -+ +if pkg-config --exists libzen; then + CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)" + MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags libzen)" @@ -53,16 +52,16 @@ index 275c349..1ddeec0 100644 + LIBS="$LIBS $(pkg-config --libs libzen)" fi else -- if pkg-config --exists libzen; then -- CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)" -- MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags libzen)" +- if ${PKG_CONFIG:-pkg-config} --exists libzen; then +- CXXFLAGS="$CXXFLAGS $(${PKG_CONFIG:-pkg-config} --cflags libzen)" +- MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(${PKG_CONFIG:-pkg-config} --cflags libzen)" - if test "$enable_staticlibs" = "yes"; then - with_zenlib="system (static)" -- LIBS="$LIBS $(pkg-config --variable=Libs_Static libzen)" -- LIBS="$LIBS $(pkg-config --static --libs libzen)" +- LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --variable=Libs_Static libzen)" +- LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --static --libs libzen)" - else - with_zenlib="system" -- LIBS="$LIBS $(pkg-config --libs libzen)" +- LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --libs libzen)" - fi - else - AC_MSG_ERROR([libzen configuration is not found]) @@ -71,11 +70,18 @@ index 275c349..1ddeec0 100644 fi dnl ######################################################################### +@@ -317,4 +288,4 @@ echo " Using libzen? $with_zenlib" + echo " Using libmediainfo? $with_mediainfolib" + echo "" + echo " CXXFLAGS: $CXXFLAGS" +-echo " LIBS: $LIBS" +\ No newline at end of file ++echo " LIBS: $LIBS" diff --git a/Project/GNU/GUI/configure.ac b/Project/GNU/GUI/configure.ac -index 78bdeff..ea9203d 100644 +index eaf7ebb..62833ca 100644 --- a/Project/GNU/GUI/configure.ac +++ b/Project/GNU/GUI/configure.ac -@@ -79,14 +79,10 @@ dnl ######################################################################### +@@ -80,14 +80,10 @@ dnl ######################################################################### dnl ------------------------------------------------------------------------- dnl Unicode dnl @@ -93,7 +99,7 @@ index 78bdeff..ea9203d 100644 fi dnl ######################################################################### -@@ -313,31 +309,19 @@ fi +@@ -314,31 +310,19 @@ fi dnl ------------------------------------------------------------------------- dnl ZenLib dnl diff --git a/multimedia/mimms/mimms.SlackBuild b/multimedia/mimms/mimms.SlackBuild index 69b456d992..ccc85a8a94 100644 --- a/multimedia/mimms/mimms.SlackBuild +++ b/multimedia/mimms/mimms.SlackBuild @@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac diff --git a/multimedia/minidlna/README.SLACKWARE b/multimedia/minidlna/README.SLACKWARE new file mode 100644 index 0000000000..c2b1f929f4 --- /dev/null +++ b/multimedia/minidlna/README.SLACKWARE @@ -0,0 +1,22 @@ +An init script has been included for the daemon; to run at boot time, +add the following to /etc/rc.d/rc.local: + + if [ -x /etc/rc.d/rc.minidlna ]; then + /etc/rc.d/rc.minidlna start + fi + +You might also want to have the daemon shut down gracefully +on system halt or reboot; if so, add the following to +/etc/rc.d/rc.local_shutdown: + + if [ -x /etc/rc.d/rc.minidlna ]; then + /etc/rc.d/rc.minidlna stop + fi + +Remember to give executable permission to /etc/rc.d/rc.local_shutdown: + + chmod 0755 /etc/rc.d/rc.local_shutdown + +To check the daemon is running properly: + + /etc/rc.d/rc.minidlna status diff --git a/multimedia/minidlna/doinst.sh b/multimedia/minidlna/doinst.sh index 7626d3a507..15f3e3fff1 100644 --- a/multimedia/minidlna/doinst.sh +++ b/multimedia/minidlna/doinst.sh @@ -11,4 +11,17 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } +preserve_perms() { + NEW="$1" + OLD="$(dirname ${NEW})/$(basename ${NEW} .new)" + if [ -e ${OLD} ]; then + cp -a ${OLD} ${NEW}.incoming + cat ${NEW} > ${NEW}.incoming + mv ${NEW}.incoming ${NEW} + fi + mv ${NEW} ${OLD} +} + +preserve_perms etc/rc.d/rc.minidlna.new config etc/minidlna.conf.new +config etc/logrotate.d/minidlna.new diff --git a/multimedia/minidlna/minidlna.SlackBuild b/multimedia/minidlna/minidlna.SlackBuild index 29df867d25..64ffce800b 100644 --- a/multimedia/minidlna/minidlna.SlackBuild +++ b/multimedia/minidlna/minidlna.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for minidlna # Copyright 2011-2012 Niels Horn, Rio de Janeiro, RJ, Brazil -# Copyright 2015 Mario Preksavec, Zagreb, Croatia +# Copyright 2015, 2023 Mario Preksavec, Zagreb, Croatia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=minidlna -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -99,14 +99,17 @@ make install DESTDIR=$PKG 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 -# Include the config file -mkdir -p $PKG/etc -cat $PRGNAM.conf > $PKG/etc/$PRGNAM.conf.new +# Include startup script and configs thanks to Andrew Isakov +install -D -m755 $CWD/rc.$PRGNAM -T $PKG/etc/rc.d/rc.$PRGNAM.new +install -D -m644 $CWD/${PRGNAM}.logrotate -T $PKG/etc/logrotate.d/${PRGNAM}.new +install -D -m644 $PRGNAM.conf -T $PKG/etc/$PRGNAM.conf.new + +# Create log and db cache directories +mkdir -p $PKG/var/{log,cache}/$PRGNAM # Include the manual pages -mkdir -p $PKG/usr/man/man{5,8} -cat minidlna.conf.5 > $PKG/usr/man/man5/minidlna.conf.5 -cat minidlnad.8 > $PKG/usr/man/man8/minidlnad.8 +install -D -m644 minidlna.conf.5 -t $PKG/usr/man/man5 +install -D -m644 minidlnad.8 -t $PKG/usr/man/man8 gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/minidlna/minidlna.info b/multimedia/minidlna/minidlna.info index 65b0e9f7b7..1a2714325e 100644 --- a/multimedia/minidlna/minidlna.info +++ b/multimedia/minidlna/minidlna.info @@ -1,8 +1,8 @@ PRGNAM="minidlna" -VERSION="1.3.0" +VERSION="1.3.2" HOMEPAGE="http://minidlna.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.0.tar.gz" -MD5SUM="89e92d1938ee3066631d4ca9fbf31507" +DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.2.tar.gz" +MD5SUM="9e4cc50a48b1b467a234b579b45457d0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/minidlna/minidlna.logrotate b/multimedia/minidlna/minidlna.logrotate new file mode 100644 index 0000000000..17bf172f49 --- /dev/null +++ b/multimedia/minidlna/minidlna.logrotate @@ -0,0 +1,6 @@ +/var/log/minidlna/minidlna.log { + sharedscripts + postrotate + /usr/bin/pkill -HUP -F /var/run/minidlna.pid 2>/dev/null || true + endscript +} diff --git a/multimedia/minidlna/rc.minidlna b/multimedia/minidlna/rc.minidlna new file mode 100644 index 0000000000..2651f3b636 --- /dev/null +++ b/multimedia/minidlna/rc.minidlna @@ -0,0 +1,132 @@ +#!/bin/sh +# +# /etc/rc.d/rc.minidlna +# +# start/stop/restart/status of the MiniDLNA server. +# +# To make MiniDLNA start automatically at boot, make this +# file executable: chmod 755 /etc/rc.d/rc.minidlna +# +# Written by Georgi D. Sotirov <gsotirov@gmail.com> +# Based on examples from Internet + +# Bash colors +C_GREEN=$'\e[32;01m' +C_YELLOW=$'\e[33;01m' +C_RED=$'\e[31;01m' +C_NORMAL=$'\e[0m' + +SNAME='MiniDLNA server' +NAME=minidlna +CMD="/usr/sbin/${NAME}d" +CONFILE="/etc/${NAME}.conf" +PIDFILE="/var/run/${NAME}.pid" +CMD_OPTS="-f $CONFILE -P $PIDFILE" + +ok() { + echo "${C_GREEN}Done${C_NORMAL}" +} + +fail() { + echo "${C_RED}Failure${C_NORMAL}" +} + +print_status() { + if [ $? != 0 ]; then + fail + else + ok + fi +} + +start() { + if [ -x $CMD ]; then + if [ ! -e $PIDFILE ]; then + echo -n "Starting $SNAME in $CMD... " + $CMD $CMD_OPTS + print_status + else + echo "Starting $SNAME: Already running with PID `cat $PIDFILE`!" + fi + fi +} + +stop() { + if [ -e $PIDFILE ]; then + echo -n "Stopping ${SNAME}... " + kill -15 `cat $PIDFILE` + print_status + else + echo "Stopping ${SNAME}: Not running!" + fi +} + +restart() { + stop + sleep 3 + start +} + +status() { + if [ -e $PIDFILE ]; then + echo "$SNAME running with PID `cat $PIDFILE`." + else + STAT=`ps -C $NAME -o pid= | wc -l` + if [ ${STAT} -ge 1 ]; then + echo "$SNAME is running" + else + echo "$SNAME is not running" + fi + fi +} + +db_clean() { + # If DB dir defined explicitly in log (i.e. not commented), then use it + DB_DIR_CONF=$(grep -E '^db_dir=' $CONFILE | awk -F'=' '{ print $2 }') + # else fallback to default + DB_DIR=${DB_DIR_CONF:-/var/cache/$NAME} + WAS_RUNNING=0 + + if [ -e $DB_DIR -a -d $DB_DIR ]; then + # Stop daemon if running + if [ -e $PIDFILE ]; then + WAS_RUNNING=1 + stop + sleep 3 + fi + + echo -n "Cleaning cache in ${DB_DIR}... " + rm -f ${DB_DIR}/files.db + rm -rf ${DB_DIR}art_cache + print_status + + # And restart daemon afterwards + if [ $WAS_RUNNING -ne 0 ]; then + start + fi + else + echo "Error: cache dir $DB_DIR does not exist or not a direcory!" + fi +} + +help() { + echo "$SNAME control" + echo "Usage: $0 start|stop|restart|status|clean" + echo +} + +case "$1" in + 'start') + start ;; + 'stop') + stop ;; + 'restart') + restart ;; + 'status') + status ;; + 'clean') + db_clean ;; + *) + help ;; +esac + diff --git a/multimedia/minitube/README b/multimedia/minitube/README index e8fd048258..9ddd0dd3e0 100644 --- a/multimedia/minitube/README +++ b/multimedia/minitube/README @@ -1,4 +1,5 @@ -Minitube is a YouTube desktop client. With it you can watch YouTube videos in -a new way: you type a keyword, Minitube gives you an endless video stream. -Minitube does not require the Flash Player. Minitube is not about cloning -the original YouTube web interface, it aims to create a new TV-like experience. +Minitube is a YouTube desktop client. With it you can watch YouTube +videos in a new way: you type a keyword, Minitube gives you an endless +video stream. Minitube does not require the Flash Player. Minitube +is not about cloning the original YouTube web interface, it aims to +create a new TV-like experience. diff --git a/multimedia/minitube/minitube-gcc47.patch b/multimedia/minitube/minitube-gcc47.patch deleted file mode 100644 index 6283b1fe99..0000000000 --- a/multimedia/minitube/minitube-gcc47.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur minitube-20120813_338dac6.orig/src/qtsingleapplication/qtlocalpeer.cpp minitube-20120813_338dac6/src/qtsingleapplication/qtlocalpeer.cpp ---- minitube-20120813_338dac6.orig/src/qtsingleapplication/qtlocalpeer.cpp 2012-08-13 17:09:04.000000000 +0200 -+++ minitube-20120813_338dac6/src/qtsingleapplication/qtlocalpeer.cpp 2012-09-12 13:00:44.330889268 +0200 -@@ -58,6 +58,7 @@ - #endif - #if defined(Q_OS_UNIX) - #include <time.h> -+#include <unistd.h> - #endif - - namespace QtLP_Private { diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild index 8309580504..115089f486 100644 --- a/multimedia/minitube/minitube.SlackBuild +++ b/multimedia/minitube/minitube.SlackBuild @@ -2,7 +2,9 @@ # Slackware build script for minitube -# Copyright 2009 Mikhail Zotov < mikhail dot ru at gmail dot com > +# Copyright 2009 Mikhail Zotov +# Copyright 2021-2023 Johannes Schoepfer, Germany +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -21,27 +23,24 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Version number bumped by /dev/ammo42 +# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=minitube -VERSION=${VERSION:-2.1.3} -BUILD=${BUILD:-1} +VERSION=${VERSION:-3.9.3} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -51,18 +50,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" +# 20220320 bkw: we need -fPIC even for 32-bit. +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fPIC" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fPIC" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC -m64" - LIBDIRSUFFIX="64" + SLKCFLAGS="-O2 -fPIC" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -71,18 +67,18 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fix building with gcc-4.7.x -patch -p1 < $CWD/minitube-gcc47.patch - + \( -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 {} + + +# fix for mpv >= 0.35, thanks to Chris Willing +sed -i -e '/mpv_opengl_init_params/ s/, nullptr};/};/' \ + lib/media/src/mpv/mpvwidget.cpp qmake # Use our SLKCFLAGS plus the hardcoded ones from the Makefile make \ @@ -92,7 +88,7 @@ make install INSTALL_ROOT=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS CHANGES COPYING INSTALL TODO \ + AUTHORS CHANGES COPYING TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/minitube/minitube.info b/multimedia/minitube/minitube.info index ab76d9715c..3c1af2e382 100644 --- a/multimedia/minitube/minitube.info +++ b/multimedia/minitube/minitube.info @@ -1,10 +1,10 @@ PRGNAM="minitube" -VERSION="2.1.3" +VERSION="3.9.3" HOMEPAGE="https://flavio.tordini.org/minitube" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/minitube-2.1.3.tar.xz" -MD5SUM="3f0d44da75b275b442fde4a21af2f115" +DOWNLOAD="https://github.com/flaviotordini/minitube/releases/download/3.9.3/minitube-3.9.3.tar.bz2" +MD5SUM="f6eddbba90988051bf62339df73481a6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="mpv" MAINTAINER="Johannes Schoepfer" EMAIL="slackbuilds@schoepfer.info" diff --git a/multimedia/mirage2iso/README b/multimedia/mirage2iso/README new file mode 100644 index 0000000000..309575ed89 --- /dev/null +++ b/multimedia/mirage2iso/README @@ -0,0 +1,4 @@ +mirage2iso (extract iso images from CD images) + +mirage2iso is a simple tool to convert various CD/DVD image formats into +.iso images through use of libmirage (same one as used by cdemu). diff --git a/multimedia/mirage2iso/mirage2iso.1 b/multimedia/mirage2iso/mirage2iso.1 new file mode 100644 index 0000000000..0d669013a7 --- /dev/null +++ b/multimedia/mirage2iso/mirage2iso.1 @@ -0,0 +1,109 @@ +.\" Man page generated from reStructuredText. +. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.TH "MIRAGE2ISO" 1 "2022-01-25" "0.4.2" "SlackBuilds.org" +.SH NAME +mirage2iso \- convert various CD/DVD image formats to ISO +.\" RST source for mirage2iso(1) man page. Convert with: +. +.\" rst2man.py mirage2iso.rst > mirage2iso.1 +. +.\" rst2man.py comes from the SBo development/docutils package. +. +.SH SYNOPSIS +.sp +mirage2iso [\fI\-options\fP] \fIinput\-file\fP [\fIoutput.iso\fP] +.SH DESCRIPTION +.sp +\fBmirage2iso\fP extracts an ISO\-9660 image from a CD/DVD image in any +format supported by \fBlibmirage\fP\&. This includes \fIbin/cue\fP, \fInrg\fP +(Nero), \fImds\fP (Alcohol 120%), and many more; see the libmirage +documentation for the full list. +.sp +The \fIinput\-file\fP argument is required, and there\(aqs no way to read +from standard input. For multi\-file formats (\fIbin/cue\fP, \fIbin/toc\fP, +etc), the \fIinput\-file\fP must be the one containing the table of +contents (the \fIcue\fP or \fItoc\fP file, which will also be the smallest +file of the set). +.sp +With no \fIoutput.iso\fP argument, the output filename is "guessed" based +on the input filename, with the extension changed to \fI\&.iso\fP\&. If this +file already exists, it will not be overwritten (unless the \fB\-f\fP, +\fB\-\-force\fP option is given). +.SH OPTIONS +.INDENT 0.0 +.TP +.B \-f\fP,\fB \-\-force +Force replacing the guessed output file. +.TP +.BI \-p\fP,\fB \-\-password\fB= PASS +Password for the encrypted image. +.TP +.B \-q\fP,\fB \-\-quiet +Disable progress reporting, output only errors. +.TP +.BI \-s\fP,\fB \-\-session\fB= N +Session to use (default: the last one). +.TP +.B \-c\fP,\fB \-\-stdout +Output the image into stdout instead of a file. +.TP +.B \-v\fP,\fB \-\-verbose +Increase progress reporting verbosity. +.TP +.B \-V\fP,\fB \-\-version +Print program version and exit. +.TP +.B \-h\fP,\fB \-\-help +Print built\-in help and exit. +.UNINDENT +.SH LIMITATIONS +.sp +\fBmirage2iso\fP doesn\(aqt support images with multiple data tracks in the +same session. Only the first data (Mode1) track will be converted. +.sp +It doesn\(aqt support tracks other than Mode1 either, i.e. it is able to +convert only standard data tracks. It won\(aqt work with your PSX games +and other stuff relying on Mode2. +.SH COPYRIGHT +.sp +See the file /usr/doc/mirage2iso\-0.4.2/COPYING for license information. +.SH AUTHORS +.sp +mirage2iso was written by Michał Górny. +.sp +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. +.SH SEE ALSO +.sp +\fBbchunk\fP(1) +.sp +/usr/doc/mirage2iso\-0.4.2/README +.\" Generated by docutils manpage writer. +. diff --git a/multimedia/mirage2iso/mirage2iso.SlackBuild b/multimedia/mirage2iso/mirage2iso.SlackBuild new file mode 100644 index 0000000000..b28ba93338 --- /dev/null +++ b/multimedia/mirage2iso/mirage2iso.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/bash + +# Slackware build script for mirage2iso + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=mirage2iso +VERSION=${VERSION:-0.4.2} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/man/man1 +gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a README* NEWS* COPYING* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/mirage2iso/mirage2iso.info b/multimedia/mirage2iso/mirage2iso.info new file mode 100644 index 0000000000..4348732c43 --- /dev/null +++ b/multimedia/mirage2iso/mirage2iso.info @@ -0,0 +1,10 @@ +PRGNAM="mirage2iso" +VERSION="0.4.2" +HOMEPAGE="https://github.com/mgorny/mirage2iso" +DOWNLOAD="https://github.com/mgorny/mirage2iso/releases/download/v0.4.2/mirage2iso-0.4.2.tar.xz" +MD5SUM="e4e38aa47cbc63211c882f2ce8f62cd0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libmirage" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/mirage2iso/mirage2iso.rst b/multimedia/mirage2iso/mirage2iso.rst new file mode 100644 index 0000000000..f06f6d0e1a --- /dev/null +++ b/multimedia/mirage2iso/mirage2iso.rst @@ -0,0 +1,100 @@ +.. RST source for mirage2iso(1) man page. Convert with: +.. rst2man.py mirage2iso.rst > mirage2iso.1 +.. rst2man.py comes from the SBo development/docutils package. + +.. |version| replace:: 0.4.2 +.. |date| date:: + +========== +mirage2iso +========== + +------------------------------------------- +convert various CD/DVD image formats to ISO +------------------------------------------- + +:Manual section: 1 +:Manual group: SlackBuilds.org +:Date: |date| +:Version: |version| + +SYNOPSIS +======== + +mirage2iso [*-options*] *input-file* [*output.iso*] + +DESCRIPTION +=========== + +**mirage2iso** extracts an ISO-9660 image from a CD/DVD image in any +format supported by **libmirage**. This includes *bin/cue*, *nrg* +(Nero), *mds* (Alcohol 120%), and many more; see the libmirage +documentation for the full list. + +The *input-file* argument is required, and there's no way to read +from standard input. For multi-file formats (*bin/cue*, *bin/toc*, +etc), the *input-file* must be the one containing the table of +contents (the *cue* or *toc* file, which will also be the smallest +file of the set). + +With no *output.iso* argument, the output filename is "guessed" based +on the input filename, with the extension changed to *.iso*. If this +file already exists, it will not be overwritten (unless the **-f**, +**--force** option is given). + +OPTIONS +======= + +-f, --force + Force replacing the guessed output file. + +-p, --password=PASS + Password for the encrypted image. + +-q, --quiet + Disable progress reporting, output only errors. + +-s, --session=N + Session to use (default: the last one). + +-c, --stdout + Output the image into stdout instead of a file. + +-v, --verbose + Increase progress reporting verbosity. + +-V, --version + Print program version and exit. + +-h, --help + Print built-in help and exit. + +LIMITATIONS +=========== + +**mirage2iso** doesn't support images with multiple data tracks in the +same session. Only the first data (Mode1) track will be converted. + +It doesn't support tracks other than Mode1 either, i.e. it is able to +convert only standard data tracks. It won't work with your PSX games +and other stuff relying on Mode2. + +COPYRIGHT +========= + +See the file /usr/doc/mirage2iso-|version|/COPYING for license information. + +AUTHORS +======= + +mirage2iso was written by Michał Górny. + +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. + +SEE ALSO +======== + +**bchunk**\(1) + +/usr/doc/mirage2iso-|version|/README diff --git a/multimedia/simpleburn/slack-desc b/multimedia/mirage2iso/slack-desc index 821255fa77..d5b98485cb 100644 --- a/multimedia/simpleburn/slack-desc +++ b/multimedia/mirage2iso/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -simpleburn: simpleburn (CD/DVD burning and extraction tool) -simpleburn: -simpleburn: SimpleBurn is a minimalistic application for burning and extracting -simpleburn: CDs and DVDs. It basically is a Cdrtools frontend and is designed in -simpleburn: two parts: the GUI (GTK) and a BASH script that handle the requested -simpleburn: actions. -simpleburn: -simpleburn: -simpleburn: http://simpleburn.tuxfamily.org -simpleburn: -simpleburn: +mirage2iso: mirage2iso (extract iso images from CD images) +mirage2iso: +mirage2iso: mirage2iso is a simple tool to convert various CD/DVD image formats +mirage2iso: into .iso images through use of libmirage (same one as used by cdemu). +mirage2iso: +mirage2iso: +mirage2iso: +mirage2iso: +mirage2iso: +mirage2iso: +mirage2iso: diff --git a/multimedia/miro/README b/multimedia/miro/README deleted file mode 100644 index 1200f6fddd..0000000000 --- a/multimedia/miro/README +++ /dev/null @@ -1,5 +0,0 @@ -Miro is a free Internet television application for the online -Democracy Network. - -Optional dependencies are gst0-ffmpeg, avahi, ffmpeg2theora, -and gst0-plugins-ugly. diff --git a/multimedia/miro/miro-gdb-fix.patch b/multimedia/miro/miro-gdb-fix.patch deleted file mode 100644 index c14e384109..0000000000 --- a/multimedia/miro/miro-gdb-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur miro-4.0.4.orig/linux/miro miro-4.0.4/linux/miro ---- miro-4.0.4.orig/linux/miro 2011-12-22 14:45:47.000000000 +0000 -+++ miro-4.0.4/linux/miro 2011-12-28 21:26:20.298219802 +0000 -@@ -42,7 +42,7 @@ - then - MIROREAL=./miro.real - else -- MIROREAL=`which gdb` -+ MIROREAL=`which miro.real` - fi - - echo "using ${MIROREAL}" -@@ -60,7 +60,7 @@ - fi - - $GDB -ex 'set breakpoint pending on' \ -- -ex 'run' --args $PYTHON ./miro.real --sync "$@" -+ -ex 'run' --args $PYTHON $MIROREAL --sync "$@" - else - miro.real "$@" - fi diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild deleted file mode 100644 index a6b5b99d1f..0000000000 --- a/multimedia/miro/miro.SlackBuild +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/bash - -# Slackware build script for Miro - -# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> -# 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 ''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=miro -VERSION=${VERSION:-6.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -DIRNAME=$(tar -tf $CWD/$PRGNAM-$VERSION.tar.gz | head -1) - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $DIRNAME -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $DIRNAME/tv -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Patch to fix the gdb call from miro. -patch -p1 < $CWD/miro-gdb-fix.patch - -# Fix .destkop item. -sed -i \ - -e 's|TV;||' -e 's|P2P;News;FileTransfer;||' \ - -e 's|ogg$|ogg;|' linux/miro.desktop - -cd linux - sed -i -e 's|share/man|man|' -e '/miro.test/d' setup.py - sed -i "s|CODEC_ID_MP3|AV_CODEC_ID_MP3|g" miro-segmenter.c - sed -i "s|CODEC_ID_AC3|AV_CODEC_ID_AC3|g" miro-segmenter.c - CFLAGS="$SLKCFLAGS" python setup.py install --root=$PKG -cd - - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove unneeded files. -rm -rf $PKG/usr/share/${PRGNAM}/resources/testdata -if [ "$ARCH" == "x86_64" ]; then - rm -f $PKG/usr/bin/codegen.Linux-i686 -else - rm -f $PKG/usr/bin/codegen.Linux-x86_64 -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CREDITS LAYOUT license.txt README $PKG/usr/doc/$PRGNAM-$VERSION -cat linux/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.linux -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/miro/miro.info b/multimedia/miro/miro.info deleted file mode 100644 index 7e6568723b..0000000000 --- a/multimedia/miro/miro.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="miro" -VERSION="6.0" -HOMEPAGE="http://www.getmiro.com/" -DOWNLOAD="https://github.com/pculture/miro/archive/v6.0/miro-6.0.tar.gz" -MD5SUM="0e6037687ddc7321a3a89b93743ae141" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gnome-python gst0-python libtorrent-rasterbar mutagen pywebkitgtk" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" diff --git a/multimedia/mjpegtools/README b/multimedia/mjpegtools/README index 733a91ee78..33fe89ef0b 100644 --- a/multimedia/mjpegtools/README +++ b/multimedia/mjpegtools/README @@ -1,13 +1,13 @@ -The mjpeg programs are a set of tools that can do recording of videos and -playback, simple cut-and-paste editing and the MPEG compression of audio -and video under Linux. +The mjpeg programs are a set of tools that can do recording of videos +and playback, simple cut-and-paste editing and the MPEG compression of +audio and video under Linux. -Recording is supported for the Zoran based cards like the Buz (Iomega), -DC10 (MIRO, Pinnacle), Matrox Marvel cards and the LML33 (Linux Media Labs). -See related pages to the right to find the right driver for your card. -The recorded videos can be converted to MPEG streams. The software playback -of MPEG streams works with almost every player and every OS. -You can produce special forms of MPEG streams like VCD (Video CD) and SVCD -for hardware playback. +Recording is supported for the Zoran based cards like the Buz +(Iomega), DC10 (MIRO, Pinnacle), Matrox Marvel cards and the LML33 +(Linux Media Labs). See related pages to the right to find the right +driver for your card. The recorded videos can be converted to MPEG +streams. The software playback of MPEG streams works with almost every +player and every OS. You can produce special forms of MPEG streams +like VCD (Video CD) and SVCD for hardware playback. This optionally depends on libquicktime, libdv and SDL_gfx. diff --git a/multimedia/mjpegtools/doinst.sh b/multimedia/mjpegtools/doinst.sh new file mode 100644 index 0000000000..1bef502028 --- /dev/null +++ b/multimedia/mjpegtools/doinst.sh @@ -0,0 +1,6 @@ +if [ -x /usr/bin/install-info -a -d usr/info ]; then + ( cd usr/info + rm -f dir + for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done + ) +fi diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index 478b26be77..efd32532f9 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -22,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - add doinst/douninst to handle /usr/info/dir. +# - rm INSTALL from doc dir (compile instructions only). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mjpegtools -VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-2.2.1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -75,9 +76,9 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + # Fix for x86_64 sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure @@ -96,26 +97,25 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +make install-strip DESTDIR=$PKG rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/* +gzip -9 $PKG/usr/info/* $PKG/usr/man/man*/* -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC cp -a \ - AUTHORS BUGS CHANGES COPYING ChangeLog HINTS INSTALL* \ + AUTHORS BUGS CHANGES COPYING ChangeLog HINTS \ NEWS PLANS README TODO docs/FAQ.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION/ -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/mjpegtools/mjpegtools.info b/multimedia/mjpegtools/mjpegtools.info index b47c750bde..085aec9a10 100644 --- a/multimedia/mjpegtools/mjpegtools.info +++ b/multimedia/mjpegtools/mjpegtools.info @@ -1,10 +1,10 @@ PRGNAM="mjpegtools" -VERSION="2.1.0" +VERSION="2.2.1" HOMEPAGE="http://mjpeg.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/mjpeg/mjpegtools-2.1.0.tar.gz" -MD5SUM="57bf5dd78976ca9bac972a6511b236f3" +DOWNLOAD="http://downloads.sourceforge.net/mjpeg/mjpegtools-2.2.1.tar.gz" +MD5SUM="168e0131c0b8a2e31df7a73eb602fc32" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Edward W. Koenig" -EMAIL="kingbeowulf@gmail.com" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/multimedia/mkvtoolnix/README b/multimedia/mkvtoolnix/README index 93469e57a2..e1076149dc 100644 --- a/multimedia/mkvtoolnix/README +++ b/multimedia/mkvtoolnix/README @@ -6,11 +6,21 @@ MKVToolnix is a set of tools to create, alter and inspect Matroska * Create Matroska files from other media files (mkvmerge) * Modify properties of existing Matroska files (mkvpropedit) -Note: This comes with internal versions of libembl and libmatroska. -Configure will use the internal versions if it fails to find them or -they are unusable. - -Interested parties can build QT version of GUI by passing QTGUI=yes. +The script will build QT GUI by default. It can be disabled by GUI=no It is also possible to install translation of man pages. It requires po4a to be installed. Configure catches it automatically. + +Below libraries are bundled with the source code and configure will use +system version if they are usable: + * avilib + * librmff + * nlohmann-json + * pugixml (on SBo) + * utf8-cpp + * fmt (on SBo) + * libebml (on SBo) + * libmatroska (on SBo) + +Installation of the above libraries are completely optional and internal +versions are well tested within the application. diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild index de4c98e06a..933ffc8bda 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild +++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild @@ -25,11 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mkvtoolnix -VERSION=${VERSION:-60.0.0} +VERSION=${VERSION:-80.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +GUI=${GUI:-yes} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -88,7 +87,9 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --mandir=/usr/man \ --localstatedir=/var \ - --enable-qt=${QTGUI:-no} \ + --enable-gui="$GUI" \ + --disable-static \ + --disable-update-check \ --docdir=/usr/$PRGNAM-$VERSION \ --htmldir=/usr/$PRGNAM-$VERSION \ --with-boost @@ -103,7 +104,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS INSTALL COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/mkvtoolnix/mkvtoolnix.info b/multimedia/mkvtoolnix/mkvtoolnix.info index 14a8d6d63c..4365df658f 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.info +++ b/multimedia/mkvtoolnix/mkvtoolnix.info @@ -1,8 +1,8 @@ PRGNAM="mkvtoolnix" -VERSION="60.0.0" +VERSION="80.0" HOMEPAGE="https://mkvtoolnix.download/" -DOWNLOAD="https://mkvtoolnix.download/sources/mkvtoolnix-60.0.0.tar.xz" -MD5SUM="b9258789b132da04be92f12c18b1b801" +DOWNLOAD="https://mkvtoolnix.download/sources/mkvtoolnix-80.0.tar.xz" +MD5SUM="464b82fc3903d96298e4dadaae53200f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cmark" diff --git a/multimedia/mozplugger/mozplugger.SlackBuild b/multimedia/mozplugger/mozplugger.SlackBuild index 1f193d7c8a..64e70cd870 100644 --- a/multimedia/mozplugger/mozplugger.SlackBuild +++ b/multimedia/mozplugger/mozplugger.SlackBuild @@ -31,7 +31,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -49,8 +49,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/mozplugger/mozplugger.info b/multimedia/mozplugger/mozplugger.info index 1071e2a11e..9762dbd8d8 100644 --- a/multimedia/mozplugger/mozplugger.info +++ b/multimedia/mozplugger/mozplugger.info @@ -1,7 +1,7 @@ PRGNAM="mozplugger" VERSION="2.1.6" HOMEPAGE="http://mozplugger.mozdev.org/" -DOWNLOAD="http://mozplugger.mozdev.org/files/mozplugger-2.1.6.tar.gz" +DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/a/b/abb42f3c3c2f3a940c1252a83f254116/mozplugger-2.1.6.tar.gz" MD5SUM="abb42f3c3c2f3a940c1252a83f254116" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/mp3fm/README b/multimedia/mp3fm/README index ca9b906ab6..9aa1e80f3f 100644 --- a/multimedia/mp3fm/README +++ b/multimedia/mp3fm/README @@ -1,12 +1,13 @@ -"MP3fm" stands for "MP3 Folder Making app" which AUTOMATICALLY Pack Songs -into folders according to user choice from +"MP3fm" stands for "MP3 Folder Making app" which automatically +organizes songs into folders according to user choice from: + TITLE/ARTIST/ALBUM/YEAR/DURATION/COMMENT. -Features : -PACK : Move songs into folders based on property choosen by +Features: +PACK: Move songs into folders based on property chosen by user from Album(Movie)/Artist/Year/Comments/Title/Duration -UNPACK : Move songs into choosen folder from already existing folders inside it -UPDATE : Update the Properties of all the songs(ID3 metadata) present in the - choosen folder -GENERATE LOG : LOG file is created after every operation which helps in mapping - new song location +UNPACK: Move songs into chosen folder from existing folders inside it +UPDATE: Update the Properties of all the songs(ID3 metadata) present in + the chosen folder +GENERATE LOG: LOG file is created after every operation which helps in + mapping new song location diff --git a/multimedia/mpgtx/README b/multimedia/mpgtx/README index c1d06b1feb..cd8657f1a2 100644 --- a/multimedia/mpgtx/README +++ b/multimedia/mpgtx/README @@ -1,4 +1,5 @@ -mpgtx a command line MPEG audio/video/system file toolbox, that slices and -joins audio and video files, including MPEG1, MPEG2 and MP3. mpgtx was -designed with the good old Unix philosophy in mind: do few but do it well -and provide end user an austary yet powerful command line interface. +mpgtx a command line MPEG audio/video/system file toolbox, that slices +and joins audio and video files, including MPEG1, MPEG2 and MP3. mpgtx +was designed with the good old Unix philosophy in mind: do few but +do it well and provide end user an austary yet powerful command line +interface. diff --git a/multimedia/mpgtx/mpgtx.SlackBuild b/multimedia/mpgtx/mpgtx.SlackBuild index fa18f6f44a..e68de22d31 100644 --- a/multimedia/mpgtx/mpgtx.SlackBuild +++ b/multimedia/mpgtx/mpgtx.SlackBuild @@ -15,7 +15,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -33,8 +33,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then diff --git a/multimedia/mpv/README b/multimedia/mpv/README index 155b71674c..56ded2b4c9 100644 --- a/multimedia/mpv/README +++ b/multimedia/mpv/README @@ -7,23 +7,33 @@ This SlackBuild provides support for most useful optional features. Some other optional features may be enabled by having the relevant packages installed; they will be autodetected at build time. These include: - jack, libuchardet, oss, rubberband, cudatoolkit, and nv-codec-headers + jack, libuchardet, oss, rubberband, cudatoolkit, nv-codec-headers Please note that CUDA based hardware acceleration requires mpv to be built with both the cudatoolkit and nv-codec-headers packages installed. +Since Pipewire is not configured as the default in Slackware, +its use is disabled in this SlackBuild. To enable Pipewire, run the +SlackBuild with the USE_PIPEWIRE environment variable set e.g. + USE_PIPEWIRE=yes sh mpv.SlackBuild + Most dependencies are autodetected. Some optional dependencies are disabled by default and may be enabled via the BUILD_OPTS environment variable. Optional dependencies that are enabled by default may be disabled in the same way. -For example, to enable support for Samba and SDL2 (both disabled +For example, to enable support for OpenAL and SDL2 (both disabled by default) as well as to disable javascript support (normally autodetected), you could run: -BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" \ +BUILD_OPTS="-Dopenal=enabled -Dsdl2=enabled -Djavascript=disabled" \ sh mpv.SlackBuild Runtime support for youtube videos requires installation of youtube-dl (available from SBo) to be installed. Watch with something like: mpv https://www.youtube.com/watch?v=mAFMJ1LnQu8 + +To enable building with meson/ninja (recommended since waf build is +to be deprecated), a patch is required to enable use of Slackware 15's +older version of meson. Unfortunately this disables the ability to +process configuration/building on Raspberry Pi. diff --git a/multimedia/mpv/libplacebo-api.patch b/multimedia/mpv/libplacebo-api.patch deleted file mode 100644 index b684df8c9f..0000000000 --- a/multimedia/mpv/libplacebo-api.patch +++ /dev/null @@ -1,84 +0,0 @@ -From 7c4465cefb27d4e0d07535d368febdf77b579566 Mon Sep 17 00:00:00 2001 -From: Niklas Haas <git@haasn.xyz> -Date: Thu, 3 Dec 2020 08:25:23 +0100 -Subject: [PATCH] vo_gpu: placebo: update for upstream API changes - -The concept of sample/address modes was moved from `pl_tex` to -`pl_desc_binding`. - -The `pl_tex_blit()` function also underwent an API change. ---- - video/out/placebo/ra_pl.c | 31 +++++++++++++++++++++++++++++-- - 1 file changed, 29 insertions(+), 2 deletions(-) - -diff --git a/video/out/placebo/ra_pl.c b/video/out/placebo/ra_pl.c -index f8df590511d..8244acff261 100644 ---- a/video/out/placebo/ra_pl.c -+++ b/video/out/placebo/ra_pl.c -@@ -144,8 +144,14 @@ bool mppl_wrap_tex(struct ra *ra, const struct pl_tex *pltex, - .blit_dst = pltex->params.blit_dst, - .host_mutable = pltex->params.host_writable, - .downloadable = pltex->params.host_readable, -+#if PL_API_VER >= 103 -+ // These don't exist upstream, so just pick something reasonable -+ .src_linear = pltex->params.format->caps & PL_FMT_CAP_LINEAR, -+ .src_repeat = false, -+#else - .src_linear = pltex->params.sample_mode == PL_TEX_SAMPLE_LINEAR, - .src_repeat = pltex->params.address_mode == PL_TEX_ADDRESS_REPEAT, -+#endif - }, - .priv = (void *) pltex, - }; -@@ -195,10 +201,12 @@ static struct ra_tex *tex_create_pl(struct ra *ra, - .blit_dst = params->blit_dst || params->render_dst, - .host_writable = params->host_mutable, - .host_readable = params->downloadable, -+#if PL_API_VER < 103 - .sample_mode = params->src_linear ? PL_TEX_SAMPLE_LINEAR - : PL_TEX_SAMPLE_NEAREST, - .address_mode = params->src_repeat ? PL_TEX_ADDRESS_REPEAT - : PL_TEX_ADDRESS_CLAMP, -+#endif - .initial_data = params->initial_data, - }); - -@@ -399,7 +407,18 @@ static void blit_pl(struct ra *ra, struct ra_tex *dst, struct ra_tex *src, - pldst.y1 = MPMIN(MPMAX(dst_rc->y1, 0), dst->params.h); - } - -+#if PL_API_VER >= 103 -+ pl_tex_blit(get_gpu(ra), &(struct pl_tex_blit_params) { -+ .src = src->priv, -+ .dst = dst->priv, -+ .src_rc = plsrc, -+ .dst_rc = pldst, -+ .sample_mode = src->params.src_linear ? PL_TEX_SAMPLE_LINEAR -+ : PL_TEX_SAMPLE_NEAREST, -+ }); -+#else - pl_tex_blit(get_gpu(ra), dst->priv, src->priv, pldst, plsrc); -+#endif - } - - static const enum pl_var_type var_type[RA_VARTYPE_COUNT] = { -@@ -627,9 +646,17 @@ static void renderpass_run_pl(struct ra *ra, - struct pl_desc_binding bind; - switch (inp->type) { - case RA_VARTYPE_TEX: -- case RA_VARTYPE_IMG_W: -- bind.object = (* (struct ra_tex **) val->data)->priv; -+ case RA_VARTYPE_IMG_W: { -+ struct ra_tex *tex = *((struct ra_tex **) val->data); -+ bind.object = tex->priv; -+#if PL_API_VER >= 103 -+ bind.sample_mode = tex->params.src_linear ? PL_TEX_SAMPLE_LINEAR -+ : PL_TEX_SAMPLE_NEAREST; -+ bind.address_mode = tex->params.src_repeat ? PL_TEX_ADDRESS_REPEAT -+ : PL_TEX_ADDRESS_CLAMP; -+#endif - break; -+ } - case RA_VARTYPE_BUF_RO: - case RA_VARTYPE_BUF_RW: - bind.object = (* (struct ra_buf **) val->data)->priv; diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild index 4b9e1c3b70..028f18343b 100644 --- a/multimedia/mpv/mpv.SlackBuild +++ b/multimedia/mpv/mpv.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2015 John Vogel Corning, NY USA # Copyright 2017,2018 (versions 0.25.0-0.29.1) Andreas Guldstrand -# Copyright 2020 Christoph Willing Brisbane Australia +# Copyright 2020-2023 Christoph Willing Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,8 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mpv -VERSION=${VERSION:-0.33.1} -WAF_VERSION=${WAF_VERSION:-2.0.20} +VERSION=${VERSION:-0.37.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -53,8 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# The SLKFLAGS aren't currently used. They do no harm and can -# be left as a placeholder in case they are ever needed. if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -77,9 +71,13 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -cp $CWD/waf-$WAF_VERSION ./waf -sed -i -e 's/python$/python3/' waf -chmod +x waf + +# Needed for 15.0's older meson but disables RPI +if [ "$(meson --version)" = "0.59.4" ]; then + echo "Using meson-0.59.4 for 15.0" + patch -p0 < $CWD/use_older_meson.diff +fi + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,33 +85,37 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/libplacebo-api.patch - DOCS="Copyright LICENSE.GPL LICENSE.LGPL README.md RELEASE_NOTES VERSION" MANUAL="DOCS/*.md DOCS/*.rst DOCS/*.txt" +pipewire="-Dpipewire=disabled" ; [ "${USE_PIPEWIRE:-no}" != "no" ] && pipewire="-Dpipewire=auto" + # This leaves an opening for additional build options. +# See `meson configure` to see what's available. BUILD_OPTS=${BUILD_OPTS:-""} -PKG_CONFIG_PATH="/usr/lib${LIBDIRSUFFIX}/ffmpeg4/pkgconfig" -export PKG_CONFIG_PATH +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ -# Setting CFLAGS and CXXFLAGS breaks configure. -./waf configure \ +CFLAGS="$SLKCFLAGS -ldl" \ +CXXFLAGS="$SLKCFLAGS" \ +meson \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --confdir=/etc/$PRGNAM \ + --sysconfdir=/etc \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-libmpv-shared \ - --enable-html-build \ - --enable-dvdnav \ - --enable-cdda \ - --enable-dvbin \ - $BUILD_OPTS - -./waf build -./waf --destdir=$PKG install + -Dbuildtype=release \ + -Dmanpage-build=enabled \ + -Dlibmpv=true \ + -Dhtml-build=enabled \ + -Dcdda=enabled \ + -Ddvdnav=enabled \ + -Ddvbin=enabled \ + $pipewire \ + $BUILD_OPTS \ + . build + +DESTDIR=$PKG ${NINJA:=ninja} -C build -v install for f in $PKG/etc/mpv/*.conf ; do mv $f{,.new} @@ -136,6 +138,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/manual for f in $MANUAL; do cp -a $f $PKG/usr/doc/$PRGNAM-$VERSION/manual/ done +cp -a $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/mpv/mpv.info b/multimedia/mpv/mpv.info index c90c271d63..4536eda712 100644 --- a/multimedia/mpv/mpv.info +++ b/multimedia/mpv/mpv.info @@ -1,12 +1,10 @@ PRGNAM="mpv" -VERSION="0.33.1" +VERSION="0.37.0" HOMEPAGE="https://mpv.io/" -DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.33.1/mpv-0.33.1.tar.gz \ - https://waf.io/waf-2.0.20" -MD5SUM="2549341eda0f5770c221469197186038 \ - eb0cd320fc8838971cfa735ad78f6de8" +DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.37.0/mpv-0.37.0.tar.gz" +MD5SUM="54bd6864cc831f1fee6dee693a0421eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libass libplacebo lua mujs" +REQUIRES="libass libplacebo luajit mujs" MAINTAINER="Christoph Willing" EMAIL="chris.willing@linux.com" diff --git a/multimedia/mpv/use_older_meson.diff b/multimedia/mpv/use_older_meson.diff new file mode 100644 index 0000000000..856b72ee55 --- /dev/null +++ b/multimedia/mpv/use_older_meson.diff @@ -0,0 +1,35 @@ +--- meson.build.orig 2023-07-24 03:10:36.000000000 +1000 ++++ meson.build 2023-07-24 11:13:30.945000000 +1000 +@@ -2,7 +2,7 @@ + 'c', + license: ['GPL2+', 'LGPL2.1+'], + version: files('./VERSION'), +- meson_version: '>=0.62.0', ++ meson_version: '>=0.59.4', + default_options: [ + 'buildtype=debugoptimized', + 'b_lundef=false', +@@ -1222,8 +1222,9 @@ + features += {'gl': true} + endif + +-rpi = dependency('/opt/vc/lib/pkgconfig/brcmegl.pc', 'brcmegl', required: get_option('rpi')) +-features += {'rpi': gl_allowed and rpi.found()} ++#rpi = dependency('/opt/vc/lib/pkgconfig/brcmegl.pc', 'brcmegl', required: get_option('rpi')) ++#features += {'rpi': gl_allowed and rpi.found()} ++features += {'rpi': false} + if features['rpi'] + dependencies += rpi + features += {'gl': true} +@@ -1386,8 +1387,9 @@ + features['rpi'], + error_message: 'rpi was not found!', + ) +-rpi_mmal = dependency('/opt/vc/lib/pkgconfig/mmal.pc', 'mmal', required: rpi_mmal_opt) +-features += {'rpi-mmal': rpi_mmal.found()} ++#rpi_mmal = dependency('/opt/vc/lib/pkgconfig/mmal.pc', 'mmal', required: rpi_mmal_opt) ++#features += {'rpi-mmal': rpi_mmal.found()} ++features += {'rpi-mmal': false} + if features['rpi-mmal'] + dependencies += rpi_mmal + sources += files('video/out/opengl/hwdec_rpi.c', diff --git a/multimedia/mtpfs/mtpfs.SlackBuild b/multimedia/mtpfs/mtpfs.SlackBuild index 41aa142c32..8736948bd1 100644 --- a/multimedia/mtpfs/mtpfs.SlackBuild +++ b/multimedia/mtpfs/mtpfs.SlackBuild @@ -2,14 +2,17 @@ # Slackware build script for mtpfs -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: updated for v1.1+20210514_d228a21. upstream hasn't +# done a release, but there's some useful bugfixes in git. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mtpfs -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.1+20210514_d228a21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,12 +50,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz +tar xvf $CWD/${PRGNAM}-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +autoreconf -if + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/mtpfs/mtpfs.info b/multimedia/mtpfs/mtpfs.info index 8694177336..b59e0b241b 100644 --- a/multimedia/mtpfs/mtpfs.info +++ b/multimedia/mtpfs/mtpfs.info @@ -1,10 +1,10 @@ PRGNAM="mtpfs" -VERSION="1.1" +VERSION="1.1+20210514_d228a21" HOMEPAGE="https://www.adebenham.com/mtpfs/" -DOWNLOAD="https://www.adebenham.com/files/mtp/mtpfs-1.1.tar.gz" -MD5SUM="a299cadca336e6945b7275b44c6e8d27" +DOWNLOAD="https://slackware.uk/~urchlay/src/mtpfs-1.1+20210514_d228a21.tar.xz" +MD5SUM="90aaaf870b05f21efa740aec3a2b5d2d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/munt/README b/multimedia/munt/README index e8d468e966..87eb3d3d6f 100644 --- a/multimedia/munt/README +++ b/multimedia/munt/README @@ -4,6 +4,19 @@ Munt is a multi-platform software synthesizer emulating (somewhat inaccurately) pre-GM MIDI devices such as the Roland MT-32, CM-32L, CM-64 and LAPC-1. -ROMS for these devices are not included. +A few ROMS for these devices are included: the v1.07 ROM for the MT-32 +and the v1.02 ROM for the CM-32L. The applications have been patched +to use the packaged ROMs by default, though you can use other ROMs +easily enough. -This will install both the desktop application and the shared library. +This will install the desktop applications (mt32emu-qt and xmt32), the +command-line tools (mt32emu-smf2wav and mt32d), the shared library, +and the headers. + +Optional dependency: jack (autodetected). If jack is present, +munt will be built with support for it. If this package is built +with jack, it uses POSIX filesystem capabilities to execute with +elevated privileges (required for realtime audio processing). This +may be considered a security/stability risk. Please read +http://www.slackbuilds.org/caps/ for more information. To disable +capabilities, pass SETCAP=no to the script. diff --git a/multimedia/munt/doinst.sh b/multimedia/munt/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/multimedia/munt/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/munt/interleave.c b/multimedia/munt/interleave.c new file mode 100644 index 0000000000..20b666ae12 --- /dev/null +++ b/multimedia/munt/interleave.c @@ -0,0 +1,93 @@ +/* interleave.c - B. Watson, April 2023, WTFPL licensed. + + Given two files of the same size, creates a 3rd file whose contents are: + + file 1, byte 1 + file 2, byte 1 + file 1, byte 2 + file 2, byte 2 + file 1, byte 3 + file 2, byte 3 + ...etc. + + If file1 contains "foo" and file2 contains "bar", the output will + be "fboaor". The output is always twice the size of one of the + input files (or, the same size as both input files combined). + + Output file is silently overwritten if it already exists. + + Exit status is 0 for success, non-zero for failure, with a hopefully + useful error message. + + Compile me with: + gcc -Wall -O2 -o interleave interleave.c + + This could be done more efficiently and without an artificial file + size limit, but the current implementation reads everything into a + statically sized buffer for simpliticy. + */ + +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + +#define MAX_SIZE (1024 * 1024) + +unsigned char blob1[MAX_SIZE + 1], blob2[MAX_SIZE + 1], output[MAX_SIZE * 2 + 1]; + +void die(const char *msg) { + if(msg) + fprintf(stderr, "interleave: %s\n", msg); + else + perror("interleave"); + exit(1); +} + +int read_file(const char *fname, unsigned char *dest) { + int bytes; + FILE *f = fopen(fname, "rb"); + + if(!f) die(NULL); + if( (bytes = fread(dest, 1, MAX_SIZE + 1, f)) < 1 ) die(NULL); + fclose(f); + + /* fprintf(stderr, "read %d bytes from %s\n", bytes, fname); */ + + return bytes; +} + +void write_output(const char *fname, int bytes) { + int i; + unsigned char *p = output; + FILE *f = fopen(fname, "wb"); + + if(!f) die(NULL); + + for(i = 0; i < bytes; i++) { + *p++ = blob1[i]; + *p++ = blob2[i]; + } + + if( (fwrite(output, 1, bytes * 2, f)) < (bytes * 2) ) die(NULL); + + fclose(f); +} + +int main(int argc, char **argv) { + int size1, size2; + + if(argc != 4) + die("usage:\n\tinterleave <input1> <input2> <output>"); + + size1 = read_file(argv[1], blob1); + size2 = read_file(argv[2], blob2); + + if(size1 > MAX_SIZE) + die("input file too big (max 1MB each)"); + if(size1 != size2) + die("input files are not the same size"); + + write_output(argv[3], size1); + + return 0; +} diff --git a/multimedia/munt/munt.SlackBuild b/multimedia/munt/munt.SlackBuild index 9dc62f2c5c..96d9246741 100644 --- a/multimedia/munt/munt.SlackBuild +++ b/multimedia/munt/munt.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for munt # Copyright 2017 Dugan Chen Canada +# Copyright 2023 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +23,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230410 bkw: +# - new maintainer. +# - update for v2.7.0 (sourceforge => github). +# - include (some of) the ROMs in the package. +# - add the mt32emu_alsadrv binaries (mt32d, xmt32). +# - patch everything to use /usr/share/munt/roms/ as default path. +# user can still change this in the UI as needed, I just don't want +# it defaulting to ~/roms/ (need this so we can package the ROMs). +# - add doinst.sh, since the new version has icons and a .desktop. +# - add setcap stuff for jack. +# - update README to document jack optional dep and the fact that the +# ROMs are included. also mention the actual binary names, since +# neither one's called "munt". + +# TODO someday: man pages. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=munt -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,14 +55,18 @@ if [ -z "$ARCH" ]; then esac 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 fi +# 20230411 bkw: The various components have separate version numbers, +# and it looks like upstream's tags are named after whichever +# component was released last. The mt32emu_qt_1_11_1 tag includes +# the previous release (2.7.0) of mt32emu. This is kinda confusing, +# but whatever. +GIT_TAG=${GIT_TAG:-mt32emu_qt_1_11_1} + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -69,16 +90,30 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$GIT_TAG +tar xvf $CWD/$PRGNAM-$GIT_TAG.tar.gz +cd $PRGNAM-$GIT_TAG 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# 20230411 bkw: Patch mt32emu-qt, mt32emu-smf2wav, mt32d, xmt32 to +# look for ROMs in a systemwide directory (which is where we'll place +# the ROMs, below). +patch -p1 < $CWD/system_rom_path.diff + +# Allow mt32d, xmt32 to build in-tree, without the library already +# installed. Also apply our SLKCFLAGS. +sed -i \ + -e "s,-O2,$SLKCFLAGS -I../build/mt32emu/include," \ + -e "s,-lmt32emu,-L../build/mt32emu -lmt32emu," \ + mt32emu_alsadrv/Makefile + +# 20230411 bkw: fix desktop-file-validate nitpick (a "hint", not an error). +sed -i '/^Categories/s,$,Audio;,' mt32emu_qt/res/mt32emu-qt.desktop +# 20230411 bkw: cmake accepts and ignores (!) -DCMAKE_INSTALL_DOCDIR. +# Also there's no way to disable jack, if it's autodetected. mkdir -p build cd build cmake \ @@ -87,22 +122,121 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. \ - -Dlibmt32emu_SHARED=ON + -Dlibmt32emu_SHARED=ON make - make install DESTDIR=$PKG + make install/strip DESTDIR=$PKG cd .. -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 +# This stuff isn't built by cmake. It's considered outdated, but at least +# the mt32d binary might be useful for a headless/console-only system. +make -C mt32emu_alsadrv +install -s -m0755 mt32emu_alsadrv/{mt32d,xmt32} $PKG/usr/bin + +### Extract and install the ROMs. + +PKGROMS=$PKG/usr/share/$PRGNAM/roms +mkdir -p $PKGROMS + +# The ROM zip files have at least 2 possible names each, depending on +# what was used to download them. The URLs have spaces in them. The +# spec says spaces have to be hex-escaped as %20. Plus, we can't have +# spaces in the URLs in our .info files anyway: it would break every +# tool that parses .info files, plus it would prevent curl from being +# able to download them (it refuses to accept spaces in URLs). + +# So DOWNLOAD has the %20's in the URLs. But wget will "helpfully" +# transform them back into spaces. On the other hand, "curl -O" +# will save them as-is. I don't know what various browsers do, but +# hopefully I've covered it here... + +ok=0 +for i in \ + 'Roland - CM32L - CONTROL.1989-12-05.v1.02.ROM.zip' \ + 'Roland%20-%20CM32L%20-%20CONTROL.1989-12-05.v1.02.ROM.zip' +do + if [ -e "$CWD/$i" ]; then + unzip -p "$CWD/$i" \ + "Roland - CM32L - CONTROL.1989-12-05.v1.02.ROM" \ + > $PKGROMS/CM32L_CONTROL.ROM + ok=1 + break + fi +done + +[ "$ok" = "0" ] && echo "*** can't find CM32L control ROM zip file" && exit 1 +ok=0 +for i in \ + 'Roland - CM32L - PCM Maskrom.ROM.zip' \ + 'Roland%20-%20CM32L%20-%20PCM%20Maskrom.ROM.zip' +do + if [ -e "$CWD/$i" ]; then + unzip -p "$CWD/$i" \ + "Roland - CM32L - PCM Maskrom.ROM" \ + > $PKGROMS/CM32L_PCM.ROM + ok=1 + break + fi +done + +[ "$ok" = "0" ] && echo "*** can't find CM32L PCM ROM zip file" && exit 1 + +# We need 3 files from this one, and 2 of them have to be +# interleaved... wrote a little tool to do the job. Only +# including the v1.0.7 control ROM; it's the newest version +# in the zip file. Also, in case something saves the file with +# the ( character hex-escaped, allow for it. +ok=0 +for i in \ + 'Roland MT32 (various OS _ extra ROMs.zip' \ + 'Roland%20MT32%20(various%20OS%20_%20extra%20ROMs.zip' \ + 'Roland%20MT32%20%28various%20OS%20_%20extra%20ROMs.zip' +do + if [ -e "$CWD/$i" ]; then + unzip -p "$CWD/$i" r15449121.ic37.bin > $PKGROMS/MT32_PCM.ROM + unzip "$CWD/$i" mt32_1.0.7.ic26.bin mt32_1.0.7.ic27.bin + + # The ROMs are stored on 2 chips, one with the even-numbered + # addresses and one with the odd. In theory, munt can use them + # as-is (the source called them "Mux0" and "Mux1" ROMs), but + # I couldn't get that to work. Easy enough to merge them together. + gcc -Wall -O2 -o interleave "$CWD/interleave.c" + ./interleave mt32_1.0.7.ic27.bin mt32_1.0.7.ic26.bin $PKGROMS/MT32_CONTROL.ROM + + ok=1 + break + fi +done + +[ "$ok" = "0" ] && echo "*** can't find MT32 ROM zip file" && exit 1 + +### ROMs extracted/installed, back to regular SBo style stuffs. + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc -mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share -cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/share/doc/$PRGNAM $PKGDOC +rm -rf $PKG/usr/share/doc +cp -a README* $PKGDOC +mkdir -p $PKGDOC/mt32emu_alsadrv +cp -a mt32emu_alsadrv/*.txt $PKGDOC/mt32emu_alsadrv +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +WITHJACK=WITHOUT + +# Only add capability stuff if not disabled, and if JACK support was +# included. +if pkg-config --exists jack && [ "${SETCAP:-yes}" = "yes" ]; then + WITHJACK=WITH + cat $CWD/setcap.sh >> $PKG/install/doinst.sh + # Only allow execution by audio group + chown root:audio $PKG/usr/bin/mt32emu-qt + chmod 0750 $PKG/usr/bin/mt32emu-qt +fi + +sed "s,@WITHJACK@,$WITHJACK," < $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/munt/munt.info b/multimedia/munt/munt.info index 2e9c3d9775..4c19c0f664 100644 --- a/multimedia/munt/munt.info +++ b/multimedia/munt/munt.info @@ -1,10 +1,16 @@ PRGNAM="munt" -VERSION="2.2.0" -HOMEPAGE="http://munt.sourceforge.net/" -DOWNLOAD="https://downloads.sourceforge.net/project/munt/munt/2.2.0/munt-2.2.0.tar.gz" -MD5SUM="627a5c7a61c40a4e27025f6a6b912b63" +VERSION="2.7.0" +HOMEPAGE="https://github.com/munt/munt/" +DOWNLOAD="https://github.com/munt/munt/archive/mt32emu_qt_1_11_1/munt-mt32emu_qt_1_11_1.tar.gz \ + http://dbwbp.com/synthbin/Roland%20MT32%20(various%20OS%20_%20extra%20ROMs.zip \ + http://dbwbp.com/synthbin/Roland%20-%20CM32L%20-%20CONTROL.1989-12-05.v1.02.ROM.zip \ + http://dbwbp.com/synthbin/Roland%20-%20CM32L%20-%20PCM%20Maskrom.ROM.zip" +MD5SUM="5a167d0a101d3781a751b21e3e7f46f2 \ + 1635fd528b41fefd262e4b075cb583c0 \ + a84cd91f8959bcae86ba06661ce4791d \ + 8278cfbb6c6d55edb39168182ce322ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dugan Chen" -EMAIL="thedoogster [at] gmail [dot] com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/munt/setcap.sh b/multimedia/munt/setcap.sh new file mode 100644 index 0000000000..460ce23b7f --- /dev/null +++ b/multimedia/munt/setcap.sh @@ -0,0 +1 @@ +[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/mt32emu-qt diff --git a/multimedia/munt/slack-desc b/multimedia/munt/slack-desc index 4784a90509..61d27ea3e2 100644 --- a/multimedia/munt/slack-desc +++ b/multimedia/munt/slack-desc @@ -12,8 +12,8 @@ munt: Munt is a multi-platform software synthesizer emulating (somewhat munt: inaccurately) pre-GM MIDI devices such as the Roland MT-32, CM-32L, munt: CM-64 and LAPC-1. munt: -munt: http://munt.sourceforge.net/ -munt: +munt: This package built @WITHJACK@ jack support. munt: munt: +munt: http://munt.sourceforge.net/ munt: diff --git a/multimedia/munt/system_rom_path.diff b/multimedia/munt/system_rom_path.diff new file mode 100644 index 0000000000..3cc1e29338 --- /dev/null +++ b/multimedia/munt/system_rom_path.diff @@ -0,0 +1,85 @@ +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/README.txt munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/README.txt +--- munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/README.txt 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/README.txt 2023-04-11 14:52:33.660273547 -0400 +@@ -29,7 +29,7 @@ + mt32d and xmt32 will be installed to /usr/local/bin + + Please ensure that the ROM files are installed in +-/usr/share/mt32-rom-data ++/usr/share/munt/roms + + If the ROM files are correctly installed yet the + program cannot open them, check the filenames (case sensitive) +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/alsadrv.cpp munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/alsadrv.cpp +--- munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/alsadrv.cpp 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/alsadrv.cpp 2023-04-11 14:54:40.209261637 -0400 +@@ -44,7 +44,7 @@ + FILE *recwav_file = NULL; + + #define PERC_CHANNEL 9 +-const char default_rom_dir[] = "/usr/share/mt32-rom-data/"; ++const char default_rom_dir[] = "/usr/share/munt/roms/"; + + #include <mt32emu/mt32emu.h> + +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/console.cpp munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/console.cpp +--- munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/console.cpp 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/console.cpp 2023-04-11 14:54:09.900264489 -0400 +@@ -139,7 +139,7 @@ + + printf("\n"); + printf("-f romdir : Directory with ROM files to load\n" +- " (default: '/usr/share/mt32-rom-data/')\n"); ++ " (default: '/usr/share/munt/roms/')\n"); + printf("-o romsearch : Search algorithm to use when loading ROM files:\n" + " (0 - try both but CM32-L first, 1 - CM32-L only,\n" + " 2 - MT-32 only, default: 0)\n"); +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/xmt32.cpp munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/xmt32.cpp +--- munt-mt32emu_qt_1_11_1/mt32emu_alsadrv/src/xmt32.cpp 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_alsadrv/src/xmt32.cpp 2023-04-11 14:53:38.143267478 -0400 +@@ -489,7 +489,7 @@ + + printf("\n"); + printf("-f romdir : Directory with ROM files to load\n" +- " (default: '/usr/share/mt32-rom-data/')\n"); ++ " (default: '/usr/share/munt/roms/')\n"); + printf("-o romsearch : Search algorithm to use when loading ROM files:\n" + " (0 - try both but CM32-L first, 1 - CM32-L only,\n" + " 2 - MT-32 only, default: 0)\n"); +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_qt/src/Master.cpp munt-mt32emu_qt_1_11_1.patched/mt32emu_qt/src/Master.cpp +--- munt-mt32emu_qt_1_11_1/mt32emu_qt/src/Master.cpp 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_qt/src/Master.cpp 2023-04-11 14:56:27.938251499 -0400 +@@ -583,20 +583,7 @@ + } + + QString Master::getDefaultROMSearchPath() { +-#if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0) +- QString defaultPath; +- QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); +- if (env.contains("USERPROFILE")) { +- defaultPath = env.value("USERPROFILE"); +- } else if (env.contains("HOME")) { +- defaultPath = env.value("HOME"); +- } else { +- defaultPath = "."; +- } +- return defaultPath + "/roms/"; +-#else +- return "./roms/"; +-#endif ++ return "/usr/share/munt/roms/"; + } + + void Master::loadSynthProfile(SynthProfile &synthProfile, QString name) { +diff -Naur munt-mt32emu_qt_1_11_1/mt32emu_smf2wav/src/mt32emu-smf2wav.cpp munt-mt32emu_qt_1_11_1.patched/mt32emu_smf2wav/src/mt32emu-smf2wav.cpp +--- munt-mt32emu_qt_1_11_1/mt32emu_smf2wav/src/mt32emu-smf2wav.cpp 2022-08-03 11:39:49.000000000 -0400 ++++ munt-mt32emu_qt_1_11_1.patched/mt32emu_smf2wav/src/mt32emu-smf2wav.cpp 2023-04-11 14:56:27.938251499 -0400 +@@ -917,7 +917,7 @@ + + static bool loadROMs(MT32Emu::Service &service, const Options &options) { + const char *romDirNameUtf8 = options.romDir; +- if (romDirNameUtf8 == NULL) romDirNameUtf8 = "."; ++ if (romDirNameUtf8 == NULL) romDirNameUtf8 = "/usr/share/munt/roms"; + char *romDirName = g_filename_from_utf8(romDirNameUtf8, strlen(romDirNameUtf8), NULL, NULL, NULL); + GDir *romDir = g_dir_open(romDirName, 0, NULL); + if (NULL == romDir) { diff --git a/multimedia/muse-sounds-manager/README b/multimedia/muse-sounds-manager/README new file mode 100644 index 0000000000..ee837e9d76 --- /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 0000000000..9b51b160f6 --- /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 0000000000..b02fe6b2bd --- /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 0000000000..0f91267fb5 --- /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 0000000000..305249a10a --- /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: diff --git a/multimedia/musique/musique.SlackBuild b/multimedia/musique/musique.SlackBuild index 4376bf0bc5..89285ca5c2 100644 --- a/multimedia/musique/musique.SlackBuild +++ b/multimedia/musique/musique.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for musique # Formerly maintained by Ryan P.C. McQuen <email removed> -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # Copyright 2010, 2012 Binh Nguyen <email removed> # All rights reserved. @@ -25,6 +25,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230716 bkw: update for v1.11. # 20210910 bkw: update for v1.10.1 (-current and qt5). # 20170326 bkw: # - take over maintenance. @@ -37,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=musique -VERSION=${VERSION:-1.10.1} +VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,9 +93,10 @@ make make INSTALL_ROOT=$PKG install strip $PKG/usr/bin/$PRGNAM -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES COPYING TODO $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 CHANGES COPYING TODO $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/musique/musique.info b/multimedia/musique/musique.info index e13889e232..ba7e852fe6 100644 --- a/multimedia/musique/musique.info +++ b/multimedia/musique/musique.info @@ -1,10 +1,10 @@ PRGNAM="musique" -VERSION="1.10.1" +VERSION="1.11" HOMEPAGE="https://flavio.tordini.org/musique" -DOWNLOAD="https://github.com/flaviotordini/musique/releases/download/1.10.1/musique-1.10.1.tar.bz2" -MD5SUM="1840e9fa2ad58dd4977a13f2d97f1b12" +DOWNLOAD="https://github.com/flaviotordini/musique/releases/download/1.11/musique-1.11.tar.bz2" +MD5SUM="1130cdce7eb1807d8ff4f7950dd87710" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mpv" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/musixmatch/slack-desc b/multimedia/musixmatch/slack-desc index 3c57cab691..9d809a05d5 100644 --- a/multimedia/musixmatch/slack-desc +++ b/multimedia/musixmatch/slack-desc @@ -8,7 +8,7 @@ |-----handy-ruler------------------------------------------------------| musixmatch: musixmatch (Lyrics finder app) musixmatch: -musixmatch: Musixmatch is the world’s largest collection of song lyrics used +musixmatch: Musixmatch is the world's largest collection of song lyrics used musixmatch: by millions of people to get instant synchronised lyrics for musixmatch: Spotify, YouTube, Pandora and more. musixmatch: diff --git a/multimedia/mythplugins/README b/multimedia/mythplugins/README deleted file mode 100644 index 19dc76fa51..0000000000 --- a/multimedia/mythplugins/README +++ /dev/null @@ -1,7 +0,0 @@ -All the official MythTV plugins, including MythArchive, -MythGallery, MythGame, MythMusic, MythNews, MythVideo, -MythWeather, and MythBrowser. - -Some of these plugins require extra work to get them functional. -See the README files in /usr/doc/mythplugins for extra steps, -configuration, and dependencies. diff --git a/multimedia/mythplugins/mythplugins.SlackBuild b/multimedia/mythplugins/mythplugins.SlackBuild deleted file mode 100644 index ad8b1d6650..0000000000 --- a/multimedia/mythplugins/mythplugins.SlackBuild +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/bash - -# Slackware build script for mythtvplugins -# http://www.mythtv.org/ - -# Written by David Somero <dsomero@hotmail.com> -# Derived from Slackware's Slackbuilds. -# -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA -# Copyright 2010-2013 David Somero (dsomero@hotmail.com) Athens, TN, USA -# 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=mythplugins -VERSION=${VERSION:-0.27.4} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=${TMP}/package-${PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf mythtv-fixes-0.27 -tar xvf $CWD/mythtv-fixes-0.27.tar.gz -cd mythtv-fixes-0.27 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -cd mythplugins -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --enable-all \ - --libdir-name=lib${LIBDIRSUFFIX} - -qmake $PRGNAM.pro -make -make INSTALL_ROOT="$PKG" install - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( PATHS=$(ls -d */ | xargs -l basename) - for i in $PATHS; do - [ -f $i/README ] && cp $i/README $PKG/usr/doc/$PRGNAM-$VERSION/README.$i ; - [ -f $i/AUTHORS ] && cp $i/AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION/AUTHORS.$i ; - [ -f $i/COPYING ] && cp $i/COPYING $PKG/usr/doc/$PRGNAM-$VERSION/COPYING.$i ; - done -) - -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/mythplugins/mythplugins.info b/multimedia/mythplugins/mythplugins.info deleted file mode 100644 index 9ffb960137..0000000000 --- a/multimedia/mythplugins/mythplugins.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="mythplugins" -VERSION="0.27.4" -HOMEPAGE="https://www.mythtv.org/" -DOWNLOAD="https://downloads.sourceforge.net/project/slackbuildsdirectlinks/mythtv/mythtv-fixes-0.27.tar.gz" -MD5SUM="dc663ddb329ad8ee28be5840d3e7de94" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="dcraw mythtv perl-Date-Manip perl-SOAP-Lite perl-DateTime-Format-ISO8601 perl-Image-Size perl-XML-XPath python-oauth perl-JSON" -MAINTAINER="David Somero" -EMAIL="dsomero@hotmail.com" diff --git a/multimedia/mythtv/README b/multimedia/mythtv/README deleted file mode 100644 index 4aa0f7aacf..0000000000 --- a/multimedia/mythtv/README +++ /dev/null @@ -1,10 +0,0 @@ -MythTV is a GPL licensed suite of programs that allow you to build the -mythical home media convergence box on your own using Open Source software -and operating systems. MythTV is known to work on Linux and Mac OS X -(PowerPC and Intel). - -See README.SLACKWARE after installation for setup information. - -Optional but recommended dependencies: -libdvdcss, libavc1394, libiec61883, jack, gsm, xmltv, mjpegtools, -transcode, exif, and lirc. diff --git a/multimedia/mythtv/README.SLACKWARE b/multimedia/mythtv/README.SLACKWARE deleted file mode 100644 index cbfc880ee4..0000000000 --- a/multimedia/mythtv/README.SLACKWARE +++ /dev/null @@ -1,14 +0,0 @@ -README.SLACKWARE for mythtv - -You need to create a database before you can run mythtv: - # mysql -u root -p < /usr/share/mythtv/database/mc.sql - -Then run mythtv-setup to configure mythtv - # mythtv-setup - -If you get an error about timezones run - # mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql - -Detailed instructions for mythtv can be found here: - http://www.mythtv.org/wiki/index.php/User_Manual:Initial_Installation - diff --git a/multimedia/mythtv/files/mysql.txt b/multimedia/mythtv/files/mysql.txt deleted file mode 100644 index 9248cd501e..0000000000 --- a/multimedia/mythtv/files/mysql.txt +++ /dev/null @@ -1,39 +0,0 @@ -DBHostName=localhost - -# By default, Myth tries to ping the DB host to see if it exists. -# If your DB host or network doesn't accept pings, set this to no: -# -#DBHostPing=no - -DBUserName=mythtv -DBPassword=mythtv -DBName=mythconverg -DBType=QMYSQL3 - -# Set the following if you want to use something other than this -# machine's real hostname for identifying settings in the database. -# This is useful if your hostname changes often, as otherwise you -# will need to reconfigure mythtv (or futz with the DB) every time. -# TWO HOSTS MUST NOT USE THE SAME VALUE -# -#LocalHostName=my-unique-identifier-goes-here - -# If you want your frontend to be able to wake your MySQL server -# using WakeOnLan, have a look at the following settings: -# -# -# The time the frontend waits (in seconds) between reconnect tries. -# This should be the rough time your MySQL server needs for startup -# -#WOLsqlReconnectWaitTime=0 -# -# -# This is the number of retries to wake the MySQL server -# until the frontend gives up -# -#WOLsqlConnectRetry=5 -# -# -# This is the command executed to wake your MySQL server. -# -#WOLsqlCommand=echo 'WOLsqlServerCommand not set' diff --git a/multimedia/mythtv/files/mythfrontend.desktop b/multimedia/mythtv/files/mythfrontend.desktop deleted file mode 100644 index a94ec5b303..0000000000 --- a/multimedia/mythtv/files/mythfrontend.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=mythTV frontend -Comment=Record, playback and watch TV. -Icon=mythfrontend -Exec=mythfrontend -Terminal=false -Type=Application -Categories=AudioVideo;Player; diff --git a/multimedia/mythtv/files/mythfrontend.png b/multimedia/mythtv/files/mythfrontend.png Binary files differdeleted file mode 100644 index 5d456be3af..0000000000 --- a/multimedia/mythtv/files/mythfrontend.png +++ /dev/null diff --git a/multimedia/mythtv/files/mythtv-setup.desktop b/multimedia/mythtv/files/mythtv-setup.desktop deleted file mode 100644 index 8fa20f756c..0000000000 --- a/multimedia/mythtv/files/mythtv-setup.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=mythTV setup -Comment=Setup for mythTV. -Icon=mythtv-setup -Exec=mythtv-setup -Terminal=false -Type=Application -Categories=AudioVideo;Player; diff --git a/multimedia/mythtv/files/mythtv-setup.png b/multimedia/mythtv/files/mythtv-setup.png Binary files differdeleted file mode 100644 index 5d456be3af..0000000000 --- a/multimedia/mythtv/files/mythtv-setup.png +++ /dev/null diff --git a/multimedia/mythtv/files/mythtv.logrotate.d b/multimedia/mythtv/files/mythtv.logrotate.d deleted file mode 100644 index a3024f4208..0000000000 --- a/multimedia/mythtv/files/mythtv.logrotate.d +++ /dev/null @@ -1,10 +0,0 @@ -/var/log/mythbackend.log /var/log/mythfrontend.log { -rotate 4 -weekly -notifempty -sharedscripts -missingok -postrotate -[ -f "/var/run/mythbackend.pid" ] && /bin/kill -HUP `cat /var/run/mythbackend.pid` -endscript -} diff --git a/multimedia/mythtv/files/rc.mythbackend.new b/multimedia/mythtv/files/rc.mythbackend.new deleted file mode 100644 index 7cb2683e6c..0000000000 --- a/multimedia/mythtv/files/rc.mythbackend.new +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# Start/stop/restart mythbackend -# -# Modification done by Benoit Beauchamp, based on rc.mysqld by -# -# Copyright 2003 Patrick J. Volkerding, Concord, CA -# Copyright 2003 Slackware Linux, Inc., Concord, CA -# -# This program comes with NO WARRANTY, to the extent permitted by law. -# You may redistribute copies of this program under the terms of the -# GNU General Public License. -# -LOG=/var/log/mythbackend.log -PID=/var/run/mythbackend.pid -MYTHTV_HOME=/etc/mythtv -export MYTHCONFDIR="$MYTHTV_HOME" -export HOME="$MYTHTV_HOME" - -# Start mythbackend: -myth_start() { - if [ -x /usr/bin/mythbackend ]; then - # If there is an old PID file (no mythbackend running), clean it up: - if [ -r $PID ]; then - if ! ps axc | grep mythbackend 1> /dev/null 2> /dev/null ; then - echo "Cleaning up old $PID." - rm -f $PID - fi - fi - echo "Starting mythbackend..." - /usr/bin/mythbackend --logpath $LOG -v general -p $PID -d - fi -} - -# Stop mythbackend: -myth_stop() { - # If there is no PID file, ignore this request... - if [ -r $PID ]; then - echo "Stopping mythbackend..." - killall mythbackend - rm -f $PID - fi -} - -# Restart mythbackend: -myth_restart() { - myth_stop - myth_start -} - -case "$1" in -'start') - myth_start - ;; -'stop') - myth_stop - ;; -'restart') - myth_restart - ;; -*) - echo "usage $0 start|stop|restart" -esac diff --git a/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild deleted file mode 100644 index d84de31fe3..0000000000 --- a/multimedia/mythtv/mythtv.SlackBuild +++ /dev/null @@ -1,166 +0,0 @@ -#!/bin/bash - -# Slackware build script for mythtv -# http://www.mythtv.org/ - -# Written by David Somero <dsomero@hotmail.com> -# Derived from Slackware's Slackbuilds. -# -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA -# Copyright 2010-2013 David Somero (dsomero@hotmail.com) Athens, TN, USA -# 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=mythtv -VERSION=${VERSION:-29.0} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 {} \; - -cd mythtv -# Pass libdir to zeromq. -sed -i \ - -e"s|--without-documentation|--without-documentation --libdir=/usr/lib$LIBDIRSUFFIX|" \ - configure - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir-name=lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --compile-type=release \ - --dvb-path=/usr/include \ - --with-bindings="perl,python,php" \ - --perl-config-opts="INSTALLDIRS=vendor" \ - --disable-ccache \ - --disable-distcc \ - --disable-hdhomerun \ - --enable-dvb \ - --enable-xrandr \ - --enable-xv \ - --enable-x11 \ - --enable-nonfree \ - --enable-opengl-video \ - --enable-libmp3lame \ - --enable-libx264 \ - --enable-libvpx \ - --enable-libxvid \ - --enable-symbol-visibility \ - --enable-pic - - - -make -make install INSTALL_ROOT="$PKG" - -# Don't package empty and wrong man directories. -rm -rf $PKG/usr/share/man - -mkdir -p $PKG/var/lib/mythtv -mkdir -p $PKG/var/cache/mythtv -mkdir -p $PKG/etc/{logrotate.d,mythtv} - -# Other config/init files -install -D -m 0755 $CWD/files/rc.mythbackend.new $PKG/etc/rc.d/rc.mythbackend.new -touch $PKG/etc/mythtv/config.xml.new -cat $CWD/files/mysql.txt > $PKG/etc/mythtv/mysql.txt.new -cat $CWD/files/mythtv.logrotate.d > $PKG/etc/logrotate.d/mythbackend.new - -# Create desktop entry for mythfrontend and myth-setup. -mkdir -p $PKG/usr/share/{pixmaps,applications} -for file in mythtv-setup mythfrontend; do - cat $CWD/files/$file.png > $PKG/usr/share/pixmaps/$file.png - cat $CWD/files/$file.desktop > $PKG/usr/share/applications/$file.desktop -done - -# Copy some other needed stuff to /usr/share/mythtv -# Nuke Windows and Mac OS X build scripts -rm -rf contrib/Win32 contrib/OSX -cp -a database contrib $PKG/usr/share/$PRGNAM - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f - -find $PKG | xargs 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 -cp -a AUTHORS COPYING FAQ keys.txt README UPGRADING docs/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE -( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/mythtv/mythtv.info b/multimedia/mythtv/mythtv.info deleted file mode 100644 index dcdd4dd2a7..0000000000 --- a/multimedia/mythtv/mythtv.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="mythtv" -VERSION="29.0" -HOMEPAGE="https://www.mythtv.org/" -DOWNLOAD="https://github.com/MythTV/mythtv/archive/v29.0/mythtv-29.0.tar.gz" -MD5SUM="b76210627050e1adaabf8d7180f3402b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="libass faac MySQL-python lxml urlgrabber perl-http-message libwww-perl perl-Net-UPnP perl-IO-Socket-INET6 x264 xvidcore" -MAINTAINER="David Somero" -EMAIL="dsomero@hotmail.com" diff --git a/multimedia/nrg2iso/nrg2iso.SlackBuild b/multimedia/nrg2iso/nrg2iso.SlackBuild index d50fb62e46..e5f98a57c7 100644 --- a/multimedia/nrg2iso/nrg2iso.SlackBuild +++ b/multimedia/nrg2iso/nrg2iso.SlackBuild @@ -39,7 +39,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -57,8 +57,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild index bc7f05844f..9fd6a40fdf 100644 --- a/multimedia/nted/nted.SlackBuild +++ b/multimedia/nted/nted.SlackBuild @@ -24,6 +24,8 @@ # Modified by the SlackBuilds.org project +# 20230103 bkw: BUILD=3, get rid of useless install instructions. + # 20210910 bkw: fix build on -current (gcc11) # TODO: occasionally nted segfaults on exit, fix if possible. It's # difficult to reproduce, and when I compile with debugging symbols @@ -41,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nted VERSION=${VERSION:-1.10.18_12} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +65,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # 20210910 bkw: NEWS and ChangeLog are 0-byte placeholders, ignore -DOCS="ABOUT* AUTHORS COPYING* FAQ INSTALL README" +DOCS="ABOUT* AUTHORS COPYING* FAQ README" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -125,9 +127,10 @@ make make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.* -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $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 $DOCS $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # Overwrite shipped .desktop file with fixed one that validates cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop diff --git a/multimedia/nted/nted.info b/multimedia/nted/nted.info index 48ae89de93..b9202b30ab 100644 --- a/multimedia/nted/nted.info +++ b/multimedia/nted/nted.info @@ -9,4 +9,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/obs-studio/README b/multimedia/obs-studio/README index 22929f0463..afab422e8b 100644 --- a/multimedia/obs-studio/README +++ b/multimedia/obs-studio/README @@ -1,8 +1,4 @@ -This project is a rewrite of what was formerly known as "Open Broadcaster -Software", software originally designed for recording and streaming live -video content, efficiently. - -For full functionality, plug-ins using jack, luajit and vlc will be -constructed if those packages (all available at SBo) are detected at -build time. +This project is a rewrite of what was formerly known as "Open +Broadcaster Software", software originally designed for recording and +streaming live video content, efficiently. diff --git a/multimedia/obs-studio/obs-studio.SlackBuild b/multimedia/obs-studio/obs-studio.SlackBuild index 41e311abfb..bcbab1aea3 100644 --- a/multimedia/obs-studio/obs-studio.SlackBuild +++ b/multimedia/obs-studio/obs-studio.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Open Broadcaster Software # # Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com> -# Copyright 2016-2021 Christoph Willing, Brisbane Australia +# Copyright 2016-2023 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=obs-studio -VERSION=${VERSION:-27.0.1} -COMMIT=cd5873e9bcfaf9cc2614939ddb3264bea919be4a +VERSION=${VERSION:-29.1.3} +COMMIT=c58e511813c33e93da7637d50aa431ae0cddda0c BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -55,15 +52,15 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" - CEF_ROOT=cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux32_minimal + CEF_ROOT=cef_binary_101.0.18+g367b4a0+chromium-101.0.4951.67_linux32_minimal elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - CEF_ROOT=cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux32_minimal + CEF_ROOT=cef_binary_101.0.18+g367b4a0+chromium-101.0.4951.67_linux32_minimal elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - CEF_ROOT=cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal + CEF_ROOT=cef_binary_4638_linux64 else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -79,14 +76,18 @@ tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz tar xvf $CWD/$CEF_ROOT.tar.bz2 cd $CEF_ROOT strip -v Release/*.so - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release . - make libcef_dll_wrapper + if [ "$ARCH" = "i686" -o "$ARCH" = "i586" ]; then + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release . + + make libcef_dll_wrapper + fi cd .. + cd $PRGNAM-$COMMIT -sed -i -e "s/^obs_install/#obs_install/" libobs/CMakeLists.txt +sed -i -e '/OBS_VERSION_CANONICAL/ s=^=#=' CMakeLists.txt chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -104,6 +105,11 @@ cd build -DOBS_MULTIARCH_SUFFIX="$LIBDIRSUFFIX" \ -DOBS_VERSION_OVERRIDE=${VERSION} \ -DUNIX_STRUCTURE=ON \ + -DENABLE_JACK=ON \ + -DENABLE_LIBFDK=ON \ + -DENABLE_NEW_MPEGTS_OUTPUT=OFF \ + -DENABLE_AJA=OFF \ + -DENABLE_WEBSOCKET=OFF \ -DBUILD_BROWSER=ON \ -DCEF_ROOT_DIR="../../$CEF_ROOT" \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/multimedia/obs-studio/obs-studio.info b/multimedia/obs-studio/obs-studio.info index 702c582407..c3cf76dfb9 100644 --- a/multimedia/obs-studio/obs-studio.info +++ b/multimedia/obs-studio/obs-studio.info @@ -1,14 +1,14 @@ PRGNAM="obs-studio" -VERSION="27.0.1" +VERSION="29.1.3" HOMEPAGE="https://obsproject.com/" -DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/obs/obs-studio-cd5873e9bcfaf9cc2614939ddb3264bea919be4a.tar.gz \ - https://cef-builds.spotifycdn.com/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux32_minimal.tar.bz2" -MD5SUM="41ed9a875c9897475ba7a9a16966ad38 \ - 0612e9d056cb4af780ccdad0a0e99b13" -DOWNLOAD_x86_64="https://sourceforge.net/projects/slackbuildsdirectlinks/files/obs/obs-studio-cd5873e9bcfaf9cc2614939ddb3264bea919be4a.tar.gz \ - https://cef-builds.spotifycdn.com/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal.tar.bz2" -MD5SUM_x86_64="41ed9a875c9897475ba7a9a16966ad38 \ - 0aae132dd4d4cd86d412ef81327a8324" -REQUIRES="faac luajit rtmpdump x264 jack libfdk-aac mbedtls" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/obs/obs-studio-c58e511813c33e93da7637d50aa431ae0cddda0c.tar.gz \ + https://cef-builds.spotifycdn.com/cef_binary_101.0.18+g367b4a0+chromium-101.0.4951.67_linux32_minimal.tar.bz2" +MD5SUM="400a82a711ccee33a691661ee896da5f \ + 1dbd673789f79432e618d477c49df135" +DOWNLOAD_x86_64="https://sourceforge.net/projects/slackbuildsdirectlinks/files/obs/obs-studio-c58e511813c33e93da7637d50aa431ae0cddda0c.tar.gz \ + https://cdn-fastly.obsproject.com/downloads/cef_binary_4638_linux64.tar.bz2" +MD5SUM_x86_64="400a82a711ccee33a691661ee896da5f \ + 34fb1c611b3e278ca4d0d1d50e7bfb9b" +REQUIRES="luajit libfdk-aac mbedtls vlc nlohmann_json" MAINTAINER="Christoph Willing" EMAIL="chris.willing@linux.com" diff --git a/multimedia/oggconvert/README b/multimedia/oggconvert/README index 186cc4a084..4f32129c54 100644 --- a/multimedia/oggconvert/README +++ b/multimedia/oggconvert/README @@ -1,4 +1,6 @@ -Oggconvert is a simple program to convert media files to the ogg/theora format. +Oggconvert is a simple program to convert media files to the +ogg/theora format. -This is a simple gui to convert every multimedia format supported by ffmpeg to -ogg theora. Oggconvert is a graphical front end for ffmpeg2theora +This is a simple gui to convert every multimedia format supported +by ffmpeg to ogg theora. Oggconvert is a graphical front end for +ffmpeg2theora. diff --git a/multimedia/oggconvert/oggconvert.SlackBuild b/multimedia/oggconvert/oggconvert.SlackBuild index e0a4f98f58..6930a0532d 100644 --- a/multimedia/oggconvert/oggconvert.SlackBuild +++ b/multimedia/oggconvert/oggconvert.SlackBuild @@ -38,7 +38,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac diff --git a/multimedia/oggvideotools/README b/multimedia/oggvideotools/README index 40cf991b3c..f5537446d5 100644 --- a/multimedia/oggvideotools/README +++ b/multimedia/oggvideotools/README @@ -1,3 +1,4 @@ -Ogg Video Tools is a toolbox for manipulating Ogg video files, which usually -consist of a video stream (Theora) and an audio stream (Vorbis). It provides -handy command line tools for creating and manipulating these video files. +Ogg Video Tools is a toolbox for manipulating Ogg video files, +which usually consist of a video stream (Theora) and an audio stream +(Vorbis). It provides handy command line tools for creating and +manipulating these video files. diff --git a/multimedia/oggvideotools/oggvideotools.SlackBuild b/multimedia/oggvideotools/oggvideotools.SlackBuild index d64b96f017..ad705ae480 100644 --- a/multimedia/oggvideotools/oggvideotools.SlackBuild +++ b/multimedia/oggvideotools/oggvideotools.SlackBuild @@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -53,8 +53,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/olive/README b/multimedia/olive/README new file mode 100644 index 0000000000..0d24580cb2 --- /dev/null +++ b/multimedia/olive/README @@ -0,0 +1,17 @@ +Olive is a cross-platform video editing application licensed under +the GNU GPL version 3. The plan of the development team is to combine +complete colour managment, a fast and high-fidelity float-based +render pipeline, node-based compositing and audio-mixing, and a +highly efficient automated disk cache all together in one program. + +It should be noted that Olive is still in the early alpha stages of +development, and thus should not be used for serious projects; if you +do choose to use Olive for any serious projects, frequent backups of +said projects are highly recommended. + +This SlackBuild packages an older version of Olive (0.1.2), which is +the latest stable version as of this writing. + +The patches in this SlackBuild were originally written by Tércio +Martins for Arch's Olive AUR, and have been graciously re-used here +with his permission. diff --git a/multimedia/olive/doinst.sh b/multimedia/olive/doinst.sh new file mode 100644 index 0000000000..262eb5a9e5 --- /dev/null +++ b/multimedia/olive/doinst.sh @@ -0,0 +1,14 @@ +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 other icon themes are installed, then add to/modify this as needed +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/olive/olive-0.1.2-FlowLayout.patch b/multimedia/olive/olive-0.1.2-FlowLayout.patch new file mode 100644 index 0000000000..cde40310e9 --- /dev/null +++ b/multimedia/olive/olive-0.1.2-FlowLayout.patch @@ -0,0 +1,12 @@ +diff --unified --recursive --text olive-0.1.2-orig/ui/flowlayout.cpp olive-0.1.2-new/ui/flowlayout.cpp +--- olive-0.1.2-orig/ui/flowlayout.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/flowlayout.cpp 2020-06-23 18:29:57.338203268 -0300 +@@ -114,7 +114,7 @@ +
+ Qt::Orientations FlowLayout::expandingDirections() const
+ {
+- return 0;
++ return { };
+ }
+
+ bool FlowLayout::hasHeightForWidth() const
diff --git a/multimedia/olive/olive-0.1.2-QFontMetrics.patch b/multimedia/olive/olive-0.1.2-QFontMetrics.patch new file mode 100644 index 0000000000..3731aad17b --- /dev/null +++ b/multimedia/olive/olive-0.1.2-QFontMetrics.patch @@ -0,0 +1,121 @@ +diff --unified --recursive --text olive-0.1.2-orig/effects/internal/texteffect.cpp olive-0.1.2-new/effects/internal/texteffect.cpp +--- olive-0.1.2-orig/effects/internal/texteffect.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/effects/internal/texteffect.cpp 2020-06-23 17:41:00.714422192 -0300 +@@ -183,11 +183,11 @@ + if (word_wrap_field->GetBoolAt(timecode)) { + for (int i=0;i<lines.size();i++) { + QString s(lines.at(i)); +- if (fm.width(s) > width) { ++ if (fm.horizontalAdvance(s) > width) { + int last_space_index = 0; + for (int j=0;j<s.length();j++) { + if (s.at(j) == ' ') { +- if (fm.width(s.left(j)) > width) { ++ if (fm.horizontalAdvance(s.left(j)) > width) { + break; + } else { + last_space_index = j; +@@ -211,11 +211,11 @@ + + switch (halign_field->GetValueAt(timecode).toInt()) { + case Qt::AlignLeft: text_x = 0; break; +- case Qt::AlignRight: text_x = width - fm.width(lines.at(i)); break; ++ case Qt::AlignRight: text_x = width - fm.horizontalAdvance(lines.at(i)); break; + case Qt::AlignJustify: + // add spaces until the string is too big + text_x = 0; +- while (fm.width(lines.at(i)) < width) { ++ while (fm.horizontalAdvance(lines.at(i)) < width) { + bool space = false; + QString spaced(lines.at(i)); + for (int i=0;i<spaced.length();i++) { +@@ -228,7 +228,7 @@ + while (i < spaced.length() && spaced.at(i) == ' ') i++; + } + } +- if (fm.width(spaced) > width || !space) { ++ if (fm.horizontalAdvance(spaced) > width || !space) { + break; + } else { + lines[i] = spaced; +@@ -237,7 +237,7 @@ + break; + case Qt::AlignHCenter: + default: +- text_x = (width/2) - (fm.width(lines.at(i))/2); ++ text_x = (width/2) - (fm.horizontalAdvance(lines.at(i))/2); + break; + } + +diff --unified --recursive --text olive-0.1.2-orig/effects/internal/timecodeeffect.cpp olive-0.1.2-new/effects/internal/timecodeeffect.cpp +--- olive-0.1.2-orig/effects/internal/timecodeeffect.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/effects/internal/timecodeeffect.cpp 2020-06-23 17:41:51.815020590 -0300 +@@ -117,7 +117,7 @@ + + int text_x, text_y, rect_y, offset_x, offset_y; + int text_height = fm.height(); +- int text_width = fm.width(display_timecode); ++ int text_width = fm.horizontalAdvance(display_timecode); + QColor background_color = color_bg_val->GetColorAt(timecode); + int alpha_val = qCeil(bg_alpha->GetDoubleAt(timecode)*2.55); + background_color.setAlpha(alpha_val); +diff --unified --recursive --text olive-0.1.2-orig/ui/graphview.cpp olive-0.1.2-new/ui/graphview.cpp +--- olive-0.1.2-orig/ui/graphview.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/graphview.cpp 2020-06-23 17:38:31.572539882 -0300 +@@ -175,7 +175,7 @@ + void GraphView::draw_line_text(QPainter &p, bool vert, int line_no, int line_pos, int next_line_pos) {
+ // draws last line's text
+ QString str = QString::number(line_no*kGraphSize);
+- int text_sz = vert ? fontMetrics().height() : fontMetrics().width(str);
++ int text_sz = vert ? fontMetrics().height() : fontMetrics().horizontalAdvance(str);
+ if (text_sz < (next_line_pos - line_pos)) {
+ QRect text_rect = vert ? QRect(0, line_pos-50, 50, 50) : QRect(line_pos, height()-50, 50, 50);
+ p.drawText(text_rect, Qt::AlignBottom | Qt::AlignLeft, str);
+diff --unified --recursive --text olive-0.1.2-orig/ui/sourceiconview.cpp olive-0.1.2-new/ui/sourceiconview.cpp +--- olive-0.1.2-orig/ui/sourceiconview.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/sourceiconview.cpp 2020-06-23 17:42:48.155657141 -0300 +@@ -140,7 +140,7 @@ + painter->setPen(text_fgcolor);
+
+ QString duration_str = index.data(Qt::UserRole).toString();
+- int timecode_width = fm.width(duration_str);
++ int timecode_width = fm.horizontalAdvance(duration_str);
+ int max_name_width = option.rect.width();
+
+ if (timecode_width < option.rect.width() / 2) {
+diff --unified --recursive --text olive-0.1.2-orig/ui/timelineheader.cpp olive-0.1.2-new/ui/timelineheader.cpp +--- olive-0.1.2-orig/ui/timelineheader.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/timelineheader.cpp 2020-06-23 17:43:45.496282517 -0300 +@@ -390,7 +390,7 @@ + bool draw_text = false;
+ if (text_enabled && lineX-textWidth > lastTextBoundary) {
+ timecode = frame_to_timecode(frame + in_visible, olive::CurrentConfig.timecode_view, viewer->seq->frame_rate);
+- fullTextWidth = fm.width(timecode);
++ fullTextWidth = fm.horizontalAdvance(timecode);
+ textWidth = fullTextWidth>>1;
+
+ text_x = lineX;
+diff --unified --recursive --text olive-0.1.2-orig/ui/timelinewidget.cpp olive-0.1.2-new/ui/timelinewidget.cpp +--- olive-0.1.2-orig/ui/timelinewidget.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/timelinewidget.cpp 2020-06-23 17:39:05.582988929 -0300 +@@ -3162,7 +3162,7 @@ + }
+ if (clip->linked.size() > 0) {
+ int underline_y = olive::timeline::kClipTextPadding + p.fontMetrics().height() + clip_rect.top();
+- int underline_width = qMin(text_rect.width() - 1, p.fontMetrics().width(clip->name()));
++ int underline_width = qMin(text_rect.width() - 1, p.fontMetrics().horizontalAdvance(clip->name()));
+ p.drawLine(text_rect.x(), underline_y, text_rect.x() + underline_width, underline_y);
+ }
+ QString name = clip->name();
+diff --unified --recursive --text olive-0.1.2-orig/ui/viewerwindow.cpp olive-0.1.2-new/ui/viewerwindow.cpp +--- olive-0.1.2-orig/ui/viewerwindow.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/viewerwindow.cpp 2020-06-23 17:44:21.156661091 -0300 +@@ -172,7 +172,7 @@ + p.setPen(Qt::white);
+ p.setBrush(QColor(0, 0, 0, 128));
+
+- int text_width = fm.width(fs_str);
++ int text_width = fm.horizontalAdvance(fs_str);
+ int text_x = (width()/2)-(text_width/2);
+ int text_y = fm.height()+fm.ascent();
+
diff --git a/multimedia/olive/olive-0.1.2-QPainterPath.patch b/multimedia/olive/olive-0.1.2-QPainterPath.patch new file mode 100644 index 0000000000..07cb22eae3 --- /dev/null +++ b/multimedia/olive/olive-0.1.2-QPainterPath.patch @@ -0,0 +1,44 @@ +diff --unified --recursive --text olive-0.1.2-orig/effects/internal/texteffect.cpp olive-0.1.2-new/effects/internal/texteffect.cpp +--- olive-0.1.2-orig/effects/internal/texteffect.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/effects/internal/texteffect.cpp 2020-06-23 03:57:45.377783457 -0300 +@@ -25,6 +25,7 @@ + #include <QOpenGLTexture> + #include <QTextEdit> + #include <QPainter> ++#include <QPainterPath> + #include <QPushButton> + #include <QColorDialog> + #include <QFontDatabase> +diff --unified --recursive --text olive-0.1.2-orig/effects/internal/timecodeeffect.cpp olive-0.1.2-new/effects/internal/timecodeeffect.cpp +--- olive-0.1.2-orig/effects/internal/timecodeeffect.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/effects/internal/timecodeeffect.cpp 2020-06-23 05:44:58.589605133 -0300 +@@ -25,6 +25,7 @@ + #include <QOpenGLTexture> + #include <QTextEdit> + #include <QPainter> ++#include <QPainterPath> + #include <QPushButton> + #include <QColorDialog> + #include <QFontDatabase> +diff --unified --recursive --text olive-0.1.2-orig/ui/graphview.cpp olive-0.1.2-new/ui/graphview.cpp +--- olive-0.1.2-orig/ui/graphview.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/graphview.cpp 2020-06-23 05:48:06.800458024 -0300 +@@ -21,6 +21,7 @@ + #include "graphview.h"
+
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QMouseEvent>
+ #include <QtMath>
+ #include <cfloat>
+diff --unified --recursive --text olive-0.1.2-orig/ui/timelineheader.cpp olive-0.1.2-new/ui/timelineheader.cpp +--- olive-0.1.2-orig/ui/timelineheader.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/timelineheader.cpp 2020-06-23 05:48:36.440594616 -0300 +@@ -21,6 +21,7 @@ + #include "timelineheader.h"
+
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QMouseEvent>
+ #include <QScrollBar>
+ #include <QtMath>
diff --git a/multimedia/olive/olive-0.1.2-QWheelEvent.patch b/multimedia/olive/olive-0.1.2-QWheelEvent.patch new file mode 100644 index 0000000000..5270f51bb2 --- /dev/null +++ b/multimedia/olive/olive-0.1.2-QWheelEvent.patch @@ -0,0 +1,21 @@ +diff --unified --recursive --text olive-0.1.2-orig/ui/graphview.cpp olive-0.1.2-new/ui/graphview.cpp +--- olive-0.1.2-orig/ui/graphview.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/graphview.cpp 2020-06-23 17:55:37.852888364 -0300 +@@ -795,7 +795,7 @@ + new_y_zoom = y_zoom + (zoom_diff * (delta_v / 120.0));
+
+ // Center zoom around the mouse cursor vertically
+- int true_mouse_y = height()-event->pos().y();
++ int true_mouse_y = height()-event->position().y();
+ set_scroll_y(qRound((double(y_scroll + true_mouse_y) / y_zoom) * new_y_zoom) - true_mouse_y);
+
+ redraw = true;
+@@ -807,7 +807,7 @@ + new_x_zoom = x_zoom + (zoom_diff * (delta_h / 120.0));
+
+ // Center zoom around the mouse cursor horizontally
+- set_scroll_x(qRound((double(x_scroll + event->pos().x()) / x_zoom) * new_x_zoom) - event->pos().x());
++ set_scroll_x(qRound((double(x_scroll + event->position().x()) / x_zoom) * new_x_zoom) - event->position().x());
+
+ redraw = true;
+ }
diff --git a/multimedia/olive/olive-0.1.2-appdata-desktop.patch b/multimedia/olive/olive-0.1.2-appdata-desktop.patch new file mode 100644 index 0000000000..b2b4e46613 --- /dev/null +++ b/multimedia/olive/olive-0.1.2-appdata-desktop.patch @@ -0,0 +1,24 @@ +diff --unified --recursive --text olive-0.1.2-orig/packaging/linux/org.olivevideoeditor.Olive.appdata.xml olive-0.1.2-new/packaging/linux/org.olivevideoeditor.Olive.appdata.xml +--- olive-0.1.2-orig/packaging/linux/org.olivevideoeditor.Olive.appdata.xml 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/packaging/linux/org.olivevideoeditor.Olive.appdata.xml 2020-06-23 22:02:58.793224798 -0300 +@@ -31,7 +31,6 @@ + </screenshots> + <content_rating type="oars-1.1" /> + <releases> +- <release version="20181223" date="2018-12-23"></release> +- <release version="20181130" date="2018-11-30"></release> ++ <release version="0.1.2" date="2019-11-11"/> + </releases> + </component> +diff --unified --recursive --text olive-0.1.2-orig/packaging/linux/org.olivevideoeditor.Olive.desktop olive-0.1.2-new/packaging/linux/org.olivevideoeditor.Olive.desktop +--- olive-0.1.2-orig/packaging/linux/org.olivevideoeditor.Olive.desktop 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/packaging/linux/org.olivevideoeditor.Olive.desktop 2020-06-23 22:03:16.533367553 -0300 +@@ -3,7 +3,7 @@ + Comment=Professional open-source non-linear video editor + Comment[it]=Programma di montaggio video professionale open-source + Comment[id]=Aplikasi edit video yang non-linier, profesional serta sumbernya terbuka. +-Exec=olive-editor ++Exec=olive-editor %f + Icon=org.olivevideoeditor.Olive + Terminal=false + Type=Application diff --git a/multimedia/olive/olive-0.1.2-cacher.patch b/multimedia/olive/olive-0.1.2-cacher.patch new file mode 100644 index 0000000000..e93ed3e52b --- /dev/null +++ b/multimedia/olive/olive-0.1.2-cacher.patch @@ -0,0 +1,24 @@ +diff --unified --recursive --text olive-0.1.2-orig/rendering/cacher.cpp olive-0.1.2-new/rendering/cacher.cpp +--- olive-0.1.2-orig/rendering/cacher.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/rendering/cacher.cpp 2020-06-23 16:08:47.307076532 -0300 +@@ -254,7 +254,7 @@ + dout << "starting rev_frame";
+ #endif
+ rev_frame->nb_samples = 0;
+- rev_frame->pts = frame_->pkt_pts;
++ rev_frame->pts = frame_->pts;
+ }
+ int offset = rev_frame->nb_samples * av_get_bytes_per_sample(static_cast<AVSampleFormat>(rev_frame->format)) * rev_frame->channels;
+ #ifdef AUDIOWARNINGS
+@@ -277,9 +277,9 @@ + /*
+ #ifdef AUDIOWARNINGS
+ dout << "time for the end of rev cache" << rev_frame->nb_samples << clip->rev_target << frame_->pts << frame_->pkt_duration << frame_->nb_samples;
+- dout << "diff:" << (frame_->pkt_pts + frame_->pkt_duration) - clip->rev_target;
++ dout << "diff:" << (frame_->pts + frame_->pkt_duration) - clip->rev_target;
+ #endif
+- int cutoff = qRound64((((frame_->pkt_pts + frame_->pkt_duration) - reverse_target) * timebase) * audio_output->format().sampleRate());
++ int cutoff = qRound64((((frame_->pts + frame_->pkt_duration) - reverse_target) * timebase) * audio_output->format().sampleRate());
+ if (cutoff > 0) {
+ #ifdef AUDIOWARNINGS
+ dout << "cut off" << cutoff << "samples (rate:" << audio_output->format().sampleRate() << ")";
diff --git a/multimedia/olive/olive-0.1.2-clickablelabel.patch b/multimedia/olive/olive-0.1.2-clickablelabel.patch new file mode 100644 index 0000000000..f0e8d93f9f --- /dev/null +++ b/multimedia/olive/olive-0.1.2-clickablelabel.patch @@ -0,0 +1,14 @@ +diff --unified --recursive --text olive-0.1.2-orig/ui/clickablelabel.h olive-0.1.2-new/ui/clickablelabel.h +--- olive-0.1.2-orig/ui/clickablelabel.h 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/ui/clickablelabel.h 2020-06-23 14:12:08.786765041 -0300 +@@ -31,8 +31,8 @@ + class ClickableLabel : public QLabel {
+ Q_OBJECT
+ public:
+- ClickableLabel(QWidget * parent = 0, Qt::WindowFlags f = 0);
+- ClickableLabel(const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0);
++ ClickableLabel(QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget);
++ ClickableLabel(const QString & text, QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget);
+ void mousePressEvent(QMouseEvent *ev);
+ signals:
+ void clicked();
diff --git a/multimedia/olive/olive-0.1.2-proxygenerator.patch b/multimedia/olive/olive-0.1.2-proxygenerator.patch new file mode 100644 index 0000000000..1fab14f604 --- /dev/null +++ b/multimedia/olive/olive-0.1.2-proxygenerator.patch @@ -0,0 +1,18 @@ +diff --unified --recursive --text olive-0.1.2-orig/project/proxygenerator.cpp olive-0.1.2-new/project/proxygenerator.cpp +--- olive-0.1.2-orig/project/proxygenerator.cpp 2019-11-11 03:05:02.000000000 -0300 ++++ olive-0.1.2-new/project/proxygenerator.cpp 2020-06-23 21:07:29.808353198 -0300 +@@ -167,7 +167,13 @@ + }
+
+ // write video header
+- avformat_write_header(output_fmt_ctx, nullptr);
++ int error_code;
++ error_code = avformat_write_header(output_fmt_ctx, nullptr);
++ if (error_code < 0) {
++ qWarning() << "Failed to write video header";
++ cancelled = true;
++ skip = true;
++ }
+
+ // packet that av_read_frame will dump file packets into
+ AVPacket packet;
diff --git a/multimedia/OpenLP/OpenLP.SlackBuild b/multimedia/olive/olive.SlackBuild index 735b8d3d4f..ffb365dd27 100644 --- a/multimedia/OpenLP/OpenLP.SlackBuild +++ b/multimedia/olive/olive.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for OpenLP +# Slackware build script for olive -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2023 Bloyburt # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=OpenLP -VERSION=${VERSION:-2.0.5} +PRGNAM=olive +VERSION=${VERSION:-0.1.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,22 +79,26 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +# Apply the various patches +for i in $CWD/*.patch; do patch -p1 < $i; done -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 -D -m644 documentation/openlp.1 $PKG/usr/man/man1/openlp.1 -find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; +mkdir -p build +cd build + cmake \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. -mkdir -p $PKG/usr/share/applications -install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -mkdir -p $PKG/usr/share/pixmaps/ -install -D -m644 resources/images/${PRGNAM,,}-logo-48x48.png $PKG/usr/share/pixmaps/$PRGNAM.png +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 -cp -a README.txt LICENSE copyright.txt documentation/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/olive/olive.info b/multimedia/olive/olive.info new file mode 100644 index 0000000000..cef08fa4bd --- /dev/null +++ b/multimedia/olive/olive.info @@ -0,0 +1,10 @@ +PRGNAM="olive" +VERSION="0.1.2" +HOMEPAGE="https://olivevideoeditor.org/" +DOWNLOAD="https://github.com/olive-editor/olive/archive/0.1.2/olive-0.1.2.tar.gz" +MD5SUM="69f391ff44060ae08c7a462d71504515" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="openimageio graphviz" +MAINTAINER="Bloyburt" +EMAIL="alexpen@startmail.com" diff --git a/multimedia/olive/slack-desc b/multimedia/olive/slack-desc new file mode 100644 index 0000000000..11c6938a5a --- /dev/null +++ b/multimedia/olive/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------------------------------------------------------| +olive: olive (Olive Video Editor) +olive: +olive: Olive is a cross-platform video editing application licensed under +olive: the GNU GPL version 3. The plan of the development team is to combine +olive: complete colour managment, a fast and high-fidelity float-based +olive: render pipeline, node-based compositing and audio-mixing, and a +olive: highly efficient automated disk cache all together in one program. +olive: +olive: Homepage: https://olivevideoeditor.org/ +olive: +olive: diff --git a/multimedia/opencaster/README b/multimedia/opencaster/README index d7fcf4c52d..d45ede8950 100644 --- a/multimedia/opencaster/README +++ b/multimedia/opencaster/README @@ -2,10 +2,10 @@ OpenCaster is a collection of tools for Linux system to play out and multiplex MPEG2 transport stream format. Use-cases: - - MHP, MHEG5, HbbTv and others interactive tv standards object carousel - broadcast - - Playout of locally stored, offline encoded audio and video for non-live - tv and radio stations + - MHP, MHEG5, HbbTv and other interactive TV standards object + carousel broadcast + - Playout of locally stored, offline encoded audio and video for + non-live tv and radio stations - Multiplexing of input multicasted UDP transport stream to output multicasted UDP transport stream - VOD system based on mpeg2 transport stream over IP or over DVB for @@ -16,20 +16,21 @@ Use-cases: - PSI/SI generator - EPG generator -OpenCaster output has been successfully integrated with a long list of -dvb products, among them there are products by Cisco/Scientific Atlanta, -Ericsson/Tandberg, Dektec, Eurotek, Harmonic/Scopus, MainConcept, Mitan, -Screen Service, Adtec, Wellav, Sr-Systems, Deltacast, ... -Integration is tested and available on the Avalpa Broadcast Server +OpenCaster output has been successfully integrated with a long list +of dvb products, among them there are products by Cisco/Scientific +Atlanta, Ericsson/Tandberg, Dektec, Eurotek, Harmonic/Scopus, +MainConcept, Mitan, Screen Service, Adtec, Wellav, Sr-Systems, +Deltacast, etc. Integration is tested and available on the Avalpa +Broadcast Server -OpenCaster has been tested with Rohde & Schwarz DVM100L, Rohde & Schwarz -DVM 400, Dektec StreamXpert and a countless number of set top boxes, -digital receivers and flat panels +OpenCaster has been tested with Rohde & Schwarz DVM100L, Rohde & +Schwarz DVM 400, Dektec StreamXpert and a countless number of set top +boxes, digital receivers and flat panels - PSI generation (PAT, PMT, NIT, SDT, TDT, AIT, TOT, ...) - EPG/EIT generation - - Object and data carousel generation and receivement (MHP, MHEG5, HbbTv, - DVB-SSU, DSMCC, ...) + - Object and data carousel generation and receivement (MHP, MHEG5, + HbbTv, DVB-SSU, DSMCC, ...) - third party software AC-3, MPEG2 audio, MPEG2 video and H264 video encoders support - Audio Description generation support diff --git a/multimedia/openh264/README b/multimedia/openh264/README new file mode 100644 index 0000000000..8513923e9c --- /dev/null +++ b/multimedia/openh264/README @@ -0,0 +1,4 @@ +Openh264 is a H.264 library supports encoding and +decoding in realtime applications such as webRTC + +This is an optional dependency of FFmpeg diff --git a/multimedia/openh264/changelog b/multimedia/openh264/changelog new file mode 100644 index 0000000000..89bc471494 --- /dev/null +++ b/multimedia/openh264/changelog @@ -0,0 +1,22 @@ +Changelog for openh264 SlackBuild Script +-------------------------------------------------------------------- + +03/09/2022: + +Added to slackbuilds.org + +07/01/2023: + +Github tarball handling was fixed by Andrew Clemmons + +18/02/2023: + +openh264 slackbuild script fixed by B.Watson + +17/05/2023: + +updated to version 2.3.1 + +13/02/2024: + +updated to version 2.4.1 diff --git a/multimedia/openh264/openh264.SlackBuild b/multimedia/openh264/openh264.SlackBuild new file mode 100644 index 0000000000..5d1a5960de --- /dev/null +++ b/multimedia/openh264/openh264.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/bash + +# Slackware build script for openh264 + +# Copyright 2022-2024 Vijay Marcel +# 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=openh264 +VERSION=${VERSION:-2.4.1} +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 + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +rm -rf $TMP/$PRGNAM-$VERSION +cd $TMP +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ + +make -C $TMP/$PRGNAM-$VERSION PREFIX="/usr" LIBDIR_NAME="lib${LIBDIRSUFFIX}" SHAREDLIB_DIR="/usr/lib${LIBDIRSUFFIX}" +make DESTDIR="$PKG" PREFIX="/usr" LIBDIR_NAME="lib${LIBDIRSUFFIX}" SHAREDLIB_DIR="/usr/lib${LIBDIRSUFFIX}" install + +make OS=linux ARCH=$ARCH +install -Dm755 h264dec $PKG/usr/bin/h264dec +install -Dm755 h264enc $PKG/usr/bin/h264enc + +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 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CODING_STYLE LICENSE CONTRIBUTORS RELEASES *.md $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/openh264/openh264.info b/multimedia/openh264/openh264.info new file mode 100644 index 0000000000..023b1f3dee --- /dev/null +++ b/multimedia/openh264/openh264.info @@ -0,0 +1,10 @@ +PRGNAM="openh264" +VERSION="2.4.1" +HOMEPAGE="https://github.com/cisco/openh264" +DOWNLOAD="https://github.com/cisco/openh264/archive/v2.4.1/openh264-2.4.1.tar.gz" +MD5SUM="08396d6c467f7ae063d40b3a378870b0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/openh264/slack-desc b/multimedia/openh264/slack-desc new file mode 100644 index 0000000000..d490a12df4 --- /dev/null +++ b/multimedia/openh264/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------------------------------------------------------| +openh264: openh264 (H.264 Encoder and Decoder) +openh264: +openh264: Openh264 is a H.264 library that supports both encoding +openh264: and decoding. It is suitable for realtime applications +openh264: such as WebRTC. +openh264: +openh264: +openh264: Homepage: https://github.com/cisco/openh264 +openh264: +openh264: +openh264: diff --git a/multimedia/openshot/doinst.sh b/multimedia/openshot/doinst.sh index 9a8ded3c60..9424ce43ff 100644 --- a/multimedia/openshot/doinst.sh +++ b/multimedia/openshot/doinst.sh @@ -5,3 +5,9 @@ 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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/openshot/openshot.SlackBuild b/multimedia/openshot/openshot.SlackBuild index 8a0f3d1887..fc9a23f40b 100644 --- a/multimedia/openshot/openshot.SlackBuild +++ b/multimedia/openshot/openshot.SlackBuild @@ -3,7 +3,7 @@ # Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT # Contact Info: agentc0re 'AT' learnix 'DOT' net # -# Copyright 2016-2020 Christoph Willing, Brisbane Australia +# Copyright 2016-2023 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -44,11 +44,15 @@ # From Oct 22nd, 2016-2020 # Maintenance & various version upgrades - Christoph Willing <chris.willing@linux.com> +# 20220421 bkw: Modified by SlackBuilds.org, BUILD=2: +# - add gtk-update-icon-cache to doinst.sh. +# - stop writing outside of $TMP (except /root/.openshot_qt/). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openshot SRCNAM=openshot-qt -VERSION=${VERSION:-2.5.1} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,9 +65,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -103,6 +104,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# 20220421 bkw: setup.py doesn't need to call update-mime-database and +# update-desktop-database; it spams the real /usr, and our doinst.sh +# already does the job. +sed -i '/^if ROOT and/,$d' setup.py + python3 setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/multimedia/openshot/openshot.info b/multimedia/openshot/openshot.info index 299ded68d3..61051444b8 100644 --- a/multimedia/openshot/openshot.info +++ b/multimedia/openshot/openshot.info @@ -1,10 +1,10 @@ PRGNAM="openshot" -VERSION="2.5.1" -HOMEPAGE="http://www.openshotvideo.com" -DOWNLOAD="https://github.com/OpenShot/openshot-qt/archive/v2.5.1/openshot-qt-2.5.1.tar.gz" -MD5SUM="e59bf56ac01aee5f43491aebebe479a8" +VERSION="3.1.1" +HOMEPAGE="http://www.openshot.org" +DOWNLOAD="https://github.com/OpenShot/openshot-qt/archive/v3.1.1/openshot-qt-3.1.1.tar.gz" +MD5SUM="e4d2c4b198ba4f4cc9bb00f54be34e4e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pyzmq libopenshot httplib2 jack" +REQUIRES="python3-pyzmq libopenshot python3-httplib2 jack" MAINTAINER="Christoph Willing" EMAIL="chris.willing@linux.com" diff --git a/multimedia/opera-developer-ffmpeg-codecs/README b/multimedia/opera-developer-ffmpeg-codecs/README deleted file mode 100644 index 64d2fe36b2..0000000000 --- a/multimedia/opera-developer-ffmpeg-codecs/README +++ /dev/null @@ -1,10 +0,0 @@ -opera-developer-ffmpeg-codecs (Extra ffmpeg codec for Opera browser) - -FFMpeg prebuilt binaries with proprietary codecs and build -instructions for window, linux and osx. - -For tests, go to: - - * https://html5test.com - * https://www.youtube.com/html5 - * http://www.quirksmode.org/html5/tests/video.html diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.info b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.info deleted file mode 100644 index e6f06943cc..0000000000 --- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="opera-developer-ffmpeg-codecs" -VERSION="0.44.1" -HOMEPAGE="https://github.com/iteufel/nwjs-ffmpeg-prebuilt" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.44.1/0.44.1-linux-x64.zip" -MD5SUM_x86_64="0ba67794b67d5160610c46f0bef77a74" -REQUIRES="opera-developer" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" diff --git a/multimedia/opera-developer-ffmpeg-codecs/slack-desc b/multimedia/opera-developer-ffmpeg-codecs/slack-desc deleted file mode 100644 index 744d507e14..0000000000 --- a/multimedia/opera-developer-ffmpeg-codecs/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -opera-developer-ffmpeg-codecs: opera-developer-ffmpeg-codecs (Extra ffmpeg codec for Opera browser) -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: FFMpeg prebuilt binaries with proprietary codecs and build -opera-developer-ffmpeg-codecs: instructions for window, linux and osx. -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: Home Page: https://github.com/iteufel/nwjs-ffmpeg-prebuilt -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: -opera-developer-ffmpeg-codecs: diff --git a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild index 3050cfbd03..602f041145 100644 --- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild +++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild @@ -2,7 +2,8 @@ # # Slackware build script for opera-ffmpeg-codecs. # -# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2023-2024 Dimitris Zlatanidis, Orestiada, Greece. +# Copyright 2016-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="opera-ffmpeg-codecs" -VERSION=${VERSION:-0.44.1} +VERSION=${VERSION:-0.86.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info index 13c0969a2d..97163893e5 100644 --- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info +++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info @@ -1,10 +1,10 @@ PRGNAM="opera-ffmpeg-codecs" -VERSION="0.44.1" +VERSION="0.86.0" HOMEPAGE="https://github.com/iteufel/nwjs-ffmpeg-prebuilt" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.44.1/0.44.1-linux-x64.zip" -MD5SUM_x86_64="0ba67794b67d5160610c46f0bef77a74" +DOWNLOAD_x86_64="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.86.0/0.86.0-linux-x64.zip" +MD5SUM_x86_64="caa6cc0b6858a0fdf54caebdcf458d5c" REQUIRES="opera" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Dimitris Zlatanidis" +EMAIL="dslackw@gmail.com" diff --git a/multimedia/parole/README b/multimedia/parole/README index 38a864e9a0..1f2df6c645 100644 --- a/multimedia/parole/README +++ b/multimedia/parole/README @@ -1,9 +1,9 @@ -Parole is a modern, simple media player based on the GStreamer framework -and written to fit well in the Xfce desktop. Parole features playback of -local media files, DVD/CD and live streams. Parole is extensible via -plugins. +Parole is a modern, simple media player based on the GStreamer +framework and written to fit well in the Xfce desktop. Parole features +playback of local media files, DVD/CD and live streams. Parole is +extensible via plugins. -The GStreamer framework provides a strong plugin interface to dynamically -load plugins that support certain media types, the more GStreamer plugins -you have installed in your system the more media formats you can play with -Parole. +The GStreamer framework provides a strong plugin interface to +dynamically load plugins that support certain media types, the more +GStreamer plugins you have installed in your system the more media +formats you can play with Parole. diff --git a/multimedia/parole/parole.SlackBuild b/multimedia/parole/parole.SlackBuild index ba66ecde49..52e4d4b3c5 100644 --- a/multimedia/parole/parole.SlackBuild +++ b/multimedia/parole/parole.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for parole # Copyright 2007 Hans Strijards <hannesworst@gmail.com> -# Copyright 2015-2017 Aaditya Bagga <aaditya_gnulinux@zoho.com> +# Copyright 2015-2023 Aaditya <aaditya_gnulinux@zoho.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,22 +26,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=parole -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-4.18.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; esac 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 @@ -51,8 +48,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -75,10 +72,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -89,7 +86,6 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-debug=no \ --disable-static \ --build=$ARCH-slackware-linux @@ -100,7 +96,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ + AUTHORS COPYING ChangeLog NEWS README.md THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/parole/parole.info b/multimedia/parole/parole.info index 0ef85625d7..95230611fa 100644 --- a/multimedia/parole/parole.info +++ b/multimedia/parole/parole.info @@ -1,10 +1,10 @@ PRGNAM="parole" -VERSION="0.9.1" -HOMEPAGE="https://docs.xfce.org/apps/parole/introduction" -DOWNLOAD="https://archive.xfce.org/src/apps/parole/0.9/parole-0.9.1.tar.bz2" -MD5SUM="85d76320726cda93e29e0ea59141c34c" +VERSION="4.18.1" +HOMEPAGE="https://docs.xfce.org/apps/parole/start" +DOWNLOAD="https://archive.xfce.org/src/apps/parole/4.18/parole-4.18.1.tar.bz2" +MD5SUM="29a409b4b22c2d91f210679e5708a19d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Aaditya Bagga" +MAINTAINER="Aaditya" EMAIL="aaditya_gnulinux@zoho.com" diff --git a/multimedia/parole/slack-desc b/multimedia/parole/slack-desc index 4dfcf2bef8..820b0d21f2 100644 --- a/multimedia/parole/slack-desc +++ b/multimedia/parole/slack-desc @@ -13,7 +13,7 @@ parole: framework and written to fit well in the Xfce desktop. Parole features parole: playback of local media files, DVD/CD and live streams. It is designed parole: with simplicity, speed and resource usage in mind. parole: -parole: +parole: Homepage: https://docs.xfce.org/apps/parole/start parole: parole: parole: diff --git a/multimedia/pepperflash-plugin/README b/multimedia/pepperflash-plugin/README deleted file mode 100644 index c595b62f78..0000000000 --- a/multimedia/pepperflash-plugin/README +++ /dev/null @@ -1,7 +0,0 @@ -This package contains Adobe's PPAPI Flash Plugin. - -You will have to accept the bundled license file if you want to use -this closed-source plugin. - -If you are planning to use this with firefox you have to do it -together with freshplayerplugin. diff --git a/multimedia/pepperflash-plugin/pepperflash-plugin.info b/multimedia/pepperflash-plugin/pepperflash-plugin.info deleted file mode 100644 index 442300d550..0000000000 --- a/multimedia/pepperflash-plugin/pepperflash-plugin.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pepperflash-plugin" -VERSION="32.0.0.465" -HOMEPAGE="https://get.adobe.com/flashplayer/otherversions/" -DOWNLOAD="https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.465/flash_player_ppapi_linux.i386.tar.gz" -MD5SUM="1fd125d28a90892691b70a9198a6c208" -DOWNLOAD_x86_64="https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.465/flash_player_ppapi_linux.x86_64.tar.gz" -MD5SUM_x86_64="04d9e5a07f9e457b40f9e790437b2782" -REQUIRES="" -MAINTAINER="Matteo Bernardini" -EMAIL="ponce@slackbuilds.org" diff --git a/multimedia/picard-plugins/README b/multimedia/picard-plugins/README index c4d03768fb..9e0322372d 100644 --- a/multimedia/picard-plugins/README +++ b/multimedia/picard-plugins/README @@ -1 +1,4 @@ -MusicBrainz Picard Plugins. +MusicBrainz Picard Plugins + +aubio and python3-numpy are optional autodetected dependencies for the +BPM plugin. The BPM plugin will not be installed without them. diff --git a/multimedia/picard-plugins/picard-plugins.SlackBuild b/multimedia/picard-plugins/picard-plugins.SlackBuild index 50c3bb840c..be137fba89 100644 --- a/multimedia/picard-plugins/picard-plugins.SlackBuild +++ b/multimedia/picard-plugins/picard-plugins.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for "picard-plugins". # Copyright 2015 Marcel Saegebarth <marc@mos6581.de> -# Copyright 2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2018-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,9 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=picard-plugins -DSTNAM=picard -VERSION=${VERSION:-7d0cf37} -COMMIT=${COMMIT:-7d0cf37373e35dcb43ff6597ca2a0becb1406f90} +VERSION=${VERSION:-7b3b379} +COMMIT=${COMMIT:-7b3b379a7b3cea5771ba16dd6bfbdf3e25731539} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +42,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -55,16 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -80,13 +66,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") -mkdir -p $PKG/$PYTHONDIR/$DSTNAM/plugins -( - cd plugins - find . -maxdepth 2 -name '__init__.py' -printf '%h\n'|xargs mv -t $PKG/$PYTHONDIR/$DSTNAM/plugins/ - cp -a */* $PKG/$PYTHONDIR/$DSTNAM/plugins/ -) +PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') +PLUGINDIR=$PKG/$PYTHONDIR/picard/plugins +mkdir -p $PLUGINDIR + +# Delete haikuattrs plugin as it is only for the Haiku operating system +rm -rf plugins/haikuattrs + +# Move over all directories containing __init__.py +find plugins/ -maxdepth 2 -name '__init__.py' -printf '%h\n' | xargs mv -t $PLUGINDIR + +# Copy over all the remaining .py files +cp plugins/*/*.py $PLUGINDIR + +# Delete bpm plugin if aubio & python3-numpy dependencies are not available +if ! python3 -c "import aubio; import numpy"; then + rm -rf $PLUGINDIR/bpm +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/picard-plugins/picard-plugins.info b/multimedia/picard-plugins/picard-plugins.info index 60e7cd6f97..69fda26c9c 100644 --- a/multimedia/picard-plugins/picard-plugins.info +++ b/multimedia/picard-plugins/picard-plugins.info @@ -1,8 +1,8 @@ PRGNAM="picard-plugins" -VERSION="7d0cf37" +VERSION="7b3b379" HOMEPAGE="https://picard.musicbrainz.org/plugins/" -DOWNLOAD="https://github.com/metabrainz/picard-plugins/archive/7d0cf37/picard-plugins-7d0cf37373e35dcb43ff6597ca2a0becb1406f90.tar.gz" -MD5SUM="88cdba544962868cd1a58aeccd9abc0e" +DOWNLOAD="https://github.com/metabrainz/picard-plugins/archive/7b3b379/picard-plugins-7b3b379a7b3cea5771ba16dd6bfbdf3e25731539.tar.gz" +MD5SUM="91da71aa74f6a2b639c9e38528d7b713" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="picard" diff --git a/multimedia/picard/picard.SlackBuild b/multimedia/picard/picard.SlackBuild index 14a9492ef6..563f8bc7b5 100644 --- a/multimedia/picard/picard.SlackBuild +++ b/multimedia/picard/picard.SlackBuild @@ -1,9 +1,9 @@ #!/bin/bash -# Slackware build script for "picard". +# Slackware build script for Picard # Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de> -# Copyright 2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2018-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=picard -VERSION=${VERSION:-1.4.2} +VERSION=${VERSION:-2.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -55,16 +52,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -72,8 +65,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $PRGNAM-release-$VERSION +tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz cd $PRGNAM-release-$VERSION chown -R root:root . find -L . \ @@ -84,8 +77,8 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -python setup.py build -python setup.py install --root $PKG + +python3 setup.py install --root $PKG 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 diff --git a/multimedia/picard/picard.info b/multimedia/picard/picard.info index 88b5a45340..d8cb9f47b5 100644 --- a/multimedia/picard/picard.info +++ b/multimedia/picard/picard.info @@ -1,10 +1,10 @@ PRGNAM="picard" -VERSION="1.4.2" +VERSION="2.11" HOMEPAGE="https://picard.musicbrainz.org/" -DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-1.4.2.tar.gz" -MD5SUM="f39b57aa2e5e71d09e1f664be8b21971" +DOWNLOAD="https://github.com/metabrainz/picard/archive/release-2.11/picard-release-2.11.tar.gz" +MD5SUM="106a1b0afa417beb6aaad8c544bbdce6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="mutagen chromaprint" +REQUIRES="chromaprint python3-fasteners mutagen python3-dateutil python-discid python3-pyjwt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/pipe-viewer/README b/multimedia/pipe-viewer/README new file mode 100644 index 0000000000..801a5c5327 --- /dev/null +++ b/multimedia/pipe-viewer/README @@ -0,0 +1,46 @@ +pipe-viewer (search and stream videos from youtube) + +pipe-viewer is a lightweight application for searching and streaming +videos from YouTube. pipe-viewer is a fork of youtube-viewer that +does not require a Google API key. Usage and user interface are +identical to youtube-viewer. + +For playing videos, this uses mplayer, vlc, or mpv. However, the +mplayer that ships with Slackware has some issues with pipe-viewer +(or actually with youtube: the audio stream cuts out randomly, and +can be fixed by pressing the left arrow usually). + +Optional dependencies: + +vlc and/or mpv - for playing videos. highly recommended. +perl-Gtk3, perl-File-ShareDir - for gtk-pipe-viewer. +perl-lwp-useragent-cached - for local cache support. +perl-JSON-XS - for faster JSON deserialization. +perl-Text-CharWidth, perl-Unicode-LineBreak - for better formatting + in the terminal. +yt-dlp or youtube-dl [1] - if this is present, pipe-viewer will use it + to detect available formats for the video. + +Counting optional ones, pipe-viewer has over 40 dependencies. To make +life easier, there's a "pipe-viewer.sqf" queue file included with this +build, which includes everything listed above (except mpv and vlc). + +This build always includes the command-line client (pipe-viewer). For +the GTK client (gtk-pipe-viewer[3]), install perl-Gtk3 and +perl-File-ShareDir before running this script. If you have them +installed but don't want gtk-pipe-viewer, you can set GTK=no in the +script's environment. + +Notes: + +[1] A small caveat about yt-dlp and youtube-dl: pipe-viewer works + without them, though occasionally it'll choose a lower quality + than is available for some videos. However, if yt-dlp or + youtube-dl are present but outdated, pipe-viewer will fail to + play videos at all! If you suspect this, remove yt-dlp and/or + youtube-dl and try without them. + +[3] To force gtk-pipe-viewer to use your preferred terminal for + downloading with wget and watching in a terminal, set + TERMINAL in the script's environment (e.g. TERMINAL="xterm" or + TERMINAL="urxvt"). diff --git a/multimedia/pipe-viewer/doinst.sh b/multimedia/pipe-viewer/doinst.sh new file mode 100644 index 0000000000..daf1ce3148 --- /dev/null +++ b/multimedia/pipe-viewer/doinst.sh @@ -0,0 +1,10 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/straw-viewer/straw-viewer.SlackBuild b/multimedia/pipe-viewer/pipe-viewer.SlackBuild index 5ae01ebaa4..eaca62f641 100644 --- a/multimedia/straw-viewer/straw-viewer.SlackBuild +++ b/multimedia/pipe-viewer/pipe-viewer.SlackBuild @@ -1,47 +1,31 @@ #!/bin/bash -# Slackware build script for straw-viewer +# Slackware build script for pipe-viewer -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# 20210803 bkw: update for v0.1.3. -# 20201208 bkw: update for v0.1.2. -# 20201109 bkw: update for v0.1.1. -# 20201012 bkw: update for v0.1.0. -# 20200814 bkw: update for v0.0.7. -# 20200626 bkw: update to latest git. Which (for me anyway) works a lot better. -# 20200525 bkw: -# - update to latest git. -# - add patch to re-enable mplayer. -# - add note in README about new --api-host option. - -# 20200310 bkw: update to not-quite-latest git. Next commit after 9089523 -# removes mplayer support, which kinda sucks for Slackware users since -# mplayer ships with the OS (but mpv and vlc don't). My next update will -# likely re-add mplayer support, unless it's totally broken. - -# 20200302 bkw: new build, based on youtube-viewer, of which straw-viewer -# is a fork. See https://github.com/trizen/youtube-viewer/issues/308 for -# why. Packaging a git commit because the latest (only) release has some -# issues that have been fixed. +# 20240313 bkw: update for v0.5.0. +# 20240215 bkw: update for v0.4.9. +# 20240103 bkw: BUILD=2, thanks to Albert Verlinde for patching +# a missing } in restore_mplayer.diff. +# 20230926 bkw: update for v0.4.8. +# 20230629 bkw: update for v0.4.7. +# 20230103 bkw: v0.4.4 BUILD=2: +# - size icons correctly. +# - include doinst.sh if gtk frontend built. +# - ARCH=noarch, there's no lib vs. lib64 or compiled code here. cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=straw-viewer -VERSION=${VERSION:-0.1.3} +PRGNAM=pipe-viewer +VERSION=${VERSION:-0.5.0} 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 +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -52,19 +36,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi +# No SLKCFLAGS or LIBDIRSUFFIX needed (pure perl). set -e @@ -72,7 +44,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -94,16 +66,13 @@ esac echo "=== GTK=$GTK BUILD_GTK=$BUILD_GTK GTKOPT=$GTKOPT" -# 20200525 bkw: Upstream removed mplayer support because it's flaky. +# Upstream used to support mplayer (in the original youtube-viewer, +# before the straw-viewer and pipe-viewer forks), then dropped it. # That's as may be, but mplayer is included in core Slackware and the # other players aren't. So we'll give the user the option to at least -# try it. Patch made with: git diff 9c9bbdf4..9089523 +# try it. patch -p1 < $CWD/restore_mplayer.diff -# 20200228 bkw: upstream claims gtk+3-3.20 is required, but everything -# actually works fine with 14.2's 3.18. So: -sed -i 's,"3.20","3.18",' share/gtk-$PRGNAM.glade - perl Build.PL prefix=/usr installdirs=vendor --destdir="$PKG" $GTKOPT ./Build ./Build test @@ -112,18 +81,30 @@ mv $PKG/usr/share/man $PKG/usr/man gzip -9 $PKG/usr/man/man?/*.? if [ "$BUILD_GTK" = "yes" ]; then - # link .desktop and icon to standard locations + # link .desktop to standard locations mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps - LNPATH="../perl5/vendor_perl/auto/share/dist/WWW-StrawViewer" + LNPATH="../perl5/vendor_perl/auto/share/dist/WWW-PipeViewer" ln -s $LNPATH/gtk-$PRGNAM.desktop \ $PKG/usr/share/applications/gtk-$PRGNAM.desktop - ln -s $LNPATH/icons/gtk-$PRGNAM.png \ - $PKG/usr/share/pixmaps/gtk-$PRGNAM.png + + # icon is huge (351x313)... + for px in 16 32 48 64 128; do + size=${px}x${px} + dir=$PKG/usr/share/icons/hicolor/$size/apps + mkdir -p $dir + convert -resize $size! share/icons/gtk-pipe-viewer.png $dir/gtk-$PRGNAM.png + done + + ln -s ../icons/hicolor/48x48/apps/gtk-$PRGNAM.png \ + $PKG/usr/share/pixmaps/gtk-$PRGNAM.png # support TERMINAL option for user's preferred terminal. if [ "$TERMINAL" != "" ]; then sed -i "s/'gnome-terminal'/'$TERMINAL', &/" $PKG/usr/bin/gtk-$PRGNAM fi + + mkdir -p $PKG/install + cat $CWD/doinst.sh > $PKG/install/doinst.sh fi find $PKG -name perllocal.pod \ @@ -133,9 +114,10 @@ find $PKG -name perllocal.pod \ find $PKG -depth -type d -empty -delete || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README* $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 Changes LICENSE README* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # the permissions in the final package are weird. find $PKG -type f -print0 | xargs -0 chmod 644 diff --git a/multimedia/pipe-viewer/pipe-viewer.info b/multimedia/pipe-viewer/pipe-viewer.info new file mode 100644 index 0000000000..391f448982 --- /dev/null +++ b/multimedia/pipe-viewer/pipe-viewer.info @@ -0,0 +1,10 @@ +PRGNAM="pipe-viewer" +VERSION="0.5.0" +HOMEPAGE="https://github.com/trizen/pipe-viewer/" +DOWNLOAD="https://github.com/trizen/pipe-viewer/archive/0.5.0/pipe-viewer-0.5.0.tar.gz" +MD5SUM="c60d39db9e09c723a53b7bb4185dd13f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-data-dump perl-JSON perl-LWP-Protocol-https perl-Module-Build perl-Term-ReadLine-Gnu" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/straw-viewer/straw-viewer.sqf b/multimedia/pipe-viewer/pipe-viewer.sqf index dff04810ae..4d23894c09 100644 --- a/multimedia/straw-viewer/straw-viewer.sqf +++ b/multimedia/pipe-viewer/pipe-viewer.sqf @@ -1,3 +1,4 @@ +yt-dlp perl-html-tagset perl-lwp-mediatypes perl-http-date @@ -16,17 +17,13 @@ perl-glib perl-file-listing perl-common-sense perl-cairo -perl-Net-LibIDN -Net-SSLeay perl-Types-Serialiser perl-Test-RequiresInternet perl-PAR-Dist perl-Mozilla-CA perl-MIME-Charset -perl-List-MoreUtils-XS -perl-IO-Socket-SSL perl-Glib-Object-Introspection -perl-Exporter-Tiny +perl-File-ShareDir-Install perl-Class-Inspector perl-Canary-Stability perl-Cairo-GObject @@ -37,10 +34,9 @@ perl-Unicode-LineBreak perl-Text-CharWidth perl-Term-ReadLine-Gnu perl-Module-Build -perl-List-MoreUtils perl-LWP-Protocol-https perl-JSON-XS perl-JSON perl-Gtk3 perl-File-ShareDir -straw-viewer +pipe-viewer diff --git a/multimedia/pipe-viewer/restore_mplayer.diff b/multimedia/pipe-viewer/restore_mplayer.diff new file mode 100644 index 0000000000..7da92dcc64 --- /dev/null +++ b/multimedia/pipe-viewer/restore_mplayer.diff @@ -0,0 +1,36 @@ +diff -Naur pipe-viewer-0.4.7/bin/gtk-pipe-viewer pipe-viewer-0.4.7.patched/bin/gtk-pipe-viewer +--- pipe-viewer-0.4.7/bin/gtk-pipe-viewer 2023-06-11 08:55:44.000000000 -0400 ++++ pipe-viewer-0.4.7.patched/bin/gtk-pipe-viewer 2023-06-29 02:19:58.827392189 -0400 +@@ -191,6 +191,13 @@ + fs => q{--fullscreen}, + arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl --no-terminal *VIDEO*}, + }, ++ mplayer => { ++ cmd => q{mplayer}, ++ srt => q{-sub *SUB*}, ++ audio => q{-audiofile *AUDIO*}, ++ fs => q{-fs}, ++ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*}, ++ }, + }, + video_player_selected => undef, # autodetect it later + +diff -Naur pipe-viewer-0.4.7/bin/pipe-viewer pipe-viewer-0.4.7.patched/bin/pipe-viewer +--- pipe-viewer-0.4.7/bin/pipe-viewer 2023-06-11 08:55:44.000000000 -0400 ++++ pipe-viewer-0.4.7.patched/bin/pipe-viewer 2023-06-29 02:36:34.948298445 -0400 +@@ -200,6 +200,15 @@ + arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*}, + novideo => q{--no-video}, + }, ++ ++ mplayer => { ++ cmd => q{mplayer}, ++ srt => q{-sub *SUB*}, ++ audio => q{-audiofile *AUDIO*}, ++ fs => q{-fs}, ++ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*}, ++ novideo => q{-novideo}, ++ }, + }, + + video_player_selected => ( diff --git a/multimedia/pipe-viewer/slack-desc b/multimedia/pipe-viewer/slack-desc new file mode 100644 index 0000000000..f68a2363c1 --- /dev/null +++ b/multimedia/pipe-viewer/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------------------------------------------------------| +pipe-viewer: pipe-viewer (search and stream videos from youtube) +pipe-viewer: +pipe-viewer: pipe-viewer is lightweight application (fork of straw-viewer) for +pipe-viewer: searching and playing videos from YouTube. This fork parses the +pipe-viewer: YouTube website directly and relies on invidious instances only as a +pipe-viewer: fallback method. +pipe-viewer: +pipe-viewer: +pipe-viewer: +pipe-viewer: +pipe-viewer: diff --git a/multimedia/pitivi/README b/multimedia/pitivi/README index 66f23ed5fa..e70f61f8e0 100644 --- a/multimedia/pitivi/README +++ b/multimedia/pitivi/README @@ -7,10 +7,10 @@ It uses the gstreamer media framework, so it has support for most audio/video formats. It includes hundreds of animated effects, transitions and filters. -The following optional dependencies are not currently available on SBo: -pycanberra - enable sound notification when rendering completes -GnomeDesktop - file thumbnails provided by GNOME's thumbnailers -notify - enables visual notifications when rendering is complete +python3-librosa is an optional dependency to enable beat detection +functionality -NOTE: Please make sure python3-dateutil is installed before - building python3-matplotlib! +NOTE: The starting output mentions cvtracker is an optional +dependency to enable object tracking, however, this wasn't added +to gst-plugins-bad until v1.19.2, so it will need to wait until +the next Slackware version (or -current). diff --git a/multimedia/pitivi/pitivi.SlackBuild b/multimedia/pitivi/pitivi.SlackBuild index f55918e386..392737d593 100644 --- a/multimedia/pitivi/pitivi.SlackBuild +++ b/multimedia/pitivi/pitivi.SlackBuild @@ -3,7 +3,7 @@ # Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com> # Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pitivi -VERSION=${VERSION:-0.95} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2023.03} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,26 +80,24 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + ninja + DESTDIR=$PKG ninja install +cd .. 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 -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/pitivi/pitivi.info b/multimedia/pitivi/pitivi.info index c427efbee5..e323ec7c77 100644 --- a/multimedia/pitivi/pitivi.info +++ b/multimedia/pitivi/pitivi.info @@ -1,10 +1,10 @@ PRGNAM="pitivi" -VERSION="0.95" +VERSION="2023.03" HOMEPAGE="http://www.pitivi.org/" -DOWNLOAD="https://download.gnome.org/sources/pitivi/0.95/pitivi-0.95.tar.xz" -MD5SUM="7bb0bca1b25ef592f0105c3ad93b8c20" +DOWNLOAD="https://download.gnome.org/sources/pitivi/2023/pitivi-2023.03.tar.xz" +MD5SUM="9a0ad11679df2a5c9fac004bac88f1a7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst-plugins-bad python3-matplotlib gstreamer-editing-services gst-python python3-dateutil" +REQUIRES="appstream-glib gsound gst-editing-services gst-python libpeas python3-matplotlib" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/plasmatube/README b/multimedia/plasmatube/README new file mode 100644 index 0000000000..6ec2afc67a --- /dev/null +++ b/multimedia/plasmatube/README @@ -0,0 +1,4 @@ +plasmatube allows you to watch youtube videos on your +desktop or mobile using a elegant user interface integrated +with the rest of plasma. + diff --git a/multimedia/plasmatube/doinst.sh b/multimedia/plasmatube/doinst.sh new file mode 100644 index 0000000000..5b35a0a29e --- /dev/null +++ b/multimedia/plasmatube/doinst.sh @@ -0,0 +1,14 @@ +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 other icon themes are installed, then add to/modify this as needed +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/plasmatube/plasmatube.SlackBuild b/multimedia/plasmatube/plasmatube.SlackBuild new file mode 100644 index 0000000000..680d204491 --- /dev/null +++ b/multimedia/plasmatube/plasmatube.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for plasmatube + +# Copyright 2022 Vijay Marcel +# 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=plasmatube +VERSION=${VERSION:-22.09} +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 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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz +cd $PRGNAM-v$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 {} \; + +cmake -B build -S $TMP/$PRGNAM-v$VERSION \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \ + -DCMAKE_BUILD_TYPE=Release + +make -C build +make -C build install DESTDIR=$PKG + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +chmod 0644 $PKG/usr/share/applications/org.kde.plasmatube.desktop + +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 +cp -a README.md LICENSES/* $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/plasmatube/plasmatube.info b/multimedia/plasmatube/plasmatube.info new file mode 100644 index 0000000000..5106ed6d4a --- /dev/null +++ b/multimedia/plasmatube/plasmatube.info @@ -0,0 +1,10 @@ +PRGNAM="plasmatube" +VERSION="22.09" +HOMEPAGE="https://apps.kde.org" +DOWNLOAD="https://invent.kde.org/plasma-mobile/plasmatube/-/archive/v22.09/plasmatube-v22.09.tar.gz" +MD5SUM="3be983b0a53a2249ab6a3040f38d6be7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/plasmatube/slack-desc b/multimedia/plasmatube/slack-desc new file mode 100644 index 0000000000..e44a1eb7fe --- /dev/null +++ b/multimedia/plasmatube/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------------------------------------------------------| +plasmatube: plasmatube (Watch YouTube Videos) +plasmatube: +plasmatube: plasmatube allows you to watch youtube videos on your +plasmatube: desktop or mobile using a elegant user interface integrated +plasmatube: with the rest of plasma. +plasmatube: +plasmatube: +plasmatube: Homepage:https://apps.kde.org +plasmatube: +plasmatube: +plasmatube: diff --git a/multimedia/playerctl/playerctl.SlackBuild b/multimedia/playerctl/playerctl.SlackBuild index 9a64551872..91d897a166 100644 --- a/multimedia/playerctl/playerctl.SlackBuild +++ b/multimedia/playerctl/playerctl.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230704 bkw: Modified by SlackBuilds.org, BUILD=2: +# - gzip the man page. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=playerctl VERSION=${VERSION:-2.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -75,9 +75,9 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + mkdir build cd build @@ -92,13 +92,13 @@ cd build --prefix=/usr \ -Dbash-completions=true \ -Dzsh-completions=true \ + -Dstrip=true \ --sysconfdir=/etc "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install cd .. -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 +gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/multimedia/plex-home-theater/README b/multimedia/plex-home-theater/README deleted file mode 100644 index fe204d1ecb..0000000000 --- a/multimedia/plex-home-theater/README +++ /dev/null @@ -1,5 +0,0 @@ -Plex Home Theater is optimized for the big screen and supports -a wide variety of formats with high-definition audio, native -framerates, and more. - -(Some) Optional dependencies: libcec libnfs diff --git a/multimedia/plex-home-theater/disable_via_ace.patch b/multimedia/plex-home-theater/disable_via_ace.patch deleted file mode 100644 index 73b3eb4413..0000000000 --- a/multimedia/plex-home-theater/disable_via_ace.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- plex/Third-Party/aes/aesopt.h.org 2015-02-03 21:32:46.000000000 +0100 -+++ plex/Third-Party/aes/aesopt.h 2015-02-09 11:00:02.966550150 +0100 -@@ -163,11 +163,7 @@ -
- /* 2. Intel AES AND VIA ACE SUPPORT */
-
--#if defined( __GNUC__ ) && defined( __i386__ ) \
-- || defined(_WIN32) && defined(_M_IX86) \
-- && !(defined(_WIN64) || defined(_WIN32_WCE) || defined(_MSC_VER) && (_MSC_VER <= 800))
--# define VIA_ACE_POSSIBLE
--#endif
-+# undef VIA_ACE_POSSIBLE
-
- /* Define this option if support for the Intel AESNI is required (not
- currently available with GCC). If AESNI is known to be present, then
diff --git a/multimedia/plex-home-theater/fribidi.patch b/multimedia/plex-home-theater/fribidi.patch deleted file mode 100644 index 3b135bdfc3..0000000000 --- a/multimedia/plex-home-theater/fribidi.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/plex/CMakeModules/FindFriBiDi.cmake -+++ b/plex/CMakeModules/FindFriBiDi.cmake -@@ -10,43 +10,9 @@ - # FRIBIDI_LIBRARY, where to find the FriBiDi library. - - include(CheckSymbolExists) -+include(FindPkgConfig) -+pkg_check_modules(FRIBIDI fribidi) - --SET(FRIBIDI_FOUND "NO") -- --# Set variable in temp var, otherwise FIND_PATH might fail --# unset isn't present in the required version of cmake. --FIND_PATH(xFRIBIDI_INCLUDE_DIR fribidi.h -- PATHS /usr/local/include -- /usr/include -- PATH_SUFFIXES fribidi -- ) --set(FRIBIDI_INCLUDE_DIR ${xFRIBIDI_INCLUDE_DIR}) -- --SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi) --FIND_LIBRARY(FRIBIDI_LIBRARY -- NAMES ${FRIBIDI_NAMES} -- PATHS /usr/lib /usr/local/lib -- ) -- --IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR) -- SET(CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIR}) -- SET(CMAKE_REQUIRED_LIBRARIES ${FRIBIDI_LIBRARY}) -- CHECK_SYMBOL_EXISTS(fribidi_utf8_to_unicode fribidi.h FOUND_fribidi_utf8_to_unicode) -- CHECK_SYMBOL_EXISTS(fribidi_charset_to_unicode fribidi.h FOUND_fribidi_charset_to_unicode) -- if(FOUND_fribidi_charset_to_unicode) -- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY}) -- SET(FRIBIDI_FOUND "YES") -- elseif(FOUND_fribidi_utf8_to_unicode) -- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY}) -- SET(FRIBIDI_FOUND "YES") -- add_definitions(-DOLD_FRIBIDI) -- MESSAGE(STATUS "Legacy FriBiDi: ${FRIBIDI_LIBRARY}") -- else() -- SET(FRIBIDI_LIBRARIES "NOTFOUND") -- SET(FRIBIDI_INCLUDE_DIR "NOTFOUND") -- SET(FRIBIDI_FOUND "NO") -- endif() --ENDIF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR) - - IF (FRIBIDI_FOUND) diff --git a/multimedia/plex-home-theater/plex-home-theater b/multimedia/plex-home-theater/plex-home-theater deleted file mode 100644 index d2ce5b48a8..0000000000 --- a/multimedia/plex-home-theater/plex-home-theater +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# disable PulseAudio -export AE_ENGINE=Soft - -export XBMC_HOME=/opt/plex-home-theater/share/XBMC -exec /opt/plex-home-theater/bin/plexhometheater diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild deleted file mode 100644 index 69c5312f2d..0000000000 --- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild +++ /dev/null @@ -1,145 +0,0 @@ -#!/bin/bash - -# Slackware build script for "plex-home-theater". - -# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de> -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "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 COPYRIGHT -# OWNER OR CONTRIBUTORS 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=plex-home-theater -VERSION=${VERSION:-1.4.1.469} -REV=${REV:-47a90f01} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-public-$VERSION-$REV -tar xvf $CWD/$PRGNAM-public-$VERSION-$REV.tar.gz || tar xvf $CWD/v$VERSION-$REV.tar.gz -cd $PRGNAM-public-$VERSION-$REV -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 {} \; - -# remove AirTunes dependency (would require libshairport) -sed -i 's/ ShairPort//' plex/CMakeModules/PlatformConfigLINUX.cmake - -# Disables AES for VIA CPU's due to segfaults. Thanks to Philip van der Hoeven. -patch -p0 < $CWD/disable_via_ace.patch - -# Find fribidi-0.19.7 -# https://raw.githubusercontent.com/foux/fouxlay/master/media-tv/plex-home-theater/files/fribidi.patch -patch -p1 < $CWD/fribidi.patch - -# Fix "'asm' operand has impossible constraints" build failure in embedded ffmpeg -if [ "$ARCH" != 'x86_64' ]; then - sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/cabac.c - sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/h264_cabac.c -fi - -mkdir build -cd build - -cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \ - -DCMAKE_BUILD_TYPE=Release \ - -DENABLE_AUTOUPDATE='FALSE' \ - -DENABLE_DUMP_SYMBOLS='FALSE' \ - -DENABLE_PYTHON='TRUE' \ - -DUSE_INTERNAL_FFMPEG='TRUE' \ - -DCREATE_BUNDLE='FALSE' \ - .. - -# internal ffmpeg version doesn't build with multiple jobs -make -j1 -make install DESTDIR=$PKG - -cd .. - -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/bin -install -D -m 0755 $CWD/plex-home-theater $PKG/usr/bin - -mkdir -p $PKG/usr/share/applications -install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications - -mkdir -p $PKG/usr/share/pixmaps -install -D -m 0644 $CWD/${PRGNAM}_512x512.png $PKG/usr/share/pixmaps - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CONTRIBUTORS LICENSE.GPL README README-BUILD-PLEX.md docs/README.* \ - $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/plex-home-theater/plex-home-theater.desktop b/multimedia/plex-home-theater/plex-home-theater.desktop deleted file mode 100644 index b0f6879153..0000000000 --- a/multimedia/plex-home-theater/plex-home-theater.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Plex Home Theater -GenericName=Media Center -Exec=plex-home-theater -StartupNotify=true -Terminal=false -Type=Application -Icon=/usr/share/pixmaps/plex-home-theater_512x512.png -Categories=Audio;Music;Video;Player;AudioVideo; diff --git a/multimedia/plex-home-theater/plex-home-theater.info b/multimedia/plex-home-theater/plex-home-theater.info deleted file mode 100644 index 245439dbc7..0000000000 --- a/multimedia/plex-home-theater/plex-home-theater.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="plex-home-theater" -VERSION="1.4.1.469" -HOMEPAGE="https://github.com/plexinc/plex-home-theater-public/" -DOWNLOAD="https://github.com/plexinc/plex-home-theater-public/archive/v1.4.1.469-47a90f01.tar.gz" -MD5SUM="8fb20dac7aefa694819f66c39aaa5814" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libmodplug openjdk7" -MAINTAINER="Marcel Saegebarth" -EMAIL="marc@mos6581.de" diff --git a/multimedia/plex-home-theater/plex-home-theater_512x512.png b/multimedia/plex-home-theater/plex-home-theater_512x512.png Binary files differdeleted file mode 100644 index 89f68bb648..0000000000 --- a/multimedia/plex-home-theater/plex-home-theater_512x512.png +++ /dev/null diff --git a/multimedia/plex-home-theater/slack-desc b/multimedia/plex-home-theater/slack-desc deleted file mode 100644 index d0d0f5eb8d..0000000000 --- a/multimedia/plex-home-theater/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -plex-home-theater: plex-home-theater (Media Center) -plex-home-theater: -plex-home-theater: Plex Home Theater is optimized for the big screen and supports -plex-home-theater: a wide variety of formats with high-definition audio, native -plex-home-theater: framerates, and more. -plex-home-theater: -plex-home-theater: Homepage: http://plex.tv/ -plex-home-theater: -plex-home-theater: -plex-home-theater: -plex-home-theater: diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild index 06b0b5b68c..9984cfe6aa 100644 --- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild +++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild @@ -5,7 +5,7 @@ # Copyright 2014-2015 Lionel Young <lionelyoung@gmail.com> # Copyright 2015-2017 Marcel Saegebarth <marc@mos6581.de> # Copyright 2017-2020 Kevin Matthew <kevin@kevinmatthew.com> -# Copyright 2020-2021 Stu Miller <slackbuilds@go4it2day.com> +# Copyright 2020-2023 Stu Miller <slackbuilds@go4it2day.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,10 +27,16 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230528 bkw: modified by SlackBuilds.org: +# - use standard ARCH (not i386). note that this is cosmetic (the package +# contents do not change, only the filename of the .tgz package). +# - speed up find and strip stuff (build now runs ~3.2x faster). +# - fix permission on .desktop file. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=plexmediaserver -VERSION=${VERSION:-1.22.2.4282_a97b03fad} +VERSION=${VERSION:-1.40.2.8395_c67dce28e} PKG_VERSION=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,9 +50,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -59,15 +62,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then DEBARCH="i386" LIBDIRSUFFIX="" - ARCH="i386" elif [ "$ARCH" = "i686" ]; then DEBARCH="i386" LIBDIRSUFFIX="" - ARCH="i386" elif [ "$ARCH" = "x86_64" ]; then DEBARCH="amd64" LIBDIRSUFFIX="64" - ARCH="x86_64" else echo "Package for $(uname -m) architecture is not available." exit 1 @@ -112,16 +112,24 @@ cd $PRGNAM-$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 \ + -o -perm 511 \) -exec chmod 755 {} + \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + mkdir -p $PKG/usr/lib/ mv usr/lib/plexmediaserver $PKG/usr/lib -mkdir -p $PKG/usr/share/applications/ -mv usr/share/applications/plexmediaserver.desktop $PKG/usr/share/applications -sed -i -e "s/x-www-browser/xdg-open/" $PKG/usr/share/applications/plexmediaserver.desktop +# 20230528 bkw: This strip command is *way* faster than the find|grep|xargs +# stuff (runs in about 1 sec, vs. over a minute) and has the same effect. +strip --strip-unneeded \ + $PKG/usr/lib/$PRGNAM/* \ + $PKG/usr/lib/$PRGNAM/lib/*.so* \ + $PKG/usr/lib/$PRGNAM/Resources/Python/lib/python*/site-packages/*/*.so \ + 2>/dev/null || true + +DESKTOP=usr/share/applications/$PRGNAM.desktop +install -D -m0644 $DESKTOP $PKG/$DESKTOP +sed -i -e "s/x-www-browser/xdg-open/" $PKG/$DESKTOP mkdir -p $PKG/etc/rc.d cat $PKG/usr/lib/$PRGNAM/lib/$PRGNAM.init > $PKG/etc/rc.d/rc.$PRGNAM.new diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info index 2ac5b50f07..d4128b5fda 100644 --- a/multimedia/plexmediaserver/plexmediaserver.info +++ b/multimedia/plexmediaserver/plexmediaserver.info @@ -1,10 +1,10 @@ PRGNAM="plexmediaserver" -VERSION="1.22.2.4282_a97b03fad" +VERSION="1.40.2.8395_c67dce28e" HOMEPAGE="https://plex.tv/" -DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.22.2.4282-a97b03fad/debian/plexmediaserver_1.22.2.4282-a97b03fad_i386.deb" -MD5SUM="6f9bf1be451504c1a23e1050162f5eb6" -DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.22.2.4282-a97b03fad/debian/plexmediaserver_1.22.2.4282-a97b03fad_amd64.deb" -MD5SUM_x86_64="c57ad0e9fc1c14fafe67f35624047b4d" +DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.40.2.8395-c67dce28e/debian/plexmediaserver_1.40.2.8395-c67dce28e_i386.deb" +MD5SUM="29932efda14d2bea2024b0feb9f7da26" +DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.40.2.8395-c67dce28e/debian/plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb" +MD5SUM_x86_64="96756b4ea968fd59c75b17143e13c951" REQUIRES="" MAINTAINER="Stu Miller" EMAIL="slackbuilds@go4it2day.com" diff --git a/multimedia/pocketsphinx/README b/multimedia/pocketsphinx/README new file mode 100644 index 0000000000..7ea1e815a7 --- /dev/null +++ b/multimedia/pocketsphinx/README @@ -0,0 +1,3 @@ +pocketsphinx is a lightweight speech recognition engine +tuned for handheld and mobile devices and also for +desktop. diff --git a/multimedia/pocketsphinx/changelog b/multimedia/pocketsphinx/changelog new file mode 100644 index 0000000000..16d62a9923 --- /dev/null +++ b/multimedia/pocketsphinx/changelog @@ -0,0 +1,26 @@ +Changelog for pocketsphinx SlackBuild Script +-------------------------------------------------------------------- + +03/09/2022: + +Added to SBo + +14/07/2023: + +Updated to github commit id 8221706. +This version joins Opencv4 and lensfun +in not compiling with FFmpeg. FFmpeg will +detect pocketsphinx but it will eventually +run into error during compilation.This +seems to be FFmpeg upstream problem so +don't enable pocketsphinx in FFmpeg when +you try to recompile it. + +19/02/2024: + +Updated to version 5.0.3 +Removed python plugin. +one of the reasons why pocketsphinx fails to +build with FFmpeg is due to intentional API break +in pocketsphinx. This is an upstream FFmpeg +problem see https://trac.ffmpeg.org/ticket/10520 diff --git a/multimedia/pocketsphinx/pocketsphinx.SlackBuild b/multimedia/pocketsphinx/pocketsphinx.SlackBuild new file mode 100644 index 0000000000..226c47e580 --- /dev/null +++ b/multimedia/pocketsphinx/pocketsphinx.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/bash + +# Slackware build script for pocketsphinx + +# Copyright 2022-2024 Vijay Marcel + +# 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=pocketsphinx +VERSION=${VERSION:-5.0.3} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +cmake -B build -S $TMP/$PRGNAM-$VERSION \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_BINDIR=/usr/bin \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc \ + -DCMAKE_INSTALL_INCLUDEDIR=/usr/include \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DFIXED_POINT:BOOL=ON \ + -DBUILD_GSTREAMER:BOOL=ON + +cmake --build build +DESTDIR=$PKG cmake --install build + +cp $PKG/usr/include/pocketsphinx.h $PKG/usr/include/pocketsphinx + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS NEWS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/pocketsphinx/pocketsphinx.info b/multimedia/pocketsphinx/pocketsphinx.info new file mode 100644 index 0000000000..e4e61bf272 --- /dev/null +++ b/multimedia/pocketsphinx/pocketsphinx.info @@ -0,0 +1,10 @@ +PRGNAM="pocketsphinx" +VERSION="5.0.3" +HOMEPAGE="https://github.com/cmusphinx/pocketsphinx" +DOWNLOAD="https://github.com/cmusphinx/pocketsphinx/archive/v5.0.3/pocketsphinx-5.0.3.tar.gz" +MD5SUM="92e68dfc07ac2e6d82b4f29be89502c3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="portaudio" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/pocketsphinx/slack-desc b/multimedia/pocketsphinx/slack-desc new file mode 100644 index 0000000000..114150a5cc --- /dev/null +++ b/multimedia/pocketsphinx/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------------------------------------------------------| +pocketsphinx: pocketsphinx (Lightweight Speech Recognition Engine ) +pocketsphinx: +pocketsphinx: pocketsphinx is a lightweight speech recognition engine +pocketsphinx: tuned for handheld and mobile devices and also for +pocketsphinx: desktop +pocketsphinx: +pocketsphinx: Homepage: https://github.com/cmusphinx/pocketsphinx +pocketsphinx: +pocketsphinx: +pocketsphinx: +pocketsphinx: diff --git a/multimedia/podcastparser/README b/multimedia/podcastparser/README deleted file mode 100644 index d8e6f83202..0000000000 --- a/multimedia/podcastparser/README +++ /dev/null @@ -1,2 +0,0 @@ -podcastparser is a simple, fast and efficient podcast parser written in -Python. diff --git a/multimedia/podcastparser/podcastparser.SlackBuild b/multimedia/podcastparser/podcastparser.SlackBuild deleted file mode 100644 index 3dfaef957a..0000000000 --- a/multimedia/podcastparser/podcastparser.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for podcastparser - -# Copyright 2017 Chris Farrell <timcowchip@gmail.com> -# 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=podcastparser -VERSION=${VERSION:-0.6.4} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 {} \; - -python3 setup.py build -python3 setup.py install --root $PKG - -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 -cp -a AUTHORS LICENSE README.md $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/podcastparser/podcastparser.info b/multimedia/podcastparser/podcastparser.info deleted file mode 100644 index 8df73bb974..0000000000 --- a/multimedia/podcastparser/podcastparser.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="podcastparser" -VERSION="0.6.4" -HOMEPAGE="http://gpodder.org/podcastparser/" -DOWNLOAD="https://github.com/gpodder/podcastparser/archive/0.6.4/podcastparser-0.6.4.tar.gz" -MD5SUM="93eb67ce21165bf3f79a4a8b40e021fd" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Chris Farrell" -EMAIL="timcowchip@gorge.net" diff --git a/multimedia/popcorntime/popcorntime.info b/multimedia/popcorntime/popcorntime.info index 7eb850000e..6d06fbf5ef 100644 --- a/multimedia/popcorntime/popcorntime.info +++ b/multimedia/popcorntime/popcorntime.info @@ -1,9 +1,9 @@ PRGNAM="popcorntime" VERSION="0.3.10" HOMEPAGE="https://get.popcorntime.sh" -DOWNLOAD="https://get.popcorntime.sh/repo/build/Popcorn-Time-0.3.10-Linux-32.tar.xz" +DOWNLOAD="https://slackware.uk/~urchlay/src/Popcorn-Time-0.3.10-Linux-32.tar.xz" MD5SUM="3a0169d0cbe015ff3a29b442844d97e2" -DOWNLOAD_x86_64="https://get.popcorntime.sh/repo/build/Popcorn-Time-0.3.10-Linux-64.tar.xz" +DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/Popcorn-Time-0.3.10-Linux-64.tar.xz" MD5SUM_x86_64="42bfbd562dc712e06679740ed53a07de" REQUIRES="" MAINTAINER="Matthew Kuzminski" diff --git a/multimedia/pragha/README b/multimedia/pragha/README index 4cd7d6d8eb..babff9a887 100644 --- a/multimedia/pragha/README +++ b/multimedia/pragha/README @@ -1,12 +1,13 @@ -Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk and sqlite. -It is completely written in C, constructed to be fast, light, and -simultaneously tries to be complete without obstructing the daily work. ;) +Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk and +sqlite. It is completely written in C, constructed to be fast, light, +and simultaneously tries to be complete without obstructing the daily +work. ;) Main features: * Full integration with GTK+3, but always completely independent of gnome or xfce. - * Two panel design inspired by Amarok 1.4. Library and current playlist. + * Two panel design inspired by Amarok 1.4: Library & current playlist. * Library with multiple views, according to tags or folder structure. * Search, filter and queue songs on current playlist. * Play and edit tags of mp3, m4a, ogg, flac, asf, wma, and ape files. @@ -18,9 +19,10 @@ Main features: Optional packages available on https://slackbuilds.org, they are auto detected by the script: - * totem-pl-parser - * mtpfs - * gmtp + * glyr (search lyrics, artist info, album art) + * gst-plugins-bad-nonfree (extra codecs) + * gst-plugins-ugly (extra codecs) + * totem-pl-parser (used to open playlists) Optional dependencies that aren't on https://slackbuilds.org diff --git a/multimedia/pragha/pragha.SlackBuild b/multimedia/pragha/pragha.SlackBuild index 38c93bcde5..f1aae8f83f 100644 --- a/multimedia/pragha/pragha.SlackBuild +++ b/multimedia/pragha/pragha.SlackBuild @@ -22,11 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220308 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix dependency info: gst0-* and gst-python were unused, gst-plugins-bad +# no longer exists, gst-plugins-ugly is optional. left libpeas as +# required, since it's required for any plugins to be built at all. +# - do not install 0-byte AUTHORS and useless INSTALL in doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pragha VERSION=${VERSION:-1.3.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +44,6 @@ if [ -z "$ARCH" ] ; then esac 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 @@ -64,7 +67,7 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING FAQ INSTALL NEWS README ChangeLog" +DOCS="COPYING FAQ NEWS README ChangeLog" set -e @@ -77,9 +80,9 @@ cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -93,13 +96,8 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/pragha/pragha.info b/multimedia/pragha/pragha.info index 841a21976c..4d98da646e 100644 --- a/multimedia/pragha/pragha.info +++ b/multimedia/pragha/pragha.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/pragha-music-player/pragha/releases/download/v1.3.3 MD5SUM="eac512bcb42b000f5622e6abd867f5b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst0-plugins-ugly gst-plugins-bad gst-plugins-ugly gst0-python gst-python libpeas" +REQUIRES="libpeas" MAINTAINER="LuÃs Fernando Carvalho Cavalheiro" EMAIL="pessoal@profcavalheiro.com" diff --git a/multimedia/pyradio/pyradio.SlackBuild b/multimedia/pyradio/pyradio.SlackBuild index f2f5332928..dfa0adf3b5 100644 --- a/multimedia/pyradio/pyradio.SlackBuild +++ b/multimedia/pyradio/pyradio.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for pyradio # Written by Jostein Berntsen <jvbernts@online.no> - + cd $(dirname $0) ; CWD=$(pwd) @@ -16,7 +16,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -34,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/qsampler/qsampler.SlackBuild b/multimedia/qsampler/qsampler.SlackBuild index eaf9dddc3d..d10c715b38 100644 --- a/multimedia/qsampler/qsampler.SlackBuild +++ b/multimedia/qsampler/qsampler.SlackBuild @@ -5,14 +5,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qsampler -VERSION=${VERSION:-0.2.2.511svn} +VERSION=${VERSION:-0.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -30,8 +30,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -51,36 +51,37 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-svn +cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; -make -f Makefile.svn +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=man \ + -DCMAKE_BUILD_TYPE='None' \ + -Wno-dev \ + .. + make + make install DESTDIR=$PKG +cd .. -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -j1 -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL TODO README TRANSLATORS \ + AUTHORS COPYING ChangeLog README TODO TRANSLATORS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/qsampler/qsampler.info b/multimedia/qsampler/qsampler.info index 62a558355e..6e8bbdd955 100644 --- a/multimedia/qsampler/qsampler.info +++ b/multimedia/qsampler/qsampler.info @@ -1,8 +1,8 @@ PRGNAM="qsampler" -VERSION="0.2.2.511svn" +VERSION="0.9.4" HOMEPAGE="http://linuxsampler.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/qsampler-0.2.2.511svn.tar.gz" -MD5SUM="22d9151b4635019d2da3e96be675af5e" +DOWNLOAD="https://downloads.sourceforge.net/qsampler/qsampler-0.9.4.tar.gz" +MD5SUM="a1f67150f4f6a5771926dc0d4783f29d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="liblscp linuxsampler" diff --git a/multimedia/radiotray/radiotray.SlackBuild b/multimedia/radiotray/radiotray.SlackBuild index ef8616d54a..4866e83e85 100644 --- a/multimedia/radiotray/radiotray.SlackBuild +++ b/multimedia/radiotray/radiotray.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/radiotray/radiotray.info b/multimedia/radiotray/radiotray.info index 72422ca9f1..86993c6ce5 100644 --- a/multimedia/radiotray/radiotray.info +++ b/multimedia/radiotray/radiotray.info @@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/project/radiotray/releases/radiotray- MD5SUM="274efddcf5183a4f5cb193f8c417a45c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst0-ffmpeg gst0-plugins-ugly gst0-python lxml" +REQUIRES="gst0-ffmpeg gst0-plugins-ugly gst0-python python2-lxml" MAINTAINER="Andrey Maraev" EMAIL="andrew.maraev60@yandex.ru" diff --git a/multimedia/rav1e/README b/multimedia/rav1e/README new file mode 100644 index 0000000000..e365043682 --- /dev/null +++ b/multimedia/rav1e/README @@ -0,0 +1,20 @@ +rav1e is the fastest and safest AV1 video encoder. It is designed to +eventually cover all use cases, though in its current form it is most +suitable for cases where aom (the reference encoder) is too slow. + +Features: + +* Intra, inter, and switch frames +* 64x64 superblocks +* 4x4 to 64x64 RDO-selected square and rectangular blocks +* DC, H, V, Paeth, smooth, and all directional prediction modes +* DCT, (FLIP-)ADST and identity transforms (up to 64x64, 16x16 and 32x32 + respectively) +* 8-, 10- and 12-bit depth color +* 4:2:0, 4:2:2 and 4:4:4 chroma sampling +* 11 speed settings (0-10, exhaustive to near real-time) +* Constant quantizer and target bitrate (single- and multi-pass) + encoding modes +* Still picture mode + +rust16 and cargo-c are needed only at build time. diff --git a/multimedia/rav1e/rav1e.SlackBuild b/multimedia/rav1e/rav1e.SlackBuild new file mode 100644 index 0000000000..5890808369 --- /dev/null +++ b/multimedia/rav1e/rav1e.SlackBuild @@ -0,0 +1,174 @@ +#!/bin/bash + +# Slackware build script for rav1e + +# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia +# 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=rav1e +VERSION=${VERSION:-0.7.1} +BUILD=${BUILD:-2} +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 + + if [ "$ARCH" = "i586" ]; then + if LD_LIBRARY_PATH="/opt/rust16/lib" /opt/rust16/bin/rustc -Vv \ + | grep host | grep i686 > /dev/null ; then + ARCH=i686 + fi + fi +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" + CARGOTARGET="--target i586-unknown-linux-gnu" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" + CARGOTARGET="--target i686-unknown-linux-gnu" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + CARGOTARGET="--target x86_64-unknown-linux-gnu" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + CARGOTARGET="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +mkdir .cargo +cat << EOF >> .cargo/config +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' + +[source.vendored-sources] +directory = '$(pwd)/vendor' +EOF + +mkdir vendor +( + cd vendor + + grep -h -A 4 "\[\[package\]\]" \ + $(find "../" -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \ + sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \ + awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4, $5 }' | \ + sed 's/"//g;s/name=//;s/ version=/=/' | \ + grep " source=" | \ + sed 's/ dependencies=.*$//' | \ + sed 's/ source=[^ ]*//' | \ + sed 's/ checksum=/=/' | \ + sort -u | \ + while read -r dep ; do + + cksum="$(printf "%s\n" "$dep" | cut -d= -f3)" + ver="$(printf "%s\n" "$dep" | cut -d= -f2)" + dep="$(printf "%s\n" "$dep" | cut -d= -f1)" + + tar xvf $CWD/$dep-$ver.crate + + touch $dep-$ver/.cargo-ok + + { + printf "{\n" + printf ' "files": {\n' + + ( + cd $dep-$ver + find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/' + ) | sed '$ s/,$//' + + printf " },\n" + printf ' "package": "%s"' "$cksum" + + printf "}\n" + } > $dep-$ver/.cargo-checksum.json + done +) + +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 {} \; + +CARGO_HOME=.cargo \ +PATH="/opt/rust16/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +cargo build --offline --release $CARGOTARGET +CARGO_HOME=.cargo \ +PATH="/opt/rust16/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +cargo cbuild --offline --release $CARGOTARGET +PATH="/opt/rust16/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +cargo install --offline --no-track --root "${PKG}/usr" --path="." +PATH="/opt/rust16/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +cargo cinstall --offline --destdir=${PKG} --prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.md doc $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/rav1e/rav1e.info b/multimedia/rav1e/rav1e.info new file mode 100644 index 0000000000..a4079c3fd7 --- /dev/null +++ b/multimedia/rav1e/rav1e.info @@ -0,0 +1,464 @@ +PRGNAM="rav1e" +VERSION="0.7.1" +HOMEPAGE="https://github.com/xiph/rav1e/" +DOWNLOAD="https://github.com/xiph/rav1e/archive/v0.7.1/rav1e-0.7.1.tar.gz \ + https://static.crates.io/crates/addr2line/addr2line-0.21.0.crate \ + https://static.crates.io/crates/adler/adler-1.0.2.crate \ + https://static.crates.io/crates/aho-corasick/aho-corasick-1.1.2.crate \ + https://static.crates.io/crates/anes/anes-0.1.6.crate \ + https://static.crates.io/crates/anstream/anstream-0.6.5.crate \ + https://static.crates.io/crates/anstyle-parse/anstyle-parse-0.2.3.crate \ + https://static.crates.io/crates/anstyle-query/anstyle-query-1.0.2.crate \ + https://static.crates.io/crates/anstyle-wincon/anstyle-wincon-3.0.2.crate \ + https://static.crates.io/crates/anstyle/anstyle-1.0.4.crate \ + https://static.crates.io/crates/anyhow/anyhow-1.0.79.crate \ + https://static.crates.io/crates/aom-sys/aom-sys-0.3.3.crate \ + https://static.crates.io/crates/arbitrary/arbitrary-1.3.2.crate \ + https://static.crates.io/crates/arg_enum_proc_macro/arg_enum_proc_macro-0.3.4.crate \ + https://static.crates.io/crates/arrayvec/arrayvec-0.7.4.crate \ + https://static.crates.io/crates/assert_cmd/assert_cmd-2.0.12.crate \ + https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \ + https://static.crates.io/crates/av-metrics/av-metrics-0.9.1.crate \ + https://static.crates.io/crates/av1-grain/av1-grain-0.2.3.crate \ + https://static.crates.io/crates/backtrace/backtrace-0.3.69.crate \ + https://static.crates.io/crates/bindgen/bindgen-0.69.1.crate \ + https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \ + https://static.crates.io/crates/bitflags/bitflags-2.4.1.crate \ + https://static.crates.io/crates/bitstream-io/bitstream-io-2.2.0.crate \ + https://static.crates.io/crates/bstr/bstr-1.9.0.crate \ + https://static.crates.io/crates/built/built-0.7.1.crate \ + https://static.crates.io/crates/bumpalo/bumpalo-3.14.0.crate \ + https://static.crates.io/crates/bytemuck/bytemuck-1.14.0.crate \ + https://static.crates.io/crates/byteorder/byteorder-1.5.0.crate \ + https://static.crates.io/crates/cast/cast-0.3.0.crate \ + https://static.crates.io/crates/cc/cc-1.0.83.crate \ + https://static.crates.io/crates/cexpr/cexpr-0.6.0.crate \ + https://static.crates.io/crates/cfg-expr/cfg-expr-0.15.6.crate \ + https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \ + https://static.crates.io/crates/ciborium-io/ciborium-io-0.2.1.crate \ + https://static.crates.io/crates/ciborium-ll/ciborium-ll-0.2.1.crate \ + https://static.crates.io/crates/ciborium/ciborium-0.2.1.crate \ + https://static.crates.io/crates/clang-sys/clang-sys-1.7.0.crate \ + https://static.crates.io/crates/clap/clap-4.4.14.crate \ + https://static.crates.io/crates/clap_builder/clap_builder-4.4.14.crate \ + https://static.crates.io/crates/clap_complete/clap_complete-4.4.6.crate \ + https://static.crates.io/crates/clap_derive/clap_derive-4.4.7.crate \ + https://static.crates.io/crates/clap_lex/clap_lex-0.6.0.crate \ + https://static.crates.io/crates/color_quant/color_quant-1.1.0.crate \ + https://static.crates.io/crates/colorchoice/colorchoice-1.0.0.crate \ + https://static.crates.io/crates/console/console-0.15.8.crate \ + https://static.crates.io/crates/crc32fast/crc32fast-1.3.2.crate \ + https://static.crates.io/crates/criterion-plot/criterion-plot-0.5.0.crate \ + https://static.crates.io/crates/criterion/criterion-0.5.1.crate \ + https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.11.crate \ + https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.8.5.crate \ + https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.9.18.crate \ + https://static.crates.io/crates/crossbeam-queue/crossbeam-queue-0.3.11.crate \ + https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.19.crate \ + https://static.crates.io/crates/crossbeam/crossbeam-0.8.4.crate \ + https://static.crates.io/crates/diff/diff-0.1.13.crate \ + https://static.crates.io/crates/difflib/difflib-0.4.0.crate \ + https://static.crates.io/crates/doc-comment/doc-comment-0.3.3.crate \ + https://static.crates.io/crates/either/either-1.9.0.crate \ + https://static.crates.io/crates/encode_unicode/encode_unicode-0.3.6.crate \ + https://static.crates.io/crates/env_logger/env_logger-0.8.4.crate \ + https://static.crates.io/crates/equivalent/equivalent-1.0.1.crate \ + https://static.crates.io/crates/errno/errno-0.3.8.crate \ + https://static.crates.io/crates/fdeflate/fdeflate-0.3.3.crate \ + https://static.crates.io/crates/fern/fern-0.6.2.crate \ + https://static.crates.io/crates/flate2/flate2-1.0.28.crate \ + https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.2.1.crate \ + https://static.crates.io/crates/getrandom/getrandom-0.2.12.crate \ + https://static.crates.io/crates/gimli/gimli-0.28.1.crate \ + https://static.crates.io/crates/git2/git2-0.18.1.crate \ + https://static.crates.io/crates/glob/glob-0.3.1.crate \ + https://static.crates.io/crates/half/half-1.8.2.crate \ + https://static.crates.io/crates/hashbrown/hashbrown-0.14.3.crate \ + https://static.crates.io/crates/heck/heck-0.4.1.crate \ + https://static.crates.io/crates/hermit-abi/hermit-abi-0.3.3.crate \ + https://static.crates.io/crates/home/home-0.5.9.crate \ + https://static.crates.io/crates/idna/idna-0.5.0.crate \ + https://static.crates.io/crates/image/image-0.24.7.crate \ + https://static.crates.io/crates/indexmap/indexmap-2.1.0.crate \ + https://static.crates.io/crates/interpolate_name/interpolate_name-0.2.4.crate \ + https://static.crates.io/crates/is-terminal/is-terminal-0.4.10.crate \ + https://static.crates.io/crates/itertools/itertools-0.10.5.crate \ + https://static.crates.io/crates/itertools/itertools-0.11.0.crate \ + https://static.crates.io/crates/itertools/itertools-0.12.0.crate \ + https://static.crates.io/crates/itoa/itoa-1.0.10.crate \ + https://static.crates.io/crates/jobserver/jobserver-0.1.27.crate \ + https://static.crates.io/crates/js-sys/js-sys-0.3.66.crate \ + https://static.crates.io/crates/lab/lab-0.11.0.crate \ + https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \ + https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \ + https://static.crates.io/crates/libc/libc-0.2.152.crate \ + https://static.crates.io/crates/libdav1d-sys/libdav1d-sys-0.6.0.crate \ + https://static.crates.io/crates/libfuzzer-sys/libfuzzer-sys-0.4.7.crate \ + https://static.crates.io/crates/libgit2-sys/libgit2-sys-0.16.1+1.7.1.crate \ + https://static.crates.io/crates/libloading/libloading-0.8.1.crate \ + https://static.crates.io/crates/libz-sys/libz-sys-1.1.14.crate \ + https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.4.12.crate \ + https://static.crates.io/crates/log/log-0.4.20.crate \ + https://static.crates.io/crates/maybe-rayon/maybe-rayon-0.1.1.crate \ + https://static.crates.io/crates/memchr/memchr-2.7.1.crate \ + https://static.crates.io/crates/minimal-lexical/minimal-lexical-0.2.1.crate \ + https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.7.1.crate \ + https://static.crates.io/crates/nasm-rs/nasm-rs-0.2.5.crate \ + https://static.crates.io/crates/new_debug_unreachable/new_debug_unreachable-1.0.4.crate \ + https://static.crates.io/crates/nom/nom-7.1.3.crate \ + https://static.crates.io/crates/noop_proc_macro/noop_proc_macro-0.3.0.crate \ + https://static.crates.io/crates/nu-ansi-term/nu-ansi-term-0.46.0.crate \ + https://static.crates.io/crates/num-bigint/num-bigint-0.4.4.crate \ + https://static.crates.io/crates/num-derive/num-derive-0.4.1.crate \ + https://static.crates.io/crates/num-integer/num-integer-0.1.45.crate \ + https://static.crates.io/crates/num-rational/num-rational-0.4.1.crate \ + https://static.crates.io/crates/num-traits/num-traits-0.2.17.crate \ + https://static.crates.io/crates/object/object-0.32.2.crate \ + https://static.crates.io/crates/once_cell/once_cell-1.19.0.crate \ + https://static.crates.io/crates/oorandom/oorandom-11.1.3.crate \ + https://static.crates.io/crates/overload/overload-0.1.1.crate \ + https://static.crates.io/crates/paste/paste-1.0.14.crate \ + https://static.crates.io/crates/peeking_take_while/peeking_take_while-0.1.2.crate \ + https://static.crates.io/crates/percent-encoding/percent-encoding-2.3.1.crate \ + https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.13.crate \ + https://static.crates.io/crates/pkg-config/pkg-config-0.3.28.crate \ + https://static.crates.io/crates/plotters-backend/plotters-backend-0.3.5.crate \ + https://static.crates.io/crates/plotters-svg/plotters-svg-0.3.5.crate \ + https://static.crates.io/crates/plotters/plotters-0.3.5.crate \ + https://static.crates.io/crates/png/png-0.17.10.crate \ + https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.17.crate \ + https://static.crates.io/crates/predicates-core/predicates-core-1.0.6.crate \ + https://static.crates.io/crates/predicates-tree/predicates-tree-1.0.9.crate \ + https://static.crates.io/crates/predicates/predicates-3.0.4.crate \ + https://static.crates.io/crates/pretty_assertions/pretty_assertions-1.4.0.crate \ + https://static.crates.io/crates/prettyplease/prettyplease-0.2.16.crate \ + https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.76.crate \ + https://static.crates.io/crates/profiling-procmacros/profiling-procmacros-1.0.13.crate \ + https://static.crates.io/crates/profiling/profiling-1.0.13.crate \ + https://static.crates.io/crates/quickcheck/quickcheck-1.0.3.crate \ + https://static.crates.io/crates/quote/quote-1.0.35.crate \ + https://static.crates.io/crates/rand/rand-0.8.5.crate \ + https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \ + https://static.crates.io/crates/rand_core/rand_core-0.6.4.crate \ + https://static.crates.io/crates/rayon-core/rayon-core-1.12.0.crate \ + https://static.crates.io/crates/rayon/rayon-1.8.0.crate \ + https://static.crates.io/crates/regex-automata/regex-automata-0.4.3.crate \ + https://static.crates.io/crates/regex-syntax/regex-syntax-0.8.2.crate \ + https://static.crates.io/crates/regex/regex-1.10.2.crate \ + https://static.crates.io/crates/rustc-demangle/rustc-demangle-0.1.23.crate \ + https://static.crates.io/crates/rustc-hash/rustc-hash-1.1.0.crate \ + https://static.crates.io/crates/rustix/rustix-0.38.28.crate \ + https://static.crates.io/crates/ryu/ryu-1.0.16.crate \ + https://static.crates.io/crates/same-file/same-file-1.0.6.crate \ + https://static.crates.io/crates/scan_fmt/scan_fmt-0.2.6.crate \ + https://static.crates.io/crates/semver/semver-1.0.21.crate \ + https://static.crates.io/crates/serde-big-array/serde-big-array-0.5.1.crate \ + https://static.crates.io/crates/serde/serde-1.0.195.crate \ + https://static.crates.io/crates/serde_derive/serde_derive-1.0.195.crate \ + https://static.crates.io/crates/serde_json/serde_json-1.0.111.crate \ + https://static.crates.io/crates/serde_spanned/serde_spanned-0.6.5.crate \ + https://static.crates.io/crates/sharded-slab/sharded-slab-0.1.7.crate \ + https://static.crates.io/crates/shlex/shlex-1.2.0.crate \ + https://static.crates.io/crates/signal-hook-registry/signal-hook-registry-1.4.1.crate \ + https://static.crates.io/crates/signal-hook/signal-hook-0.3.17.crate \ + https://static.crates.io/crates/simd-adler32/simd-adler32-0.3.7.crate \ + https://static.crates.io/crates/simd_helpers/simd_helpers-0.1.0.crate \ + https://static.crates.io/crates/smallvec/smallvec-1.11.2.crate \ + https://static.crates.io/crates/syn/syn-2.0.48.crate \ + https://static.crates.io/crates/system-deps/system-deps-6.2.0.crate \ + https://static.crates.io/crates/target-lexicon/target-lexicon-0.12.13.crate \ + https://static.crates.io/crates/terminal_size/terminal_size-0.3.0.crate \ + https://static.crates.io/crates/termtree/termtree-0.4.1.crate \ + https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.56.crate \ + https://static.crates.io/crates/thiserror/thiserror-1.0.56.crate \ + https://static.crates.io/crates/thread_local/thread_local-1.1.7.crate \ + https://static.crates.io/crates/tinytemplate/tinytemplate-1.2.1.crate \ + https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \ + https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate \ + https://static.crates.io/crates/toml/toml-0.8.8.crate \ + https://static.crates.io/crates/toml_datetime/toml_datetime-0.6.5.crate \ + https://static.crates.io/crates/toml_edit/toml_edit-0.21.0.crate \ + https://static.crates.io/crates/tracing-attributes/tracing-attributes-0.1.27.crate \ + https://static.crates.io/crates/tracing-chrome/tracing-chrome-0.7.1.crate \ + https://static.crates.io/crates/tracing-core/tracing-core-0.1.32.crate \ + https://static.crates.io/crates/tracing-log/tracing-log-0.2.0.crate \ + https://static.crates.io/crates/tracing-subscriber/tracing-subscriber-0.3.18.crate \ + https://static.crates.io/crates/tracing/tracing-0.1.40.crate \ + https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.14.crate \ + https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.12.crate \ + https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.22.crate \ + https://static.crates.io/crates/unicode-width/unicode-width-0.1.11.crate \ + https://static.crates.io/crates/url/url-2.5.0.crate \ + https://static.crates.io/crates/utf8parse/utf8parse-0.2.1.crate \ + https://static.crates.io/crates/v_frame/v_frame-0.3.7.crate \ + https://static.crates.io/crates/valuable/valuable-0.1.0.crate \ + https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \ + https://static.crates.io/crates/version-compare/version-compare-0.1.1.crate \ + https://static.crates.io/crates/wait-timeout/wait-timeout-0.2.0.crate \ + https://static.crates.io/crates/walkdir/walkdir-2.4.0.crate \ + https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \ + https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.89.crate \ + https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.89.crate \ + https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.89.crate \ + https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.89.crate \ + https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.89.crate \ + https://static.crates.io/crates/web-sys/web-sys-0.3.66.crate \ + https://static.crates.io/crates/which/which-4.4.2.crate \ + https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ + https://static.crates.io/crates/winapi-util/winapi-util-0.1.6.crate \ + https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ + https://static.crates.io/crates/winapi/winapi-0.3.9.crate \ + https://static.crates.io/crates/windows-sys/windows-sys-0.48.0.crate \ + https://static.crates.io/crates/windows-sys/windows-sys-0.52.0.crate \ + https://static.crates.io/crates/windows-targets/windows-targets-0.48.5.crate \ + https://static.crates.io/crates/windows-targets/windows-targets-0.52.0.crate \ + https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.5.crate \ + https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.52.0.crate \ + https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.5.crate \ + https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.52.0.crate \ + https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.5.crate \ + https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.52.0.crate \ + https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.5.crate \ + https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.52.0.crate \ + https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.5.crate \ + https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.52.0.crate \ + https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.5.crate \ + https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.52.0.crate \ + https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.5.crate \ + https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.52.0.crate \ + https://static.crates.io/crates/winnow/winnow-0.5.33.crate \ + https://static.crates.io/crates/y4m/y4m-0.8.0.crate \ + https://static.crates.io/crates/yansi/yansi-0.5.1.crate" +MD5SUM="2e48f60bea23049a750f0721e30cdd54 \ + 55e15000c4c210f0bb2aca6f38fbe424 \ + 669215548c64019c08c92b2c1afd3deb \ + 95e5f8d0b7ab37171b8d3118542ba06a \ + a5edbb16fb71d6000e6978cba3dbce14 \ + 2764314f4afc9f9751d60ebad48f6ea6 \ + e188f6de00a35235da008cd39e1a003d \ + b06d6c6d9a7bdcdd9bf78f20f2d08f01 \ + 87cc1a50f0dcc09d7223df42eae95119 \ + b4f71ffecd3694a82ffb62c357d997a8 \ + 707d92b6f4d9920a0b25f69f5291c826 \ + bf22fd51c3068951104ac0aaaf1cb637 \ + c1a0202e60c31330720a70210f0d0080 \ + 5f1f0d90556bfcd0fb1b1f021912e949 \ + 504b5d258d68bdb980c997b93f0c6e6e \ + 74e97e374c0c05d2dffc9568b7e135b8 \ + 05d77ef52e90ad161fdd41b252420467 \ + bd71ce85e6db425c2d389ff381ae8c75 \ + 897bb747c1bffb5f7fe96d70d4619d3c \ + 66c5beb5a77eccb0d86ce626651f393b \ + 8b2b25ee633885681e30646249d211f4 \ + a295edb6953237ebbdfa8e731229f9a3 \ + ebcf604c44976809506192718f439dc1 \ + e5c11658b166fd63536c18febc5a0cc8 \ + 20f5631bb8dce73c1388fd70feb9192a \ + e65a89875d146a27ac9b4be1746288cc \ + d8cacbb844fca8c0ca102c7576946131 \ + 9dd8e437188fced85429d9d0d9db145f \ + 45339d90b2b3a4f123af5ec459954102 \ + f686e99053239b98e9aca46c3e06c6f9 \ + 9241fa90ea8b17c00010be46c9aa1ac5 \ + 10b68ba1e7093d889e9198dcd0ea2a3e \ + 5b0d8b9306028a9b56fda9066c1f157a \ + 74634128440dbc3766bda76fdf0aaa05 \ + aa7628187a64682bef0500d38db6b309 \ + 435b8bef0d3bd0b0ab5297728f1073c2 \ + 43f8415008eb5775962023405a445462 \ + 888f3db20a6784c43e1d68bb8ca2f9a0 \ + fc7602116b7e1f2f6572fa81bf5c4ecd \ + 9a95be61db13af4b6b57bc19015e90da \ + 8341a1dfb0532fd7574a295470513720 \ + 08b9a34eadbb01ac16e36694e53eb254 \ + 8f177f61a37d63f805acb925b30a0e58 \ + ee1260862a62c0d8824b664a1abda7b8 \ + 010f6d0e98cc2a2b99907a23c6cd6bbc \ + 81b27d290b68620784d664b46394ae46 \ + a9d6492a1bd21d93dbc27c32eabd0c70 \ + 4cb359fe1ce3ec8463a78cabc468037e \ + c3ca987d21c9d0af2c1e9794f70e7175 \ + 4093130fbcb4cc266e967cf25d744db8 \ + 396f4f63322338c26d76b2f638646178 \ + 44505199ec0964feb5488051b4ac92d5 \ + 8479d87e6c3e396334e8701475e085bf \ + 398f4cce1d3067cc7a56662e52a33384 \ + 852778f7d6efdb9009f9539bf1966b29 \ + 434e2423f372fed80f69ed8873fdd2a3 \ + bebc8338ae113a87a04564c97c1e3f0c \ + dd1e49c76e9d5853e673a3b41ba02917 \ + 3c3ab76bd9ed94de350152f1af4c61e8 \ + 95a243b2d7c30018a643e218b3c5d693 \ + 3fa75bcd254d37247ec3e97bad1dd445 \ + bdf329a72ecd0605c296f25e53136706 \ + 349e0ae5420f0b7e6ff835cd03cc7428 \ + 597b5678e74f368f512931d828e8ff97 \ + 90dd7e5de8d668d26234ac4e308ef6a2 \ + 110e56f20886997bc288b6fea8617ce1 \ + c3e51926c9853b714191ef1bec90e2ce \ + ba5684833f6b40a3aa32ae4989c40f79 \ + fbc6f6d82084b19c006198508b1ac489 \ + b715373f9fd133773fb24f299e11f588 \ + 2d6d28ec311884da69bcaf320ada8ad5 \ + fea840ce07a32bdace46c59c41362f3b \ + 3451a2e54a12d567bbb1bf2815aedc37 \ + b92fa50f56a1e06a7f1bf665442d4a73 \ + b5fc3a27c94dc7bab487e15228c82d58 \ + d81f9251921f8a289dcf69fe4ccc3788 \ + b5305bde14813da51d536a9df564db69 \ + b6ae94522dcb19c7e8248b25d3cf725c \ + f429c89da1e2d0ba564a0cb5e2ed928c \ + 5da39427e196c0609d3d5aee2635c0db \ + dfdd094e13ba782ccdea70f0867b66d9 \ + 20b9f5d97aaf06b0f580f12860b67ba8 \ + d629ca093dfd23b5e9b4262c5f801928 \ + 49d3ae8e46ac6a01fe3e590f755bcb32 \ + 0403f58e42c94609207c40a310cfe78a \ + 9aaf13d622cd02548feaaca35687da9c \ + 6b33b0539f6c25c66268868b6b61e240 \ + 6e07b9fe1df76f96f75843ad332d4b7e \ + fba3b040a55c01be7376d3dd5c4d4920 \ + 23cc9e52c52465f5b225e62ab7cc3457 \ + 9260aed7d90428c1a4d04b0d0efcae47 \ + a53fc4c00f3cbd681afaacf70129ed40 \ + fc0b36ba61e728780ae755ee4353b939 \ + 5fbf6c7a4728d530f3dcec869dc1e1d7 \ + feb5919f3a98172d047e10b0bc1ea5ae \ + ebb675b20a027de8d713aaa175bf601c \ + 1d1b2033b4272a22654e55447ae7f404 \ + 8ee79b4fe4c43d9ab09f16344612a656 \ + a84f2eb0538582f5449a70ccdd1940bb \ + f8cc1978aae22df3e656d12810cdf994 \ + 8b708bc4b33c5e1683467444c9ed41b0 \ + eb7e04508518ed8f29935ec874e1740a \ + 3a4b59ef1201a1a7e3d469f6a0d6281f \ + 75b8063cab37a099b45204f2e6b1738f \ + f17aecb8887cf0ecd823623160aed7db \ + a584467fc24841b97d682fe620dfe708 \ + a56461a712a83abc691cf473d1835228 \ + 29dc2c0d8955325173a3f13b2b00833d \ + 11f77e04b55da2bc9779e4b54b46924a \ + 073b4c53e303ccf2a807dfce7f5e986a \ + 00ebf3254ed74711c1f6717de3012350 \ + 512bcd4470f351b2049adeb39cfcdec4 \ + 0d98aaf27d3cace75f9959c04b910891 \ + 8390247ae7126c00e162732b249be9d7 \ + 6b79a1dbccc9351cbc297cfa3d98d651 \ + 03a7ad2814bd9dd34e0acec8ca4f855e \ + 1781b204ec7b6b1ef9232d429e6a973a \ + 7e264bc8f23a45ad680668cb5e57d9fd \ + 0ba30a94d7b8865c23e86d4d64e5b91e \ + ffc7c4e1b2639ba6c8579a1c47c5f97c \ + 76c281577ef136b9484166302e37c9bd \ + bd8a914851fd9e6351082f98b7e7fa84 \ + a6b32988425a3fcfa02e2330d47715a1 \ + 24171d9c31ec6e5ccb4cb2ab5494d0c0 \ + 7b5035f3ae2acd6abe959249308bb5a1 \ + 5c69337d37e58a380e00eac9ce0373bb \ + be08d75820c528ad6143e9e42efccee0 \ + 175aaa67c5c9a4c8de2b944d51d0753d \ + 21574d08e3527cc2d944698767770300 \ + 20bc0926b659e86cc5ea66cf928caec9 \ + fe30a91ded3a5f597b461049f4600d7a \ + 43e3e8b01023835d05b82befc379769d \ + c3c9b656c849ac21c80420422bfa0b28 \ + 1148019c3131495e0b5d21f758c6ee74 \ + 08fb966593abcba7e24aced65041140c \ + 0358b31bf59c7915bb03f9e66f2d1ea3 \ + ee7a5f842c39bc47c474196e83b0df5f \ + e30085994bbeb4b7f4895d48216d5476 \ + a1626b8f4d165b1b60d960862eba4cf0 \ + 4311e7e5548d3aaa04ffea5334fc50e0 \ + 00056853ca41c1a1448253be06daf010 \ + 4f496143a21775fa7bd22bf329c37f37 \ + 91b60a71d44302a8b05bd398eca56c37 \ + e90f2809a34e2bea0bd5c1120475fb36 \ + 24fcbc2986fad09b25c9a4f9aef0a9e4 \ + 7b1261ea730a9314bc9bcdf4a379bf98 \ + 47d0bafb79db67c4259e3420c62a986c \ + ca664d757b2c95424cf3465e412cce90 \ + 2d8d8b377d144f5e32b4f65a69eb0b24 \ + 1622097aab95577f9928753c4a6d1f0d \ + d5a0497966ae82c3135c35dcb4adb2ce \ + 62155a1301911b45ae271b4d95b29890 \ + b06eef93ebb5e19add49130759742f85 \ + 76d424197546cc4f652f78d47cf3f6d6 \ + a46d4413032296761522d91b24bd759b \ + fa0d5d4e1e3bd20a9ca9aef473fc3665 \ + 96261f3cee18842060fd64d618e056d8 \ + 40b02ab40fd4f24ce2f9cd8a9e8d1ccf \ + 22e95901b912671da26457ac33e36a23 \ + f60ab8537f924a65fbc0961e958d375b \ + d0116882bd495f2b993495a8cf01f6fe \ + 3fa17e3e59c041e59e715c6d4e7a15b3 \ + a88ce3625ee63d53088ad83d8581b368 \ + 5651bc86f3df47d241d2ae58dc4b89a5 \ + 5adeeae2556cf35ea01cf752b225023c \ + 6fcaf1210522a40331da196c97b33f9d \ + b7eae58d7a80112442643ee2ff481ef7 \ + b1372e62f53f0ad8d19a2be135c10c9d \ + ca563eabbf7fc0b717b5d2bcc28ae60c \ + b1331d546ad9e4097c50abb592251043 \ + 4375c6756918c2e9080870b4a7489d4e \ + a160b14e423954c978ca95aa78ca4210 \ + 5f0470696baaa4e5953bddbf196998f9 \ + c678a7da0ee4b850ebde0474144a0415 \ + b7a1b93f85587ed99e0a46d141f26528 \ + 9aecd5ff283534a21d7cd51266abfe89 \ + 8184f2020a3a5c78844485260ec49a36 \ + 9dd610282e23bbd40016697350c1babb \ + da71d807e7fa1ae0e6838d8bfc3509c4 \ + a6655e5e9845cb569991e87b5b38a1fc \ + beede1fdd5ce9840d395abc905d8ab3e \ + 7e2eeef14bb62adaf15f1e921538adaa \ + 0a906c03436ec2dcc4c311c21fee0da2 \ + e74b10f7b4d0c167434d02bcc02ab18f \ + ca65153603a1a7240bbd9d2ce19f2d67 \ + c12d182417999fc365f952e701f6071f \ + 908ec8a89821b72f3a35726bab24461f \ + e547b0e754cd61f24f9ef8c9e26fcd95 \ + ceee1159c41351d05f4cf705490867b3 \ + bcd11e3d4a1b1d354131993ab36cd4e1 \ + 4efc6e7a118524cecefa0023a18accf7 \ + e900a384ac7dbb320fe6a7279fbfef89 \ + d4e6a3f2d7286408592d08defd7de156 \ + 6708629acf3d2ecb7404e43255d2df85 \ + 96481ed810273371ed8b87f062a0dcda \ + e972ea58ec203bfa6c79c1207852298b \ + 27e1a4ac927346509cf010b024c79e87 \ + 90f2e8c0ca989290eff37cd9b3ec2a87 \ + 9202e1b9c6367013631774f38fdff707 \ + f00d62969f597349b1d460c96b57136c \ + 7f115ec6580072e95e26ab41f3fabb84 \ + e97f7d5779474c95cf1a1769013db24e \ + 9f0ad88c4840b999e28531dee406432d \ + db96b50050277bf05a3c68534bbb9586 \ + 306c0281447d1876e8220007b7a7e053 \ + 09de9d01e7331ff3da11f58be8bef0df \ + 0498c4a11448bfc35dc7bb2caa64c753 \ + f2797ade0e36f1e5d6be9d11b5076582 \ + 2376de634160158ece40c4bc2ab3eb41 \ + 24c64817e85ef77765ed0f26c31c9b4c \ + 7ff44db201b805c60b7894e6e51a5580 \ + dae6d89034a6988042fd8be4cf5e037d \ + cd2efc4af413b9d1380761255c7a22ff \ + de2839e16d9d7a9fd1c397da62f62b4a \ + 5b2c6ccb94c770d0ed85f7a844bf001e \ + e0c35ffb8cfdb74a39bf799811f79304 \ + 467f51d4cfb646d0c8fecfa008dbf52d \ + d990172b607020701f9e84ca8e1c043c \ + 9afb70c460db38399bf95ec015f07435 \ + 0a68848588e847ceccf504891584d00b \ + f34ea4d81690ec402b6f0d9e54e8baa4 \ + 45b469ad607b912256b7c80141fa2d17 \ + 591c68ecc1dded36344429f427bbfabc \ + 7799baff9a5664205d9110a2624e8989 \ + 29bbf3d9160d2545d528d0b2d7492333 \ + 75e36a8e192755c8f61df04c25d2703f \ + 89b4034c1b5577f57b3014aaf583dabe \ + f5a883f6e013c5dcedc0c13d3096c612" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="cargo-c" +MAINTAINER="Alexander Verbovetsky" +EMAIL="alik@ejik.org" diff --git a/multimedia/rav1e/slack-desc b/multimedia/rav1e/slack-desc new file mode 100644 index 0000000000..225cd6c174 --- /dev/null +++ b/multimedia/rav1e/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------------------------------------------------------| +rav1e: rav1e (AV1 encoder) +rav1e: +rav1e: +rav1e: rav1e is the fastest and safest AV1 video encoder. It is designed to +rav1e: eventually cover all use cases, though in its current form it is most +rav1e: suitable for cases where aom (the reference encoder) is too slow. +rav1e: +rav1e: +rav1e: Homepage: https://github.com/xiph/rav1e/ +rav1e: +rav1e: diff --git a/multimedia/ripit/README b/multimedia/ripit/README index 3a86bf699e..45a5ed58d4 100644 --- a/multimedia/ripit/README +++ b/multimedia/ripit/README @@ -3,8 +3,8 @@ ripit (command line audio CD ripper) RipIT is used to create MPEG-1 Layer 3 (mp3) using Lame, or uses Flac (flac), Ogg Vorbis (ogg), Faac (m4a), Musepack (mpc), mp4als (als), Wavpack (wv) or ffmpeg to convert audio files (wav) extracted from an -audio CD. It is a console based front-end (no GUI here), written in Perl, -for various programs which must be installed. +audio CD. It is a console based front-end (no GUI here), written in +Perl, for various programs which must be installed. RipIT has *many* optional dependencies; see README_SBo.txt for details. @@ -14,7 +14,7 @@ and config file options. See its man page and the comments in The program will do the following without user intervention: -* get the audio CD Album/Artist/Tracks information from MusicBrainz or freeCDDB +* get the audio CD Album/Artist/Tracks info from MusicBrainz or freeCDDB * rip the audio CD Tracks * encode to Flac, mp3, Ogg-Vorbis, mpc, m4a or als * id3 tag encoded songs diff --git a/multimedia/ripit/ripit.SlackBuild b/multimedia/ripit/ripit.SlackBuild index 9ab2b78a9d..302c9cf6e2 100644 --- a/multimedia/ripit/ripit.SlackBuild +++ b/multimedia/ripit/ripit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ripit # Formerly maintained by Ryan P.C. McQuen <email removed> -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # Copyright 2011 Grigorios Bouzakis <email removed> # All rights reserved. diff --git a/multimedia/ripit/ripit.info b/multimedia/ripit/ripit.info index 224ac72e2e..2947b2cd06 100644 --- a/multimedia/ripit/ripit.info +++ b/multimedia/ripit/ripit.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-CDDB-get" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/ripperX/README b/multimedia/ripperX/README index 35f4d3bce8..514875296b 100644 --- a/multimedia/ripperX/README +++ b/multimedia/ripperX/README @@ -1,4 +1,4 @@ -RipperX is a GTK program to rip CD audio tracks and encode them to the Ogg, -MPE, or FLAC formats. Its goal is to be easy to use, requiring only a few -mouse clicks to convert an entire album. It supports CDDB lookups for album -and track information. +RipperX is a GTK program to rip CD audio tracks and encode them to the +Ogg, MPE, or FLAC formats. Its goal is to be easy to use, requiring +only a few mouse clicks to convert an entire album. It supports CDDB +lookups for album and track information. diff --git a/multimedia/rosa-media-player/README b/multimedia/rosa-media-player/README index 73016cb31f..d6427816af 100644 --- a/multimedia/rosa-media-player/README +++ b/multimedia/rosa-media-player/README @@ -1,16 +1,15 @@ ROMP (ROSA Media Player) Rosa Media Player (ROMP) - multimedia player that supports most of -audio and video formats such as Audio CD, DVD, Video CD, -multimedia files in AVi, ASF/WMV/WMA, MOV/MP4, RealMedia, Ogg Vorbis, -NUT, NSV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM (.cpk), -RoQ, PVA and Matroska formats recorded with video codecs - DivX , -MPEG-1, MPEG-2, MPEG-4, Sorenson, WMV, RealVideo, x264 -and audio codecs MP3, Musepack, Vorbis, RealAudio, AC3/A52 (Dolby Digital), -AAC (MPEG-4 audio), QuickTime, VIVO audio and WMA -and many other less widespread video and audio codecs. -It also supports streaming via HTTP/FTP, RTP/RTSP, MMS/MMST, MPST, -SDP, capture and record (via mencoder) of television signal. +audio and video formats such as Audio CD, DVD, Video CD, multimedia +files in AVi, ASF/WMV/WMA, MOV/MP4, RealMedia, Ogg Vorbis, NUT, NSV, +VIVO, FLI, NuppelVideo, yuv4mpeg, FILM (.cpk), RoQ, PVA and Matroska +formats recorded with video codecs - DivX , MPEG-1, MPEG-2, MPEG-4, +Sorenson, WMV, RealVideo, x264 and audio codecs MP3, Musepack, Vorbis, +RealAudio, AC3/A52 (Dolby Digital), AAC (MPEG-4 audio), QuickTime, +VIVO audio and WMA and many other less widespread video and audio +codecs. It also supports streaming via HTTP/FTP, RTP/RTSP, MMS/MMST, +MPST, SDP, capture and record (via mencoder) of television signal. ROMP allows you to trim a particular piece of video, extract audio -from multimedia files and record screen presentations and -many other things. +from multimedia files and record screen presentations and many other +things. diff --git a/multimedia/rosa-media-player/rosa-media-player.SlackBuild b/multimedia/rosa-media-player/rosa-media-player.SlackBuild index cea23e00fc..4081a0db72 100644 --- a/multimedia/rosa-media-player/rosa-media-player.SlackBuild +++ b/multimedia/rosa-media-player/rosa-media-player.SlackBuild @@ -13,15 +13,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac 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 @@ -31,8 +28,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -56,22 +53,23 @@ cd $PRGNAM 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -make PREFIX=/usr \ -DOC_PATH=\\\"/usr/doc/$PRGNAM-$VERSION\\\" + make PREFIX=/usr \ + DOC_PATH=\\\"/usr/doc/$PRGNAM-$VERSION\\\" \ + QMAKE=qmake-qt4 \ + LRELEASE=lrelease-qt4 make \ -PREFIX=/usr \ -DOC_PATH=/usr/doc/$PRGNAM-$VERSION \ -DESTDIR=$PKG install + PREFIX=/usr \ + DOC_PATH=/usr/doc/$PRGNAM-$VERSION \ + DESTDIR=$PKG install -find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +strip $PKG/usr/bin/$PRGNAM cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/rosa-media-player/rosa-media-player.info b/multimedia/rosa-media-player/rosa-media-player.info index 303ba8d4eb..8690f66445 100644 --- a/multimedia/rosa-media-player/rosa-media-player.info +++ b/multimedia/rosa-media-player/rosa-media-player.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/rosa-media-player-1.0.tar.gz" MD5SUM="8c3877fc2fd1cecb146ef6bbbaed6823" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Anton Chernyshov" EMAIL="ach@rosalab.ru" diff --git a/multimedia/rpi-imager/README b/multimedia/rpi-imager/README new file mode 100644 index 0000000000..26e93d3a18 --- /dev/null +++ b/multimedia/rpi-imager/README @@ -0,0 +1,3 @@ +Raspberry Pi Imager is the quick and easy way to install Raspberry Pi +OS and other operating systems to a microSD card, ready to use with +your Raspberry Pi. diff --git a/multimedia/plex-home-theater/doinst.sh b/multimedia/rpi-imager/doinst.sh index 65c7e2eeb9..65c7e2eeb9 100644 --- a/multimedia/plex-home-theater/doinst.sh +++ b/multimedia/rpi-imager/doinst.sh diff --git a/multimedia/rpi-imager/remove_update_checking.patch b/multimedia/rpi-imager/remove_update_checking.patch new file mode 100644 index 0000000000..f1e5d6b284 --- /dev/null +++ b/multimedia/rpi-imager/remove_update_checking.patch @@ -0,0 +1,17 @@ +diff --color --unified --recursive --text orig/src/main.qml new/src/main.qml +--- orig/src/main.qml 2023-11-18 09:52:10.767398847 +0100 ++++ new/src/main.qml 2023-11-18 09:53:12.521334474 +0100 +@@ -1500,13 +1500,6 @@ + } + } + } +- +- if (imageWriter.getBoolSetting("check_version") && "latest_version" in imager && "url" in imager) { +- if (!imageWriter.isEmbeddedMode() && imageWriter.isVersionNewer(imager["latest_version"])) { +- updatepopup.url = imager["url"] +- updatepopup.openPopup() +- } +- } + if ("default_os" in imager) { + selectNamedOS(imager["default_os"], osmodel) + } diff --git a/multimedia/rpi-imager/rpi-imager.SlackBuild b/multimedia/rpi-imager/rpi-imager.SlackBuild new file mode 100644 index 0000000000..38f5d83136 --- /dev/null +++ b/multimedia/rpi-imager/rpi-imager.SlackBuild @@ -0,0 +1,122 @@ +#!/bin/bash + +# Slackware build script for rpi-imager + +# Copyright 2023 suncon The Earth +# Copyright 2024 Jay Lanagan (j@lngn.net), Detroit, MI, USA. +# 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=rpi-imager +VERSION=${VERSION:-1.8.5} +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 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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +# patch out the debian update check +patch -Np1 -i $CWD/remove_update_checking.patch + +mkdir -p build +cd build + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +cmake -S ../src \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -G Ninja + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +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/man/man1 +cp -a doc/man/rpi-imager.1 $PKG/usr/man/man1/ + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a license.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/rpi-imager/rpi-imager.info b/multimedia/rpi-imager/rpi-imager.info new file mode 100644 index 0000000000..eaae10512a --- /dev/null +++ b/multimedia/rpi-imager/rpi-imager.info @@ -0,0 +1,10 @@ +PRGNAM="rpi-imager" +VERSION="1.8.5" +HOMEPAGE="https://github.com/raspberrypi/rpi-imager/" +DOWNLOAD="https://github.com/raspberrypi/rpi-imager/archive/v1.8.5/rpi-imager-1.8.5.tar.gz" +MD5SUM="6d09b83ff545135bc2cec405df186bcb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jay Lanagan" +EMAIL="j@lngn.net" diff --git a/multimedia/rpi-imager/slack-desc b/multimedia/rpi-imager/slack-desc new file mode 100644 index 0000000000..0513b319cb --- /dev/null +++ b/multimedia/rpi-imager/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------------------------------------------------------| +rpi-imager: rpi-imager (Raspberry Pi Imaging Utility) +rpi-imager: +rpi-imager: User-friendly tool for creating bootable media for Raspberry Pi +rpi-imager: devices. +rpi-imager: +rpi-imager: Homepage: https:/github.com/raspberrypi/rpi-imager +rpi-imager: +rpi-imager: +rpi-imager: +rpi-imager: +rpi-imager: diff --git a/multimedia/rygel/README b/multimedia/rygel/README new file mode 100644 index 0000000000..e9011f7324 --- /dev/null +++ b/multimedia/rygel/README @@ -0,0 +1,16 @@ +Rygel is a home media solution that allows you to easily share audio, +video and pictures, and control of media player on your home network. +In technical terms it is both a UPnP AV MediaServer and MediaRenderer +implemented through a plug-in mechanism. Interoperability with other +devices in the market is achieved by conformance to very strict +requirements of DLNA and on the fly conversion of media to format that +client devices are capable of handling. + +Note: On Slackware the rygel daemon must be started and stopped +manually. There are controls to start/stop the daemon in the +gnome-control-center "Sharing" panel, but these controls are hard-coded +to talk to systemd and will not start/stop the daemon. Instead, the +daemon can be run directly from its installed path of: + + /usr/bin/rygel + diff --git a/multimedia/rygel/doinst.sh b/multimedia/rygel/doinst.sh new file mode 100644 index 0000000000..4a25de5e6f --- /dev/null +++ b/multimedia/rygel/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/rygel/rygel.SlackBuild index 7d5d2f478d..6bf16762c2 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild +++ b/multimedia/rygel/rygel.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for gst-plugins-bad +# Slackware build script for rygel -# Copyright 2013-2021 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2023, Bob Funk, Winnipeg Canada # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=gst-plugins-bad -VERSION=${VERSION:-1.18.5} +PRGNAM=rygel +VERSION=${VERSION:-0.41.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -64,12 +61,6 @@ else LIBDIRSUFFIX="" fi -if [ "${CUDA:-no}" != "no" ]; then - cuda="" -else - cuda="--disable-cuda --disable-nvdec --disable-nvenc" -fi - set -e rm -rf $PKG @@ -80,10 +71,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; mkdir build cd build @@ -97,23 +88,26 @@ cd build --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ - -Dexamples=disabled \ - -Dopencv=disabled + -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install cd .. -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 +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING* ChangeLog NEWS RE* \ + AUTHORS COPYING COPYING.logo NEWS README.md \ $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/rygel/rygel.info b/multimedia/rygel/rygel.info new file mode 100644 index 0000000000..56702c540b --- /dev/null +++ b/multimedia/rygel/rygel.info @@ -0,0 +1,10 @@ +PRGNAM="rygel" +VERSION="0.41.2" +HOMEPAGE="https://gitlab.gnome.org/GNOME/rygel" +DOWNLOAD="https://download.gnome.org/sources/rygel/0.41/rygel-0.41.2.tar.xz" +MD5SUM="38b76ca6ad3876b29f40d94b89b6a9bd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="gupnp gupnp-av gupnp-dlna gst-editing-services libmediaart" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/multimedia/rygel/slack-desc b/multimedia/rygel/slack-desc new file mode 100644 index 0000000000..1ba0e53220 --- /dev/null +++ b/multimedia/rygel/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------------------------------------------------------| +rygel: rygel (UPnP AV MediaServer) +rygel: +rygel: Rygel is a home media solution that allows you to easily share audio, +rygel: video and pictures to other devices. +rygel: +rygel: Additionally, media player software may use Rygel to become a +rygel: MediaRenderer that may be controlled remotely. +rygel: +rygel: +rygel: https://gitlab.gnome.org/GNOME/rygel +rygel: diff --git a/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild index b65772339c..585e54bd02 100644 --- a/multimedia/schroedinger/schroedinger.SlackBuild +++ b/multimedia/schroedinger/schroedinger.SlackBuild @@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -53,8 +53,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,6 +103,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ln -s /usr/share/gtk-doc/html/schroedinger html ) +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/serviio/serviio.info b/multimedia/serviio/serviio.info index 347da16539..4b9d35f3fc 100644 --- a/multimedia/serviio/serviio.info +++ b/multimedia/serviio/serviio.info @@ -5,6 +5,6 @@ DOWNLOAD="http://download.serviio.org/releases/serviio-1.7.1.1-linux.tar.gz" MD5SUM="783009f30002510111d7698ce20f2846" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jdk" +REQUIRES="zulu-openjdk8" MAINTAINER="LuÃs Fernando Carvalho Cavalheiro" EMAIL="pessoal@profcavalheiro.com" diff --git a/multimedia/sfnt2woff/sfnt2woff.SlackBuild b/multimedia/sfnt2woff/sfnt2woff.SlackBuild index a20ab3a34d..b357def98c 100644 --- a/multimedia/sfnt2woff/sfnt2woff.SlackBuild +++ b/multimedia/sfnt2woff/sfnt2woff.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sfnt2woff +SRCNAM=woff-tools VERSION=${VERSION:-2009.10.03} SRCVER=20091003 BUILD=${BUILD:-1} @@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -67,9 +65,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $SRCNAM-$SRCVER +tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz +cd $SRCNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -80,13 +78,13 @@ find -L . \ # Ain't really much to the build process CC="cc $SLCKFLAGS" make -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 - # There's no "make install", but we can do that ourselves. mkdir -p $PKG/usr/bin cp -a sfnt2woff woff2sfnt $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 diff --git a/multimedia/sfnt2woff/sfnt2woff.info b/multimedia/sfnt2woff/sfnt2woff.info index f687f5ca67..1c9e706aeb 100644 --- a/multimedia/sfnt2woff/sfnt2woff.info +++ b/multimedia/sfnt2woff/sfnt2woff.info @@ -1,8 +1,8 @@ PRGNAM="sfnt2woff" VERSION="2009.10.03" -HOMEPAGE="https://github.com/wget/sfnt2woff" -DOWNLOAD="https://github.com/wget/sfnt2woff/archive/20091003/sfnt2woff-20091003.tar.gz" -MD5SUM="38f57b8a1925314ca918280c7536701e" +HOMEPAGE="https://github.com/wget/woff-tools" +DOWNLOAD="https://github.com/wget/woff-tools/archive/20091003/woff-tools-20091003.tar.gz" +MD5SUM="eca28571c45eb412099bb57a0b83ce5e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/shine/README b/multimedia/shine/README new file mode 100644 index 0000000000..4f8e863e97 --- /dev/null +++ b/multimedia/shine/README @@ -0,0 +1,5 @@ +shine is a fast MP3 Encoding library implemented in +fixed point arithmetic.It can be used to perform super +fast MP3 encoding on architectures without FPU. + +This is an optional dependency of FFmpeg. diff --git a/multimedia/shine/shine.SlackBuild b/multimedia/shine/shine.SlackBuild new file mode 100644 index 0000000000..14cac1b0cb --- /dev/null +++ b/multimedia/shine/shine.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for shine + +# Copyright 2022-2024 Vijay Marcel +# 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=shine +VERSION=${VERSION:-ab5e352_20230101} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +COMMIT=${COMMIT:-ab5e3526b64af1a2eaa43aa6f441a7312e013519} +COMMITDATE=${COMMITDATE:-20230101} + +if [ -z "$ARCH" ]; then +case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT + +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 {} \; + +./bootstrap +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-shared \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +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 --remove-section=.comment --remove-section=.note 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md COPYING ChangeLog $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/shine/shine.info b/multimedia/shine/shine.info new file mode 100644 index 0000000000..32ae886033 --- /dev/null +++ b/multimedia/shine/shine.info @@ -0,0 +1,10 @@ +PRGNAM="shine" +VERSION="ab5e352_20230101" +HOMEPAGE="https://github.com/toots/shine" +DOWNLOAD="https://github.com/toots/shine/archive/ab5e352/shine-ab5e3526b64af1a2eaa43aa6f441a7312e013519.tar.gz" +MD5SUM="1f8ac33d4819acf526b5de4a9a5c1bec" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/shine/slack-desc b/multimedia/shine/slack-desc new file mode 100644 index 0000000000..157b9346fb --- /dev/null +++ b/multimedia/shine/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------------------------------------------------------| +shine: shine (Fixed Point MP3 Encoder) +shine: +shine: shine is a fast MP3 Encoding library implemented in +shine: fixed point arithmetic.It can be used to perform super +shine: fast MP3 encoding on architectures without FPU. +shine: +shine: Homepage:https://github.com/toots/shine +shine: +shine: +shine: +shine: diff --git a/multimedia/shotcut/shotcut.SlackBuild b/multimedia/shotcut/shotcut.SlackBuild index 3cdac26587..7b7a27f02c 100644 --- a/multimedia/shotcut/shotcut.SlackBuild +++ b/multimedia/shotcut/shotcut.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=shotcut -VERSION=${VERSION:-18.11.18} +VERSION=${VERSION:-21.12.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,7 @@ find -L . \ # Fix libpng warning. # [Warning] <> libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG +rm -fR packaging/windows/Microsoft* # avoids find's choking for i in $(find . -name "*\.png"); do mv $i ${i}.old.png convert $i.old.png $i @@ -92,15 +93,22 @@ for i in $(find . -name "*\.png"); do rm $i.old.png done -qmake-qt5 PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ - CONFIG+=release SHOTCUT_VERSION="$VERSION" $PRGNAM.pro - +mkdir -p build +cd build +qmake PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ + CONFIG+=release SHOTCUT_VERSION="$VERSION" DEFINES+=SHOTCUT_NOUPGRADE .. make +lrelease ../translations/*.ts make install INSTALL_ROOT=$PKG +cd .. 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 +mv $PKG/usr/share/man $PKG/usr/man +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + find $PKG/usr/share/$PRGNAM -type f -exec chmod 0644 '{}' \; mkdir -p $PKG/usr/share/applications diff --git a/multimedia/shotcut/shotcut.info b/multimedia/shotcut/shotcut.info index a8a327e58d..1cf57d99db 100644 --- a/multimedia/shotcut/shotcut.info +++ b/multimedia/shotcut/shotcut.info @@ -1,8 +1,8 @@ PRGNAM="shotcut" -VERSION="18.11.18" +VERSION="21.12.24" HOMEPAGE="https://www.shotcut.org/" -DOWNLOAD="https://github.com/mltframework/shotcut/archive/v18.11.18/shotcut-18.11.18.tar.gz" -MD5SUM="60c7329716f3ac4b170a17073917a939" +DOWNLOAD="https://github.com/mltframework/shotcut/archive/v21.12.24/shotcut-21.12.24.tar.gz" +MD5SUM="4aa9c69e35b45d33c924376ea518f469" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack x264 ladspa_sdk" diff --git a/multimedia/sickchill/README b/multimedia/sickchill/README new file mode 100644 index 0000000000..bd6ad6e1f8 --- /dev/null +++ b/multimedia/sickchill/README @@ -0,0 +1,32 @@ +sickchill (Less rage, more chill.) + +Automatic Video Library Manager for TV Shows. It watches for new +episodes of your favorite shows, and when they are posted it does its +magic. + +NOTE: Requires sickchill user and group. + groupadd -g 377 sickchill + useradd -u 377 -g sickchill -d /var/lib/sickchill -s /bin/false sickchill + +If you previously had sickrage installed, please change the user and +group with the following: + + groupmod -n sickchill sickrage + usermod -l sickchill -g sickchill -d /var/lib/sickchill sickrage + +To have this start up with Slackware, please add the following to your +/etc/rc.d/rc.local: + +# Start sickrage +if [ -x /etc/rc.d/rc.sickrage ]; then + /etc/rc.d/rc.sickrage start +fi + +If you want it to shut down properly when Slackware restarts or shuts +down, please add the following to your /etc/rc.d/rc.local_shutdown +(it may need to be created): + +# Stop sickrage +if [ -x /etc/rc.d/rc.sickrage ]; then + /etc/rc.d/rc.sickrage stop +fi diff --git a/multimedia/sickchill/config.ini b/multimedia/sickchill/config.ini new file mode 100644 index 0000000000..b2e8361381 --- /dev/null +++ b/multimedia/sickchill/config.ini @@ -0,0 +1,3 @@ +[General] +log_dir = /var/log/sickchill +version_notify = 0 diff --git a/multimedia/mythtv/doinst.sh b/multimedia/sickchill/doinst.sh index 664ac506bf..26340579ec 100644 --- a/multimedia/mythtv/doinst.sh +++ b/multimedia/sickchill/doinst.sh @@ -4,7 +4,7 @@ config() { # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy rm $NEW fi @@ -22,11 +22,6 @@ preserve_perms() { config $NEW } -preserve_perms etc/rc.d/rc.mythbackend.new -config etc/logrotate.d/mythbackend.new -config etc/mythtv/config.xml.new -config etc/mythtv/mysql.txt.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi +preserve_perms etc/rc.d/rc.sickchill.new +config etc/sickchill.conf.new +config var/lib/sickchill/config.ini.new diff --git a/multimedia/sickchill/rc.sickchill b/multimedia/sickchill/rc.sickchill new file mode 100644 index 0000000000..f36eb79604 --- /dev/null +++ b/multimedia/sickchill/rc.sickchill @@ -0,0 +1,171 @@ +#!/bin/bash + +# Start/stop/restart sickchill. + +# Originally created for sickrage in 2016 +# Updated to sickchill in 2023 + +# Copyright 2016-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# 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. + +# Set program name in case you want to run sick{beard|rage|gear|etc} +PROG=${PROG:-sickchill} + +# If you want to have multiple instances of sickchill running, set +# the suffix here. +SUFFIX= + +# Set the full program name for folders +if [ -n "$SUFFIX" ]; then + FULLPROG="$PROG-$SUFFIX" +# Just use $PROG if there isn't a suffix set +else + FULLPROG="$PROG" +fi + +# Source SickRage configuration +if [ -f /etc/"$FULLPROG".conf ]; then + . /etc/"$FULLPROG".conf +fi + +# Ensure all required variables are set in conf file +# Edit conf file in /etc/$PROG-$SUFFIX.conf for any changes +MISSING=0 +for var in USERNAME HOMEDIR DATADIR PIDFILE PORT; do + if [ -z "${!var}" ]; then + ((MISSING++)) + VAR="$var $VAR" + fi +done +if [ $MISSING -gt 0 ]; then + echo "/etc/$FULLPROG.conf is missing some or all required variables ($VAR)." + echo "Please check the file and try again." +fi + +# Check if the program is running and pid file exists +check() +{ + if pgrep "$PROG" > /dev/null; then + # Check if the pidfile matches the running pid + if [ -e "$PIDFILE" ] && pgrep -f "$PIDFILE" > /dev/null; then + STATUS=running + else + # Check if the program is running without the pid file matching + if pgrep -f "$FULLPROG.*$PORT" > /dev/null; then + STATUS=broken + echo "WARNING: $FULLPROG is running without the correct pid file." + echo "Did you start it without using the rc.$FULLPROG?" + else + STATUS=stopped + fi + fi + else + STATUS=stopped + fi +} + +status() +{ + if [ $STATUS == "running" ]; then + echo "$FULLPROG currently running." + elif [ $STATUS == "stopped" ]; then + echo "$FULLPROG not running." + elif [ $STATUS == "broken" ]; then + echo "Please fix the issue before attempting to run $(basename "$0") again." + else + echo "Status unknown." + fi +} + +start() +{ + if [ $STATUS == "stopped" ]; then + echo -n "Starting $PROG: " + if su "$USERNAME" -s /bin/sh -c "/usr/bin/${PROG} --daemon --pidfile=${PIDFILE} --datadir=${DATADIR} --port=${PORT} &> /dev/null"; then + echo "Startup Successful" + else + su "$USERNAME" -s /bin/sh -c "/usr/bin/${PROG} --daemon --pidfile=${PIDFILE} --datadir=${DATADIR} --port=${PORT}" + echo "Startup Failed. The following command is what produced the failure:" + echo "su $USERNAME -s /bin/sh -c \"/usr/bin/${PROG} --daemon --pidfile=${PIDFILE} --datadir=${DATADIR} --port=${PORT}\"" + fi + else + status + fi +} + +stop() +{ + if [ $STATUS == "stopped" ]; then + echo "$PROG doesn't seem to be running. Please try running" + echo "$0 start" + elif [ $STATUS == "broken" ]; then + echo "Cannot stop. Please correct issue and try again." + else + if [ "$EUID" -ne 0 ];then + echo "Please run as root" + exit 1 + fi + # sickchill can take some time to properly shut down. + # It takes more than 10 seconds on my system top properly close. + # If it doesn't close by the timeout, force close it. + TIMEOUT=15 + echo -n $"Giving $PROG $TIMEOUT seconds to shut down: " + curl -s http://localhost:"$PORT"/home/shutdown/?pid="$(cat "$PIDFILE")" | grep -q "shutting down" + for (( COUNT=0; COUNT <= TIMEOUT; COUNT++ )); do + if pgrep -f "$FULLPROG.*$PORT" > /dev/null; then + SHUTDOWN=success + break + fi + sleep 1 + done + if [ "$SHUTDOWN" == "success" ]; then + echo "Shutdown successful." + else + echo "Normal Shutdown Failed - Attempting to kill the process." + sleep 7 + pkill -9 -F "$PIDFILE" + fi + fi +} + +case "$1" in + start) + check + start + ;; + stop) + check + stop + ;; + restart) + check + stop + sleep 1 + check + start + ;; + status) + check + status + ;; + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 +esac diff --git a/multimedia/sickchill/sickchill.SlackBuild b/multimedia/sickchill/sickchill.SlackBuild new file mode 100644 index 0000000000..13d212ef23 --- /dev/null +++ b/multimedia/sickchill/sickchill.SlackBuild @@ -0,0 +1,138 @@ +#!/bin/bash + +# Slackware build script for sickchill + +# Copyright 2023-2024 Jeremy Hansen jebrhansen+SBo@gmail.com +# 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=sickchill +VERSION=${VERSION:-2024.3.1} +BUILD=${BUILD:-3} +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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +SICKUSER=${SICKUSER:-sickchill} +SICKGROUP=${SICKGROUP:-sickchill} + +# The user and group accounts need to be created manually. +# For slackbuilds.org, assigned sickchill uid/gid are 377/377 +# See http://slackbuilds.org/uid_gid.txt +if ! grep -q ^$SICKGROUP: /etc/group > /dev/null; then + # Handle older versions of sickrage + if grep -q ^sickrage: /etc/group; then + echo " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + echo " You seem to have sickrage previously installed..." + echo " If you want to switch to sickchill, change the group using:" + echo " # groupmod -n sickchill sickrage" + echo " Otherwise..." + echo " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + fi + echo " You must have a \"$SICKGROUP\" group to run this script." + echo " # groupadd -g 377 $SICKGROUP" + exit 1 +elif ! grep -q ^$SICKUSER: /etc/passwd ; then + # Handle older versions of sickrage + if grep -q ^sickrage: /etc/passwd; then + echo " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + echo " You seem to have sickrage previously installed..." + echo " If you want to switch to sickchill, change the user using:" + echo " # groupmod -n sickchill sickrage" + echo " Otherwise..." + echo " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + fi + echo " You must have a \"$SICKUSER\" user to run this script." + echo " # useradd -u 377 -g $SICKGROUP -d /var/lib/sickchill -s /bin/false $SICKUSER" + echo " If you previously had sickrage installed, change the user using" + echo " # usermod -l sickchill -g sickchill -d /var/lib/sickchill sickrage" + exit 1 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +# Correct python module names and remove version requirements +sed -i 's|kodipydent-alt.*|kodipydent = "\*"|' pyproject.toml +sed -i 's|new-rtorrent-python.*|rtorrent-python = "\*"|' pyproject.toml +sed -i 's|python-twitter.*|twitter = "\*"|' pyproject.toml + +# Remove ipaddress module requirement as it's been included in python since 3.3 +sed -i '/ipaddress.*/d' pyproject.toml + +# Remove win-inet-pton requirement as it is for Windows +sed -i '/win-inet-pton.*/d' pyproject.toml + +# Remove unnecessary validators version requirement +sed -i 's|validators.*|validators = "\*"|' pyproject.toml + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$PKG dist/*.whl + +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 +cp -a \ + COPYING.txt LICENSE.md README.md SECURITY.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/etc/rc.d/ +install -m 0644 $CWD/rc.sickchill $PKG/etc/rc.d/rc.sickchill.new +install -m 0644 $CWD/sickchill.conf $PKG/etc/sickchill.conf.new +install -dm 0755 --owner=$SICKUSER $PKG/var/lib/sickchill/ +install -m 0644 --owner=$SICKUSER $CWD/config.ini $PKG/var/lib/sickchill/config.ini.new +install -dm 0755 --owner=$SICKUSER $PKG/var/log/sickchill/ + +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/sickchill/sickchill.conf b/multimedia/sickchill/sickchill.conf new file mode 100644 index 0000000000..e63d927d91 --- /dev/null +++ b/multimedia/sickchill/sickchill.conf @@ -0,0 +1,6 @@ +USERNAME=sickchill +HOMEDIR=/usr/share/sickchill +DATADIR=/var/lib/sickchill +PIDFILE=${DATADIR}/sickchill.pid +PORT=8081 +LOGDIR=/var/log/sickchill
\ No newline at end of file diff --git a/multimedia/sickchill/sickchill.info b/multimedia/sickchill/sickchill.info new file mode 100644 index 0000000000..66d5282dee --- /dev/null +++ b/multimedia/sickchill/sickchill.info @@ -0,0 +1,10 @@ +PRGNAM="sickchill" +VERSION="2024.3.1" +HOMEPAGE="https://sickchill.github.io/" +DOWNLOAD="https://github.com/SickChill/sickchill/archive/refs/tags/2024.3.1/sickchill-2024.3.1.tar.gz" +MD5SUM="ed4ac0ad41142a5eef0443cb008d92a7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-PyGithub python3-ifaddr python3-cacheyou python3-tornado Unidecode python-gntp python3-kodipydent python3-cinemagoer python3-validators python-jsonrpclib python3-markdown2 subliminal twitter requests-oauthlib configobj imagesize python3-tvdbsimple python3-fanart python3-tmdbsimple python3-slugify send2trash pyOpenSSL pymediainfo python3-putio.py python3-pynma python3-deluge-client python3-qbittorrent-api python3-new-rtorrent python3-timeago python3-profilehooks" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/multimedia/sickchill/slack-desc b/multimedia/sickchill/slack-desc new file mode 100644 index 0000000000..af844946bf --- /dev/null +++ b/multimedia/sickchill/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------------------------------------------------------| +sickchill: sickchill (Less rage, more chill.) +sickchill: +sickchill: Automatic Video Library Manager for TV Shows. It watches for new +sickchill: episodes of your favorite shows, and when they are posted it does +sickchill: its magic. +sickchill: +sickchill: HOMEPAGE: https://sickchill.github.io/ +sickchill: +sickchill: +sickchill: +sickchill: diff --git a/multimedia/simpleburn/README b/multimedia/simpleburn/README deleted file mode 100644 index 1710f8df3c..0000000000 --- a/multimedia/simpleburn/README +++ /dev/null @@ -1,16 +0,0 @@ -SimpleBurn: a CD / DVD burning and extraction tool - -SimpleBurn is a minimalistic application for burning and extracting CDs -and DVDs. It basically is a Cdrtools frontend and is designed in two -parts: the GUI (GTK) and a BASH script that handles the requested -actions. - -Features are: - - CD/DVD ISO image extraction and burning - - audio CD extraction and burning - - data directory burning on CD/DVD - - rewritable CD/DVD blanking - - video DVD ripping - - languages: cs, de, en, es, fr, hu, it, pl, sv, ru - -http://simpleburn.tuxfamily.org diff --git a/multimedia/simpleburn/simpleburn.SlackBuild b/multimedia/simpleburn/simpleburn.SlackBuild deleted file mode 100644 index 728ef119ef..0000000000 --- a/multimedia/simpleburn/simpleburn.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash -# -# Slackware build script for simpleburn -# -# Copyright 2017 Marek Srejma (sam_web@yahoo.de) -# 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. - -# Updated 2017-08-08 by Marek Srejma - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=simpleburn -VERSION=${VERSION:-1.8.3.1} -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 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 {} \; - -cmake -DCMAKE_INSTALL_PREFIX=/usr [-DGTK3=ON] . -make -make install DESTDIR=$PKG - -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 - -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/simpleburn/simpleburn.info b/multimedia/simpleburn/simpleburn.info deleted file mode 100644 index 63bd3d5b3f..0000000000 --- a/multimedia/simpleburn/simpleburn.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="simpleburn" -VERSION="1.8.3.1" -HOMEPAGE="http://simpleburn.tuxfamily.org/" -DOWNLOAD="http://simpleburn.tuxfamily.org/IMG/gz/simpleburn-1.8.3.1.tar.gz" -MD5SUM="b13d5d5a7f78c53d626cf04e2be815f4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Marek Srejma" -EMAIL="sam_web@yahoo.de" diff --git a/multimedia/smpeg/README b/multimedia/smpeg/README index 01f87e1454..dd1154d662 100644 --- a/multimedia/smpeg/README +++ b/multimedia/smpeg/README @@ -1,4 +1,5 @@ -SMPEG is a free MPEG1 video player library with sound support. Video playback -is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2. Audio is -played through a slightly modified mpegsound library, part of Splay v0.8.2. -SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams. +SMPEG is a free MPEG1 video player library with sound support. Video +playback is based on the ubiquitous Berkeley MPEG player, mpeg_play +v2.2. Audio is played through a slightly modified mpegsound library, +part of Splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, +and MPEG system streams. diff --git a/multimedia/smpeg/smpeg.info b/multimedia/smpeg/smpeg.info index cb231b7e7d..7fd3ac6d2a 100644 --- a/multimedia/smpeg/smpeg.info +++ b/multimedia/smpeg/smpeg.info @@ -1,7 +1,7 @@ PRGNAM="smpeg" VERSION="r389" HOMEPAGE="http://icculus.org/smpeg/" -DOWNLOAD="http://www.liwjatan.at/files/src/smpeg-r389.tar.xz" +DOWNLOAD="https://sources.liwjatan.org/smpeg-r389.tar.xz" MD5SUM="a6d31e1dcd7a92ea33716d8b9efb67e1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/smplayer/README b/multimedia/smplayer/README index 4ac145df3a..74de41b10f 100644 --- a/multimedia/smplayer/README +++ b/multimedia/smplayer/README @@ -14,8 +14,3 @@ settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will be resumed at the same point you left it, and with the same settings: audio track, subtitles, volume. - -If you prefer to build SMPlayer against Qt5 rather than Qt4, install -qt5 (available from SlackBuilds.org) and run the script like that: - - USE_QT5=yes ./smplayer.SlackBuild diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild index 1b789a81aa..360ff5590d 100644 --- a/multimedia/smplayer/smplayer.SlackBuild +++ b/multimedia/smplayer/smplayer.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for SMPlayer +# Copyright 2023 Andrzej Telszewski, Koszalin # Copyright 2011-2015 Fridrich von Stauffenberg <cancellor2@gmail.com> -# Copyright 2020 Andrzej Telszewski, Szczecin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smplayer -VERSION=${VERSION:-20.6.0} +VERSION=${VERSION:-23.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -THEMES=${THEMES:-18.6.0} -SKINS=${SKINS:-15.2.0} +THEMES=${THEMES:-20.11.0} +SKINS=${SKINS:-20.11.0} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -68,38 +65,28 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP + rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$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 -R a-st,u+rwX,go-w+rX . + +# Disable -Werror (helps building with newer GCC). -# Disable -Werror (helps building with the newer gcc) sed -i "s|-W\ -Wall\ -Werror|-W -Wall|" webserver/Makefile # Fix man page path. -sed -i "s/share\/man/man/g" Makefile -if [ ${USE_QT5:-no} = yes ]; then - QMAKE=qmake-qt5 - LRELEASE=lrelease-qt5 -else - QMAKE=qmake - LRELEASE=lrelease -fi +sed -i "s/share\/man/man/g" Makefile make \ - QMAKE=$QMAKE \ - LRELEASE=$LRELEASE \ PREFIX=/usr \ DOC_PATH="\\\"/usr/doc/$PRGNAM-$VERSION/\\\"" \ QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" @@ -113,50 +100,38 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cd $TMP rm -rf $PRGNAM-themes-$THEMES tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2 + cd $PRGNAM-themes-$THEMES + 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 {} \; - -if [ ${USE_QT5:-no} = yes ]; then - sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile -fi +chmod -R a-st,u+rwX,go-w+rX . make make install PREFIX=/usr DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/themes -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/themes +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/themes cd $TMP rm -rf $PRGNAM-skins-$SKINS tar xvf $CWD/$PRGNAM-skins-$SKINS.tar.bz2 + cd $PRGNAM-skins-$SKINS + 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 {} \; - -if [ ${USE_QT5:-no} = yes ]; then - sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile -fi +chmod -R a-st,u+rwX,go-w+rX . make make install PREFIX=/usr DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/skins -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/skins +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/skins mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info index 68bf664793..33be7ac117 100644 --- a/multimedia/smplayer/smplayer.info +++ b/multimedia/smplayer/smplayer.info @@ -1,14 +1,14 @@ PRGNAM="smplayer" -VERSION="20.6.0" +VERSION="23.12.0" HOMEPAGE="https://www.smplayer.info/" -DOWNLOAD="https://downloads.sourceforge.net/smplayer/smplayer-20.6.0.tar.bz2 \ - https://downloads.sourceforge.net/smplayer/smplayer-themes-18.6.0.tar.bz2 \ - https://downloads.sourceforge.net/smplayer/smplayer-skins-15.2.0.tar.bz2" -MD5SUM="90f1b3cf797580d61517369bda1befcc \ - 8fe83cd59189291ca0d3beea1991e50b \ - 57e165cf9a95808fafd179e5322b7f15" +DOWNLOAD="https://github.com/smplayer-dev/smplayer/releases/download/v23.12.0/smplayer-23.12.0.tar.bz2 \ + https://downloads.sourceforge.net/smplayer/smplayer-themes-20.11.0.tar.bz2 \ + https://downloads.sourceforge.net/smplayer/smplayer-skins-20.11.0.tar.bz2" +MD5SUM="17faf9208a75fd7b60dbf9e21d1e9f59 \ + 3d7b307487da5d97e0bc197f7f3f37f6 \ + 0b2e6aabf497c1248c60c382827d9ba0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andrzej Telszewski" -EMAIL="atelszewski@gmail.com" +EMAIL="andrzej@telszewski.com" diff --git a/multimedia/smtube/README b/multimedia/smtube/README index 13cebd53b6..055314735a 100644 --- a/multimedia/smtube/README +++ b/multimedia/smtube/README @@ -1,4 +1,3 @@ SMTube is an application that allows to browse, search and play YouTube videos. Videos are played back with a media player (by default SMPlayer) -instead of a flash player, this allows better performance, particularly -with HD content. +instead of an HTML player. diff --git a/multimedia/smtube/slack-desc b/multimedia/smtube/slack-desc index 096443c539..6b2c42874d 100644 --- a/multimedia/smtube/slack-desc +++ b/multimedia/smtube/slack-desc @@ -10,10 +10,10 @@ smtube: smtube (small YouTube videos browser) smtube: smtube: SMTube is an application that allows to browse, search and play smtube: YouTube videos. Videos are played back with a media player instead -smtube: of a flash player, this allows better performance, particularly -smtube: with HD content. +smtube: of an HTML player. smtube: smtube: Homepage: https://www.smtube.org/ smtube: smtube: smtube: +smtube: diff --git a/multimedia/smtube/smtube.SlackBuild b/multimedia/smtube/smtube.SlackBuild index 5067282fd2..7822d62c84 100644 --- a/multimedia/smtube/smtube.SlackBuild +++ b/multimedia/smtube/smtube.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for SMTube +# Copyright 2022 Andrzej Telszewski, Koszalin # Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com> -# Copyright 2020 Andrzej Telszewski, Szczecin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smtube -VERSION=${VERSION:-20.6.0} +VERSION=${VERSION:-21.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -65,32 +62,22 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP + rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$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 {} \; - -if [ ${USE_QT5:-yes} = yes ]; then - QMAKE=qmake-qt5 - LRELEASE=lrelease-qt5 -else - QMAKE=qmake - LRELEASE=lrelease -fi +chmod -R a-st,u+rwX,go-w+rX . make \ - QMAKE=$QMAKE \ - LRELEASE=$LRELEASE \ + QMAKE=qmake-qt5 \ + LRELEASE=lrelease-qt5 \ PREFIX=/usr \ DOC_PATH="\\\"/usr/doc/$PRGNAM-$VERSION/\\\"" \ QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" diff --git a/multimedia/smtube/smtube.info b/multimedia/smtube/smtube.info index e64ef9e8cf..4f9b7b97fe 100644 --- a/multimedia/smtube/smtube.info +++ b/multimedia/smtube/smtube.info @@ -1,10 +1,10 @@ PRGNAM="smtube" -VERSION="20.6.0" +VERSION="21.10.0" HOMEPAGE="https://www.smtube.org/" -DOWNLOAD="https://download.sourceforge.net/project/smtube/SMTube/20.6.0/smtube-20.6.0.tar.bz2" -MD5SUM="78e91392cf6faf6a94b566a3c33806c1" +DOWNLOAD="https://download.sourceforge.net/project/smtube/SMTube/21.10.0/smtube-21.10.0.tar.bz2" +MD5SUM="93383ae9220614d7e9fc5fbbbb8f060b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andrzej Telszewski" -EMAIL="atelszewski@gmail.com" +EMAIL="andrzej@telszewski.com" diff --git a/multimedia/spek/README b/multimedia/spek/README index f47273527a..b01c784b6b 100644 --- a/multimedia/spek/README +++ b/multimedia/spek/README @@ -1,6 +1,6 @@ spek (Acoustic Spectrum Analyser) -spek is an acoustic spectrum analyser written in C and C++. -It uses FFmpeg spek: libraries for audio decoding and wxWidgets for the GUI. +spek is an acoustic spectrum analyser written in C and C++. It uses +FFmpeg libraries for audio decoding and wxWidgets for the GUI. Spek is available on *BSD, GNU/Linux, Windows and Mac OS X. diff --git a/multimedia/spek/doinst.sh b/multimedia/spek/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/multimedia/spek/doinst.sh +++ b/multimedia/spek/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/spek/spek.SlackBuild b/multimedia/spek/spek.SlackBuild index 62675c304f..fdaf7a19ce 100644 --- a/multimedia/spek/spek.SlackBuild +++ b/multimedia/spek/spek.SlackBuild @@ -24,12 +24,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230627 bkw: Modified by SlackBuilds.org, BUILD=2: +# - add gtk-update-icon-cache to doinst.sh. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=spek VERSION=${VERSION:-0.8.3_07c13da27d} GITVER=${GITVER:-07c13da27d9c2acfc713c63c21d123cae4b5ce65} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +44,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -78,9 +78,9 @@ cd $PRGNAM-$GITVER 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + ./autogen.sh CFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/spot/README b/multimedia/spot/README new file mode 100644 index 0000000000..c488c93de7 --- /dev/null +++ b/multimedia/spot/README @@ -0,0 +1,3 @@ +spot is a Gtk/Rust native Spotify client for the GNOME +desktop. Only works with premium accounts! +Based on librespot. diff --git a/multimedia/spot/doinst.sh b/multimedia/spot/doinst.sh new file mode 100644 index 0000000000..401d987795 --- /dev/null +++ b/multimedia/spot/doinst.sh @@ -0,0 +1,15 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/multimedia/lwks/slack-desc b/multimedia/spot/slack-desc index 78799e7893..559ec28671 100644 --- a/multimedia/lwks/slack-desc +++ b/multimedia/spot/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -lwks: lwks (professional NLE) -lwks: -lwks: Professional video editor used for films LA Confidential, -lwks: Pulp Fiction, Heat, Road to Perdition, Hugo, The King's Speech, -lwks: and many more. Features include reliable and efficient editing, -lwks: titling, effects, basic compositing, colour correction, and much -lwks: more. -lwks: -lwks: Purchase a Pro License from lwks.com for additional codec and -lwks: technical support. -lwks: +spot: spot (spotify player) +spot: +spot: Gtk/Rust native Spotify client for the GNOME desktop. +spot: Only works with premium accounts! +spot: +spot: +spot: +spot: +spot: +spot: +spot: https://github.com/xou816/spot diff --git a/multimedia/spot/spot.SlackBuild b/multimedia/spot/spot.SlackBuild new file mode 100644 index 0000000000..3149a1c5d8 --- /dev/null +++ b/multimedia/spot/spot.SlackBuild @@ -0,0 +1,159 @@ +#!/bin/bash + +# Slackware build script for spot + +# Copyright 2022 Julian Grinblat <julian@dotcore.co.il> +# 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=spot +VERSION=${VERSION:-0.3.3} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +# build offline +# configuration tells cargo to use the configured directory +# for dependencies instead of downloading from crates.io +mkdir .cargo +cat << EOF >> .cargo/config +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' + +[source.vendored-sources] +directory = '$(pwd)/vendor' +EOF + +# deps and versions come from Cargo.lock +mkdir vendor +( + cd vendor + + grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \ + sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \ + awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \ + grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do + + ver="$(printf "%s\n" "$dep" | cut -d= -f2)" + dep="$(printf "%s\n" "$dep" | cut -d= -f1)" + + tar xvf $CWD/$dep-$ver.crate + + touch $dep-$ver/.cargo-ok + + # generate checksum + { + printf "{\n" + printf ' "files": {\n' + + ( + cd $dep-$ver + find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/' + ) | sed '$ s/,$//' + + printf " },\n" + printf ' "package": "' + + sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/' + + printf "}\n" + } > $dep-$ver/.cargo-checksum.json + done +) + +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 {} \; + +mkdir build +cd build + CARGO_HOME=.cargo \ + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --prefix=/usr \ + --strip \ + -Doffline=false + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +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 +cp -a \ + README.md \ + ARTISTS \ + AUTHORS \ + LICENSE \ + TRANSLATORS \ + doc/doc.pdf \ + $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/spot/spot.info b/multimedia/spot/spot.info new file mode 100644 index 0000000000..8cc72d3ca2 --- /dev/null +++ b/multimedia/spot/spot.info @@ -0,0 +1,702 @@ +PRGNAM="spot" +VERSION="0.3.3" +HOMEPAGE="https://github.com/xou816/spot" +DOWNLOAD="https://github.com/xou816/spot/archive/refs/tags/0.3.3/spot-0.3.3.tar.gz \ + https://static.crates.io/crates/kernel32-sys/kernel32-sys-0.2.2.crate \ + https://static.crates.io/crates/aes/aes-0.6.0.crate \ + https://static.crates.io/crates/aes-ctr/aes-ctr-0.6.0.crate \ + https://static.crates.io/crates/aes-soft/aes-soft-0.6.4.crate \ + https://static.crates.io/crates/aesni/aesni-0.10.0.crate \ + https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \ + https://static.crates.io/crates/alsa/alsa-0.5.0.crate \ + https://static.crates.io/crates/alsa/alsa-0.6.0.crate \ + https://static.crates.io/crates/alsa-sys/alsa-sys-0.3.1.crate \ + https://static.crates.io/crates/anyhow/anyhow-1.0.53.crate \ + https://static.crates.io/crates/async-broadcast/async-broadcast-0.3.4.crate \ + https://static.crates.io/crates/async-channel/async-channel-1.6.1.crate \ + https://static.crates.io/crates/async-executor/async-executor-1.4.1.crate \ + https://static.crates.io/crates/async-global-executor/async-global-executor-2.0.2.crate \ + https://static.crates.io/crates/async-io/async-io-1.6.0.crate \ + https://static.crates.io/crates/async-lock/async-lock-2.4.0.crate \ + https://static.crates.io/crates/async-mutex/async-mutex-1.4.0.crate \ + https://static.crates.io/crates/async-recursion/async-recursion-0.3.2.crate \ + https://static.crates.io/crates/async-std/async-std-1.10.0.crate \ + https://static.crates.io/crates/async-task/async-task-4.1.0.crate \ + https://static.crates.io/crates/async-trait/async-trait-0.1.52.crate \ + https://static.crates.io/crates/atomic-waker/atomic-waker-1.0.0.crate \ + https://static.crates.io/crates/atty/atty-0.2.14.crate \ + https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \ + https://static.crates.io/crates/base64/base64-0.13.0.crate \ + https://static.crates.io/crates/bindgen/bindgen-0.56.0.crate \ + https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \ + https://static.crates.io/crates/block/block-0.1.6.crate \ + https://static.crates.io/crates/block-buffer/block-buffer-0.9.0.crate \ + https://static.crates.io/crates/block-modes/block-modes-0.7.0.crate \ + https://static.crates.io/crates/block-padding/block-padding-0.2.1.crate \ + https://static.crates.io/crates/blocking/blocking-1.1.0.crate \ + https://static.crates.io/crates/bumpalo/bumpalo-3.9.1.crate \ + https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \ + https://static.crates.io/crates/bytes/bytes-1.1.0.crate \ + https://static.crates.io/crates/cache-padded/cache-padded-1.2.0.crate \ + https://static.crates.io/crates/cairo-rs/cairo-rs-0.15.1.crate \ + https://static.crates.io/crates/cairo-sys-rs/cairo-sys-rs-0.15.1.crate \ + https://static.crates.io/crates/castaway/castaway-0.1.2.crate \ + https://static.crates.io/crates/cc/cc-1.0.72.crate \ + https://static.crates.io/crates/cesu8/cesu8-1.1.0.crate \ + https://static.crates.io/crates/cexpr/cexpr-0.4.0.crate \ + https://static.crates.io/crates/cfg-expr/cfg-expr-0.9.1.crate \ + https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate \ + https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \ + https://static.crates.io/crates/chrono/chrono-0.4.19.crate \ + https://static.crates.io/crates/cipher/cipher-0.2.5.crate \ + https://static.crates.io/crates/clang-sys/clang-sys-1.3.1.crate \ + https://static.crates.io/crates/combine/combine-4.6.3.crate \ + https://static.crates.io/crates/concurrent-queue/concurrent-queue-1.2.2.crate \ + https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.3.crate \ + https://static.crates.io/crates/coreaudio-rs/coreaudio-rs-0.10.0.crate \ + https://static.crates.io/crates/coreaudio-sys/coreaudio-sys-0.2.9.crate \ + https://static.crates.io/crates/cpal/cpal-0.13.5.crate \ + https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.1.crate \ + https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.7.crate \ + https://static.crates.io/crates/crypto-mac/crypto-mac-0.10.1.crate \ + https://static.crates.io/crates/crypto-mac/crypto-mac-0.11.1.crate \ + https://static.crates.io/crates/ctor/ctor-0.1.21.crate \ + https://static.crates.io/crates/ctr/ctr-0.6.0.crate \ + https://static.crates.io/crates/curl/curl-0.4.42.crate \ + https://static.crates.io/crates/curl-sys/curl-sys-0.4.52+curl-7.81.0.crate \ + https://static.crates.io/crates/darling/darling-0.13.1.crate \ + https://static.crates.io/crates/darling_core/darling_core-0.13.1.crate \ + https://static.crates.io/crates/darling_macro/darling_macro-0.13.1.crate \ + https://static.crates.io/crates/derivative/derivative-2.2.0.crate \ + https://static.crates.io/crates/digest/digest-0.9.0.crate \ + https://static.crates.io/crates/easy-parallel/easy-parallel-3.2.0.crate \ + https://static.crates.io/crates/encoding_rs/encoding_rs-0.8.30.crate \ + https://static.crates.io/crates/enumflags2/enumflags2-0.6.4.crate \ + https://static.crates.io/crates/enumflags2/enumflags2-0.7.3.crate \ + https://static.crates.io/crates/enumflags2_derive/enumflags2_derive-0.6.4.crate \ + https://static.crates.io/crates/enumflags2_derive/enumflags2_derive-0.7.3.crate \ + https://static.crates.io/crates/env_logger/env_logger-0.8.4.crate \ + https://static.crates.io/crates/env_logger/env_logger-0.9.0.crate \ + https://static.crates.io/crates/event-listener/event-listener-2.5.2.crate \ + https://static.crates.io/crates/fastrand/fastrand-1.7.0.crate \ + https://static.crates.io/crates/field-offset/field-offset-0.3.4.crate \ + https://static.crates.io/crates/fnv/fnv-1.0.7.crate \ + https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate \ + https://static.crates.io/crates/futures/futures-0.3.21.crate \ + https://static.crates.io/crates/futures-channel/futures-channel-0.3.21.crate \ + https://static.crates.io/crates/futures-core/futures-core-0.3.21.crate \ + https://static.crates.io/crates/futures-executor/futures-executor-0.3.21.crate \ + https://static.crates.io/crates/futures-io/futures-io-0.3.21.crate \ + https://static.crates.io/crates/futures-lite/futures-lite-1.12.0.crate \ + https://static.crates.io/crates/futures-macro/futures-macro-0.3.21.crate \ + https://static.crates.io/crates/futures-sink/futures-sink-0.3.21.crate \ + https://static.crates.io/crates/futures-task/futures-task-0.3.21.crate \ + https://static.crates.io/crates/futures-util/futures-util-0.3.21.crate \ + https://static.crates.io/crates/gdk-pixbuf/gdk-pixbuf-0.15.6.crate \ + https://static.crates.io/crates/gdk-pixbuf-sys/gdk-pixbuf-sys-0.15.1.crate \ + https://static.crates.io/crates/gdk4/gdk4-0.4.6.crate \ + https://static.crates.io/crates/gdk4-sys/gdk4-sys-0.4.2.crate \ + https://static.crates.io/crates/generic-array/generic-array-0.14.5.crate \ + https://static.crates.io/crates/getopts/getopts-0.2.21.crate \ + https://static.crates.io/crates/getrandom/getrandom-0.2.4.crate \ + https://static.crates.io/crates/gettext-rs/gettext-rs-0.7.0.crate \ + https://static.crates.io/crates/gettext-sys/gettext-sys-0.21.2.crate \ + https://static.crates.io/crates/gio/gio-0.15.7.crate \ + https://static.crates.io/crates/gio-sys/gio-sys-0.15.5.crate \ + https://static.crates.io/crates/glib/glib-0.15.9.crate \ + https://static.crates.io/crates/glib-macros/glib-macros-0.15.3.crate \ + https://static.crates.io/crates/glib-sys/glib-sys-0.15.5.crate \ + https://static.crates.io/crates/glob/glob-0.3.0.crate \ + https://static.crates.io/crates/gloo-timers/gloo-timers-0.2.3.crate \ + https://static.crates.io/crates/gobject-sys/gobject-sys-0.15.5.crate \ + https://static.crates.io/crates/graphene-rs/graphene-rs-0.15.1.crate \ + https://static.crates.io/crates/graphene-sys/graphene-sys-0.15.1.crate \ + https://static.crates.io/crates/gsk4/gsk4-0.4.6.crate \ + https://static.crates.io/crates/gsk4-sys/gsk4-sys-0.4.2.crate \ + https://static.crates.io/crates/gtk4/gtk4-0.4.6.crate \ + https://static.crates.io/crates/gtk4-macros/gtk4-macros-0.4.3.crate \ + https://static.crates.io/crates/gtk4-sys/gtk4-sys-0.4.5.crate \ + https://static.crates.io/crates/hashbrown/hashbrown-0.11.2.crate \ + https://static.crates.io/crates/headers/headers-0.3.6.crate \ + https://static.crates.io/crates/headers-core/headers-core-0.2.0.crate \ + https://static.crates.io/crates/heck/heck-0.4.0.crate \ + https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \ + https://static.crates.io/crates/hex/hex-0.4.3.crate \ + https://static.crates.io/crates/hkdf/hkdf-0.10.0.crate \ + https://static.crates.io/crates/hmac/hmac-0.10.1.crate \ + https://static.crates.io/crates/hmac/hmac-0.11.0.crate \ + https://static.crates.io/crates/hostname/hostname-0.3.1.crate \ + https://static.crates.io/crates/http/http-0.2.6.crate \ + https://static.crates.io/crates/http-body/http-body-0.4.4.crate \ + https://static.crates.io/crates/httparse/httparse-1.5.1.crate \ + https://static.crates.io/crates/httpdate/httpdate-1.0.2.crate \ + https://static.crates.io/crates/humantime/humantime-2.1.0.crate \ + https://static.crates.io/crates/hyper/hyper-0.14.16.crate \ + https://static.crates.io/crates/hyper-proxy/hyper-proxy-0.9.1.crate \ + https://static.crates.io/crates/ident_case/ident_case-1.0.1.crate \ + https://static.crates.io/crates/idna/idna-0.2.3.crate \ + https://static.crates.io/crates/if-addrs/if-addrs-0.6.7.crate \ + https://static.crates.io/crates/if-addrs-sys/if-addrs-sys-0.3.2.crate \ + https://static.crates.io/crates/indexmap/indexmap-1.8.0.crate \ + https://static.crates.io/crates/instant/instant-0.1.12.crate \ + https://static.crates.io/crates/isahc/isahc-1.7.0.crate \ + https://static.crates.io/crates/itoa/itoa-0.4.8.crate \ + https://static.crates.io/crates/itoa/itoa-1.0.1.crate \ + https://static.crates.io/crates/jni/jni-0.19.0.crate \ + https://static.crates.io/crates/jni-sys/jni-sys-0.3.0.crate \ + https://static.crates.io/crates/jobserver/jobserver-0.1.24.crate \ + https://static.crates.io/crates/js-sys/js-sys-0.3.56.crate \ + https://static.crates.io/crates/kv-log-macro/kv-log-macro-1.0.7.crate \ + https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \ + https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \ + https://static.crates.io/crates/lewton/lewton-0.10.2.crate \ + https://static.crates.io/crates/libadwaita/libadwaita-0.1.0.crate \ + https://static.crates.io/crates/libadwaita-sys/libadwaita-sys-0.1.0.crate \ + https://static.crates.io/crates/libc/libc-0.2.117.crate \ + https://static.crates.io/crates/libloading/libloading-0.7.3.crate \ + https://static.crates.io/crates/libm/libm-0.2.2.crate \ + https://static.crates.io/crates/libmdns/libmdns-0.6.2.crate \ + https://static.crates.io/crates/libnghttp2-sys/libnghttp2-sys-0.1.7+1.45.0.crate \ + https://static.crates.io/crates/libpulse-binding/libpulse-binding-2.26.0.crate \ + https://static.crates.io/crates/libpulse-simple-binding/libpulse-simple-binding-2.25.0.crate \ + https://static.crates.io/crates/libpulse-simple-sys/libpulse-simple-sys-1.19.2.crate \ + https://static.crates.io/crates/libpulse-sys/libpulse-sys-1.19.3.crate \ + https://static.crates.io/crates/librespot/librespot-0.3.1.crate \ + https://static.crates.io/crates/librespot-audio/librespot-audio-0.3.1.crate \ + https://static.crates.io/crates/librespot-connect/librespot-connect-0.3.1.crate \ + https://static.crates.io/crates/librespot-core/librespot-core-0.3.1.crate \ + https://static.crates.io/crates/librespot-discovery/librespot-discovery-0.3.1.crate \ + https://static.crates.io/crates/librespot-metadata/librespot-metadata-0.3.1.crate \ + https://static.crates.io/crates/librespot-playback/librespot-playback-0.3.1.crate \ + https://static.crates.io/crates/librespot-protocol/librespot-protocol-0.3.1.crate \ + https://static.crates.io/crates/libz-sys/libz-sys-1.1.3.crate \ + https://static.crates.io/crates/locale_config/locale_config-0.3.0.crate \ + https://static.crates.io/crates/lock_api/lock_api-0.4.6.crate \ + https://static.crates.io/crates/log/log-0.4.14.crate \ + https://static.crates.io/crates/mach/mach-0.3.2.crate \ + https://static.crates.io/crates/malloc_buf/malloc_buf-0.0.6.crate \ + https://static.crates.io/crates/match_cfg/match_cfg-0.1.0.crate \ + https://static.crates.io/crates/matches/matches-0.1.9.crate \ + https://static.crates.io/crates/memchr/memchr-2.4.1.crate \ + https://static.crates.io/crates/memoffset/memoffset-0.6.5.crate \ + https://static.crates.io/crates/mime/mime-0.3.16.crate \ + https://static.crates.io/crates/mio/mio-0.8.0.crate \ + https://static.crates.io/crates/miow/miow-0.3.7.crate \ + https://static.crates.io/crates/multimap/multimap-0.8.3.crate \ + https://static.crates.io/crates/nb-connect/nb-connect-1.2.0.crate \ + https://static.crates.io/crates/ndk/ndk-0.6.0.crate \ + https://static.crates.io/crates/ndk-glue/ndk-glue-0.6.0.crate \ + https://static.crates.io/crates/ndk-macro/ndk-macro-0.3.0.crate \ + https://static.crates.io/crates/ndk-sys/ndk-sys-0.3.0.crate \ + https://static.crates.io/crates/nix/nix-0.17.0.crate \ + https://static.crates.io/crates/nix/nix-0.20.0.crate \ + https://static.crates.io/crates/nix/nix-0.23.1.crate \ + https://static.crates.io/crates/nom/nom-5.1.2.crate \ + https://static.crates.io/crates/ntapi/ntapi-0.3.6.crate \ + https://static.crates.io/crates/num/num-0.3.1.crate \ + https://static.crates.io/crates/num-bigint/num-bigint-0.3.3.crate \ + https://static.crates.io/crates/num-bigint/num-bigint-0.4.3.crate \ + https://static.crates.io/crates/num-complex/num-complex-0.3.1.crate \ + https://static.crates.io/crates/num-derive/num-derive-0.3.3.crate \ + https://static.crates.io/crates/num-integer/num-integer-0.1.44.crate \ + https://static.crates.io/crates/num-iter/num-iter-0.1.42.crate \ + https://static.crates.io/crates/num-rational/num-rational-0.3.2.crate \ + https://static.crates.io/crates/num-traits/num-traits-0.2.14.crate \ + https://static.crates.io/crates/num_cpus/num_cpus-1.13.1.crate \ + https://static.crates.io/crates/num_enum/num_enum-0.5.6.crate \ + https://static.crates.io/crates/num_enum_derive/num_enum_derive-0.5.6.crate \ + https://static.crates.io/crates/objc/objc-0.2.7.crate \ + https://static.crates.io/crates/objc-foundation/objc-foundation-0.1.1.crate \ + https://static.crates.io/crates/objc_id/objc_id-0.1.1.crate \ + https://static.crates.io/crates/oboe/oboe-0.4.5.crate \ + https://static.crates.io/crates/oboe-sys/oboe-sys-0.4.5.crate \ + https://static.crates.io/crates/ogg/ogg-0.8.0.crate \ + https://static.crates.io/crates/once_cell/once_cell-1.9.0.crate \ + https://static.crates.io/crates/opaque-debug/opaque-debug-0.3.0.crate \ + https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \ + https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.72.crate \ + https://static.crates.io/crates/ordered-stream/ordered-stream-0.0.1.crate \ + https://static.crates.io/crates/pango/pango-0.15.2.crate \ + https://static.crates.io/crates/pango-sys/pango-sys-0.15.1.crate \ + https://static.crates.io/crates/parking/parking-2.0.0.crate \ + https://static.crates.io/crates/parking_lot/parking_lot-0.11.2.crate \ + https://static.crates.io/crates/parking_lot_core/parking_lot_core-0.8.5.crate \ + https://static.crates.io/crates/pbkdf2/pbkdf2-0.8.0.crate \ + https://static.crates.io/crates/peeking_take_while/peeking_take_while-0.1.2.crate \ + https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate \ + https://static.crates.io/crates/pest/pest-2.1.3.crate \ + https://static.crates.io/crates/pin-project/pin-project-1.0.10.crate \ + https://static.crates.io/crates/pin-project-internal/pin-project-internal-1.0.10.crate \ + https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.8.crate \ + https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate \ + https://static.crates.io/crates/pkg-config/pkg-config-0.3.24.crate \ + https://static.crates.io/crates/polling/polling-2.2.0.crate \ + https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.16.crate \ + https://static.crates.io/crates/priority-queue/priority-queue-1.2.1.crate \ + https://static.crates.io/crates/proc-macro-crate/proc-macro-crate-0.1.5.crate \ + https://static.crates.io/crates/proc-macro-crate/proc-macro-crate-1.1.0.crate \ + https://static.crates.io/crates/proc-macro-error/proc-macro-error-1.0.4.crate \ + https://static.crates.io/crates/proc-macro-error-attr/proc-macro-error-attr-1.0.4.crate \ + https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.36.crate \ + https://static.crates.io/crates/protobuf/protobuf-2.27.1.crate \ + https://static.crates.io/crates/protobuf-codegen/protobuf-codegen-2.27.1.crate \ + https://static.crates.io/crates/protobuf-codegen-pure/protobuf-codegen-pure-2.27.1.crate \ + https://static.crates.io/crates/quote/quote-1.0.15.crate \ + https://static.crates.io/crates/rand/rand-0.8.5.crate \ + https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \ + https://static.crates.io/crates/rand_core/rand_core-0.6.3.crate \ + https://static.crates.io/crates/rand_distr/rand_distr-0.4.3.crate \ + https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.10.crate \ + https://static.crates.io/crates/ref_filter_map/ref_filter_map-1.0.1.crate \ + https://static.crates.io/crates/regex/regex-1.5.5.crate \ + https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \ + https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \ + https://static.crates.io/crates/rodio/rodio-0.14.0.crate \ + https://static.crates.io/crates/rpassword/rpassword-5.0.1.crate \ + https://static.crates.io/crates/rustc-hash/rustc-hash-1.1.0.crate \ + https://static.crates.io/crates/rustc_version/rustc_version-0.3.3.crate \ + https://static.crates.io/crates/rustc_version/rustc_version-0.4.0.crate \ + https://static.crates.io/crates/ryu/ryu-1.0.9.crate \ + https://static.crates.io/crates/same-file/same-file-1.0.6.crate \ + https://static.crates.io/crates/schannel/schannel-0.1.19.crate \ + https://static.crates.io/crates/scoped-tls/scoped-tls-1.0.0.crate \ + https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate \ + https://static.crates.io/crates/secret-service/secret-service-2.0.1.crate \ + https://static.crates.io/crates/semver/semver-0.11.0.crate \ + https://static.crates.io/crates/semver/semver-1.0.5.crate \ + https://static.crates.io/crates/semver-parser/semver-parser-0.10.2.crate \ + https://static.crates.io/crates/serde/serde-1.0.136.crate \ + https://static.crates.io/crates/serde_derive/serde_derive-1.0.136.crate \ + https://static.crates.io/crates/serde_json/serde_json-1.0.79.crate \ + https://static.crates.io/crates/serde_repr/serde_repr-0.1.7.crate \ + https://static.crates.io/crates/sha-1/sha-1-0.9.8.crate \ + https://static.crates.io/crates/sha1/sha1-0.6.1.crate \ + https://static.crates.io/crates/sha1_smol/sha1_smol-1.0.0.crate \ + https://static.crates.io/crates/sha2/sha2-0.9.9.crate \ + https://static.crates.io/crates/shannon/shannon-0.2.0.crate \ + https://static.crates.io/crates/shell-words/shell-words-1.1.0.crate \ + https://static.crates.io/crates/shlex/shlex-0.1.1.crate \ + https://static.crates.io/crates/signal-hook-registry/signal-hook-registry-1.4.0.crate \ + https://static.crates.io/crates/slab/slab-0.4.5.crate \ + https://static.crates.io/crates/sluice/sluice-0.5.5.crate \ + https://static.crates.io/crates/smallvec/smallvec-1.8.0.crate \ + https://static.crates.io/crates/socket2/socket2-0.4.4.crate \ + https://static.crates.io/crates/static_assertions/static_assertions-1.1.0.crate \ + https://static.crates.io/crates/stdweb/stdweb-0.1.3.crate \ + https://static.crates.io/crates/strsim/strsim-0.10.0.crate \ + https://static.crates.io/crates/subtle/subtle-2.4.1.crate \ + https://static.crates.io/crates/syn/syn-1.0.86.crate \ + https://static.crates.io/crates/synstructure/synstructure-0.12.6.crate \ + https://static.crates.io/crates/system-deps/system-deps-6.0.1.crate \ + https://static.crates.io/crates/temp-dir/temp-dir-0.1.11.crate \ + https://static.crates.io/crates/tempfile/tempfile-3.3.0.crate \ + https://static.crates.io/crates/termcolor/termcolor-1.1.2.crate \ + https://static.crates.io/crates/thiserror/thiserror-1.0.30.crate \ + https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.30.crate \ + https://static.crates.io/crates/time/time-0.1.43.crate \ + https://static.crates.io/crates/tinyvec/tinyvec-1.5.1.crate \ + https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \ + https://static.crates.io/crates/tokio/tokio-1.17.0.crate \ + https://static.crates.io/crates/tokio-macros/tokio-macros-1.7.0.crate \ + https://static.crates.io/crates/tokio-stream/tokio-stream-0.1.8.crate \ + https://static.crates.io/crates/tokio-util/tokio-util-0.6.9.crate \ + https://static.crates.io/crates/toml/toml-0.5.8.crate \ + https://static.crates.io/crates/tower-service/tower-service-0.3.1.crate \ + https://static.crates.io/crates/tracing/tracing-0.1.30.crate \ + https://static.crates.io/crates/tracing-attributes/tracing-attributes-0.1.19.crate \ + https://static.crates.io/crates/tracing-core/tracing-core-0.1.22.crate \ + https://static.crates.io/crates/tracing-futures/tracing-futures-0.2.5.crate \ + https://static.crates.io/crates/try-lock/try-lock-0.2.3.crate \ + https://static.crates.io/crates/typenum/typenum-1.15.0.crate \ + https://static.crates.io/crates/ucd-trie/ucd-trie-0.1.3.crate \ + https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.7.crate \ + https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.19.crate \ + https://static.crates.io/crates/unicode-width/unicode-width-0.1.9.crate \ + https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate \ + https://static.crates.io/crates/url/url-2.2.2.crate \ + https://static.crates.io/crates/uuid/uuid-0.8.2.crate \ + https://static.crates.io/crates/value-bag/value-bag-1.0.0-alpha.8.crate \ + https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \ + https://static.crates.io/crates/vergen/vergen-3.2.0.crate \ + https://static.crates.io/crates/version-compare/version-compare-0.1.0.crate \ + https://static.crates.io/crates/version_check/version_check-0.9.4.crate \ + https://static.crates.io/crates/void/void-1.0.2.crate \ + https://static.crates.io/crates/waker-fn/waker-fn-1.1.0.crate \ + https://static.crates.io/crates/walkdir/walkdir-2.3.2.crate \ + https://static.crates.io/crates/want/want-0.3.0.crate \ + https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \ + https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.79.crate \ + https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.79.crate \ + https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.29.crate \ + https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.79.crate \ + https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.79.crate \ + https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.79.crate \ + https://static.crates.io/crates/web-sys/web-sys-0.3.56.crate \ + https://static.crates.io/crates/wepoll-ffi/wepoll-ffi-0.1.2.crate \ + https://static.crates.io/crates/winapi/winapi-0.3.9.crate \ + https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ + https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \ + https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ + https://static.crates.io/crates/zbus/zbus-1.9.1.crate \ + https://static.crates.io/crates/zbus/zbus-2.1.1.crate \ + https://static.crates.io/crates/zbus_macros/zbus_macros-1.9.1.crate \ + https://static.crates.io/crates/zbus_macros/zbus_macros-2.1.1.crate \ + https://static.crates.io/crates/zbus_names/zbus_names-2.1.0.crate \ + https://static.crates.io/crates/zerocopy/zerocopy-0.3.0.crate \ + https://static.crates.io/crates/zerocopy-derive/zerocopy-derive-0.2.0.crate \ + https://static.crates.io/crates/zvariant/zvariant-2.10.0.crate \ + https://static.crates.io/crates/zvariant/zvariant-3.1.2.crate \ + https://static.crates.io/crates/zvariant_derive/zvariant_derive-2.10.0.crate \ + https://static.crates.io/crates/zvariant_derive/zvariant_derive-3.1.2.crate" +MD5SUM="1ab5f9d3e76d2e99691c6337c2657d7e \ + 9d033cc2daa6924420a4a89e6705773f \ + bd53a9f0ec43690f84e8c96bba8e538d \ + db6f9a586bda62de931be1b2bce9cd34 \ + b14b12cd0e866930de1993132c85705b \ + 58a6326364dbe6f5168f3f3a341f360e \ + 425b8fdf70df59998d9b7c89083e48d1 \ + fce951b34a5c1b8edb8c104987637fd3 \ + bd278d96770173a5298bea9ebdba03f7 \ + 730ff1a5c2f3becc07743810ad47e66e \ + 7814be2d45d822ba919dc9e6b70ac44e \ + b2733911430dec241671728239f8924e \ + 218d9b779b991e39e2e3fd2f299a9864 \ + 50806ccba0af9b3fdd3e37c6b651059c \ + 44dc698c2ff129b4592c402dd9a4501a \ + 8588bed0c242a7e964ac4cf236dbccd2 \ + ae1a5d749e1a8af706a5c9104bb0923b \ + 6a5fb43167d44652c51e3ceb9c2b8c23 \ + c33a5eb809e9f42be5388d47c80f6eeb \ + 8b03718de9cf7106f0b77b87e1bda5fb \ + f8e2c3f07b084e1aece1741f58ec28d1 \ + f3bf7f61aeafc26eea205f0e05f1beea \ + 6a2f7b82f00aaf8f9124cbae817980ac \ + 142cb4b9a653e56e56311f0c883b8582 \ + 05d77ef52e90ad161fdd41b252420467 \ + 80a2c27647a6acb1890a3a7de8fded72 \ + bbc1b4852c4eb23effe97764def8d1ce \ + a295edb6953237ebbdfa8e731229f9a3 \ + ea2d23ceb9f98853a7dffc6c02884464 \ + c7fbaf61245dc847237ab7c72b3ee9ea \ + 25bcf8d84152a1c93f2767715c250779 \ + 3518756a1af12a80e9c872091cdec5d5 \ + b56e5ae6b74252e4d9b89a06adf510c5 \ + 79173170388e20507a241b355ef521e3 \ + 1e704be5ddde9d6b5383ef1035309f91 \ + df3ac16302a9dd29508eda92aa402a9b \ + ca7e295f50617a33e02283d3ef93ff99 \ + 6d0a8ceae87853ef8947455469cefda9 \ + 4b84cfa4a4822e326a5dcd8d1bdfd030 \ + 6473ba7813c7756738489dbc0b6203b9 \ + 00cc3eeabff68c61e5aacdb5ea9d16ac \ + 267fc4a374516caa7ab495f0c607c1b4 \ + dcb58f182347515cab229f836dd8e6d1 \ + 76d8f58004ba41bc3cd6bcfa48cb229b \ + 882dbbc613a93f64c3709b0a2bd0d6dc \ + 74634128440dbc3766bda76fdf0aaa05 \ + 1581b390d17f6e73a43ffc8a7b009e57 \ + 5184822d3fd9f30dfa4bc922ffa4143c \ + ad93a9f51606d9d5eba5c8c057a14f14 \ + 457e008da6d6f7863eb8b037d61ec5c2 \ + f637bf20fac185ee2687bb2a08325e59 \ + d05cbf26ed52299487a802688a1d22cb \ + 092c01b71d220e9e742d1ce83040f9ba \ + adb22c60d90fc92bce0e9e0cad12eab8 \ + 5c0b974591c88858125a1bb4e64d7bdc \ + 70afc41079e42a402066ce556552a478 \ + 26a9ff1052f12176f2d168f1e41b339e \ + f77fc9fd7b24926d6cfc9881cc0efab8 \ + ed0342f94ffebe96d5650f55c23b12a1 \ + 10c9ec124683092e8fc0cb93ce0de640 \ + cf52970ee52905ad114b93571dd9c6c6 \ + 603aaa62874e458ebecb55bd8b249edb \ + 8a4686ec3b3d644f70e6780462a755b1 \ + 3391bb3a172bd8aab0c0dc61b31c459c \ + d39ccc2276d4c0b11ee46aa82d31acb5 \ + 4c5c5dd84fee3aa2dc530702bddc85e8 \ + 59978ef7bcea7bc55e24d06a2d32a32c \ + 493a2f042d86baa5c6bac75202c64554 \ + baac29564e83e3957b1976f3a1d92ba6 \ + a6242be0e2040974cb83dc7c4c67b761 \ + 8c1bba1510c915f915a9eca6fa95f476 \ + 19070d2b1f030565e3d994df2fd9cb6c \ + 3d2977b047e366303274ab03ebef1c2b \ + 9f40837910054385d663c557f735b03a \ + 3fa75bcd254d37247ec3e97bad1dd445 \ + 33ee4fa20d181488961006de02740b50 \ + 782fd3cac41045c0d89d69b90012d8b7 \ + e08921c68133df2e254fe723b368bae3 \ + 52f1c0adc1d0fb68e8608b8c4faa3c71 \ + 8dab3b3ec00dc56cffde0b0c410d47b5 \ + 7ee8703970c3fa6a2e37893de742824b \ + bece18dd831ac2ce1e26e92271e6d832 \ + 5d404b52af03b999e7fb74fbe16d3bd0 \ + 8aa040d9c661f68ebb67d5b71813473b \ + 1e0ad6e5cdab371cabd218748fee9b6d \ + 74d9ab54981e8f02e7eb683ac0a8a6b9 \ + 3763e6c936b1accbd2e9a7c8118793e0 \ + 750ca4b374c5cd501a612a841f7362a9 \ + a46bd303e3155f7975b167af12435e5e \ + 1ab2952ce15d2f9cfe279821274133eb \ + 8071e8e030bee77619611dbb4e508864 \ + 32c8f5f8523fd26925e2a6495604bb93 \ + 53c91805e78e1ab2a34282be3aecbe94 \ + 324bb5f02dba12add6dc16c10bfbce6c \ + e62727696767b6ef195e3b50e42817c1 \ + 4824dbe307f1d20e74a4ebad2b7e4d6e \ + c3ec5977ecc0f6244ef3be87f5325e72 \ + d3f5e27649cc6184d1bca2d065d2a092 \ + bb072f15d5e4067bea6933a4fbeb9c0a \ + 92f23eb502ec2add616257ca9ea8823e \ + 27e0b5429881ec07a10c75803f572312 \ + 7bfceacb0504ab8f7cc961f0c81bb844 \ + 60134448c463c3e2645353f8de19f669 \ + fe5d62a5aa97e780833348f5d9a6ec9b \ + 3d41dae1c09c54f19d224f58e98e5a89 \ + e7c07242a95ee1df865efe9534e10a34 \ + 8d0a78969cbc0ceb1787bcd02430cefd \ + 6d39e92a8d9bac6e8613eae79b4ac637 \ + 97a0c8bef92ca2df111b6067deea1630 \ + 8dbc13bf4848e7a0f39572be8c9c319c \ + 5af6733a9e5107b2df46a32fa1e1ef7b \ + dd838e84196263901190504f44053a5f \ + 474ea5fc0ec36be109eba41e9ff92595 \ + 799f84552a7a943a492fb3f27f1d6b1e \ + 8488e9acd924b1baf4f97cbb3ca418f6 \ + 62b3edf8c2db7fccb1a6a41134b84e62 \ + d84097823667ed4c3f938da04a13992c \ + 0372a8de508e57da4d4869f058bcb630 \ + 4fd75413081a400a1c230f0700732611 \ + 0b7994d1256215201bdfb810a357ffa2 \ + 1d3e530a3410fc95a6987d70f84a6332 \ + ff7c38e023578064f54c98f7b0f7d2c2 \ + b57599fc2bb8cfd76567e656070d0d72 \ + 656eb112c9634812796a81803b04a3e6 \ + d15066ccf2d33bbd8afdb9036ba47da5 \ + df09b038f991ff902161d83159d4871a \ + e685b43c1f198999c125bc7bbe084ab3 \ + e40d2efcee31e346fbc82277683422ea \ + 4918da28fbc2f6888ad71c159996a9b5 \ + c01022fe0357c10ca1d48b16187f81bd \ + 8e87a3c1697ca04a19ebde7187f15156 \ + 31667fab2083c342c85bb51c2cba6d58 \ + fe77a3f609b6fd8d5b08f3b2ef14d2ad \ + f50aaf5171cbc0327f8d18a4ec7405fb \ + c3fe94727289a0f8f47b149810022900 \ + df401fb6d6fe40c02ecea514716ee96a \ + bd04a204662b00e7d773d0a753bd0928 \ + 5f153f7135dceb02f88266121c836b4e \ + 057d52b1e2b951597cc4a82876e7646b \ + 06e7dbde9932c6a9bac63d9288670678 \ + 5c98b89b530b563b6e5f6e1b631c4b35 \ + b30ef1414dde99d96e89aeea2b3fc094 \ + 73272fe4aadb91d550dca8fc7ead8bf7 \ + 3aefa31e8413112958290a6ca004b096 \ + 60bcdfbbaca59d4c147f4fa11c592c68 \ + e155c3d45440413eec6db44f68a21b69 \ + fba3b040a55c01be7376d3dd5c4d4920 \ + 23cc9e52c52465f5b225e62ab7cc3457 \ + d3d110551104b00b42c9920958939391 \ + 03f9ff96b48b1a661e6804fe63d7d6a2 \ + c34dcfcdcf62d89900e94a6a7b1ed0d7 \ + 7077d380579b979cd864756ac90e3f9c \ + a087f8a5947ecf4e734ac9cfe695469c \ + 0764d84de2302fda8d1d72b95f31a0b8 \ + cc9ba5bc2cc1f60765c57f5d6cc10042 \ + a63fa50b0954c349c74980347253f06e \ + a2db9e4d802b919606c596d7d95ef251 \ + d07af7d3cab8ed749a8310a89be6b1ff \ + 4ba60e706b5e69a88192ff773b27a229 \ + 58d0064087bc800cf6ee10d667651491 \ + 84a3537d01f17e0e19f28000bb445c6b \ + 2721e88844fd0335095f7e99df1ebbb9 \ + 0bedbc5d1b29e4d6a7fbae0e6d1e146a \ + e85f829193ea1afa080dcff7f77cf945 \ + c6acde76d0fbb62b7eda3857d8a73436 \ + 9e3ea187f6e3f01e3c9590782c744b3e \ + c000dfa6a77a58ede02be41418056bf3 \ + 9e0bf233b47424b8449a928bd31a1470 \ + 9160664d20c024783323f5b90ca74d2d \ + 6fa7c4b0da26b511570845e41527bc8f \ + 825ecc659b700477535aa5c7dea95a82 \ + 40e508baeee8cdccbc471489b0f449ff \ + 7b3195612bc6090f0fa759e747a9e91c \ + 7c81e7a61ec172a229d6fdbc553e883d \ + ccc5ff9ff4a431e36c0b6dd9f640ab58 \ + 5ac809692422b722eaded90be3c4d9c2 \ + d75b1c734f85b007c55ca84217df4201 \ + 76124c2327f642cddf19a4aa50cbcb7d \ + a362e890dd0dfe51ecd95a4a1be6e28c \ + b0a7859b81eeead5a15800d489e07347 \ + 4604959975c2154a14f6b5e97444e2c8 \ + 5a4f0e9922683867565531089e3c417f \ + 4917ff4eaed099a21ff16b96f0df49cb \ + 1a6e77e2f6f916ef7a5a9481ed426b76 \ + e01c75ca9113d2af67ae903fa39e14be \ + 97b832ecaac0eee2b644fd42f2931160 \ + b235f97b3139681d61419166e7c00e3c \ + c45800f4dfb888a928c772b081065214 \ + 2e504fc2b79dc46f983c960e30be1702 \ + 675fcfdbc94cd10b26b71965d3c3807b \ + bd9b057de16e5b299bcda0894cfd823e \ + 420f93a43fa603c1253213bdf28983df \ + ebe381c6ee4281c78701e79a2cf90bc8 \ + 0ce3cb22636a6b7992a2cd5b106f54ea \ + 9c414752deabb69c93aa3911422a960c \ + 4b8c01a755ea55d3344d9ccb07c093ca \ + 56c34619687723fa3fc23213471e8545 \ + a8ec1126ef06244ac1e3773981a005f1 \ + 4b9ee6818517941de3ad6d645b77af3a \ + d631c116041b5f68abc8680fa82feedf \ + c0e036fd990d0c9cae11b5876a5cb572 \ + c5e50e299295e662ad19c58428d6e085 \ + a8bd18783d4b87808a6dad6814f297b6 \ + 2493cc854d9a4fb0a1ed78595a5b667a \ + b4dcac855af5df71f3383d86c4a96b78 \ + aecd889de42c8168e1bc97a6f2720d8f \ + fd9aa273ad560dedd00ddcf3dbe808ce \ + 0b06dd6bef5cc7724c3daf6c900d38d0 \ + af692853d165edb9c5df23627b2f8e04 \ + e460418ee4f5508bc53c97e809331882 \ + 9e544fc057bf6032dd55b02f87b8dbf4 \ + 653e04baa68a4484b3b839c19221e474 \ + 907244c0d3791f3f981c7cc8e4cad0a3 \ + 50bcf9c0d46f49e8fdbbe9ffa1a73c56 \ + 7e12f02e9742f49de13bbeacfe2906b8 \ + f1adbc335ff6dd6692959688dedd9484 \ + af00c723f5d3b3e4e6e388e98d6bf7f1 \ + 205459def23510e8815562e73a65c898 \ + 12e4ba5909e1f30b9142932571eaa4da \ + 233dee08f26c9cbe78f29b66c0c20ccd \ + cf2f0435bd5b5111fea46e8d9dc6522d \ + 7e264bc8f23a45ad680668cb5e57d9fd \ + f490982aceabdbd515348f63e638a782 \ + 37cf6acd1c3259eefeba636e4cc9b365 \ + 228eb40a277a6dda01626b6e9287ee66 \ + 8ff78776b6140283bd558ad74554cb16 \ + 5e9fce0f8489727426f9b155cd08d8e3 \ + 07c75fec267864bcbb800ca7709ceae2 \ + 42b88767a9db3d9fe6e59b5dff52abf5 \ + 1d827ececfe381f71248b88ec399f359 \ + ae91c97885d67994a342820cf7d59fb2 \ + d6291d0e18f55b8364b36a7f5e1af699 \ + 5ecf56203dda9419751b532d99c3601d \ + 0baac9bed3d6065b6128aa8a888e5eb9 \ + 6a32bab57772c3a1146d599b65ffb0cb \ + 7d76a523677de261dda1b65d29a93c4e \ + 5af0856196b1bb934f25a66b082c4131 \ + 256e8677308aa17acc8c82b54d8a4fae \ + 1810d970f84683a419d7b9aa6740f8a6 \ + aca51d2a40262bfd8e69fbf6b2b01ed2 \ + 418d3ebc9610905ab514667dad302f56 \ + ee7a5f842c39bc47c474196e83b0df5f \ + e30085994bbeb4b7f4895d48216d5476 \ + ae5dab3db7dc317e16bb6f9e7eb15d14 \ + a661e92ffd6cb9f0893126e3cde3fffc \ + 4a80ab58144fc731cd12abc6d5139d7f \ + d1e5569ab3528bea44f2a7ebb1ec0a35 \ + 6b5c7401117316735435311bf551515b \ + 82401c70623ccc1bfc0bcb5c3b0ac8b7 \ + 0538d1da369f3e3f0412aa4d735c1b61 \ + 4ac453abdecd6346f92989b4f789ac84 \ + 1e585d25db7b5bb009b060befc74e9fe \ + 7b1261ea730a9314bc9bcdf4a379bf98 \ + 93aeba00993f0ed8c474864e455cf584 \ + fdf3aa5e1f6c33e4f68b0f7b08e1e94e \ + 7fe15f165a1812b23e5b1980aa364de2 \ + 2d8d8b377d144f5e32b4f65a69eb0b24 \ + f505a218806e44b2369671089d65e839 \ + fc60e4ecd18db5e582b9e7dd19dd62e4 \ + b4a0a98a54439a5a37952c8879187ee3 \ + f916271c81cfe339d66df629e3828392 \ + d2cc4e584ed64165fc56d2c9081eb3ee \ + 461fc1209ec16fb35a70adebd0f3c09f \ + 42408be0352a76b14f1e77a6b8858a77 \ + c8ae0dd2469d51f273abdbfb24adceac \ + 7c532e05dc3b2bd295136a297260c4dc \ + c8f9eb4d5f0173b70647e559b03e85fb \ + e3932c56e06c7d1e780242ca5feba32f \ + 82078b82ed1c52aac9552a39ead691a0 \ + ff221db0109795b44f92352780cd1901 \ + 74d8afce717ff89fb2cb5141f121782b \ + 9420cc533b8572ae0d04750421127f80 \ + 31bc883e6f9b36925f55460401197274 \ + ce622fdb8d18cd1c13ed8fadc5400c10 \ + e4e7efe2ab7921499d5c247a349e9e1f \ + 21b43d5721b3a9c16059acb691f4314d \ + 2fcf5fe983975bbcea43129c9fb31923 \ + 06ed54fefb2e737e18d586bfa7ad44fe \ + 6249245cf12427da0a4f37bc3d294ff4 \ + f8839491f88f7a15ac8a5bdd787de442 \ + c9defe80406280bcfce4ecf31c0200b3 \ + 43661dc16a38eb42bd49a11b9f00d6f4 \ + 82d98dc87dc8503400aa095f5aa70f13 \ + 8e053c23f1d36fbf3f276fbf501e3e35 \ + 67def8e3d7d4b26b803a2d0799ef31b9 \ + 8f6b6cc71be0473b79c65abfea592c07 \ + 10e133f0f33f0f41bc7fdad56e85a35b \ + 73ff8cffc66d065488dcf50e3b8c0c1f \ + f29a1bb1b5f3f29cedb36f40f720d765 \ + ebdff467249aa3dca005a441dc824236 \ + cc180843b3b626ede01ebd9a0d9fbdaa \ + 3e61457993a6e3fdaaf2fbe82bd7dff3 \ + 9d66208e00715217a8c1f2e40efe4a0c \ + 90a6772f747261b181e3801bf51d9379 \ + 7bfcad253aff26bc26c5e3521f3ba891 \ + 4625feab41aceeb81e268cf272a8cb43 \ + 64c940cf10c49b34761e1a4dbf2b023f \ + 97aab350fb2614818580f00d1fb284ad \ + 3b23aa9eb619cbfd68d96719db904597 \ + db6fe956ec67f88412df3a627158a7ba \ + 519bfbdd19531f1d7b775bfa7ce4ee80 \ + 6a50f7029b3a8cc76f5f50ef9ee0b4aa \ + 610bf72284e8f22d831d2f4ab3b87809 \ + b7bf9803f61dcdcfc0bc07dfe5c6c249 \ + f601f89fde92362c93611ef2358e1bc1 \ + e876964c7b83db85fb7897bee7ad0f45 \ + 7b38b145ae3f6d7d09a1a7a98396f1a2 \ + 6cae4969689ecc3b4b4c31a9fb9539a6 \ + dfbd8371187d9453f7461825972272bb \ + 10291d9a0022076bc0827250816d3476 \ + a42cc2834b2150027d7b427558a87803 \ + 087bfc476e9d73628cebd265590f11f7 \ + eb721c4d9e5dba8f93e9de0a80036ec3 \ + 43f743c17293ad2404a9a4967f4e570b \ + c9bde3bd6ba907b5319657c3b65e1191 \ + e900a384ac7dbb320fe6a7279fbfef89 \ + c4769705079e88d68739e6089e8769a3 \ + f15c7457b6f2e06ee2037472d2f9a0fd \ + d18d362345c4fe512ef67b738b239fb8 \ + 689203efc084fc0f1d1f74f5d354ae75 \ + 274f9bcda1e4afd4a290329eff9267ad \ + 580dd7d12690c726da7d5075f3442a74 \ + e334c03160b1e0989c2a71ca55f631fc \ + a061ad1db3e0d839725b037ff8be84e7 \ + 89f443c919328fcc7b985e262823f0ab \ + a4dca633705dd04abd9a35e0b794d3d4 \ + e5e5a1190e8e84eda279934d60ec4d48 \ + 5909d8a50e0749f6aa8cfea853f161f0 \ + 37869fac434114d80ef4af359f0a6a12 \ + 4b9f324ed896f7e327f561e2341ac9ea \ + 812034252008acfa704cbc65c505bdf2 \ + 20cfa8aba7521c8767344b06c39479f7 \ + 0498c4a11448bfc35dc7bb2caa64c753 \ + db96b50050277bf05a3c68534bbb9586 \ + b9e37d5fc4ad28b612b78ad37816684d \ + 09de9d01e7331ff3da11f58be8bef0df \ + 57b0fdc06f3330e9cafafe88af48c0cf \ + 1736946acda05e1e94b814f3e3c0145a \ + 803148006d757487c3767bcdfffd8eb1 \ + 0fa82df5a92ae7acde1f67130935c17b \ + 53fc83d016a4a5c3d69a099eb3d10e1d \ + 7a5233ce3372d0ac3adc2c85f616e3ad \ + 338a919a7f8b6a7b1eb23272a2b7a237 \ + 0137ff709b7fe58cc99d835bb01a84bf \ + 71835a55bbab1c98313163f2fe78138e \ + 9196c9f6e81d7775d63a9444b4fdfd3d \ + 9a3b018157fc6d55b895dd429e54bcc2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libadwaita" +MAINTAINER="Julian Grinblat" +EMAIL="julian@dotcore.co.il" diff --git a/multimedia/spotify/doinst.sh b/multimedia/spotify/doinst.sh index 5fb28930db..15897e058c 100644 --- a/multimedia/spotify/doinst.sh +++ b/multimedia/spotify/doinst.sh @@ -1,3 +1,10 @@ +chmod 4755 usr/share/spotify/*.so* if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/spotify/spotify.SlackBuild b/multimedia/spotify/spotify.SlackBuild index 2bb66306a4..8dfd752e93 100644 --- a/multimedia/spotify/spotify.SlackBuild +++ b/multimedia/spotify/spotify.SlackBuild @@ -1,18 +1,20 @@ #!/bin/bash - -# Slackware build script for spotify - +# +# Slackware build script for spotify. +# # Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com> - +# Copyright 2022-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil +# Copyright 2023 Reza Talebi, Shahin Shahr, Iran. +# # Based on Ryan's SlackBuild: # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org - +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version, with the following exception: # the text of the GPL license may be omitted. - +# # This program is distributed in the hope that it will be useful, but # without any warranty; without even the implied warranty of # merchantability or fitness for a particular purpose. Compiling, @@ -20,7 +22,7 @@ # may result in lapses of consciousness and/or very being, up to and # including the end of all existence and the Universe as we know it. # See the GNU General Public License for more details. - +# # You may have received a copy of the GNU General Public License along # with this program (most likely, a file named COPYING). If not, see # <https://www.gnu.org/licenses/>. @@ -29,22 +31,21 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=spotify SRCNAM=spotify-client -VERSION=${VERSION:-1.1.10} -VERSION32=${VERSION32:-1.0.72} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.2.31.1205} +RELVER=${RELVER:-g4d59ad7c} +VERSION32=${VERSION32:-1.0.72.117} +RELVER32=${RELVER32:-g6bd7cc73-35} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} # Modified since Spotify has diferent versions for each architecture case "$(uname -m)" in - i?86) VERSION=${VERSION32}; DEBARCH="*-*_i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;; - x86_64) DEBARCH="*-*_amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;; + i?86) VERSION=${VERSION32}; RELVER=${RELVER32}; DEBARCH="_i386" ; ARCH=i586 ;; + x86_64) DEBARCH="_amd64" ; ARCH=x86_64 ;; *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; esac -# 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 @@ -59,7 +60,7 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar -p $CWD/${SRCNAM}_${VERSION}${DEBARCH}.deb data.tar.gz | tar zxv +ar -p $CWD/${SRCNAM}_${VERSION}.${RELVER}${DEBARCH}.deb data.tar.gz | tar zxv chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -67,42 +68,26 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -## create our opt/ directory -mkdir -p $PKG/opt/$PRGNAM/ +# directories. +mkdir -p $PKG/usr/{bin,doc/${PRGNAM}-$VERSION,share/applications} -## move usr/ to opt/ to avoid -## collisions -mv usr/ $PKG/opt/$PRGNAM/ +# application launcher. +mv $PKG/usr/share/$PRGNAM/$PRGNAM.desktop $PKG/usr/share/applications/$SRCNAM.desktop +ln -sf /usr/share/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM -## rebuild some directories -mkdir -p $PKG/usr/{bin,doc}/ -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +# icons. +for res in 16 22 24 32 48 64 128 256 512; do + install -Dm644 "$PKG/usr/share/$PRGNAM/icons/spotify-linux-${res}.png" \ +"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/$SRCNAM.png" +done -## we make our own launcher -cat <<EOT > $PKG/usr/bin/$PRGNAM -#!/bin/sh -/opt/$PRGNAM/usr/bin/$PRGNAM "\$@" -EOT - -chmod 755 $PKG/usr/bin/$PRGNAM - -## install all icon sizes, thanks to Dhaby -( - cd $PKG/opt/$PRGNAM/usr/share/$PRGNAM/icons - for IMG in $PRGNAM-linux-*.png; do - SIZE=${IMG##*$PRGNAM-linux-} - DIRNAME=${SIZE%.png}x${SIZE%.png} - install -D $IMG $PKG/usr/share/icons/hicolor/$DIRNAME/apps/$SRCNAM.png - done -) - -mkdir -p $PKG/usr/share/applications/ -mv $PKG/opt/$PRGNAM/usr/share/$PRGNAM/$PRGNAM.desktop \ - $PKG/usr/share/applications/$SRCNAM.desktop - -mv $PKG/opt/$PRGNAM/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +# docs. +gzip -dc $PKG/usr/share/doc/$SRCNAM/changelog.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# remove dirs. +rm -rf $PKG/usr/share/{doc,spotify/apt-keys} + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/multimedia/spotify/spotify.info b/multimedia/spotify/spotify.info index a09c3ce6bf..6f0220567a 100644 --- a/multimedia/spotify/spotify.info +++ b/multimedia/spotify/spotify.info @@ -1,10 +1,10 @@ PRGNAM="spotify" -VERSION="1.1.10" +VERSION="1.2.31.1205" HOMEPAGE="https://www.spotify.com" DOWNLOAD="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb" MD5SUM="c8e54d60452bda40f6de23f11c909b2d" -DOWNLOAD_x86_64="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.10.546.ge08ef575-19_amd64.deb" -MD5SUM_x86_64="ab544e7d35789b6cfddcb61dfe4bd1d9" -REQUIRES="" -MAINTAINER="DhabyX" -EMAIL="slack.dhabyx@gmail.com" +DOWNLOAD_x86_64="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.31.1205.g4d59ad7c_amd64.deb" +MD5SUM_x86_64="1537cfa045f0948f84c8eddce44c64d3" +REQUIRES="libcurl-gnutls libayatana-appindicator" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" diff --git a/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.info b/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.info index 2b698bab60..3535d68d13 100644 --- a/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.info +++ b/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.info @@ -8,4 +8,3 @@ MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" - diff --git a/multimedia/stills2dv/stills2dv.SlackBuild b/multimedia/stills2dv/stills2dv.SlackBuild index cb4568d875..c098071b13 100644 --- a/multimedia/stills2dv/stills2dv.SlackBuild +++ b/multimedia/stills2dv/stills2dv.SlackBuild @@ -16,7 +16,7 @@ SRCVER=$(printf $VERSION | tr _ -) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -34,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/straw-viewer/README b/multimedia/straw-viewer/README deleted file mode 100644 index aff15dfd6e..0000000000 --- a/multimedia/straw-viewer/README +++ /dev/null @@ -1,55 +0,0 @@ -straw-viewer (search and stream videos from youtube) - -straw-viewer is a lightweight application for searching and streaming -videos from YouTube, using the API of invidio.us[2]. The project is -in its early development stages and some features are not implemented -yet. - -straw-viewer is a fork of youtube-viewer that does not require a Google -API key. Usage and user interface are identical to youtube-viewer. - -For playing videos, this uses mplayer, vlc, or mpv. However, the mplayer -that ships with Slackware 14.2 has some issues with straw-viewer (or -actually with youtube: the audio stream cuts out randomly, and can be -fixed by pressing the left arrow usually). Using vlc or mpv is highly -recommended. - -Optional dependencies: - -perl-Gtk3, perl-File-ShareDir - for gtk-straw-viewer. -perl-lwp-useragent-cached - for local cache support. -perl-JSON-XS - for faster JSON deserialization. -perl-Text-CharWidth, perl-Unicode-LineBreak - for better formatting - in the terminal. -perl-Term-ReadLine-Gnu - for command editing/history in the terminal. -youtube-dl [1] - if this is present, straw-viewer will use it to detect - available formats for the video. - -Counting optional ones, straw-viewer has over 40 dependencies. To make -life easier, there's a "straw-viewer.sqf" queue file included with this -build, which includes everything listed above. - -This build always includes the command-line client (straw-viewer). For -the GTK client (gtk-straw-viewer[3]), install perl-Gtk3 and -perl-File-ShareDir before running this script. If you have them -installed but don't want gtk-straw-viewer, you can set GTK=no in the -script's environment. - -Notes: - -[1] A small caveat about youtube-dl: straw-viewer works without it, - though occasionally it'll choose a lower quality than is available - for some videos. However, if youtube-dl is present but outdated, - straw-viewer will fail to play videos at all! If you suspect this, - remove youtube-dl and try without it. - -[2] The default API host is http://invidious.snopyta.org. If you get - "Bad gateway" or "Too many requests" errors, try changing the - api_host in ~/.config/straw-viewer/straw-viewer.conf or via - the --api-host option. A list of API hosts can be found at: - https://instances.invidio.us/ - -[3] To force gtk-straw-viewer to use your preferred terminal for - downloading with wget and watching in a terminal, set - TERMINAL in the script's environment (e.g. TERMINAL="xterm" or - TERMINAL="urxvt"). diff --git a/multimedia/straw-viewer/git2tarxz.sh b/multimedia/straw-viewer/git2tarxz.sh deleted file mode 100644 index 3cc7487637..0000000000 --- a/multimedia/straw-viewer/git2tarxz.sh +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# Create source tarball from git repo, with generated version number. - -# Takes one optional argument, which is the commit or tag to create a -# tarball of. With no arg, HEAD is used. - -# Version number example: 0.0.1+20200227_ad7ec17 - -# Notes: - -# Do not use this if you're packaging a release. - -# This script doesn't need to be run as root. It does need to be able -# to write to the current directory it's run from. - -# Running this script twice for the same commit will NOT give identical -# tarballs, even if the contents are identical. This is because tar -# includes the current time in a newly-created tarball (plus there may -# be other git-related reasons). - -# Once you've generated a tarball, you'll still need a place to host it. -# Ask on the mailing list, if you don't have your own web server to -# play with. - -## Config: -# Github project and user names: -PRGNAM=straw-viewer -GITUSER=trizen - -# For github projects, you can use this unmodified: -CLONE_URL=https://github.com/$GITUSER/$PRGNAM.git - -# For non-github projects, you might not need GITUSER, in which case -# just omit it from the script. - -## End of config. - -set -e - -GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX ) -rm -rf $GITDIR -git clone $CLONE_URL $GITDIR - -CWD="$( pwd )" -cd $GITDIR - -if [ "$1" != "" ]; then - git reset --hard "$1" || exit 1 -fi - -GIT_SHA=$( git rev-parse --short HEAD ) - -DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 ) - -VERTAG=$( git tag -l | tail -1 ) - -VERSION=${VERTAG}+${DATE}_${GIT_SHA} - -rm -rf .git -find . -name .gitignore -print0 | xargs -0 rm -f - -cd "$CWD" -rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz -mv $GITDIR $PRGNAM-$VERSION -tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION - -echo -echo "Created tarball: $PRGNAM-$VERSION.tar.xz" -echo "VERSION=\"$VERSION\"" -echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\"" diff --git a/multimedia/straw-viewer/restore_mplayer.diff b/multimedia/straw-viewer/restore_mplayer.diff deleted file mode 100644 index ea6efb0800..0000000000 --- a/multimedia/straw-viewer/restore_mplayer.diff +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur straw-viewer-0.1.3/bin/gtk-straw-viewer straw-viewer-0.1.3.patched/bin/gtk-straw-viewer ---- straw-viewer-0.1.3/bin/gtk-straw-viewer 2021-02-23 11:29:38.000000000 -0500 -+++ straw-viewer-0.1.3.patched/bin/gtk-straw-viewer 2021-08-03 12:55:18.814976310 -0400 -@@ -163,6 +163,13 @@ - fs => q{--fullscreen}, - arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*}, - }, -+ mplayer => { -+ cmd => q{mplayer}, -+ srt => q{-sub *SUB*}, -+ audio => q{-audiofile *AUDIO*}, -+ fs => q{-fs}, -+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*}, -+ }, - }, - video_player_selected => undef, # autodetect it later - -diff -Naur straw-viewer-0.1.3/bin/straw-viewer straw-viewer-0.1.3.patched/bin/straw-viewer ---- straw-viewer-0.1.3/bin/straw-viewer 2021-02-23 11:29:38.000000000 -0500 -+++ straw-viewer-0.1.3.patched/bin/straw-viewer 2021-08-03 12:57:03.187966822 -0400 -@@ -158,6 +158,14 @@ - arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*}, - novideo => q{--no-video}, - }, -+ mplayer => { -+ cmd => q{mplayer}, -+ srt => q{-sub *SUB*}, -+ audio => q{-audiofile *AUDIO*}, -+ fs => q{-fs}, -+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*}, -+ novideo => q{-novideo}, -+ }, - }, - - video_player_selected => ( diff --git a/multimedia/straw-viewer/straw-viewer.info b/multimedia/straw-viewer/straw-viewer.info deleted file mode 100644 index a001f25f9e..0000000000 --- a/multimedia/straw-viewer/straw-viewer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="straw-viewer" -VERSION="0.1.3" -HOMEPAGE="https://github.com/trizen/straw-viewer/" -DOWNLOAD="https://github.com/trizen/straw-viewer/archive/0.1.3/straw-viewer-0.1.3.tar.gz" -MD5SUM="fcae48602793f701833da52686bf2504" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-JSON perl-Module-Build perl-List-MoreUtils" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" diff --git a/multimedia/strawberry/slack-desc b/multimedia/strawberry/slack-desc index 53873dfbfb..bbd6c9a6aa 100644 --- a/multimedia/strawberry/slack-desc +++ b/multimedia/strawberry/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| strawberry: strawberry (fork of Clementine) +strawberry: Strawberry is a music player and music collection organizer. It is +strawberry: aimed at music collectors and audiophiles. With Strawberry you can +strawberry: play and manage your digital music collection, or stream your +strawberry: favorite radios. Strawberry is free software released under GPL. +strawberry: The source code is available on GitHub. It's written in C++ using +strawberry: the Qt toolkit and GStreamer. Strawberry is compatible with both +strawberry: Qt version 5 and 6. strawberry: -strawberry: Strawberry is a audio player and music collection organizer. It is a -strawberry: fork of Clementine released in 2018 aimed at music collectors, audio -strawberry: enthusiasts and audiophiles. The name is inspired by the band -strawberry: Strawbs. It's based on a heavily modified version of Clementine -strawberry: created in 2012-2013. It's written in C++ and Qt 5. -strawberry: -strawberry: -strawberry: https://www.strawbs.org/ +strawberry: https://www.strawberrymusicplayer.org/ strawberry: diff --git a/multimedia/strawberry/strawberry.SlackBuild b/multimedia/strawberry/strawberry.SlackBuild index ee4ac4e450..0668e158e1 100644 --- a/multimedia/strawberry/strawberry.SlackBuild +++ b/multimedia/strawberry/strawberry.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=strawberry -VERSION=${VERSION:-0.6.12} +VERSION=${VERSION:-1.0.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/multimedia/strawberry/strawberry.info b/multimedia/strawberry/strawberry.info index 1c12a74a10..0a41421f33 100644 --- a/multimedia/strawberry/strawberry.info +++ b/multimedia/strawberry/strawberry.info @@ -1,10 +1,10 @@ PRGNAM="strawberry" -VERSION="0.6.12" +VERSION="1.0.23" HOMEPAGE="https://www.strawberrymusicplayer.org/" -DOWNLOAD="https://files.jkvinge.net/packages/strawberry/strawberry-0.6.12.tar.xz" -MD5SUM="947cae0b362e09964791acd4ac59492f" +DOWNLOAD="https://github.com/strawberrymusicplayer/strawberry/releases/download/1.0.23/strawberry-1.0.23.tar.xz" +MD5SUM="472f2352e143995a2c324f37c2a3b325" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="chromaprint protobuf" +REQUIRES="chromaprint protobuf3" MAINTAINER="Matthew Miller" EMAIL="mattallmill@gmail.com" diff --git a/multimedia/stream2chromecast/README b/multimedia/stream2chromecast/README new file mode 100644 index 0000000000..75588b222e --- /dev/null +++ b/multimedia/stream2chromecast/README @@ -0,0 +1,8 @@ +A Chromecast media streamer for Linux. +Stream2Chromecast casts audio and video files to a Chromecast device +from Linux. It can also transcode any unsupported files in real time +and play them on the Chromecast. It is written in Python 2.7 and uses +either ffmpeg or avconv for transcoding. + +Transcoding depends on ffmpeg with aac support, which is not currently +enabled, so this won't work out of the box. diff --git a/multimedia/stream2chromecast/slack-desc b/multimedia/stream2chromecast/slack-desc new file mode 100644 index 0000000000..4942c24bc3 --- /dev/null +++ b/multimedia/stream2chromecast/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------------------------------------------------------| +stream2chromecast: stream2chromecast (A Chromecast media streamer for Linux) +stream2chromecast: +stream2chromecast: Stream2Chromecast casts audio and video files to a Chromecast device +stream2chromecast: from Linux. It can also transcode any unsupported files in real time +stream2chromecast: and play them on the Chromecast. It is written in Python 2.7 and +stream2chromecast: uses either ffmpeg or avconv for transcoding. +stream2chromecast: +stream2chromecast: +stream2chromecast: +stream2chromecast: +stream2chromecast: https://github.com/dohliam/stream2chromecast diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/stream2chromecast/stream2chromecast.SlackBuild index 1038207b65..207804c2a6 100644 --- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild +++ b/multimedia/stream2chromecast/stream2chromecast.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# -# Slackware build script for opera-developer-ffmpeg-codecs. -# -# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. + +# Slackware build script for stream2chromecast + +# Copyright SPN Team 2022 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM="opera-developer-ffmpeg-codecs" -VERSION=${VERSION:-0.44.1} +PRGNAM=stream2chromecast +VERSION=${VERSION:-20190727} +COMMIT=c5a44df0a04550d75d704e39d822bfaccde16cc7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,22 +54,15 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" - BITS="i686" - echo "This package is currently only available for 64bit." - exit 1 elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - BITS="i686" - echo "This package is currently only available for 64bit." - exit 1 elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - BITS="x86_64" else - echo "Package for $(uname -m) architecture is not available." - exit 1 + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -76,10 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir -p $PRGNAM-${VERSION} -unzip $CWD/${VERSION}-linux-x64.zip -d $PRGNAM-${VERSION} -cd $PRGNAM-${VERSION} +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,13 +80,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +mkdir -p $PKG/usr/share/$PRGNAM +cp *.py $PKG/usr/share/$PRGNAM/ +mkdir -p $PKG/usr/bin +ln -s --relative $PKG/usr/share/$PRGNAM/stream2chromecast.py $PKG/usr/bin/stream2chromecast + 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/lib${LIBDIRSUFFIX}/opera-developer/lib_extra -mv libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/ - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/stream2chromecast/stream2chromecast.info b/multimedia/stream2chromecast/stream2chromecast.info new file mode 100644 index 0000000000..b89156724f --- /dev/null +++ b/multimedia/stream2chromecast/stream2chromecast.info @@ -0,0 +1,10 @@ +PRGNAM="stream2chromecast" +VERSION="20190727" +HOMEPAGE="https://github.com/dohliam/stream2chromecast" +DOWNLOAD="https://github.com/dohliam/stream2chromecast/archive/c5a44df0a04550d75d704e39d822bfaccde16cc7/stream2chromecast-c5a44df0a04550d75d704e39d822bfaccde16cc7.tar.gz" +MD5SUM="2a516c8d0f02d2fe69dc89eff6fda5f8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="%README%" +MAINTAINER="SPN Team" +EMAIL="pwmn-master@hotmail.com" diff --git a/multimedia/stremio/README b/multimedia/stremio/README new file mode 100644 index 0000000000..b971a8eddb --- /dev/null +++ b/multimedia/stremio/README @@ -0,0 +1,10 @@ +Stream videos like a slacker! With this application you can stream +everything form netflix, HBO, Disney+, AppleTV+, Popcorn Time, Youtube. +It uses plugins that can be installed by one click in the application. +You can resume a movie from another device and they don't record you're +activity. It has all modern features and its a full media center. +Integrates well with kde and other desktop environments. +Defaults to wayland and fallback to X11 and uses mpv, qt and js. +You will have a huge library of movies and you can even stream local +files or a magnet link from the clipboard, auto download subtitles, +TV Channels, radio. diff --git a/multimedia/stremio/doinst.sh b/multimedia/stremio/doinst.sh new file mode 100644 index 0000000000..6dfc7ee718 --- /dev/null +++ b/multimedia/stremio/doinst.sh @@ -0,0 +1,14 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi +which_node=$(which node 2>/dev/null) +if [ $? -eq 0 ]; then + ln -sf "$which_node" "/usr/share/stremio/node" +else + ln -sf "/usr/bin/node" "/usr/share/stremio/node" +fi diff --git a/multimedia/stremio/no-js-download.patch b/multimedia/stremio/no-js-download.patch new file mode 100644 index 0000000000..6814b9008f --- /dev/null +++ b/multimedia/stremio/no-js-download.patch @@ -0,0 +1,43 @@ +--- b/release.makefile 2023-04-13 18:46:36.368966456 +0200 ++++ a/release.makefile 2023-04-13 18:55:38.068985747 +0200 +@@ -1,6 +1,6 @@ + + BUILD_DIR := build +-INSTALL_DIR := ${PREFIX}/opt/stremio ++INSTALL_DIR := ${PREFIX}/usr/share/stremio + + ICON_BIN := smartcode-stremio.svg + +@@ -8,12 +8,13 @@ + + STREMIO_BIN := ${BUILD_DIR}/stremio + +-ALL: ${STREMIO_BIN} ${SERVER_JS} icons ++ALL: ${STREMIO_BIN} icons + + install: + make -C ${BUILD_DIR} install + install -Dm 644 ${SERVER_JS} "${INSTALL_DIR}/server.js" +- install -Dm 644 smartcode-stremio.desktop "${INSTALL_DIR}/smartcode-stremio.desktop" ++ install -Dm 644 stremio.asar "${INSTALL_DIR}/stremio.asar" ++ install -Dm 644 smartcode-stremio.desktop "${INSTALL_DIR}/../applications/com.stremio.stremio.desktop" + cp -r icons "${INSTALL_DIR}/" +- ln -s "${shell which node}" "${INSTALL_DIR}/node" ++ + ifneq ("$(wildcard ../mpv-build/mpv/build)","") +@@ -28,14 +29,11 @@ + mkdir -p "$@" + cd "$@" && printf 16,22,24,32,64,128 | xargs -I^ -d, sh -c 'rsvg-convert ../images/stremio.svg -w ^ -o smartcode-stremio_^.png && rsvg-convert ../images/stremio_tray_white.svg -w ^ -o smartcode-stremio-tray_^.png' + +-${SERVER_JS}: +- wget "${shell cat server-url.txt}" -qO ${SERVER_JS} || rm ${SERVER_JS} +- + ${STREMIO_BIN}: + mkdir -p ${BUILD_DIR} + cd ${BUILD_DIR} && cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${PREFIX}" .. + make -j -C ${BUILD_DIR} + + clean: +- rm -rf ${BUILD_DIR} ${SERVER_JS} icons ++ rm -rf ${BUILD_DIR} icons + diff --git a/multimedia/stremio/slack-desc b/multimedia/stremio/slack-desc new file mode 100644 index 0000000000..81e5c79bc8 --- /dev/null +++ b/multimedia/stremio/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------------------------------------------------------| +stremio: stremio (The Next Generation Media Center) +stremio: +stremio: Stremio is a modern media center that's a one-stop solution for your +stremio: video entertainment. You discover, watch and organize video content +stremio: from easy to install addons. Movies, TV shows, live TV or web channels +stremio: +stremio: +stremio: +stremio: +stremio: +stremio: diff --git a/multimedia/stremio/stremio.SlackBuild b/multimedia/stremio/stremio.SlackBuild new file mode 100644 index 0000000000..9310e4f468 --- /dev/null +++ b/multimedia/stremio/stremio.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for stremio + +# Copyright 2023 Martin BÃ¥ngens Sweden +# 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=stremio +VERSION=${VERSION:-4.4.168} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +# git submodules +CHROMA=99045142479ba0e2fc3b9cccb72e348c67cd5829 +LIBMPV=b0eae77cf6dc59aaf142b7d079cb13a0904fd3ee +SINGLEAPPLICATION=aede311d28d20179216c5419b581087be2a8409f + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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 $TMP +rm -rf stremio-shell-$VERSION +tar xvf $CWD/stremio-shell-$VERSION.tar.gz +cd stremio-shell-$VERSION + +tar xvzf $CWD/razerchroma-$CHROMA.tar.gz --strip-components=1 -C deps/chroma +tar xvzf $CWD/libmpv-$LIBMPV.tar.gz --strip-components=1 -C deps/libmpv +tar xvzf $CWD/SingleApplication-$SINGLEAPPLICATION.tar.gz --strip-components=1 -C deps/singleapplication + +cp $CWD/server.js server.js +cp $CWD/stremio.asar stremio.asar +cat $CWD/no-js-download.patch | patch -Np1 --verbose || exit 1 +sed -i 's|opt/stremio|usr/share/stremio|g' CMakeLists.txt + +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 {} \; + +make -f release.makefile PREFIX="$PKG" +make -f release.makefile PREFIX="$PKG" install + +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/bin" +ln -sf /usr/share/stremio/stremio "$PKG/usr/bin/stremio" + +while read -r -d '' _file +do + _res="$(printf '%s' "$_file" | sed 's/\.png$//;s/^.*_//')" + mkdir -p "$PKG/usr/share/icons/hicolor/${_res}x${_res}/apps" + ln -sf /usr/share/stremio/icons/smartcode-stremio_${_res}.png \ + "$PKG/usr/share/icons/hicolor/${_res}x${_res}/apps/smartcode-stremio.png" + ln -sf /usr/share/stremio/icons/smartcode-stremio-tray_${_res}.png \ + "$PKG/usr/share/icons/hicolor/${_res}x${_res}/apps/smartcode-stremio-tray.png" +done < <(find "$PKG/usr/share/stremio/icons" -maxdepth 1 -type f -name 'smartcode-stremio_*.png' -print0) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.md \ + README.md \ + $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/stremio/stremio.info b/multimedia/stremio/stremio.info new file mode 100644 index 0000000000..d95b12458e --- /dev/null +++ b/multimedia/stremio/stremio.info @@ -0,0 +1,20 @@ +PRGNAM="stremio" +VERSION="4.4.168" +HOMEPAGE="https://www.stremio.com" +DOWNLOAD="https://github.com/Stremio/stremio-shell/archive/v4.4.168/stremio-shell-4.4.168.tar.gz \ + https://github.com/Ivshti/razerchroma/archive/9904514/razerchroma-99045142479ba0e2fc3b9cccb72e348c67cd5829.tar.gz \ + https://github.com/Ivshti/libmpv/archive/b0eae77/libmpv-b0eae77cf6dc59aaf142b7d079cb13a0904fd3ee.tar.gz \ + https://github.com/itay-grudev/SingleApplication/archive/aede311/SingleApplication-aede311d28d20179216c5419b581087be2a8409f.tar.gz \ + https://dl.strem.io/four/v4.4.168/server.js \ + https://dl.strem.io/four/v4.4.168/stremio.asar" +MD5SUM="2f535573ed2d140f1adb63828b08df2e \ + ae4749875770e58021d751aea80acf4b \ + 1a3c6c3054b171289799bd54b68db6c1 \ + 1caffe59b5bf00c1ffa8ef2889b86f8b \ + f69a94ae08b0d4b06e249e3b8ad5396b \ + 80c5b4cf9d87b97972bc8e5098f44b51" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="mpv nodejs" +MAINTAINER="Martin BÃ¥ngens" +EMAIL="marbangens@gmail.com" diff --git a/multimedia/subtitlecomposer/README b/multimedia/subtitlecomposer/README deleted file mode 100644 index afd19299eb..0000000000 --- a/multimedia/subtitlecomposer/README +++ /dev/null @@ -1,4 +0,0 @@ -subtitlecomposer (A text-based subtitles editor) - -A text-based subtitles editor for every platform supported by KDE, -supporting basic operations as well as advanced tasks. diff --git a/multimedia/subtitlecomposer/link_gobject.patch b/multimedia/subtitlecomposer/link_gobject.patch deleted file mode 100644 index 93a69c479f..0000000000 --- a/multimedia/subtitlecomposer/link_gobject.patch +++ /dev/null @@ -1,15 +0,0 @@ -# Description: This pacth adds a missing find_package for GObject. -# Without this patch the package will FTBFS with binutils-gold. -# Forwarded: http://sourceforge.net/tracker/?func=detail&aid=2897376&group_id=208427&atid=1005654 -# Author: José Manuel Santamaría Lema <panfaust@gmail.com> -# ---- subtitlecomposer-0.5.3.orig/src/player/gstreamer/CMakeLists.txt -+++ subtitlecomposer-0.5.3/src/player/gstreamer/CMakeLists.txt -@@ -1,6 +1,7 @@ - # TODO WHY AREN'T THESE INCLUDED BY MACRO_OPTIONAL_FIND_PACKAGE( GStreamer )? - FIND_PACKAGE( GLIB2 REQUIRED ) - FIND_PACKAGE( LibXml2 REQUIRED ) -+FIND_PACKAGE( GObject REQUIRED ) - - SET( players_gstreamer_INCLUDE_DIR - ${GLIB2_INCLUDE_DIR} diff --git a/multimedia/subtitlecomposer/subtitlecomposer-build-fixes.patch b/multimedia/subtitlecomposer/subtitlecomposer-build-fixes.patch deleted file mode 100644 index b7e6a7ca5c..0000000000 --- a/multimedia/subtitlecomposer/subtitlecomposer-build-fixes.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfig.cpp subtitlecomposer-0.5.3/src/config/appconfig.cpp ---- subtitlecomposer-0.5.3-old/src/config/appconfig.cpp 2009-02-25 23:46:09.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/config/appconfig.cpp 2010-05-31 19:38:02.402837345 +0200 -@@ -120,7 +120,7 @@ - return m_groups.contains( name ) ? m_groups[name] : 0; - } - --const AppConfigGroup* const AppConfig::group( const QString& name ) const -+const AppConfigGroup* AppConfig::group( const QString& name ) const - { - return m_groups.contains( name ) ? m_groups[name] : 0; - } -diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.cpp subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.cpp ---- subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.cpp 2009-02-25 23:46:09.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.cpp 2010-05-31 19:35:25.526185415 +0200 -@@ -39,7 +39,7 @@ - delete m_config; - } - --const AppConfigGroup* const AppConfigGroupWidget::config() -+const AppConfigGroup* AppConfigGroupWidget::config() - { - return m_config; - } -diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.h subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.h ---- subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.h 2009-02-25 23:46:09.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.h 2010-05-31 19:35:20.630352728 +0200 -@@ -43,7 +43,7 @@ - explicit AppConfigGroupWidget( AppConfigGroup* configGroup, QWidget* parent=0 ); - virtual ~AppConfigGroupWidget(); - -- const AppConfigGroup* const config(); -+ const AppConfigGroup* config(); - - signals: - -diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfig.h subtitlecomposer-0.5.3/src/config/appconfig.h ---- subtitlecomposer-0.5.3-old/src/config/appconfig.h 2009-02-25 23:46:09.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/config/appconfig.h 2010-05-31 19:37:54.703670415 +0200 -@@ -58,7 +58,7 @@ - void writeTo( KSharedConfig* config ) const; - - AppConfigGroup* group( const QString& name ); -- const AppConfigGroup* const group( const QString& name ) const; -+ const AppConfigGroup* group( const QString& name ) const; - - void setGroup( AppConfigGroup* group ); /// ownership is transferred to this object - AppConfigGroup* removeGroup( const QString& name ); /// ownership is transferred to the caller -diff -ruN subtitlecomposer-0.5.3-old/src/core/sstring.cpp subtitlecomposer-0.5.3/src/core/sstring.cpp ---- subtitlecomposer-0.5.3-old/src/core/sstring.cpp 2009-05-24 23:56:30.000000000 +0200 -+++ subtitlecomposer-0.5.3/src/core/sstring.cpp 2010-05-31 19:03:39.173876937 +0200 -@@ -1112,7 +1112,7 @@ - append( str ); - } - --SStringList::SStringList( const SStringList::SStringList& list ): -+SStringList::SStringList( const SStringList& list ): - QList<SString>( list ) - { - } -diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleactions.cpp subtitlecomposer-0.5.3/src/core/subtitleactions.cpp ---- subtitlecomposer-0.5.3-old/src/core/subtitleactions.cpp 2009-02-25 23:46:11.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/core/subtitleactions.cpp 2010-05-31 19:35:47.497016112 +0200 -@@ -136,7 +136,7 @@ - - SubtitleLine* line; - int insertOffset = 0; -- int lineIndex; -+ int lineIndex = 0; - while ( ! m_lines.isEmpty() ) - { - line = m_lines.takeFirst(); -@@ -242,7 +242,7 @@ - emit m_subtitle.linesAboutToBeInserted( m_firstIndex, m_lastIndex ); - - int insertOffset = 0; -- int lineIndex; -+ int lineIndex = 0; - while ( ! m_lines.isEmpty() ) - { - SubtitleLine* line = m_lines.takeFirst(); -diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitle.cpp subtitlecomposer-0.5.3/src/core/subtitle.cpp ---- subtitlecomposer-0.5.3-old/src/core/subtitle.cpp 2009-05-24 10:08:53.000000000 +0200 -+++ subtitlecomposer-0.5.3/src/core/subtitle.cpp 2010-05-31 19:36:33.366179618 +0200 -@@ -216,7 +216,7 @@ - } - } - --FormatData* const Subtitle::formatData() const -+FormatData* Subtitle::formatData() const - { - return m_formatData; - } -@@ -1201,7 +1201,7 @@ - return; - - int splitIndex = -1; // the index of the first line to move (or copy) to dstSub -- bool splitsLine; // splitTime falls in within a line's time -+ bool splitsLine = false; // splitTime falls in within a line's time - - QList<SubtitleLine*> lines; - for ( SubtitleIterator it( *this, Range::full() ); it.current(); ++it ) -diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitle.h subtitlecomposer-0.5.3/src/core/subtitle.h ---- subtitlecomposer-0.5.3-old/src/core/subtitle.h 2009-03-05 03:56:25.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/core/subtitle.h 2010-05-31 19:36:28.420346163 +0200 -@@ -183,7 +183,7 @@ - - private: - -- FormatData* const formatData() const; -+ FormatData* formatData() const; - void setFormatData( const FormatData* formatData ); - - void beginCompositeAction( const QString& title, bool immediateExecution=true, bool delaySignals=true ); -diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleline.cpp subtitlecomposer-0.5.3/src/core/subtitleline.cpp ---- subtitlecomposer-0.5.3-old/src/core/subtitleline.cpp 2009-03-03 05:16:07.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/core/subtitleline.cpp 2010-05-31 19:35:54.000000000 +0200 -@@ -289,7 +289,7 @@ - } - - --FormatData* const SubtitleLine::formatData() const -+FormatData* SubtitleLine::formatData() const - { - return m_formatData; - } -diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleline.h subtitlecomposer-0.5.3/src/core/subtitleline.h ---- subtitlecomposer-0.5.3-old/src/core/subtitleline.h 2009-03-03 05:16:07.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/core/subtitleline.h 2010-05-31 19:36:02.793682498 +0200 -@@ -247,7 +247,7 @@ - - private: - -- FormatData* const formatData() const; -+ FormatData* formatData() const; - void setFormatData( const FormatData* formatData ); - - void processAction( Action* action ); -diff -ruN subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.cpp subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.cpp ---- subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.cpp 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.cpp 2010-05-31 19:37:23.237008638 +0200 -@@ -596,7 +596,7 @@ - params = g_object_class_list_properties( G_OBJECT_GET_CLASS( GST_ELEMENT( object ) ), &length ); - for ( guint index = 0; index < length; ++index ) - { -- gchar* strValue; -+ gchar* strValue = 0; - - if ( params[index]->flags & G_PARAM_READABLE ) - { -diff -ruN subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.h subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.h ---- subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.h 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.h 2010-05-31 19:34:31.977024143 +0200 -@@ -47,7 +47,7 @@ - GStreamerBackend( Player* player ); - virtual ~GStreamerBackend(); - -- const GStreamerConfig* const config() { return static_cast<const GStreamerConfig* const>( PlayerBackend::config() ); } -+ const GStreamerConfig* config() { return static_cast<const GStreamerConfig* const>( PlayerBackend::config() ); } - - virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); - -diff -ruN subtitlecomposer-0.5.3-old/src/player/mplayer/mplayerbackend.h subtitlecomposer-0.5.3/src/player/mplayer/mplayerbackend.h ---- subtitlecomposer-0.5.3-old/src/player/mplayer/mplayerbackend.h 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/mplayer/mplayerbackend.h 2010-05-31 19:34:38.849523428 +0200 -@@ -45,7 +45,7 @@ - MPlayerBackend( Player* player ); - virtual ~MPlayerBackend(); - -- const MPlayerConfig* const config() { return static_cast<const MPlayerConfig* const>( PlayerBackend::config() ); } -+ const MPlayerConfig* config() { return static_cast<const MPlayerConfig* const>( PlayerBackend::config() ); } - - virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); - -diff -ruN subtitlecomposer-0.5.3-old/src/player/phonon/phononbackend.h subtitlecomposer-0.5.3/src/player/phonon/phononbackend.h ---- subtitlecomposer-0.5.3-old/src/player/phonon/phononbackend.h 2009-02-25 23:46:16.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/phonon/phononbackend.h 2010-05-31 19:34:44.607023515 +0200 -@@ -53,7 +53,7 @@ - PhononBackend( Player* player ); - virtual ~PhononBackend(); - -- const PhononConfig* const config() { return static_cast<const PhononConfig* const>( PlayerBackend::config() ); } -+ const PhononConfig* config() { return static_cast<const PhononConfig* const>( PlayerBackend::config() ); } - - virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); - -diff -ruN subtitlecomposer-0.5.3-old/src/player/playerbackend.h subtitlecomposer-0.5.3/src/player/playerbackend.h ---- subtitlecomposer-0.5.3-old/src/player/playerbackend.h 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/playerbackend.h 2010-05-31 19:34:18.996192330 +0200 -@@ -48,7 +48,7 @@ - PlayerBackend( Player* player, AppConfigGroup* config ); - virtual ~PlayerBackend(); - -- const AppConfigGroup* const config() const { return m_config; } -+ const AppConfigGroup* config() const { return m_config; } - - /// If possible (i.e., configs are compatible), copies the config object into - /// the player backend config. Ownership of config object it's not transferred. -diff -ruN subtitlecomposer-0.5.3-old/src/player/player.cpp subtitlecomposer-0.5.3/src/player/player.cpp ---- subtitlecomposer-0.5.3-old/src/player/player.cpp 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/player.cpp 2010-05-31 19:38:38.306165999 +0200 -@@ -82,7 +82,7 @@ - { - } - --Player* const Player::instance() -+Player* Player::instance() - { - static Player player; - -diff -ruN subtitlecomposer-0.5.3-old/src/player/player.h subtitlecomposer-0.5.3/src/player/player.h ---- subtitlecomposer-0.5.3-old/src/player/player.h 2009-02-25 23:46:17.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/player.h 2010-05-31 19:38:31.893666505 +0200 -@@ -53,7 +53,7 @@ - Ready // same as Stopped or Finished - } State; - -- static Player* const instance(); -+ static Player* instance(); - - inline VideoWidget* videoWidget(); - -diff -ruN subtitlecomposer-0.5.3-old/src/player/xine/xinebackend.h subtitlecomposer-0.5.3/src/player/xine/xinebackend.h ---- subtitlecomposer-0.5.3-old/src/player/xine/xinebackend.h 2009-02-25 23:46:16.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/player/xine/xinebackend.h 2010-05-31 19:34:49.336188698 +0200 -@@ -51,7 +51,7 @@ - XineBackend( Player* player ); - virtual ~XineBackend(); - -- const XineConfig* const config() { return static_cast<const XineConfig* const>( PlayerBackend::config() ); } -+ const XineConfig* config() { return static_cast<const XineConfig* const>( PlayerBackend::config() ); } - - virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); - -diff -ruN subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.cpp subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.cpp ---- subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.cpp 2009-02-25 23:46:10.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.cpp 2010-05-31 19:42:18.002811365 +0200 -@@ -176,7 +176,7 @@ - delete m_insertUnicodeControlCharMenu->parent(); - } - --KAction* const SimpleRichTextEdit::action( int action ) const -+KAction* SimpleRichTextEdit::action( int action ) const - { - return action >= 0 && action < ActionCount ? m_actions[action] : 0; - } -diff -ruN subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.h subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.h ---- subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.h 2009-02-25 23:46:10.000000000 +0100 -+++ subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.h 2010-05-31 19:42:11.763644715 +0200 -@@ -60,7 +60,7 @@ - bool fontBold(); - bool fontStrikeOut(); - -- virtual KAction* const action( int action ) const; -+ virtual KAction* action( int action ) const; - - virtual bool event( QEvent* event ); - diff --git a/multimedia/subtitlecomposer/subtitlecomposer-linkage.patch b/multimedia/subtitlecomposer/subtitlecomposer-linkage.patch deleted file mode 100644 index 62f572e67a..0000000000 --- a/multimedia/subtitlecomposer/subtitlecomposer-linkage.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- subtitlecomposer-0.5.3/src/main/CMakeLists.txt.orig 2009-04-17 15:09:12.000000000 -0400 -+++ subtitlecomposer-0.5.3/src/main/CMakeLists.txt 2010-01-12 01:19:25.000000000 -0500 -@@ -46,6 +46,8 @@ - ${KDE4_KDEUI_LIBS} - ${KDE4_KHTML_LIBS} - ${KDE4_KFILE_LIBS} -+ ${KDE4_PHONON_LIBS} -+ ${KDE4_KROSSCORE_LIBS} - ${KDE4_KROSSUI_LIBS} - ${common_LIBS} - ${config_LIBS} diff --git a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild deleted file mode 100644 index fa26763096..0000000000 --- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/bash - -# Slackware build script for Subtitle Composer - -# Maintained by Klaatu @member.fsf.org -# Written by Pablo Santamaria (pablosantamaria@gmail.com) - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=subtitlecomposer -VERSION=${VERSION:-0.5.3} -BUILD=${BUILD:-3} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/subtitlecomposer-build-fixes.patch -patch -p1 < $CWD/subtitlecomposer-linkage.patch -patch -p1 < $CWD/link_gobject.patch - -mkdir build -cd build - -LDFLAGS="-lX11" \ -cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DLIB_SUFFIX="$LIBDIRSUFFIX" \ - -DCMAKE_BUILD_TYPE="release" \ - .. - -make -make install DESTDIR=$PKG - -cd ../ - -# Fix api install files -cp src/main/scripting/scripting_*.h $PKG/usr/share/apps/subtitlecomposer - -find $PKG | xargs 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 -cp -a AUTHORS TODO ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $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 -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/subtitlecomposer/subtitlecomposer.info b/multimedia/subtitlecomposer/subtitlecomposer.info deleted file mode 100644 index b880f50023..0000000000 --- a/multimedia/subtitlecomposer/subtitlecomposer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="subtitlecomposer" -VERSION="0.5.3" -HOMEPAGE="http://subcomposer.sourceforge.net/" -DOWNLOAD="http://download.sourceforge.net/subcomposer/subtitlecomposer-0.5.3.tar.bz2" -MD5SUM="f660ed2ce4490a8705c883a9c57e39e5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Klaatu" -EMAIL="klaatu@member.fsf.org" diff --git a/multimedia/subtitleeditor/README b/multimedia/subtitleeditor/README index b349922655..ea57f4d244 100644 --- a/multimedia/subtitleeditor/README +++ b/multimedia/subtitleeditor/README @@ -1,4 +1,5 @@ -Subtitle Editor is a GTK+2 tool to edit subtitles for GNU/Linux and *BSD. +Subtitle Editor is a GTK+2 tool to edit subtitles for GNU/Linux and +*BSD. It can be used for new subtitles or as a tool to transform, edit, correct and refine existing subtitle. This program also shows sound diff --git a/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild index 166f40ae18..a7efd04c30 100644 --- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild +++ b/multimedia/subtitleeditor/subtitleeditor.SlackBuild @@ -81,6 +81,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -111,6 +112,8 @@ done find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/multimedia/subtitleripper/README b/multimedia/subtitleripper/README index 786c35ddfa..74da1774c6 100644 --- a/multimedia/subtitleripper/README +++ b/multimedia/subtitleripper/README @@ -1,11 +1,12 @@ DVD Subtitle Ripper for Linux -If you want to convert DVD subtitles into text format (e.g. subrip format) or -VobSub format this program could be useful for you. However, it is only one -tiny tool that you need in the process of producing srt files. This software -depends heavily on transcode for its input and is therefore part of the -transcode package (see transcode's contrib directory). So, if you want to -convert some subtitles, grap a copy of the lates transcode distribution. +If you want to convert DVD subtitles into text format (e.g. subrip +format) or VobSub format this program could be useful for +you. However, it is only one tiny tool that you need in the process +of producing srt files. This software depends heavily on transcode +for its input and is therefore part of the transcode package (see +transcode's contrib directory). So, if you want to convert some +subtitles, grap a copy of the latest transcode distribution. For srt file production the output of this program should be processed by some OCR software. diff --git a/multimedia/svt-av1/README b/multimedia/svt-av1/README new file mode 100644 index 0000000000..1fdb84c1d0 --- /dev/null +++ b/multimedia/svt-av1/README @@ -0,0 +1,4 @@ +The Scalable video technology for AV1 compliant +encoder and decoder. + +This is an optional dependency for FFmpeg. diff --git a/multimedia/svt-av1/changelog b/multimedia/svt-av1/changelog new file mode 100644 index 0000000000..7a9d90ac55 --- /dev/null +++ b/multimedia/svt-av1/changelog @@ -0,0 +1,26 @@ +Changelog for SVT-AV1 SlackBuild Script +-------------------------------------------------------------------- + +27/08/2022: + +Added to slackbuilds.org + +26/11/2022: + +Gitlab tag handling fixed by Andrew Clemons + +18/02/2023: + +Slackbuild script template fixed by B.Watson + +12/05/2023: + +Updated to version 1.5.0 + +06/02/2024: + +Updated to version 1.8.0 + +23/04/2024: + +Updated to version 2.0.0 diff --git a/multimedia/OpenPHT/slack-desc b/multimedia/svt-av1/slack-desc index 1bf3791fe0..256f59db6e 100644 --- a/multimedia/OpenPHT/slack-desc +++ b/multimedia/svt-av1/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -OpenPHT: OpenPHT (Plex client) -OpenPHT: -OpenPHT: OpenPHT is a fork of Plex Home Theater maintained by the folks -OpenPHT: behind RasPlex. -OpenPHT: -OpenPHT: Homepage: https://github.com/RasPlex/OpenPHT -OpenPHT: -OpenPHT: -OpenPHT: -OpenPHT: -OpenPHT: +svt-av1: svt-av1 (SVT-AV1 Encoder and Decoder) +svt-av1: +svt-av1: The Scalable video technology for AV1 compliant +svt-av1: encoder and decoder. +svt-av1: +svt-av1: Homepage https://gitlab.com/AOMediaCodec/SVT-AV1 +svt-av1: +svt-av1: +svt-av1: +svt-av1: +svt-av1: diff --git a/multimedia/svt-av1/svt-av1.SlackBuild b/multimedia/svt-av1/svt-av1.SlackBuild new file mode 100644 index 0000000000..7ed3a966e9 --- /dev/null +++ b/multimedia/svt-av1/svt-av1.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/bash + +# Slackware build script for SVT-AV1 + +# Copyright 2022-2024 Vijay Marcel +# 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=svt-av1 +VERSION=${VERSION:-2.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +DIR=${DIR:-SVT-AV1-v2.0.0} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $DIR +tar xvf $CWD/$DIR.tar.gz +cd $DIR + +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 {} \; + + +export LDFLAGS+=' -Wl,-z,noexecstack' +cmake -B build -S $TMP/$DIR \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ + -Wno-dev + +make -C build +make -C build install DESTDIR=$PKG + +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 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CONTRIBUTING.md CHANGELOG.md PATENTS.md LICENSE.md LICENSE-BSD2.md STYLE.md README.md Docs $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/svt-av1/svt-av1.info b/multimedia/svt-av1/svt-av1.info new file mode 100644 index 0000000000..2ab059c95e --- /dev/null +++ b/multimedia/svt-av1/svt-av1.info @@ -0,0 +1,10 @@ +PRGNAM="svt-av1" +VERSION="2.0.0" +HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1/" +DOWNLOAD="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v2.0.0/SVT-AV1-v2.0.0.tar.gz" +MD5SUM="8ed7d1859108ef57985507a94c749172" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/svt-hevc/README b/multimedia/svt-hevc/README new file mode 100644 index 0000000000..834e9085ec --- /dev/null +++ b/multimedia/svt-hevc/README @@ -0,0 +1,6 @@ + The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) is +an HEVC-compliant encoder library core that achieves excellent +density-quality tradeoffs, and is highly optimized for Intel Xeon +Scalable Processor and Xeon D processors. + + Optional, for building with march=native flag set NATIVE=yes diff --git a/multimedia/svt-hevc/slack-desc b/multimedia/svt-hevc/slack-desc new file mode 100644 index 0000000000..a1e4fdfc38 --- /dev/null +++ b/multimedia/svt-hevc/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------------------------------------------------------| +svt-hevc: svt-hevc (HEVC-compliant encoder library, optimized for Intel Xeon) +svt-hevc: +svt-hevc: +svt-hevc: +svt-hevc: The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) +svt-hevc: is an HEVC-compliant encoder library core that achieves excellent +svt-hevc: density-quality tradeoffs, and is highly optimized for Intel Xeon +svt-hevc: Scalable Processor and Xeon D processors. +svt-hevc: +svt-hevc: +svt-hevc: diff --git a/multimedia/svt-hevc/svt-hevc.SlackBuild b/multimedia/svt-hevc/svt-hevc.SlackBuild new file mode 100644 index 0000000000..265a1382a2 --- /dev/null +++ b/multimedia/svt-hevc/svt-hevc.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for svt-hevc + +# Copyright 2022 William PC - Seattle, USA +# 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=svt-hevc +VERSION=${VERSION:-1.5.1} +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 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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf SVT-HEVC-$VERSION +tar xvf $CWD/SVT-HEVC-$VERSION.tar.gz +cd SVT-HEVC-$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 {} \; + + +# enable march=native +if [ "${NATIVE:-no}" == "yes" ];then + OPTS="-DNATIVE=ON" +fi + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DBUILD_SHARED_LIBS=ON \ + $OPTS \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + + +# Don't ship .la files: +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.md NOTICES.md README.md Docs \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/svt-hevc/svt-hevc.info b/multimedia/svt-hevc/svt-hevc.info new file mode 100644 index 0000000000..db406e6a37 --- /dev/null +++ b/multimedia/svt-hevc/svt-hevc.info @@ -0,0 +1,10 @@ +PRGNAM="svt-hevc" +VERSION="1.5.1" +HOMEPAGE="https://01.org/sv" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/OpenVisualCloud/SVT-HEVC/archive/v1.5.1/SVT-HEVC-1.5.1.tar.gz" +MD5SUM_x86_64="cc41d3975610781f70527faa567c6a30" +REQUIRES="" +MAINTAINER="William PC" +EMAIL="w_calandrini[at]hotmail[dot]com" diff --git a/multimedia/svt-vp9/README b/multimedia/svt-vp9/README new file mode 100644 index 0000000000..4d0f069ac1 --- /dev/null +++ b/multimedia/svt-vp9/README @@ -0,0 +1,6 @@ + The Scalable Video Technology for VP9 Encoder (SVT-VP9 Encoder) is +a VP9-compliant encoder library core. The SVT-VP9 Encoder development +is a work-in-progress targeting performance levels applicable to both +VOD and Live encoding/transcoding video applications. + + Optional, for building with march=native flag set NATIVE=yes diff --git a/multimedia/svt-vp9/slack-desc b/multimedia/svt-vp9/slack-desc new file mode 100644 index 0000000000..14c716e3e5 --- /dev/null +++ b/multimedia/svt-vp9/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------------------------------------------------------| +svt-vp9: svt-vp9 (VP9-compliant encoder library, optimized for Intel Xeon) +svt-vp9: +svt-vp9: +svt-vp9: +svt-vp9: The Scalable Video Technology for VP9 Encoder (SVT-VP9 Encoder) is +svt-vp9: a VP9-compliant encoder library core. The SVT-VP9 Encoder development +svt-vp9: is a work-in-progress targeting performance levels applicable to both +svt-vp9: VOD and Live encoding/transcoding video applications. +svt-vp9: +svt-vp9: +svt-vp9: diff --git a/multimedia/freshplayerplugin/freshplayerplugin.SlackBuild b/multimedia/svt-vp9/svt-vp9.SlackBuild index 87aec4f182..5434772ce4 100644 --- a/multimedia/freshplayerplugin/freshplayerplugin.SlackBuild +++ b/multimedia/svt-vp9/svt-vp9.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for freshplayerplugin +# Slackware build script for svt-vp9 -# Copyright 2015-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2022 William PC - Seattle, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,11 @@ # 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=freshplayerplugin -VERSION=${VERSION:-0.3.11} +PRGNAM=svt-vp9 +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,39 +65,52 @@ else LIBDIRSUFFIX="" fi -DOCS="COPYING ChangeLog LICENSE README.md data/freshwrapper.conf.example" - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/v$VERSION.tar.?z* -cd $PRGNAM-$VERSION +rm -rf SVT-VP9-$VERSION +tar xvf $CWD/SVT-VP9-$VERSION.tar.gz +cd SVT-VP9-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + + +# enable march=native +if [ "${NATIVE:-no}" == "yes" ];then + OPTS="-DNATIVE=ON" +fi mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DBUILD_SHARED_LIBS=ON \ + $OPTS \ + -DCMAKE_BUILD_TYPE=Release .. make - install -D -m 0644 libfreshwrapper-flashplayer.so \ - $PKG/usr/lib$LIBDIRSUFFIX/mozilla/plugins/libfreshwrapper-flashplayer.so + make install/strip DESTDIR=$PKG cd .. + +# Don't ship .la files: +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.md NOTICES.md README.md Docs \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/svt-vp9/svt-vp9.info b/multimedia/svt-vp9/svt-vp9.info new file mode 100644 index 0000000000..3491239ce8 --- /dev/null +++ b/multimedia/svt-vp9/svt-vp9.info @@ -0,0 +1,10 @@ +PRGNAM="svt-vp9" +VERSION="0.3.0" +HOMEPAGE="https://01.org/sv" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/OpenVisualCloud/SVT-VP9/archive/v0.3.0/SVT-VP9-0.3.0.tar.gz" +MD5SUM_x86_64="1490ef3d1ce01ff06fd289a0df46870f" +REQUIRES="" +MAINTAINER="William PC" +EMAIL="w_calandrini[at]hotmail[dot]com" diff --git a/multimedia/tabu_audio_player/tabu_audio_player.info b/multimedia/tabu_audio_player/tabu_audio_player.info index bdeb9a733d..2d800ae48f 100644 --- a/multimedia/tabu_audio_player/tabu_audio_player.info +++ b/multimedia/tabu_audio_player/tabu_audio_player.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.mirrorservice.org/sites/download.salixos.org/i486/13.0/sour MD5SUM="783e2e2d6da7a8958b91e3763c00d39b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="gstreamer0" MAINTAINER="Luciano Tropea" EMAIL="luxiano.a2000@gmail.com" diff --git a/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild b/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild index 08c7553c56..7f245ed73d 100644 --- a/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild +++ b/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild @@ -99,6 +99,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog* COPYING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/telepathy-glib/telepathy-glib.SlackBuild b/multimedia/telepathy-glib/telepathy-glib.SlackBuild index c162ab2160..859cfe49ca 100644 --- a/multimedia/telepathy-glib/telepathy-glib.SlackBuild +++ b/multimedia/telepathy-glib/telepathy-glib.SlackBuild @@ -104,6 +104,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog* COPYING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/multimedia/telepathy-qt/telepathy-qt.info b/multimedia/telepathy-qt/telepathy-qt.info index 07fc99aa62..683f4bbdc3 100644 --- a/multimedia/telepathy-qt/telepathy-qt.info +++ b/multimedia/telepathy-qt/telepathy-qt.info @@ -5,6 +5,6 @@ DOWNLOAD="https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-0 MD5SUM="86470dd3d7f6de8b8f4f36165486d42f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="telepathy-farstream" +REQUIRES="telepathy-farstream qt4" MAINTAINER="Thorn Inurcide" EMAIL="thorn_inurcide@zoho.com" diff --git a/multimedia/tivodecode/tivodecode.SlackBuild b/multimedia/tivodecode/tivodecode.SlackBuild index e25333c15b..654f816252 100644 --- a/multimedia/tivodecode/tivodecode.SlackBuild +++ b/multimedia/tivodecode/tivodecode.SlackBuild @@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/totem/README b/multimedia/totem/README index 18152876cd..b98eff6adc 100644 --- a/multimedia/totem/README +++ b/multimedia/totem/README @@ -1,5 +1,12 @@ -totem is the official movie player of the GNOME desktop environment -based on GStreamer. It features a playlist, a full-screen mode, seek -and volume controls, as well as keyboard navigation. +totem is GNOME Videos. + +Videos is movie player for the GNOME desktop based on GStreamer. + +Almost all the controls are documented in the keyboard shortcuts +dialogue, accessible through Ctrl+H, or the Keyboard Shortcuts menu +item. Some others are listed below. + - Ctrl+Q = Quit + - Ctrl+W = Press back button/Quit + - Mouse button 1 double-click = Toggle full screen + - Middle mouse button click = Play/Pause -lirc, gdata, tracker, and nautilus are optional dependencies. diff --git a/multimedia/totem/doinst.sh b/multimedia/totem/doinst.sh index bfea1750ed..e924bab47c 100644 --- a/multimedia/totem/doinst.sh +++ b/multimedia/totem/doinst.sh @@ -8,14 +8,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null 2>/dev/null -} +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi -schema_install totem.schemas -schema_install totem-handlers.schemas -schema_install totem-video-thumbnail.schemas diff --git a/multimedia/totem/slack-desc b/multimedia/totem/slack-desc index 1694c2ebad..909eec76f7 100644 --- a/multimedia/totem/slack-desc +++ b/multimedia/totem/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -totem: totem (GNOME Movie Player) +totem: totem (GNOME Videos) totem: -totem: Totem is the official movie player of the GNOME desktop environment -totem: based on GStreamer. It features a playlist, a full-screen mode, seek -totem: and volume controls, as well as keyboard navigation. +totem: GNOME Videos is movie player for the GNOME desktop based on GStreamer. totem: -totem: homepage: http://projects.gnome.org/totem +totem: Note that the GNOME Videos is called 'totem' by GNOME developers. totem: totem: totem: totem: +totem: https://gitlab.gnome.org/GNOME/totem +totem: diff --git a/multimedia/totem/totem.SlackBuild b/multimedia/totem/totem.SlackBuild index 21be078943..156675eb03 100644 --- a/multimedia/totem/totem.SlackBuild +++ b/multimedia/totem/totem.SlackBuild @@ -2,8 +2,7 @@ # Slackware build script for totem -# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA -# Copyright 2011-2012 byteframe +# Copyright 2023, Bob Funk, Winnipeg Canada # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -12,22 +11,22 @@ # 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. +# 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=totem -VERSION=${VERSION:-2.32.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-3.38.2} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -71,38 +67,42 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-scrollkeeper \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -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 + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +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 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING MAINTAINERS NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/totem/totem.info b/multimedia/totem/totem.info index b7f87acfc7..2fdbc0ee3e 100644 --- a/multimedia/totem/totem.info +++ b/multimedia/totem/totem.info @@ -1,10 +1,10 @@ PRGNAM="totem" -VERSION="2.32.0" -HOMEPAGE="http://projects.gnome.org/totem" -DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/totem/2.32/totem-2.32.0.tar.bz2" -MD5SUM="2e55c3da316648ba860e3f88af2d30ab" +VERSION="3.38.2" +HOMEPAGE="https://gitlab.gnome.org/GNOME/totem" +DOWNLOAD="https://download.gnome.org/core/41/41.8/sources/totem-3.38.2.tar.xz" +MD5SUM="21246e0f5a0ee425c9e492b965476547" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libunique totem-pl-parser" -MAINTAINER="byteframe" -EMAIL="byteframe@gmail.com" +REQUIRES="clutter-gst clutter-gtk gnome-desktop grilo libpeas" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/multimedia/tovid/README b/multimedia/tovid/README index e276985b80..ea6cc0aa07 100644 --- a/multimedia/tovid/README +++ b/multimedia/tovid/README @@ -1,6 +1,7 @@ -tovid is a collection of GPL video disc authoring tools; it can help you -create your own DVDs, VCDs, and SVCDs for playback on your home DVD player. -The CLI scripts are particularly handy for automating disc creation. +tovid is a collection of GPL video disc authoring tools; it can help +you create your own DVDs, VCDs, and SVCDs for playback on your home +DVD player. The CLI scripts are particularly handy for automating +disc creation. transcode is a recommended, optional dependency. txt2tags is only needed to build man pages from git/svn sources. diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild index 60c17d8642..90af1f54c5 100644 --- a/multimedia/tovid/tovid.SlackBuild +++ b/multimedia/tovid/tovid.SlackBuild @@ -27,7 +27,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac diff --git a/multimedia/tovid/tovid.info b/multimedia/tovid/tovid.info index 99ca1f80b2..1a1e7e195a 100644 --- a/multimedia/tovid/tovid.info +++ b/multimedia/tovid/tovid.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mjpegtools" MAINTAINER="Edward W. Koenig" -EMAIL="kingbeowulf@gmail.com" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/multimedia/transcode/README b/multimedia/transcode/README index e1275f69d0..d2e499a222 100644 --- a/multimedia/transcode/README +++ b/multimedia/transcode/README @@ -1,12 +1,14 @@ transcode is a text-console utility for video stream processing. -Decoding and encoding is done by loading modules that are responsible for -feeding transcode with raw video/audio streams (import modules) and encoding -the frames (export modules). It supports elementary video and audio frame -transformations, including de-interlacing or fast resizing of video frames -and loading of external filters. + +Decoding and encoding is done by loading modules that are responsible +for feeding transcode with raw video/audio streams (import modules) +and encoding the frames (export modules). It supports elementary video +and audio frame transformations, including de-interlacing or fast +resizing of video frames and loading of external filters. You can enable some optional (not-autodetected) features by passing variables to the script: + FAAC=yes|no (default: no), requires faac LIBDV=yes|no (default: no), requires libdv LIBMPEG2=yes|no (default: no), requires libmpeg2 @@ -15,5 +17,6 @@ QUICKTIME=yes|no (default: no), requires libquicktime X264=yes|no (default: no), requires x264 XVID=yes|no (default: no), requires xvidcore -Note that newer versions of the stabilize and transform filters are available -as part of vid.stab and have thus been dropped from this package. +Note that newer versions of the stabilize and transform filters are +available as part of vid.stab and have thus been dropped from this +package. diff --git a/multimedia/tsduck/README b/multimedia/tsduck/README new file mode 100644 index 0000000000..8fa326df9c --- /dev/null +++ b/multimedia/tsduck/README @@ -0,0 +1,28 @@ +TSDuck is an extensible toolkit for MPEG transport streams. +It is used in digital television systems +for test, monitoring, integration, debug, lab, demo. + +In practice, TSDuck can be used for: +- Transport stream acquisition or transmodulation, including + DVB, ATSC, ISDB, ASI and IP multicast. +- Analyze transport streams, PSI/SI signalization, bitrates, + timestamps. +- Monitor and report conditions on the stream (video and audio + properties, bitrates, crypto-periods, signalization). +- On-the-fly transformation or injection of content and signalization. +- Modify, remove, rename, extract services. +- Work on live transport streams, DVB-S/C/T, ATSC, ISDB-S/T, ASI, + IP-TV, HTTP, HLS, SRT, RIST or offline transport stream files. +- Receive from or send to specialized hardware such as: + · Cheap DVB, ATSC or ISDB tuners (USB, PCI). + · Professional Dektec devices, ASI, modulators (USB, PCI). + ·HiDes modulators (USB). + · VATek-based modulators (USB) such as the Suntechtv U3. +- Re-route transport streams to other applications. +- Extract or inject Multi-Protocol Encapsulation (MPE) between TS and + UDP/IP. +- Analyze and inject SCTE 35 splice information. +- Extract specific encapsulated data (Teletext, T2-MI). +- Emulate a CAS head-end using DVB SimulCrypt interfaces to and from + ECMG or EMMG. +- And more... diff --git a/multimedia/tsduck/slack-desc b/multimedia/tsduck/slack-desc new file mode 100644 index 0000000000..a5478535d8 --- /dev/null +++ b/multimedia/tsduck/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------------------------------------------------------| +tsduck: tsduck (The MPEG Transport Stream Toolkit) +tsduck: +tsduck: TSDuck is an extensible toolkit for MPEG transport streams. +tsduck: It is used in digital television systems for test, monitoring, +tsduck: integration, debug, lab, demo. +tsduck: +tsduck: +tsduck: +tsduck: +tsduck: Homepage: https://tsduck.io/ +tsduck: diff --git a/multimedia/tsduck/tsduck.SlackBuild b/multimedia/tsduck/tsduck.SlackBuild new file mode 100644 index 0000000000..0fec4b666c --- /dev/null +++ b/multimedia/tsduck/tsduck.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for tsduck + +# Copyright 2023 Sacchetti Picchio Andrea Italy +# 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=tsduck +VERSION=${VERSION:-3.36.3528} +SRCVERSION=${SRCVERSION:-3.36-3528} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$SRCVERSION +unzip $CWD/$PRGNAM-$SRCVERSION.zip +cd $PRGNAM-$SRCVERSION + +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +make $NUMJOBS \ + NOGITHUB=true \ + NOTEST=true \ + SYSPREFIX=/usr \ + SYSROOT=$PKG \ + install + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a + +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 +cp -a \ + *.txt doc/*.pdf \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/tsduck/tsduck.info b/multimedia/tsduck/tsduck.info new file mode 100644 index 0000000000..276e47042e --- /dev/null +++ b/multimedia/tsduck/tsduck.info @@ -0,0 +1,10 @@ +PRGNAM="tsduck" +VERSION="3.36.3528" +HOMEPAGE="https://tsduck.io/" +DOWNLOAD="https://github.com/tsduck/tsduck/archive/v3.36-3528/tsduck-3.36-3528.zip" +MD5SUM="35cc6b694ef73d2895e2b1901800b3e8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/multimedia/tstools/README b/multimedia/tstools/README index bbfee693d2..6b5c1fcbce 100644 --- a/multimedia/tstools/README +++ b/multimedia/tstools/README @@ -1,17 +1,20 @@ TStools (Command line tools for working with MPEG data) -TStools are relatively simple tools which concentrate on MPEG (H.264 and H.262) -data packaged according to H.222 (i.e., TS or PS), with a particular interest in -checking for conformance. +TStools are relatively simple tools which concentrate on MPEG (H.264 +and H.262) data packaged according to H.222 (i.e., TS or PS), with a +particular interest in checking for conformance. -Transport Stream (TS) is typically used for distribution of cable and satellite -data. Program Stream (PS) is typically used to store data on DVDs. +Transport Stream (TS) is typically used for distribution of cable and +satellite data. Program Stream (PS) is typically used to store data +on DVDs. The tools are focussed on: - * Quick reporting of useful data (tsinfo, stream_type) - * Giving a quick overview of the entities in the stream (esdots, psdots) - * Reporting on TS packets (tsreport) or ES units/frames/fields (esreport) - * Simple manipulation of stream data (es2ts, esfilter, esreverse, esmerge, - ts2es) - * Streaming of data, possibly with introduced errors (tsplay) +* Quick reporting of useful data (tsinfo, stream_type) +* Giving a quick overview of the entities in the stream (esdots, + psdots) +* Reporting on TS packets (tsreport) or ES units/frames/fields + (esreport) +* Simple manipulation of stream data (es2ts, esfilter, esreverse, + esmerge, ts2es) +* Streaming of data, possibly with introduced errors (tsplay) diff --git a/multimedia/tstools/tstools.SlackBuild b/multimedia/tstools/tstools.SlackBuild index 4bbbb17efb..af338029ce 100644 --- a/multimedia/tstools/tstools.SlackBuild +++ b/multimedia/tstools/tstools.SlackBuild @@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/tvheadend/libhdhomerun.diff b/multimedia/tvheadend/libhdhomerun.diff new file mode 100644 index 0000000000..e3551769cf --- /dev/null +++ b/multimedia/tvheadend/libhdhomerun.diff @@ -0,0 +1,16 @@ +diff -Naur tvheadend-4.2.8/Makefile.hdhomerun tvheadend-4.2.8.patched/Makefile.hdhomerun +--- tvheadend-4.2.8/Makefile.hdhomerun 2019-01-12 03:58:47.000000000 -0500 ++++ tvheadend-4.2.8.patched/Makefile.hdhomerun 2022-02-16 13:55:18.391084069 -0500 +@@ -32,10 +32,10 @@ + # Upstream Packages + # ########################################################################### + +-LIBHDHR = libhdhomerun_20171221 ++LIBHDHR = libhdhomerun_20210624 + LIBHDHR_TB = $(LIBHDHR).tgz + LIBHDHR_URL = http://download.silicondust.com/hdhomerun/$(LIBHDHR_TB) +-LIBHDHR_SHA1 = 6b019728eadea3af7a5686ed5ba44e970bca7365 ++LIBHDHR_SHA1 = 9db6089b956de4e58084b623937f5fc3231fff0b + + # ########################################################################### + # Library Config diff --git a/multimedia/tvheadend/tvheadend.SlackBuild b/multimedia/tvheadend/tvheadend.SlackBuild index 0823783175..fd60f65751 100644 --- a/multimedia/tvheadend/tvheadend.SlackBuild +++ b/multimedia/tvheadend/tvheadend.SlackBuild @@ -22,6 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220216 bkw: Modified by SlackBuilds.org: +# - stop trying to download files from the SlackBuild. our scripts must +# run without network access. +# - fix build for latest libhdhomerun. +# - disable pcloud, since it fails even if we let the Makefile download it. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tvheadend @@ -38,9 +44,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -66,23 +69,32 @@ fi set -e +DATAVER=${DATAVER:-$VERSION} +HDHRVER=${HDHRVER:-20210624} + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-data-dvb-scan.tar.xz cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ patch -p1 < $CWD/tvheadend-4.2.8-gcc9.patch patch -p1 < $CWD/tvheadend-4.2.8-fno-common.patch -CFLAGS="$SLKCFLAGS -Wno-error=stringop-truncation -Wno-error=attributes" \ +# 20220216 bkw: use latest libhdhomerun +patch -p1 < $CWD/libhdhomerun.diff + +SLKCFLAGS+=" -DHDHOMERUN_TAG_DEVICE_AUTH_BIN=HDHOMERUN_TAG_DEVICE_AUTH_BIN_DEPRECATED" + +CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -97,9 +109,11 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-libvorbis_static \ --disable-libfdkaac_static \ --python=python3 \ + --disable-pcloud_cache \ + --nowerror \ --build=$ARCH-slackware-linux -make +make V=1 TVHEADEND_FILE_CACHE=$CWD make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/multimedia/tvheadend/tvheadend.info b/multimedia/tvheadend/tvheadend.info index 176900fb09..03cc3310a4 100644 --- a/multimedia/tvheadend/tvheadend.info +++ b/multimedia/tvheadend/tvheadend.info @@ -1,8 +1,12 @@ PRGNAM="tvheadend" VERSION="4.2.8" HOMEPAGE="https://tvheadend.org" -DOWNLOAD="https://github.com/tvheadend/tvheadend/archive/v4.2.8/tvheadend-4.2.8.tar.gz" -MD5SUM="b9571efa46dd489f9fe87acdb391d591" +DOWNLOAD="https://github.com/tvheadend/tvheadend/archive/v4.2.8/tvheadend-4.2.8.tar.gz \ + https://slackware.uk/~urchlay/src/tvheadend-4.2.8-data-dvb-scan.tar.xz \ + https://download.silicondust.com/hdhomerun/libhdhomerun_20210624.tgz" +MD5SUM="b9571efa46dd489f9fe87acdb391d591 \ + cc49260170f458000c944eac54bf213d \ + 233844b9238bd42cfdfbbd126a088fd2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="uriparser" diff --git a/multimedia/tvtime/0001-Fix-warning-implicit-declaration-of-function-minor-m.patch b/multimedia/tvtime/0001-Fix-warning-implicit-declaration-of-function-minor-m.patch new file mode 100644 index 0000000000..24256d722d --- /dev/null +++ b/multimedia/tvtime/0001-Fix-warning-implicit-declaration-of-function-minor-m.patch @@ -0,0 +1,31 @@ +From bfa96fec44b7db78b43b9b8d20d7ca02616f70ed Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Mon, 13 Aug 2018 17:41:57 +0200 +Subject: Fix: "warning: implicit declaration of function 'minor' / 'major'" + errors + +Fix the "warning: implicit declaration of function 'minor' / 'major'" +compiler warnings which ultimately lead to the following build error: + +src/get_media_devices.c:522: undefined reference to `major' + +Signed-off-by: Hans de Goede <hdegoede@redhat.com> +--- + src/get_media_devices.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/get_media_devices.c b/src/get_media_devices.c +index 619734ea..453b0677 100644 +--- a/src/get_media_devices.c ++++ b/src/get_media_devices.c +@@ -23,6 +23,7 @@ + #include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <string.h> + #include <stdlib.h> + #include <malloc.h> +-- +2.11.0 + diff --git a/multimedia/tvtime/README b/multimedia/tvtime/README index d14df4ab5c..93292b81d2 100644 --- a/multimedia/tvtime/README +++ b/multimedia/tvtime/README @@ -1,6 +1,6 @@ -tvtime is a high quality television application for use with video capture -cards on Linux systems. tvtime processes the input from a capture card and -displays it on a computer monitor or projector. +tvtime is a high quality television application for use with video +capture cards on Linux systems. tvtime processes the input from a +capture card and displays it on a computer monitor or projector. -Supported cards and troubleshooting information can be found at the project's -homepage. +Supported cards and troubleshooting information can be found at the +project's homepage. diff --git a/multimedia/tvtime/tvtime.SlackBuild b/multimedia/tvtime/tvtime.SlackBuild index bb81776e7c..b1756202ea 100644 --- a/multimedia/tvtime/tvtime.SlackBuild +++ b/multimedia/tvtime/tvtime.SlackBuild @@ -80,6 +80,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/0001-Fix-warning-implicit-declaration-of-function-minor-m.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/uavs3d/README b/multimedia/uavs3d/README new file mode 100644 index 0000000000..003959f13f --- /dev/null +++ b/multimedia/uavs3d/README @@ -0,0 +1,5 @@ +uavs3d is an open source and cross platform avs3 decoder. + +This compiles the 10bit version of the decoder. + +This is an optional dependency for FFmpeg. diff --git a/multimedia/uavs3d/fix-libdir.patch b/multimedia/uavs3d/fix-libdir.patch new file mode 100644 index 0000000000..1a8dc3ed44 --- /dev/null +++ b/multimedia/uavs3d/fix-libdir.patch @@ -0,0 +1,25 @@ +--- CMakeLists.txt 2023-02-23 08:04:14.000000000 +0530 ++++ CMakeListsn.txt 2024-04-29 23:03:55.252641340 +0530 +@@ -13,6 +13,8 @@ + " Unexpected pointer size ${CMAKE_SIZEOF_VOID_P} for ${CMAKE_SYSTEM_PROCESSOR}\n") + endif() + elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i386" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i586" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686" OR + "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86") + set(UAVS3D_TARGET_CPU "x86") + elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64" OR +@@ -109,7 +111,13 @@ + find_package(Threads REQUIRED) + set(prefix "${CMAKE_INSTALL_PREFIX}") + set(includedir "include") ++if(${CMAKE_SIZEOF_VOID_P} EQUAL 4) + set(libdir "lib") ++elseif(${CMAKE_SIZEOF_VOID_P} EQUAL 8) ++set(libdir "lib64") ++else() ++message(FATAL_ERROR " Compiling for wrong architecture in Slackware GNU/Linux \n") ++endif() + set(pc_file "${CONFIG_DIR}/${LIBNAME}.pc") + + set(CMAKE_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/${includedir}") diff --git a/multimedia/mythtv/slack-desc b/multimedia/uavs3d/slack-desc index f997e53b91..8779b976d1 100644 --- a/multimedia/mythtv/slack-desc +++ b/multimedia/uavs3d/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -mythtv: mythtv (mythical home media convergence PVR/DVR) -mythtv: -mythtv: MythTV is a GPL licensed suite of programs that allow you -mythtv: to build the mythical home media convergence (PVR / DVR) -mythtv: box on your own using Open Source software and operating -mythtv: systems. -mythtv: -mythtv: Homepage: https://www.mythtv.org/ -mythtv: -mythtv: -mythtv: +uavs3d: uavs3d (AVS3 Decoder) +uavs3d: +uavs3d: uavs3d is an open source and cross platform avs3 decoder +uavs3d: +uavs3d: Homepage: https://github.com/uavs3/uavs3d +uavs3d: +uavs3d: +uavs3d: +uavs3d: +uavs3d: +uavs3d: diff --git a/multimedia/uavs3d/uavs3d.SlackBuild b/multimedia/uavs3d/uavs3d.SlackBuild new file mode 100644 index 0000000000..f49506bf41 --- /dev/null +++ b/multimedia/uavs3d/uavs3d.SlackBuild @@ -0,0 +1,117 @@ +#!/bin/bash + +# Slackware build script for uavs3d + +# Copyright 2022-24 Vijay Marcel +# 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=uavs3d +VERSION=${VERSION:-1fd0491_20230223} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +sys_arch=${sys_arch:-$(uname -m)} +COMMIT=${COMMIT:-1fd04917cff50fac72ae23e45f82ca6fd9130bd8} +COMMITDATE=${COMMITDATE:-20230223} + +case "$sys_arch" in + i586) export ARCH=i586 ;; + i686) export ARCH=i686 ;; + x86_64) export ARCH=x86_64 ;; + *) echo "This SlackBuild will not build on $sys_arch platform" && exit 1 ;; +esac + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -O2 -pipe -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -O2 -pipe -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fPIC" + LIBDIRSUFFIX="64" +else + echo "This SlackBuild will not build on $sys_arch platform" && exit 1 +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT + +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 {} \; + +cd source +patch --verbose --unified < $CWD/fix-libdir.patch +cd .. + +mkdir -pv build/linux + +cmake -B build/linux -S $TMP/$PRGNAM-$COMMIT \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIB_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCOMPILE_10BIT=1 + +cmake --build build/linux + +make -C $TMP/$PRGNAM-$COMMIT/build/linux DESTDIR="$PKG" install + +install -D -m755 $TMP/$PRGNAM-$COMMIT/build/linux/uavs3dec -t "$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 --remove-section=.comment --remove-section=.note 2> /dev/null || true + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/uavs3d/uavs3d.info b/multimedia/uavs3d/uavs3d.info new file mode 100644 index 0000000000..940e617735 --- /dev/null +++ b/multimedia/uavs3d/uavs3d.info @@ -0,0 +1,10 @@ +PRGNAM="uavs3d" +VERSION="1fd0491_20230223" +HOMEPAGE="https://github.com/uavs3/uavs3d" +DOWNLOAD="https://github.com/uavs3/uavs3d/archive/1fd0491/uavs3d-1fd04917cff50fac72ae23e45f82ca6fd9130bd8.tar.gz" +MD5SUM="347425aec780f5dfee3baa768bca02aa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/uavs3e/README b/multimedia/uavs3e/README new file mode 100644 index 0000000000..28e015ad27 --- /dev/null +++ b/multimedia/uavs3e/README @@ -0,0 +1,3 @@ +uavs3e ia an open source and cross platform avs3 encoder. +It supports AVS3-P2 baseline profile. + diff --git a/multimedia/uavs3e/changelog b/multimedia/uavs3e/changelog new file mode 100644 index 0000000000..2e76dfcc48 --- /dev/null +++ b/multimedia/uavs3e/changelog @@ -0,0 +1,26 @@ +Changelog for the uavs3e SlackBuild script. +-------------------------------------------------- + +03/09/2022: + +Added to SBo. + +06/02/2023: + +When compiling on 32-bit systems you will run +into an error during the linking stage with +the error being: undefined reference to +_mm_extract_epi64, even if you patched the +CMakeLists.txt and adding the CFLAGS not +to detect the AVX2 and SSE4.1 flags it will not +work because then you will have another error- +incompatible types when initializing type _m128i +using type 'int' in the file cost_avx2.c in the +src directory.So in short uavs3e is not +supported on x86 or ARM-32 bit architecture. +patched the CMakeLists to set the libdir properly. + + +21/02/2023: + +Fixed the Slackbuild script and resubmitted to SBo. diff --git a/multimedia/uavs3e/cmakelist.patch b/multimedia/uavs3e/cmakelist.patch new file mode 100644 index 0000000000..8b64a40309 --- /dev/null +++ b/multimedia/uavs3e/cmakelist.patch @@ -0,0 +1,21 @@ +--- CMakeLists.txt 2022-08-23 14:57:53.000000000 +0530 ++++ cmakelistn.txt 2023-02-06 18:26:55.129000000 +0530 +@@ -1,9 +1,9 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.10) + + project(uavs3e) + + aux_source_directory(./test DIR_SRC_TEST) +-set_source_files_properties(${DIR_SRC_TEST} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O3") ++set_source_files_properties(${DIR_SRC_TEST} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2") + + add_subdirectory(./src) + include_directories("./inc") +@@ -20,5 +20,4 @@ + + target_link_libraries(uavs3enc m) + target_link_libraries(uavs3enc uavs3e) +-#target_link_libraries(uavs3enc dl) +- ++target_link_libraries(uavs3enc dl) diff --git a/multimedia/uavs3e/slack-desc b/multimedia/uavs3e/slack-desc new file mode 100644 index 0000000000..e3ee05a48a --- /dev/null +++ b/multimedia/uavs3e/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------------------------------------------------------| +uavs3e: uavs3e (AVS3 Encoder) +uavs3e: +uavs3e: uavs3e ia an open source and cross platform avs3 encoder. +uavs3e: It supports AVS3-P2 baseline profile.This is the +uavs3e: 10-bit version of the encoder. +uavs3e: +uavs3e: Homepage:https://github.com/uavs3/uavs3e +uavs3e: +uavs3e: +uavs3e: +uavs3e: diff --git a/multimedia/uavs3e/src_cmakelist.patch b/multimedia/uavs3e/src_cmakelist.patch new file mode 100644 index 0000000000..f8ec5e52fc --- /dev/null +++ b/multimedia/uavs3e/src_cmakelist.patch @@ -0,0 +1,54 @@ +--- CMakeLists.txt 2022-08-23 14:57:53.000000000 +0530 ++++ CMakeLists1.txt 2023-02-20 23:29:17.032740887 +0530 +@@ -1,6 +1,25 @@ +- ++cmake_minimum_required(VERSION 3.10) + set(LIBNAME uavs3e) + ++# check cpu ++ ++if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i386" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i486" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i586" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86") ++ message(FATAL_ERROR "Uavs3e Encoder does not run on 32-bit x86 systems \n") ++elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^arm") ++ mesasage(FATAL_ERROR "Uavs3e Encoder does not run on 32-bit ARM systems \n") ++elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm64") ++ message(STATUS "System Architecture is ARM-64 bit it runs on ARMv8 processor \n") ++elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64" OR ++ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") ++ message(STATUS "System Architecture is x86_64 \n") ++else() ++ message(FATAL_ERROR "This Program will not run on this platform, aborting... \n") ++endif() ++ + # add source + aux_source_directory(. DIR_UAVS3E_SRC) + if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm64") +@@ -36,9 +55,9 @@ + add_definitions(-DCOMPILE_10BIT=0) + endif() + +-set_source_files_properties(${DIR_UAVS3E_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O3") +-set_source_files_properties(${DIR_X86_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O3 -msse4.2") +-set_source_files_properties(${DIR_X86_256_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O3 -mavx2") ++set_source_files_properties(${DIR_UAVS3E_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O2") ++set_source_files_properties(${DIR_X86_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O2 -msse4.2") ++set_source_files_properties(${DIR_X86_256_SRC} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c99 -O2 -mavx2") + + # get version + set (CONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/..) +@@ -59,7 +78,11 @@ + find_package(Threads REQUIRED) + set(prefix "${CMAKE_INSTALL_PREFIX}") + set(includedir "include") ++if(${CMAKE_SIZEOF_VOID_P} EQUAL 8) ++set(libdir "lib64") ++else() + set(libdir "lib") ++endif() + set(pc_file "${CONFIG_DIR}/${LIBNAME}.pc") + + set(CMAKE_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/${includedir}") diff --git a/multimedia/uavs3e/uavs3e.SlackBuild b/multimedia/uavs3e/uavs3e.SlackBuild new file mode 100644 index 0000000000..d7088cdce0 --- /dev/null +++ b/multimedia/uavs3e/uavs3e.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for uavs3e + +# Copyright 2022-2023 Vijay Marcel +# 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=uavs3e +VERSION=${VERSION:-ea40065_20220823} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +GIT=${GIT:-ea40065982019a5b43f4ff61e37ba1fe7a7dbfe8} +sys_arch=${sys_arch:-$(getconf LONG_BIT)} + +if [ "$sys_arch" == "32" ]; then + echo "This program will not run on 32-bit systems" && exit 1 +fi + +if [ -z "$ARCH" ]; then +case "$ARCH" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$GIT +tar xvf $CWD/$PRGNAM-$GIT.tar.gz +cd $PRGNAM-$GIT + +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 {} \; + +patch --verbose --unified < $CWD/cmakelist.patch +cd src +patch --verbose --unified < $CWD/src_cmakelist.patch +cd .. + +cmake -B build/linux -S $TMP/$PRGNAM-$GIT \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIB_DIR_PREFIX=/usr/lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS:BOOL='ON' \ + -DCOMPILE_10BIT='1' + +cmake --build build/linux +make -C build/linux install DESTDIR=$PKG + +install -D -m755 $TMP/$PRGNAM-$GIT/build/linux/uavs3enc -t "${PKG}/usr/bin" + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md ProgGuide.docx $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/changelog $PKG/usr/doc/$PRGNAM-$VERSION/slack-changelog +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/uavs3e/uavs3e.info b/multimedia/uavs3e/uavs3e.info new file mode 100644 index 0000000000..4e5c08fd97 --- /dev/null +++ b/multimedia/uavs3e/uavs3e.info @@ -0,0 +1,10 @@ +PRGNAM="uavs3e" +VERSION="ea40065_20220823" +HOMEPAGE="https://github.com/uavs3/uavs3e" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/uavs3/uavs3e/archive/ea40065/uavs3e-ea40065982019a5b43f4ff61e37ba1fe7a7dbfe8.tar.gz" +MD5SUM_x86_64="623adc8320fcea6aa59655b7bf4744d1" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/ucview/README b/multimedia/ucview/README index 1f62d36ca6..f093128631 100644 --- a/multimedia/ucview/README +++ b/multimedia/ucview/README @@ -1,6 +1,7 @@ -UCView is a video capture and display program based on the Unicap video -imaging library. It allows high performance live video display, by using -XVideo hardware acceleration where possible. It supports a broad range of -video capture devices via the unicap library. It allows audio and video -recording and encoding, by using the free Ogg Vorbis and Theora high -performance codecs. It can also be extended via plugins. +UCView is a video capture and display program based on the Unicap +video imaging library. It allows high performance live video display, +by using XVideo hardware acceleration where possible. It supports +a broad range of video capture devices via the unicap library. It +allows audio and video recording and encoding, by using the free Ogg +Vorbis and Theora high performance codecs. It can also be extended via +plugins. diff --git a/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild b/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild index 2bca074a05..761b17b8c3 100644 --- a/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild +++ b/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild @@ -99,6 +99,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a readme.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild index b3cbe7c5aa..b307630785 100644 --- a/multimedia/vapoursynth/vapoursynth.SlackBuild +++ b/multimedia/vapoursynth/vapoursynth.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vapoursynth VERSION=${VERSION:-R52} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +83,13 @@ find -L . \ # https://github.com/vapoursynth/vapoursynth/pull/650 patch -p1 < $CWD/650.patch +# Thanks to Lockywolf +sed -i '38i#include <limits>' src/core/genericfilters.cpp +sed -i '19a#include <limits>' src/core/kernel/generic.cpp +sed -i '21i#include <limits>' src/core/exprfilter.cpp +sed -i '21i#include <limits>' src/filters/misc/miscfilters.cpp +sed -i '27i#include <limits>' src/filters/removegrain/clense.cpp + autoreconf -fi CFLAGS="$SLKCFLAGS" \ @@ -103,6 +110,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING.LESSER ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/vcdimager/README b/multimedia/vcdimager/README index 63257f057e..e47a654f0d 100644 --- a/multimedia/vcdimager/README +++ b/multimedia/vcdimager/README @@ -1,4 +1,5 @@ -GNU VCDImager is a full-featured mastering suite for authoring, disassembling -and analyzing Video CDs and Super Video CDs. Features include: Support for -VCD 1.1 and 2.0, Support for SVCD 1.0 full playback control, automatic padding -of MPEG streams on the fly ... and more! +GNU VCDImager is a full-featured mastering suite for authoring, +disassembling and analyzing Video CDs and Super Video CDs. Features +include: Support for VCD 1.1 and 2.0, Support for SVCD 1.0 full +playback control, automatic padding of MPEG streams on the fly ... and +more! diff --git a/multimedia/vcdimager/doinst.sh b/multimedia/vcdimager/doinst.sh new file mode 100644 index 0000000000..1bef502028 --- /dev/null +++ b/multimedia/vcdimager/doinst.sh @@ -0,0 +1,6 @@ +if [ -x /usr/bin/install-info -a -d usr/info ]; then + ( cd usr/info + rm -f dir + for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done + ) +fi diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild index 6adaef75f8..6e3c8c3e7b 100644 --- a/multimedia/vcdimager/vcdimager.SlackBuild +++ b/multimedia/vcdimager/vcdimager.SlackBuild @@ -23,11 +23,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org: +# - add doinst/douninst to handle /usr/info/dir. +# - add missing SlackBuild to doc dir. +# - rm generic INSTALL instructions from doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vcdimager VERSION=${VERSION:-2.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +44,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -71,14 +73,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -93,24 +95,22 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make DESTDIR=$PKG install - -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +make install-strip DESTDIR=$PKG rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +gzip -9 $PKG/usr/info/*.info* $PKG/usr/man/man*/* + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a AUTHORS BUGS COPYING ChangeLog* FAQ HACKING NEWS README THANKS TODO $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS BUGS COPYING ChangeLog* FAQ HACKING INSTALL NEWS README THANKS TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/vgmplay/slack-desc b/multimedia/vgmplay/slack-desc index ca06884d2e..a98490474a 100644 --- a/multimedia/vgmplay/slack-desc +++ b/multimedia/vgmplay/slack-desc @@ -10,7 +10,7 @@ vgmplay: vgmplay (the official player for VGM files) vgmplay: vgmplay: vgmplay is a player of the VGM chiptune format. vgmplay: -vgmplay: Homepage: https://github.com/vgmrips/vgmplay +vgmplay: Homepage: https://github.com/vgmrips/vgmplay-legacy vgmplay: vgmplay: vgmplay: diff --git a/multimedia/vgmplay/vgmplay.SlackBuild b/multimedia/vgmplay/vgmplay.SlackBuild index 8622132823..bb711c82a5 100644 --- a/multimedia/vgmplay/vgmplay.SlackBuild +++ b/multimedia/vgmplay/vgmplay.SlackBuild @@ -38,9 +38,6 @@ case "$( uname -m )" in esac 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,9 +66,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION/VGMPlay +rm -rf $PRGNAM-legacy-$VERSION +tar xvf $CWD/$PRGNAM-legacy-$VERSION.tar.gz +cd $PRGNAM-legacy-$VERSION/VGMPlay chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,6 +76,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +SLKCFLAGS+=" -fcommon" + make PREFIX=/usr CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/share/vgmplay diff --git a/multimedia/vgmplay/vgmplay.info b/multimedia/vgmplay/vgmplay.info index 2d26e2fb13..cac830b2da 100644 --- a/multimedia/vgmplay/vgmplay.info +++ b/multimedia/vgmplay/vgmplay.info @@ -1,8 +1,8 @@ PRGNAM="vgmplay" VERSION="0.40.9" -HOMEPAGE="https://github.com/vgmrips/vgmplay" -DOWNLOAD="https://github.com/vgmrips/vgmplay/archive/0.40.9/vgmplay-0.40.9.tar.gz" -MD5SUM="a2217e465c5e3bdebc47dbb15a6cb436" +HOMEPAGE="https://github.com/vgmrips/vgmplay-legacy" +DOWNLOAD="https://github.com/vgmrips/vgmplay-legacy/archive/0.40.9/vgmplay-legacy-0.40.9.tar.gz" +MD5SUM="89097227705321156c0b319f5e0d529d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild index 85d75e12c5..cc28d81621 100644 --- a/multimedia/videocut/videocut.SlackBuild +++ b/multimedia/videocut/videocut.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -67,7 +67,7 @@ sed -i "s%/usr/share/doc/videocut/%/usr/doc/$PRGNAM-$VERSION/%" videocut.pro # Needed for gcc-4.7.x echo "QMAKE_CXXFLAGS += $SLKCFLAGS -fpermissive" >> videocut.pro -qmake +qmake-qt4 make make install INSTALL_ROOT=$PKG diff --git a/multimedia/videocut/videocut.info b/multimedia/videocut/videocut.info index 970fb0190e..aaa242567f 100644 --- a/multimedia/videocut/videocut.info +++ b/multimedia/videocut/videocut.info @@ -5,6 +5,6 @@ DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.g MD5SUM="470effa63836545391d6ff08c7e6e40e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Pablo Santamaria" EMAIL="pablosantamaria@gmail.com" diff --git a/multimedia/videomass/README b/multimedia/videomass/README new file mode 100644 index 0000000000..776e06a460 --- /dev/null +++ b/multimedia/videomass/README @@ -0,0 +1,15 @@ +Videomass is a FLOSS, powerful, multitasking and cross-platform +graphical user interface (GUI) for FFmpeg and yt-dlp. Designed for +advanced and beginner users, it offers a wide range of features and +functions, making it a comprehensive software solution. + +Videomass is Free (libre) Software, written in Python3 using the +wxPython Phoenix toolkit; it works on Linux, MacOs, Windows and +FreeBSD. + +Optional dependencies +--------------------- + +yt-dlp : Required if you intend to download audio and video from +various sites. It can be installed after installing Videomass (which +won't need a rebuild). diff --git a/multimedia/videomass/doinst.sh b/multimedia/videomass/doinst.sh new file mode 100644 index 0000000000..5a0b8c86f3 --- /dev/null +++ b/multimedia/videomass/doinst.sh @@ -0,0 +1,11 @@ +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/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/videomass/slack-desc b/multimedia/videomass/slack-desc new file mode 100644 index 0000000000..854e071dd7 --- /dev/null +++ b/multimedia/videomass/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------------------------------------------------------| +videomass: videomass (GUI for FFmpeg and yt-dlp) +videomass: +videomass: Videomass is a free, open source and cross-platform GUI for FFmpeg +videomass: and yt-dlp written in wxPython. +videomass: +videomass: +videomass: Homepage: http://jeanslack.github.io/Videomass/ +videomass: +videomass: +videomass: +videomass: diff --git a/multimedia/videomass/videomass.SlackBuild b/multimedia/videomass/videomass.SlackBuild new file mode 100644 index 0000000000..c7a39d82ce --- /dev/null +++ b/multimedia/videomass/videomass.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/bash + +# Slackware build script for videomass + +# Copyright 2024 Gianluca Pernigotto Verona, Italy +# 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=videomass +VERSION=${VERSION:-5.0.11} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=Videomass + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.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 {} \; + +python3 setup.py install --root=$PKG + +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 + +mv $PKG/usr/share/man $PKG/usr/man +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE TODO CHANGELOG $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/videomass/videomass.info b/multimedia/videomass/videomass.info new file mode 100644 index 0000000000..55d41f4021 --- /dev/null +++ b/multimedia/videomass/videomass.info @@ -0,0 +1,10 @@ +PRGNAM="videomass" +VERSION="5.0.11" +HOMEPAGE="http://jeanslack.github.io/Videomass/" +DOWNLOAD="https://github.com/jeanslack/Videomass/archive/v5.0.11/Videomass-5.0.11.tar.gz" +MD5SUM="abc76d66e7731f031c3a6bc98406d58f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="wxPython4 python3-pubsub" +MAINTAINER="Gianluca Pernigotto" +EMAIL="jeanlucperni@gmail.com" diff --git a/multimedia/vitunes-mplayer/README b/multimedia/vitunes-mplayer/README index b392b9fb49..2a8d009286 100644 --- a/multimedia/vitunes-mplayer/README +++ b/multimedia/vitunes-mplayer/README @@ -1,11 +1,11 @@ vitunes-mplayer (frontend for mplayer, with vi key bindings) vitunes is a curses-based music player and playlist manager for *nix -whose goals are: 1. a minimalistic appearance, 2. strong vi-like bindings, -and 3. quick playlist creation/management. vitunes does not strive to be -a feature-rich media player, but rather a quick, vi-like media indexer -and playlist manager, that just happens to be able to play the music -it indexes. +whose goals are: 1. a minimalistic appearance, 2. strong vi-like +bindings, and 3. quick playlist creation/management. vitunes does not +strive to be a feature-rich media player, but rather a quick, vi-like +media indexer and playlist manager, that just happens to be able to +play the music it indexes. Note about the package name: There exist 2 completely separate things called "vitunes". If you're looking for the vim frontend for iTunes, diff --git a/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild b/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild index bb22dbbff5..5bb8c2528d 100644 --- a/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild +++ b/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild @@ -2,15 +2,17 @@ # Slackware build script for vitunes-mplayer -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: BUILD=2, strip binary. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vitunes-mplayer VERSION=${VERSION:-2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,7 +84,7 @@ sed -i \ make -f Makefile.linux PREFIX=/usr mkdir -p $PKG/usr/bin $PKG/usr/man/man1 -install -m0755 $TARNAME $PKG/usr/bin/$TARNAME +install -s -m0755 $TARNAME $PKG/usr/bin/$TARNAME gzip -c < $TARNAME.1 > $PKG/usr/man/man1/$TARNAME.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/vitunes-mplayer/vitunes-mplayer.info b/multimedia/vitunes-mplayer/vitunes-mplayer.info index 44d3a19d8c..dc231eacfa 100644 --- a/multimedia/vitunes-mplayer/vitunes-mplayer.info +++ b/multimedia/vitunes-mplayer/vitunes-mplayer.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/vkeybd/doinst.sh b/multimedia/vkeybd/doinst.sh index 5fb28930db..3e5691a052 100644 --- a/multimedia/vkeybd/doinst.sh +++ b/multimedia/vkeybd/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild index 47196ee693..fe32c4c606 100644 --- a/multimedia/vkeybd/vkeybd.SlackBuild +++ b/multimedia/vkeybd/vkeybd.SlackBuild @@ -8,23 +8,25 @@ # Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for # more information. -# Now maintained by B. Watson <yalhcru@gmail.com>. Original version +# Now maintained by B. Watson <urchlay@slackware.uk>. Original version # of this script had no license. Modified version licensed under the # WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: BUILD=4, new-style icons, fix .desktop file. + # 20180103 bkw: # - take over maintenance. # - i486 => i586. # - determine tcl version from system, instead of hardcoding. # - simplify script a bit. -# - fix grammer in README and slack-desc. +# - fix grammar in README and slack-desc. # - 'virtual keyboard' => 'virtual piano keyboard' in slack-desc. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vkeybd VERSION=${VERSION:-0.1.18d} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,8 +67,11 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -# make .desktop file validate -sed -i -e '/^Encoding/d' -e '/^Cat/s,Application;,,' $PRGNAM.desktop +# make .desktop file validate, use correct icon name. +sed -i -e '/^Encoding/d' \ + -e '/^Cat/s,Application;,,' \ + -e '/^Icon/s,_.*,,' \ + $PRGNAM.desktop # grab tcl version from the system TCLVER="$( basename $( readlink /usr/bin/tclsh|sed 's,tclsh,,' ) )" @@ -81,7 +86,17 @@ make \ gzip -9 $PKG/usr/man/man?/*.? strip $PKG/usr/bin/* -ln -s ${PRGNAM}_48x48.png $PKG/usr/share/pixmaps/$PRGNAM.png + +for i in pixmaps/${PRGNAM}_*x*.png; do + size=$( basename $i .png | cut -d_ -f2 ) + dir=$PKG/usr/share/icons/hicolor/$size/apps + mkdir -p $dir + cp -a $i $dir/$PRGNAM.png +done + +( cd $PKG/usr/share/pixmaps + rm -f * + ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png . ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/vkeybd/vkeybd.info b/multimedia/vkeybd/vkeybd.info index 0fc2a4e565..73cc4460a8 100644 --- a/multimedia/vkeybd/vkeybd.info +++ b/multimedia/vkeybd/vkeybd.info @@ -1,10 +1,10 @@ PRGNAM="vkeybd" VERSION="0.1.18d" HOMEPAGE="https://github.com/tiwai/vkeybd" -DOWNLOAD="https://ftp.osuosl.org/pub/gentoo/distfiles/vkeybd-0.1.18d.tar.bz2" +DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/e6/vkeybd-0.1.18d.tar.bz2" MD5SUM="5c7bd16e2903866f949879b885953a2b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/vlc/README b/multimedia/vlc/README index b1628da152..b823fbc0f4 100644 --- a/multimedia/vlc/README +++ b/multimedia/vlc/README @@ -14,7 +14,8 @@ continue to build with a reduced feature set. Support for Wayland is a special case. It is not supported by default but can be enabled setting the WAYLAND environment variable to "yes" -when running the SlackBuild e.g. WAYLAND=yes sh vlc.SlackBuild +when running the SlackBuild e.g. + WAYLAND=yes sh vlc.SlackBuild By default, the vlc runtime is not able to be run as root. This security feature may be side stepped by building vlc with the RUNASROOT @@ -22,13 +23,14 @@ environment variable set e.g. RUNASROOT=yes sh vlc.SlackBuild Playing of AV1 encoded video is supported when either of SBo's -multimedia/aom or libraries/dav1d packages is detected when vlc is built. -One of these is expected to become required in a future release. -Some versions of the automatically detected optional aom package are -incompatible with this version of vlc and in this case the build will -fai. This can be avoided by setting the AOM environment variable to "no" -e.g. +multimedia/aom or libraries/dav1d packages is detected when vlc +is built. One of these is expected to become required in a future +release. Some versions of the automatically detected optional aom +package are incompatible with this version of vlc and in this case +the build will fail. This can be avoided by setting the AOM environment +variable to "no" e.g. AOM=no sh vlc.SlackBuild -Please advise the maintainer to suggest support for any further options. - +You may disable LUA support by setting the LUA environment variable. +This will remove the lua dependency e.g. + LUA=no sh vlc.SlackBuild diff --git a/multimedia/vlc/patch_vlc_cache_gen.diff b/multimedia/vlc/cache.patch index 957e6e96df..4225d33ad4 100644 --- a/multimedia/vlc/patch_vlc_cache_gen.diff +++ b/multimedia/vlc/cache.patch @@ -1,6 +1,6 @@ ---- bin/Makefile.am.orig 2015-06-03 10:49:51.266282736 +1000 -+++ bin/Makefile.am 2015-06-03 10:50:20.469282310 +1000 -@@ -72,6 +72,10 @@ +--- a/bin/Makefile.am 2015-06-03 10:49:51.266282736 +1000 ++++ b/bin/Makefile.am 2015-06-03 10:50:20.469282310 +1000 +@@ -124,6 +124,10 @@ vlc_cache_gen_DEPENDENCIES = vlc_win32_rc.$(OBJEXT) endif @@ -11,9 +11,9 @@ # # Plug-ins cache # ---- configure.ac.orig 2015-06-03 10:53:22.299279657 +1000 -+++ configure.ac 2015-06-03 09:44:33.338339889 +1000 -@@ -762,6 +762,12 @@ +--- a/configure.ac 2015-06-03 10:53:22.299279657 +1000 ++++ b/configure.ac 2015-06-03 09:44:33.338339889 +1000 +@@ -888,6 +888,12 @@ ]) ]) diff --git a/multimedia/vlc/patch-dvdnav-503.diff b/multimedia/vlc/dvdnav.patch index 422fc53d03..e5ecc80d75 100644 --- a/multimedia/vlc/patch-dvdnav-503.diff +++ b/multimedia/vlc/dvdnav.patch @@ -1,5 +1,5 @@ ---- modules/access/dvdnav.c.orig 2020-04-07 23:35:05.000000000 +1000 -+++ modules/access/dvdnav.c 2020-04-16 22:32:34.175000000 +1000 +--- a/modules/access/dvdnav.c 2020-04-07 23:35:05.000000000 +1000 ++++ b/modules/access/dvdnav.c 2020-04-16 22:32:34.175000000 +1000 @@ -59,6 +59,10 @@ diff --git a/multimedia/vlc/patch-dvdread-503.diff b/multimedia/vlc/dvdread.patch index 81523e6829..0f2912d7e0 100644 --- a/multimedia/vlc/patch-dvdread-503.diff +++ b/multimedia/vlc/dvdread.patch @@ -1,5 +1,5 @@ ---- modules/access/dvdread.c.orig 2020-03-28 23:39:33.000000000 +1000 -+++ modules/access/dvdread.c 2020-04-16 22:10:43.065000000 +1000 +--- a/modules/access/dvdread.c 2020-03-28 23:39:33.000000000 +1000 ++++ b/modules/access/dvdread.c 2020-04-16 22:10:43.065000000 +1000 @@ -55,6 +55,12 @@ #include <unistd.h> diff --git a/multimedia/vlc/patch-opencv4.diff b/multimedia/vlc/patch-opencv4.diff deleted file mode 100644 index da158371d7..0000000000 --- a/multimedia/vlc/patch-opencv4.diff +++ /dev/null @@ -1,24 +0,0 @@ ---- configure.ac.prev 2019-03-10 13:15:05.033000000 +1000 -+++ configure.ac 2019-03-10 13:19:03.840000000 +1000 -@@ -1848,7 +1848,7 @@ - dnl - dnl OpenCV wrapper and example filters - dnl --PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv > 2.0], (OpenCV (computer vision) filter), [auto]) -+PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_wrapper], [opencv4 > 4.0], (OpenCV (computer vision) filter), [auto]) - - - dnl ---- modules/video_filter/Makefile.am.orig 2017-11-25 01:29:18.000000000 +1000 -+++ modules/video_filter/Makefile.am 2019-03-12 14:21:25.417000000 +1000 -@@ -147,8 +147,8 @@ - libdeinterlace_plugin_la_LIBADD = libdeinterlace_common.la - video_filter_LTLIBRARIES += libdeinterlace_plugin.la - --libopencv_wrapper_plugin_la_SOURCES = video_filter/opencv_wrapper.c --libopencv_wrapper_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS) -+libopencv_wrapper_plugin_la_SOURCES = video_filter/opencv_wrapper.cpp -+libopencv_wrapper_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS) -fpermissive - libopencv_wrapper_plugin_la_LIBADD = $(OPENCV_LIBS) - libopencv_wrapper_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)' - video_filter_LTLIBRARIES += $(LTLIBopencv_wrapper) diff --git a/multimedia/vlc/patch-projectM-fontpath.diff b/multimedia/vlc/projectM.patch index 5c4726296c..0eafc24628 100644 --- a/multimedia/vlc/patch-projectM-fontpath.diff +++ b/multimedia/vlc/projectM.patch @@ -1,6 +1,6 @@ ---- modules/visualization/projectm.cpp.orig 2013-09-13 01:18:34.000000000 +1000 -+++ modules/visualization/projectm.cpp 2014-09-04 14:53:21.510242036 +1000 -@@ -79,8 +79,8 @@ +--- a/modules/visualization/projectm.cpp 2013-09-13 01:18:34.000000000 +1000 ++++ b/modules/visualization/projectm.cpp 2014-09-04 14:53:21.510242036 +1000 +@@ -82,8 +82,8 @@ # define FONT_PATH_MENU "C:\\WINDOWS\\Fonts\\arial.ttf" # define PRESET_PATH NULL #else diff --git a/multimedia/vlc/slack-desc b/multimedia/vlc/slack-desc index 4ff7f2d288..7ae947d4c2 100644 --- a/multimedia/vlc/slack-desc +++ b/multimedia/vlc/slack-desc @@ -15,5 +15,5 @@ vlc: video codecs and file formats as well as DVDs, VCDs, and various vlc: streaming protocols. It is able to stream over networks and to vlc: transcode multimedia files and save them into various formats. vlc: -vlc: homepage: http://www.videolan.org/vlc/ +vlc: homepage: http://www.videolan.org/vlc vlc: diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index 7d64b344d7..15f5b8c261 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -6,31 +6,46 @@ # modified to build VLC only, shared libraries needed. # Copyright (c) 2007,2008,2009,2010,2011 Eric Hameleers, Eindhoven, Netherlands -# Copyright (c) 2014-2021 Christoph Willing, Brisbane, Australia +# Copyright (c) 2014-2022 Christoph Willing, Brisbane, Australia +# Copyright (c) 2022 Bill Kirkpatrick, Bay City, Texas, USA +# Copyright (c) 2023 Tim Dickson, Scotland +# Copyright (c) 2024 Steven Voges <Oregon, USA> +# All rights reserved. # -# Permission to use, copy, modify, and distribute this software for -# any purpose with or without fee is hereby granted, provided that -# the above copyright notice and this permission notice appear in all +# Redistribution and use of this script, with or without modification is +# permitted, provided that the following conditions are met: + +# 1. Redistribution of this script must retain the above copyright notice, +# this list of conditions and the following disclaimer. # copies. # -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR -# CONTRIBUTORS 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. +# 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 +# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. # ----------------------------------------------------------------------------- +# 20221224 bkw: Modified by SlackBuilds.org, BUILD=4: +# - libebml builds are OK now, get rid of "stop the build" code. +# - don't install useless INSTALL and ABOUT-NLS in doc dir. + +# 20220215 bkw: Modified by SlackBuilds.org: +# - stop the build if libebml is installed, since it will fail. + +# 20230224 tjd: updated for 3.0.18 added patch to disable libplacebo +# thanks to bkw + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vlc -VERSION=${VERSION:-3.0.16} +VERSION=${VERSION:-3.0.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +58,6 @@ if [ -z "$ARCH" ]; then esac 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 @@ -56,7 +68,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -67,19 +79,6 @@ else fi SLKLDFLAGS="-lrt" -DOCS="ABOUT-NLS AUTHORS COPYING INSTALL NEWS README THANKS" - -# In an ordinary virtual machine, since a different kernal is running, -# a unique dbus id is needed. -# However with LXC, the same kernel is used in each container, -# so we insert an arbitrary value -# -grep "container=" /etc/rc.d/rc.S >/dev/null 2>/dev/null -if [ $? -eq 0 ]; then - mkdir -p /var/lib/dbus/ - echo "4349d719fcf875a557a8c00400000014" > /var/lib/dbus/machine-id -fi - set -e rm -rf $PKG @@ -91,10 +90,10 @@ cd $PRGNAM-$VERSION sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c -patch -p0 < $CWD/patch-dvdread-503.diff -patch -p0 < $CWD/patch-dvdnav-503.diff -patch -p0 < $CWD/patch-projectM-fontpath.diff -patch -p0 < $CWD/patch_vlc_cache_gen.diff +patch -p1 < $CWD/dvdread.patch +patch -p1 < $CWD/dvdnav.patch +patch -p1 < $CWD/projectM.patch +patch -p1 < $CWD/cache.patch # Don't enable wayland by default wayland="--disable-wayland" ; [ "${WAYLAND:-no}" != "no" ] && wayland="--enable-wayland" @@ -105,14 +104,17 @@ runasroot=""; [ "${RUNASROOT:-no}" != "no" ] && runasroot="--enable-run-as-root" # Give the possibility to explicitly disable aom support aom=""; [ "${AOM:-yes}" = "no" ] && aom="--disable-aom" +# Allow to build without lua +lua=""; [ "${LUA:-yes}" = "no" ] && lua="--disable-lua" + autoreconf -fiv 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -127,28 +129,34 @@ LDFLAGS="$SLKLDFLAGS" \ --build=$ARCH-slackware-linux \ --enable-qt=5 \ --enable-merge-ffmpeg \ + --disable-libplacebo \ + --disable-upnp \ $wayland \ $runasroot \ $aom \ - + $lua make make DESTDIR=$PKG install -mkdir -p $PKG/usr/man/man1 -gzip -9c doc/vlc.1 > $PKG/usr/man/man1/vlc.1.gz - install -D -m0644 extras/analyser/vlc.vim $PKG/usr/share/vim/vimfiles/syntax/vlc.vim -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc -type f -exec chmod 644 {} \; -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/* +rm -f $PKG/usr/lib*/*.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 + +mkdir -p $PKG/usr/man/man1 +gzip -9c doc/vlc.1 > $PKG/usr/man/man1/vlc.1.gz find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -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 +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING NEWS README THANKS \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/vlc/vlc.info b/multimedia/vlc/vlc.info index 9687018f66..92eb2e2fa9 100644 --- a/multimedia/vlc/vlc.info +++ b/multimedia/vlc/vlc.info @@ -1,10 +1,10 @@ PRGNAM="vlc" -VERSION="3.0.16" +VERSION="3.0.20" HOMEPAGE="https://www.videolan.org/vlc/" -DOWNLOAD="https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz" -MD5SUM="efc5f7331c033bf81536531c6eba5aa5" +DOWNLOAD="https://get.videolan.org/vlc/3.0.20/vlc-3.0.20.tar.xz" +MD5SUM="e8337fcd2df92f3901dad091fb85f545" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libass libdc1394 libdvbpsi libmpeg2 libupnp lua portaudio twolame gsm libtar libkate faac libdca libmatroska libshout avahi projectM jack libsidplay2 zvbi faad2 libavc1394 libmodplug musepack-tools vcdimager dirac gnome-vfs live555 rtmpdump libdvdcss schroedinger libminizip chromaprint x264 x265 libnfs protobuf3" -MAINTAINER="Christoph Willing" -EMAIL="chris.willing@linux.com" +REQUIRES="libass libdc1394 libdvbpsi libmpeg2 lua portaudio twolame gsm libtar libkate faac libdca libshout avahi projectM jack libsidplay2 zvbi faad2 libavc1394 libmodplug musepack-tools vcdimager dirac gnome-vfs live555 rtmpdump libdvdcss schroedinger libminizip chromaprint x264 x265 libnfs protobuf3" +MAINTAINER="Steven Voges" +EMAIL="svoges.sbo@gmail.com" diff --git a/multimedia/vlsub/vlsub.info b/multimedia/vlsub/vlsub.info index dc0fa13f78..d424fae736 100644 --- a/multimedia/vlsub/vlsub.info +++ b/multimedia/vlsub/vlsub.info @@ -1,7 +1,7 @@ PRGNAM="vlsub" VERSION="0.10.2" HOMEPAGE="https://github.com/exebetche/vlsub" -DOWNLOAD="https://github.com/exebetche/vlsub/archive/0.10.2.tar.gz" +DOWNLOAD="https://github.com/exebetche/vlsub/archive/0.10.2/vlsub-0.10.2.tar.gz" MD5SUM="5c4f5a53b74315073676a5b2bef91935" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/vo-amrwbenc/README b/multimedia/vo-amrwbenc/README new file mode 100644 index 0000000000..2f86bee314 --- /dev/null +++ b/multimedia/vo-amrwbenc/README @@ -0,0 +1,4 @@ +Library for the VisualOn Adaptive Multi rate +wide band audii encoder. + +This is an optional dependency for FFmpeg. diff --git a/multimedia/mythplugins/slack-desc b/multimedia/vo-amrwbenc/slack-desc index 6acd6f2fad..95e670ff9c 100644 --- a/multimedia/mythplugins/slack-desc +++ b/multimedia/vo-amrwbenc/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -mythplugins: mythplugins (https://www.mythtv.org/) -mythplugins: -mythplugins: Official MythTV plugins: -mythplugins: -mythplugins: MythBrowser, MythDVD, MythFlix, -mythplugins: MythGallery, MythGame, MythMusic, -mythplugins: MythNews, MythPhone, MythVideo, -mythplugins: MythWeather, and MythWeb -mythplugins: -mythplugins: -mythplugins: +vo-amrwbenc: vo-amrwbenc (AMR-WB Encoder) +vo-amrwbenc: +vo-amrwbenc: Library for the VisualOn Adaptive Multi rate +vo-amrwbenc: wide band audii encoder. +vo-amrwbenc: +vo-amrwbenc: Homepage: https://sourforge.net/projects/opencore-amr +vo-amrwbenc: +vo-amrwbenc: +vo-amrwbenc: +vo-amrwbenc: +vo-amrwbenc: diff --git a/multimedia/vo-amrwbenc/vo-amrwbenc.SlackBuild b/multimedia/vo-amrwbenc/vo-amrwbenc.SlackBuild new file mode 100644 index 0000000000..47705c1806 --- /dev/null +++ b/multimedia/vo-amrwbenc/vo-amrwbenc.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for vo-amrwbenc + +# Copyright 2022 Vijay Marcel +# 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=vo-amrwbenc +VERSION=${VERSION:-0.1.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +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 +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + + CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --bindir=/usr/bin \ + --enable-shared \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-example \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +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 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NOTICE README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$VERSION/amrwbenc/doc/voAMRWBEncoderSDK.pdf $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/vo-amrwbenc/vo-amrwbenc.info b/multimedia/vo-amrwbenc/vo-amrwbenc.info new file mode 100644 index 0000000000..28ff38ae59 --- /dev/null +++ b/multimedia/vo-amrwbenc/vo-amrwbenc.info @@ -0,0 +1,10 @@ +PRGNAM="vo-amrwbenc" +VERSION="0.1.3" +HOMEPAGE="https://sourceforge.net/projects/opencore-amr/" +DOWNLOAD="https://downloads.sourceforge.net/sourceforge/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz" +MD5SUM="f63bb92bde0b1583cb3cb344c12922e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/vobsub2srt/climits.diff b/multimedia/vobsub2srt/climits.diff new file mode 100644 index 0000000000..e0bdd236ad --- /dev/null +++ b/multimedia/vobsub2srt/climits.diff @@ -0,0 +1,11 @@ +diff -Naur VobSub2SRT-1.0pre7.orig/src/vobsub2srt.c++ VobSub2SRT-1.0pre7/src/vobsub2srt.c++ +--- VobSub2SRT-1.0pre7.orig/src/vobsub2srt.c++ 2015-08-31 05:45:47.000000000 +1200 ++++ VobSub2SRT-1.0pre7/src/vobsub2srt.c++ 2022-02-21 20:17:27.612072700 +1300 +@@ -30,6 +30,7 @@ + #include <string> + #include <cstdio> + #include <vector> ++#include <climits> + using namespace std; + + #include "langcodes.h++" diff --git a/multimedia/vobsub2srt/slack-desc b/multimedia/vobsub2srt/slack-desc index 85c7717e4b..c0fb0acc08 100644 --- a/multimedia/vobsub2srt/slack-desc +++ b/multimedia/vobsub2srt/slack-desc @@ -8,7 +8,7 @@ |-----handy-ruler------------------------------------------------------| vobsub2srt: vobsub2srt (convert VOBSUB subtitles to SRT) vobsub2srt: -vobsub2srt: Converts VobSub subtitles (.idx/.srt format) into .srt subtitles +vobsub2srt: Converts VobSub subtitles (.idx/.sub format) into .srt subtitles vobsub2srt: vobsub2srt: vobsub2srt: homepage: https://github.com/ruediger/VobSub2SRT diff --git a/multimedia/vobsub2srt/vobsub2srt.SlackBuild b/multimedia/vobsub2srt/vobsub2srt.SlackBuild index 9578666de7..e7da07154d 100644 --- a/multimedia/vobsub2srt/vobsub2srt.SlackBuild +++ b/multimedia/vobsub2srt/vobsub2srt.SlackBuild @@ -83,6 +83,9 @@ find -L . \ # patch to build with latest tesseract: patch -p1 < $CWD/vobsub2srt-c++11.patch +# fix build with newer g++ +patch -p1 < $CWD/climits.diff + mkdir -p build cd build cmake \ @@ -91,7 +94,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_DATA_DIR_BASE=/usr/share \ -DINSTALL_DOC_DIR_BASE=/usr/doc \ - -DINSTALL_MAN_DIR=/usr/man \ + -DINSTALL_MAN_DIR=/usr/man/man1 \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -103,7 +106,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +# make install creates the usr/doc/$PRGNAM, so: +mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING README* \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch b/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch index 521793a33f..009c382fb1 100644 --- a/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch +++ b/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch @@ -1,7 +1,7 @@ The original patch was from an ArchLinux package https://github.com/archlinux/svntogit-community/blob/packages/vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch -I got this one from https://github.com/City-busz/vokoscreenNG branch 'linux-support', and modified it to work with 3.0.8 +I got this one from https://github.com/City-busz/vokoscreenNG branch 'linux-support', and modified it to work with 3.1.0 commit 0a378409 (HEAD -> linux-support, origin/linux-support) Author: Balló György <ballogyor@gmail.com> @@ -11,8 +11,11 @@ Date: 2020-07-06 07:14:26 -0600 Add AppStream metadata, add installation target. +--- + + diff --git a/src/applications/INFO b/src/applications/INFO -index 4195de8f..1c1bd870 100644 +index 4195de8..1c1bd87 100644 --- a/src/applications/INFO +++ b/src/applications/INFO @@ -1,2 +1,3 @@ @@ -21,10 +24,10 @@ index 4195de8f..1c1bd870 100644 vokoscreenNG.png diff --git a/src/applications/vokoscreenNG.appdata.xml b/src/applications/vokoscreenNG.appdata.xml new file mode 100644 -index 00000000..883f4ae2 +index 0000000..883f4ae --- /dev/null +++ b/src/applications/vokoscreenNG.appdata.xml -@@ -0,0 +1,45 @@ +@@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop"> + <id>vokoscreenNG.desktop</id> @@ -38,31 +41,34 @@ index 00000000..883f4ae2 + </description> + <screenshots> + <screenshot type="default"> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-0.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-0.png</image> ++ </screenshot> ++ <screenshot> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-1.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-1.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-2.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-2.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-3.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-3.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-4.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-4.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-5.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-5.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-6.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-6.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-7.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-7.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-8.png</image> + </screenshot> + <screenshot> -+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-8.png</image> ++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-9.png</image> + </screenshot> + </screenshots> + <url type="homepage">https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html</url> @@ -71,16 +77,13 @@ index 00000000..883f4ae2 + <developer_name>Volker Kohaupt</developer_name> +</component> diff --git a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro -index 69bc5a33..fdf7fd07 100644 ---- a/src/vokoscreenNG.pro -+++ b/src/vokoscreenNG.pro -@@ -163,4 +163,29 @@ - # ciscoOpenh264 - win32:include(ciscoOpenh264/ciscoOpenh264.pri) +index d43ed30..7bf3d5a 100644 +--- vokoscreenNG-4.0.0-pristene/src/vokoscreenNG.pro 2024-01-01 15:49:40.000000000 -0700 ++++ vokoscreenNG-4.0.0/src/vokoscreenNG.pro 2024-01-02 22:18:58.149334295 -0700 +@@ -207,3 +207,28 @@ --unix:include(wayland/wayland.pri) -\ No newline at end of file -+unix:include(wayland/wayland.pri) + # Container + include(container/container.pri) + +unix:!macx { + isEmpty(PREFIX) { @@ -106,5 +109,3 @@ index 69bc5a33..fdf7fd07 100644 + + INSTALLS += target icon desktop appdata +} -Only in vokoscreenNG-3.0.8/src: vokoscreenNG.pro.orig -Only in vokoscreenNG-3.0.8/src: vokoscreenNG.pro.rej diff --git a/multimedia/vokoscreenNG/doinst.sh b/multimedia/vokoscreenNG/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/multimedia/vokoscreenNG/doinst.sh +++ b/multimedia/vokoscreenNG/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild index b94f931c55..c157ca9020 100644 --- a/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild +++ b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for VokoscreenNG -# Erik Falor | Logan Utah, USA | ewfalor@gmail.com +# Erik Falor | Logan, UT, USA | ewfalor@gmail.com | January 2024 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vokoscreenNG -VERSION=${VERSION:-3.0.8} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.0.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,16 +53,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -82,20 +78,20 @@ find -L . \ patch -Np1 -i $CWD/0001-Add-better-integration-for-Linux.patch -qmake-qt5 PREFIX=/usr QMAKE_CXXFLAGS="$SLKCFLAGS" src/vokoscreenNG.pro -make -j $(nproc) +qmake6 PREFIX=/usr QMAKE_CXXFLAGS="$SLKCFLAGS" src/vokoscreenNG.pro +make make INSTALL_ROOT=$PKG install 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 -cp -a \ - CHANGELOG.md COPYING README.md \ +cp -a -R \ + COPYING info-licences-changelog-install/* \ $PKG/usr/doc/$PRGNAM-$VERSION +rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL 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 diff --git a/multimedia/vokoscreenNG/vokoscreenNG.info b/multimedia/vokoscreenNG/vokoscreenNG.info index 236ca5acc5..283d6a2ac2 100644 --- a/multimedia/vokoscreenNG/vokoscreenNG.info +++ b/multimedia/vokoscreenNG/vokoscreenNG.info @@ -1,10 +1,10 @@ PRGNAM="vokoscreenNG" -VERSION="3.0.8" +VERSION="4.0.0" HOMEPAGE="https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html" -DOWNLOAD="https://github.com/vkohaupt/vokoscreenNG/archive/3.0.8/vokoscreenNG-3.0.8.tar.gz" -MD5SUM="88aacbf74cb543ed0db2397abe3ac74a" +DOWNLOAD="https://github.com/vkohaupt/vokoscreenNG/archive/4.0.0/vokoscreenNG-4.0.0.tar.gz" +MD5SUM="18adf5419f9485ec8ea036a4e7c56545" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README%" +REQUIRES="qt6 %README%" MAINTAINER="Erik Falor" EMAIL="ewfalor@gmail.com" diff --git a/multimedia/vvdec/README b/multimedia/vvdec/README new file mode 100644 index 0000000000..84766ee46d --- /dev/null +++ b/multimedia/vvdec/README @@ -0,0 +1,9 @@ +The Fraunhofer Versatile Video Decoder (VVdeC) is an +H.266/VVC decoder. Command line options can be seen +by running the following: + + vvdecapp --help + +Note that actual playback of H.266/VVC files is currently +a little challenging although 3rd party patches exist +for a modern FFmpeg. diff --git a/multimedia/vvdec/slack-desc b/multimedia/vvdec/slack-desc new file mode 100644 index 0000000000..c4eaa85e3c --- /dev/null +++ b/multimedia/vvdec/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------------------------------------------------------| +vvdec: vvdec (Fraunhofer Versatile Video Decoder) +vvdec: +vvdec: A fast and efficient H.266/VVC decoder implementation. +vvdec: +vvdec: +vvdec: +vvdec: +vvdec: https://github.com/fraunhoferhhi/vvdec +vvdec: +vvdec: +vvdec: diff --git a/multimedia/vvdec/vvdec.SlackBuild b/multimedia/vvdec/vvdec.SlackBuild new file mode 100644 index 0000000000..37f41fd3f4 --- /dev/null +++ b/multimedia/vvdec/vvdec.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/bash +# ---------------------------------------------------------------------- +# Slackware build script for vvdec +# +# Copyright (c) 2023-2024 Andrew Strong, Blue Mountains, Australia. +# +# Permission to use, copy, modify, and distribute this software for +# any purpose with or without fee is hereby granted, provided that +# the above copyright notice and this permission notice appear in all +# copies. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR +# CONTRIBUTORS 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=vvdec +VERSION=${VERSION:-2.2.0} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_INCLUDEDIR:PATH=include \ + -DBUILD_SHARED_LIBS=1 \ + -DVVDEC_INSTALL_VVDECAPP=on \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.md LICENSE.txt $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/vvdec/vvdec.info b/multimedia/vvdec/vvdec.info new file mode 100644 index 0000000000..606304881f --- /dev/null +++ b/multimedia/vvdec/vvdec.info @@ -0,0 +1,10 @@ +PRGNAM="vvdec" +VERSION="2.2.0" +HOMEPAGE="https://github.com/fraunhoferhhi/vvdec" +DOWNLOAD="https://github.com/fraunhoferhhi/vvdec/archive/v2.2.0/vvdec-2.2.0.tar.gz" +MD5SUM="6f1cd609e3a656ea66643762fa8399a3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrew Strong" +EMAIL="andrew.david.strong@gmail.com" diff --git a/multimedia/vvenc/README b/multimedia/vvenc/README new file mode 100644 index 0000000000..4cc2bb4e6d --- /dev/null +++ b/multimedia/vvenc/README @@ -0,0 +1,10 @@ +The Fraunhofer Versatile Video Encoder (VVenC) is an +H.266/VVC encoder. Command line options can be seen +by running the following: + + vvencapp --help + vvencFFapp --help + +Note that playback of H.266/VVC files is currently a little +challenging under Linux, although 3rd party patches for FFmpeg +exist. diff --git a/multimedia/vvenc/slack-desc b/multimedia/vvenc/slack-desc new file mode 100644 index 0000000000..4d5331ef30 --- /dev/null +++ b/multimedia/vvenc/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------------------------------------------------------| +vvenc: vvenc (Fraunhofer Versatile Video Encoder) +vvenc: +vvenc: A fast and efficient H.266/VVC encoder implementation. +vvenc: +vvenc: +vvenc: +vvenc: +vvenc: https://github.com/fraunhoferhhi/vvenc +vvenc: +vvenc: +vvenc: diff --git a/multimedia/vvenc/vvenc.SlackBuild b/multimedia/vvenc/vvenc.SlackBuild new file mode 100644 index 0000000000..c1f179f699 --- /dev/null +++ b/multimedia/vvenc/vvenc.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash +# ---------------------------------------------------------------------- +# Slackware build script for vvenc +# +# Copyright (c) 2023-2024 Andrew Strong, Blue Mountains, Australia. +# +# Permission to use, copy, modify, and distribute this software for +# any purpose with or without fee is hereby granted, provided that +# the above copyright notice and this permission notice appear in all +# copies. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR +# CONTRIBUTORS 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=vvenc +VERSION=${VERSION:-1.11.1} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_INCLUDEDIR:PATH=include \ + -DBUILD_SHARED_LIBS=1 \ + -DVVENC_INSTALL_FULLFEATURE_APP=on \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/configs +cp -a *.md changelog.txt LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION +# Some sample config files for optional use with vvencFFapp: +cp -a cfg/* $PKG/usr/doc/$PRGNAM-$VERSION/configs + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/vvenc/vvenc.info b/multimedia/vvenc/vvenc.info new file mode 100644 index 0000000000..6751c31e78 --- /dev/null +++ b/multimedia/vvenc/vvenc.info @@ -0,0 +1,10 @@ +PRGNAM="vvenc" +VERSION="1.11.1" +HOMEPAGE="https://github.com/fraunhoferhhi/vvenc" +DOWNLOAD="https://github.com/fraunhoferhhi/vvenc/archive/v1.11.1/vvenc-1.11.1.tar.gz" +MD5SUM="c3267221f7d0f74fe58d751188c2efbb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrew Strong" +EMAIL="andrew.david.strong@gmail.com" diff --git a/multimedia/w_scan/w_scan.SlackBuild b/multimedia/w_scan/w_scan.SlackBuild index 4dfc4c15a5..59a480cd15 100644 --- a/multimedia/w_scan/w_scan.SlackBuild +++ b/multimedia/w_scan/w_scan.SlackBuild @@ -34,7 +34,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -52,8 +52,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/w_scan2/README b/multimedia/w_scan2/README new file mode 100644 index 0000000000..87b85f41ff --- /dev/null +++ b/multimedia/w_scan2/README @@ -0,0 +1,19 @@ +w_scan2 is a small channel scan tool which generates +ATSC, DVB-C, DVB-S/S2 and DVB-T/T2 channels.conf files. + +It's based on the old "scan" tool from linuxtv-dvb-apps-1.1.0 + +The differences are: +- no initial tuning data needed, because scanning without this data is + exactly what a scan tool like this should do +- it detects automatically which DVB/ATSC card to use +- much more output formats, interfacing to other dtv software. + +w_scan2 is a fork of the original w_scan +from https://www.gen2vdr.de/wirbel/w_scan/index2.html + + +adds optional LCN to channel names (channels.conf: mplayer/vdr/xine) +LCN=yes ./sage.SlackBuild +so that, if you want the channels sorted by LCN, you can run +w_scan2 -c IT -X | sort > channels.conf diff --git a/multimedia/w_scan2/lcn.diff b/multimedia/w_scan2/lcn.diff new file mode 100644 index 0000000000..6e3529470c --- /dev/null +++ b/multimedia/w_scan2/lcn.diff @@ -0,0 +1,40 @@ + +--- src/dump-mplayer.c 2024-01-02 01:28:41.000000000 -0000 ++++ src/dump-mplayer.c 2024-01-15 16:46:22.194419459 -0000 +@@ -35,7 +35,7 @@ + { + int i; + +- fprintf(f, "%s:", s->service_name); ++ fprintf(f, "[LCN-%.4d]%s:", s->logical_channel_number, s->service_name); + xine_dump_dvb_parameters(f, t, flags); + fprintf(f, ":%i", s->pmt_pid); + if (s->video_pid) { + +--- src/dump-vdr.c 2024-01-02 01:28:41.000000000 -0000 ++++ src/dump-vdr.c 2024-01-15 16:46:19.737419311 -0000 +@@ -558,7 +558,7 @@ + + if (!flags->ca_select && s->scrambled) + return; +- fprintf(f, "%s", s->service_name); ++ fprintf(f, "[LCN-%.4d]%s", s->logical_channel_number, s->service_name); + + if (flags->dump_provider) + fprintf(f, ";%s", s->provider_name); + +--- src/dump-xine.c 2024-01-02 01:28:41.000000000 -0000 ++++ src/dump-xine.c 2024-01-15 16:46:17.076419151 -0000 +@@ -113,10 +113,10 @@ + { + if (s->video_pid || s->audio_pid[0]) { + if (s->provider_name) +- fprintf(f, "%s(%s):", s->service_name, ++ fprintf(f, "[LCN-%.4d]%s(%s):", s->logical_channel_number, s->service_name, + s->provider_name); + else +- fprintf(f, "%s:", s->service_name); ++ fprintf(f, "[LCN-%.4d]%s:", s->logical_channel_number, s->service_name); + xine_dump_dvb_parameters(f, t, flags); + fprintf(f, ":%i:%i:%i", s->video_pid, + s->ac3_pid[0] ? s->ac3_pid[0] : s->audio_pid[0], diff --git a/multimedia/w_scan2/slack-desc b/multimedia/w_scan2/slack-desc new file mode 100644 index 0000000000..2325673b99 --- /dev/null +++ b/multimedia/w_scan2/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------------------------------------------------------| +w_scan2: w_scan2 (ATSC, DVB-C, DVB-S/S2 and DVB-T/T2 scan tool) +w_scan2: +w_scan2: w_scan2 is a small channel scan tool which generates +w_scan2: ATSC, DVB-C, DVB-S/S2 and DVB-T/T2 channels.conf files +w_scan2: +w_scan2: +w_scan2: +w_scan2: +w_scan2: +w_scan2: Homepage: https://github.com/stefantalpalaru/w_scan2/ +w_scan2: diff --git a/multimedia/w_scan2/w_scan2.SlackBuild b/multimedia/w_scan2/w_scan2.SlackBuild new file mode 100644 index 0000000000..70cef05d8a --- /dev/null +++ b/multimedia/w_scan2/w_scan2.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for w_scan2 + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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=w_scan2 +VERSION=${VERSION:-1.0.15} +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 [ ! -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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +# adds optional LCN to channel names (channels.conf: mplayer/vdr/xine) +[ "${LCN:-no}" != "no" ] && patch -p0 -i $CWD/lcn.diff + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog COPYING README.md \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/w_scan2/w_scan2.info b/multimedia/w_scan2/w_scan2.info new file mode 100644 index 0000000000..91379ed098 --- /dev/null +++ b/multimedia/w_scan2/w_scan2.info @@ -0,0 +1,10 @@ +PRGNAM="w_scan2" +VERSION="1.0.15" +HOMEPAGE="https://github.com/stefantalpalaru/w_scan2/" +DOWNLOAD="https://github.com/stefantalpalaru/w_scan2/archive/1.0.15/w_scan2-1.0.15.tar.gz" +MD5SUM="e046d7ac4e75d5ac4628627e795fe269" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/multimedia/w_scan_cpp/README b/multimedia/w_scan_cpp/README new file mode 100644 index 0000000000..886c37804c --- /dev/null +++ b/multimedia/w_scan_cpp/README @@ -0,0 +1,11 @@ +w_scan_cpp is a dtv channel scanner based on VDR and it's Plugins. + +It uses (and therefore links to and includes part of) + 1. VDR Plugin framework + https://www.tvdr.de + 2. VDR satip Plugin + https://github.com/rofafor/vdr-plugin-satip + 3. VDR wirbelscan Plugin + https://www.gen2vdr.de/wirbel/wirbelscan/index2.html + 4. librepfunc + https://github.com/wirbel-at-vdr-portal/librepfunc diff --git a/multimedia/w_scan_cpp/slack-desc b/multimedia/w_scan_cpp/slack-desc new file mode 100644 index 0000000000..0e7e7040b9 --- /dev/null +++ b/multimedia/w_scan_cpp/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------------------------------------------------------| +w_scan_cpp: w_scan_cpp (dtv channel scanner) +w_scan_cpp: +w_scan_cpp: w_scan_cpp is a dtv channel scanner based on VDR and it's Plugins +w_scan_cpp: +w_scan_cpp: +w_scan_cpp: +w_scan_cpp: +w_scan_cpp: +w_scan_cpp: +w_scan_cpp: Homepage: https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html +w_scan_cpp: diff --git a/multimedia/w_scan_cpp/w_scan_cpp.SlackBuild b/multimedia/w_scan_cpp/w_scan_cpp.SlackBuild new file mode 100644 index 0000000000..8851345c45 --- /dev/null +++ b/multimedia/w_scan_cpp/w_scan_cpp.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for w_scan_cpp + +# Copyright 2024 Andrea Sacchetti Picchio Italy +# 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=w_scan_cpp +VERSION=${VERSION:-20231015} +VERSION_vdr=${VERSION_vdr:-2.6.7} +VERSION_satip=${VERSION_satip:-2.4.1} +VERSION_wirbelscan=${VERSION_wirbelscan:-2023.10.15} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(nproc) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +tar xvf $CWD/vdr-$VERSION_vdr.tar.gz +mv vdr-$VERSION_vdr vdr +cd vdr/PLUGINS/src +tar xvf $CWD/vdr-plugin-satip-$VERSION_satip.tar.gz +mv vdr-plugin-satip-$VERSION_satip satip +tar xvf $CWD/vdr-wirbelscan-$VERSION_wirbelscan.tgz +mv wirbelscan-$VERSION_wirbelscan wirbelscan +cd $TMP/$PRGNAM-$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 {} \; + +# Fix +sed "s/satip.h/satip.c/" -i Library.cpp +sed "/ParseLCN/s/false/true/" -i vdr/PLUGINS/src/wirbelscan/common.cpp + +CFLAGS="$SLKCFLAGS -z muldefs" \ +CXXFLAGS="$SLKCFLAGS -z muldefs" \ + make $NUMJOBS install DESTDIR=$PKG prefix=/usr + +# Fix DIR +mv $PKG/usr/share/man $PKG/usr +rm -rf $PKG/usr/share + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CONTRIBUTORS COPYING HISTORY README \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/w_scan_cpp/w_scan_cpp.info b/multimedia/w_scan_cpp/w_scan_cpp.info new file mode 100644 index 0000000000..2749833793 --- /dev/null +++ b/multimedia/w_scan_cpp/w_scan_cpp.info @@ -0,0 +1,16 @@ +PRGNAM="w_scan_cpp" +VERSION="20231015" +HOMEPAGE="https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html" +DOWNLOAD="https://www.gen2vdr.de/wirbel/w_scan_cpp/w_scan_cpp-20231015.tar.bz2 \ + https://www.gen2vdr.de/wirbel/wirbelscan/vdr-wirbelscan-2023.10.15.tgz \ + https://github.com/rofafor/vdr-plugin-satip/archive/v2.4.1/vdr-plugin-satip-2.4.1.tar.gz \ + https://github.com/vdr-projects/vdr/archive/2.6.7/vdr-2.6.7.tar.gz" +MD5SUM="ac6bca5260c571f81648bf735c0731b8 \ + 8a012699c1dd1e6ef9b8dd2ddc60d6af \ + cd9ff5d2b47c3e55d64dbc375f84a5a7 \ + 8da42e7f522f0a5c53ec28256275688e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="pugixml librepfunc" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/multimedia/whistle/whistle.info b/multimedia/whistle/whistle.info index dceeb6af8d..4454f00e2b 100644 --- a/multimedia/whistle/whistle.info +++ b/multimedia/whistle/whistle.info @@ -1,10 +1,10 @@ PRGNAM="whistle" VERSION="0.9.3" HOMEPAGE="https://github.com/ap0calypse/whistle" -DOWNLOAD="https://github.com/ap0calypse/whistle/archive/0.9.3.tar.gz" +DOWNLOAD="https://github.com/ap0calypse/whistle/archive/0.9.3/whistle-0.9.3.tar.gz" MD5SUM="bddd41feebf3ceb380c51e743ab210e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Curses-UI perl-Audio-FLAC-Header perl-IPC-Run perl-IPC-System-Simple perl-MP3-Info perl-Ogg-Vorbis-Header-PurePerl perl-extutils-depends perl-extutils-pkgconfig perl-file-mimeinfo libwww-perl" +REQUIRES="perl-Curses-UI perl-Audio-FLAC-Header perl-IPC-Run perl-MP3-Info perl-Ogg-Vorbis-Header-PurePerl perl-extutils-depends perl-extutils-pkgconfig perl-file-mimeinfo libwww-perl" MAINTAINER="Manuel Fill" EMAIL="manuel.fill.42@gmail.com" diff --git a/multimedia/winff/README b/multimedia/winff/README new file mode 100644 index 0000000000..7a65a950cb --- /dev/null +++ b/multimedia/winff/README @@ -0,0 +1,34 @@ +WinFF is a GUI for the command line video converter, FFMPEG. It will +convert most any video file that FFmpeg will convert. WinFF does +multiple files in multiple formats at one time. You can for example +convert mpeg's, flv's, and mov's, all into avi's all at once. + +lazarus is just a build-time dependency. + +NOTE: +If you have a previous ~/.winff directory you might want to +remove it or your presets might not be updated. + +WinFF is no longer maintained by the original author. It is currently +maintained by Debian maintainer Paul Gevers and the website winff.org +has been hijacked. See the following post for details: +https://github.com/WinFF/winff/issues/250 + +I've patched the link for the FFmpeg Windows build website in the +about section to point it to correct website as mentioned on the +FFmpeg website. See the following link for details: +https://ffmpeg.org/download.html#build-windows + +The Launchpad link no longer works and I've patched it to point to +the WinFF Debian maintainer's [Paul Gevers] page. I've made sure other +websites link to the https version. + +There was also an issue with opening the documentation in Slackware. +The path to the documetation is hardcoded in the source file. +I've patched it to look in the /usr/doc/$PRGNAM-$VERSION directory. + +I've patched winff to use xdg-open to use the user's default +PDF viewer. + +This build now uses qt5, hence libqtpas is now a dependency. Install +libqtpas before installing lazarus. diff --git a/multimedia/winff/changelog b/multimedia/winff/changelog new file mode 100644 index 0000000000..e464b2ee64 --- /dev/null +++ b/multimedia/winff/changelog @@ -0,0 +1,128 @@ +Changelog for Winff SlackBuild Script +-------------------------------------------------------------------- + +09/09/2022: + +Took over as maintainer for the Winff SlackBuild +script. + +The Original author of Winff no longer maintains and is +now maintained by Debian Maintainer Paul Gevers. + +Corrected the various dead URL.Updated the various URL to +https.patched it to look in the slackware's doc folder. +see these posts for details. +https://github.com/WinFF/winff/issues/250 +https://ffmpeg.org/download.html#build-windows + +24/09/2022: + +Winff will now use the users default pdf viewer using +xdg-open also added support for Okular pdf reader. It will +now use the -O2 optimization and added some hardening flags +to the linker and fix wrongly escaped single quote in the +man page.I've added these patches from Debian Maintainer +Paul Gevers. + +Removed the hint that said TEST in the lower left side corner +of the GUI,when you hover the mouse in the area between the +convert button and options button.Fixed the Dialog boxes under +the Ffmpeg tab were it will now show pass 1 and pass 2 separately +previously the pass 1 dialog was merged with the top parameter +dialog box.Put Underscore between the "Cancel Changes", +"Apply Changes" and "Apply to All" buttons and will now be +further apart for clarity. From FFmpeg versions 5 and later +the -vol command will fail.For example -vol 512 has been changed +to -filter:a "volume=1.5", since slackware uses FFmpeg4 +this is not a problem for now.Added Hints to the 2 buttons +next to the folder path.The open was not working due to +older lazarus not passing commands updating to Lazarus 2.2.2-0 +will solve that problem.If you cross compile winff for windows +without patching the language files it will show the old links. +Thanks to David Miller for patches,Improvments and testing Winff. + +Created a set of patches instead of sed commands. + +Extended the Copyright, which previously was upto the year 2016. + +GTK2 has reached end of life also GTK3 widget set support in +lazarus is in alpha stage in lazarus.See the following post +for details. + +https://blog.gtk.org/2020/12/16/gtk-4-0/ +https://wiki.freepascal.org/Widgetset + +As such it no longer make sense to default to GTK.We will +now default to qt5 nstead of GTK.Therefore libqtpas is now a +dependency. Install libqtpas before installing lazarus. + +Removed a Dangling link to AV GNU/Linux Distro. + +If for Some reason "Cancel changes","Apply to all" and +"Apply changes" button does not appear do not fret, Enter the +Values you need to modify in Video/Audio/Crop/Time and then +add the file to convert it would pass the options.You can check +the Command in the FFmpeg tab. This is a workaround. + +Patched the manpage to show the winff docmentation location +in slackware. + +This build removes all other localization files except english +since it contains outdated links and may pose security risk. +Bumped the build no. + +20/01/2023: + +Fixed $ARCH issue for 32-bit systems. freepascal supports i386 +only. The SlackBuild is modified to reflect that.Bumped the +build no. + +Users of WinFF must be aware of these two security issues that are +still unresolved upstream. + +a. The first one is due to the way filenames are inserted in the +temporary shell scripts generated to convert the media. Due to the +lack of character escaping, it is possible to insert system command using +specially crafted filename such as 'aaa";xcalc;".avi' or "aaa$(xcalc).mp4' +Thus leading to an arbitrary command execution. + +b. The second issue is related to the permission of this temporary shell +script. every users can access to them and modify them. Even if those files +are only temporary and launched right after generation, it leads to a +race-condition case where another user may try to replace the script content +before its execution in order to execute its own command with the winff +user permission. + +you can read about this issue here: +https://github.com/WinFF/winff/issues/242 + +As for first issue check the filename before converting otherwise it +will compromise your system and don't download from untrusted sources. +For the second I have no clue and this is beyond my abilities.If you have +a patch for these issue feel free to send it to me. + + +11/01/2024: + +Upgraded to the latest git commit 31b79e3. + +22/01/2024: + +Added -pie and -zdefs hardening flags to linker. +Bumped the build no. + +27/02/2024: + +Updated to version 1.6.3 + +03/03/2024: + +Resubmit to SBo +Modify the SlackBuild to avoid creating object code files to /usr/share/lazarus +when compiling winff and remove unused function in doinst.sh Thanks to Andrew Clemons +for pointing it out. + +27/04/2024: + +Updated to version 1.6.4 +Fixed dead links. Fix documentation to properly open the pdf. diff --git a/multimedia/lwks/doinst.sh b/multimedia/winff/doinst.sh index 5fb28930db..5fb28930db 100644 --- a/multimedia/lwks/doinst.sh +++ b/multimedia/winff/doinst.sh diff --git a/multimedia/winff/patches/unit1-pas.patch b/multimedia/winff/patches/unit1-pas.patch new file mode 100644 index 0000000000..cb6ddd2217 --- /dev/null +++ b/multimedia/winff/patches/unit1-pas.patch @@ -0,0 +1,47 @@ +--- unit1.pas 2024-04-17 01:41:03.000000000 +0530 ++++ unit1n.pas 2024-04-25 19:19:53.307142871 +0530 +@@ -1,8 +1,8 @@ + unit Unit1; + +-// WInFF 1.0 Copyright 2006-2012 Matthew Weatherford ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + + // This program is free software: you can redistribute it and/or modify +@@ -1795,20 +1795,12 @@ + language:=leftstr(lang,2); + {$ifdef unix} + s :=''; +- if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/doc/winff/WinFF.' + language + '.pdf.gz'; +- if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf') then s:='/usr/share/doc/winff/WinFF.' + language + '.pdf'; +- if fileexists('/usr/share/winff/WinFF.' + language + '.pdf') then s:='/usr/share/winff/WinFF.' + language + '.pdf'; +- if fileexists('/usr/share/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/winff/WinFF.' + language + '.pdf.gz'; +- if fileexists('/usr/share/doc/packages/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/doc/packages/winff/WinFF.' + language + '.pdf.gz'; +- if fileexists('/usr/share/doc/packages/winff/WinFF.' + language + '.pdf') then s:='/usr/share/doc/packages/winff/WinFF.' + language + '.pdf'; ++ if fileexists('/usr/doc/winff-1.6.4/WinFF.' + language + '.pdf.gz') then s:='/usr/doc/winff-1.6.4/WinFF.' + language + '.pdf.gz'; ++ if fileexists('/usr/doc/winff-1.6.4/WinFF.' + language + '.pdf') then s:='/usr/doc/winff-1.6.4/WinFF.' + language + '.pdf'; + if s='' then + begin +- s := '/usr/share/doc/winff/WinFF.en.pdf.gz'; +- if fileexists('/usr/share/doc/winff/WinFF.en.pdf') then s:='/usr/share/doc/winff/WinFF.en.pdf'; +- if fileexists('/usr/share/winff/WinFF.en.pdf') then s:='/usr/share/winff/WinFF.en.pdf'; +- if fileexists('/usr/share/winff/WinFF.en.pdf.gz') then s:='/usr/share/winff/WinFF.en.pdf.gz'; +- if fileexists('/usr/share/doc/packages/winff/WinFF.en.pdf.gz') then s:='/usr/share/doc/packages/winff/WinFF.en.pdf.gz'; +- if fileexists('/usr/share/doc/packages/winff/WinFF.en.pdf') then s:='/usr/share/doc/packages/winff/WinFF.en.pdf'; ++ s := '/usr/doc/winff-1.6.4/WinFF.en.pdf.gz'; ++ if fileexists('/usr/doc/winff-1.6.4/WinFF.en.pdf') then s:='/usr/doc/winff-1.6.4/WinFF.en.pdf'; + end; + {$endif} + {$IFDEF WINDOWS} +@@ -1821,7 +1813,7 @@ + //menu: Help Forums + procedure TfrmMain.mitForumsClick(Sender: TObject); + begin +- launchbrowser('https://groups.google.com/g/winff'); ++ launchbrowser('http://github.com/WinFF/winff/issues'); + end; + + procedure TfrmMain.mitRestoreDefaultsClick(Sender: TObject); diff --git a/multimedia/winff/patches/unit2-pas.patch b/multimedia/winff/patches/unit2-pas.patch new file mode 100644 index 0000000000..7addd19cb0 --- /dev/null +++ b/multimedia/winff/patches/unit2-pas.patch @@ -0,0 +1,13 @@ +--- unit2.pas 2023-10-03 19:20:47.000000000 +0530 ++++ unit2n.pas 2024-01-10 22:27:47.257969107 +0530 +@@ -1,8 +1,8 @@ + unit Unit2; + +-// WinFF Copyright 2006-2012 Matthew Weatherford ++// WinFF Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// hhttps://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + // + // This program is free software: you can redistribute it and/or modify diff --git a/multimedia/winff/patches/unit3-lfm.patch b/multimedia/winff/patches/unit3-lfm.patch new file mode 100644 index 0000000000..29e8045a1c --- /dev/null +++ b/multimedia/winff/patches/unit3-lfm.patch @@ -0,0 +1,58 @@ +--- unit3.lfm 2023-10-03 19:20:47.000000000 +0530 ++++ unit3n.lfm 2024-01-11 20:09:24.951994073 +0530 +@@ -341,7 +341,9 @@ + BorderSpacing.Top = 2
+ BorderSpacing.Bottom = 2
+ Caption = 'Trademark Fabrice Bellard'
++ Font.Color = clBlue
+ ParentColor = False
++ ParentFont = False
+ OnClick = lblBellardClick
+ end
+ object lblURLffmpeg: TLabel
+@@ -354,18 +356,21 @@ + BorderSpacing.Left = 5
+ BorderSpacing.Top = 2
+ BorderSpacing.Bottom = 5
+- Caption = 'http://ffmpeg.org'
++ Caption = 'https://ffmpeg.org'
+ Font.Color = clBlue
+ ParentColor = False
+ ParentFont = False
+ OnClick = lblURLffmpegClick
+ end
+ object lblWindowsBuilds: TLabel
+- Left = 0
+- Height = 20
+- Top = 69
++ Left = 5
++ Height = 25
++ Top = 75
+ Width = 376
+ Align = alTop
++ BorderSpacing.Left = 5
++ BorderSpacing.Top = 2
++ BorderSpacing.Bottom = 5
+ Caption = 'Windows Builds by'
+ ParentColor = False
+ ShowAccelChar = False
+@@ -373,12 +378,15 @@ + end
+ object lblwinbuilds: TLabel
+ Cursor = crHandPoint
+- Left = 0
+- Height = 16
+- Top = 89
++ Left = 5
++ Height = 30
++ Top = 95
+ Width = 376
+ Align = alTop
+- Caption = 'Kyle Schwarz'
++ BorderSpacing.Left = 5
++ BorderSpacing.Top = 2
++ BorderSpacing.Bottom = 7
++ Caption = 'Gyan Doshi'
+ Font.CharSet = ANSI_CHARSET
+ Font.Color = clBlue
+ Font.Height = -13
diff --git a/multimedia/winff/patches/unit3-pas.patch b/multimedia/winff/patches/unit3-pas.patch new file mode 100644 index 0000000000..5f8dd7c238 --- /dev/null +++ b/multimedia/winff/patches/unit3-pas.patch @@ -0,0 +1,78 @@ +--- unit3.pas 2024-04-17 01:41:03.000000000 +0530 ++++ unit3n.pas 2024-04-25 17:30:56.674161644 +0530 +@@ -2,9 +2,9 @@ + + // About form + +-// WInFF 1.0 Copyright 2006-2013 Matthew Weatherford ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + + // This program is free software: you can redistribute it and/or modify +@@ -60,7 +60,6 @@ + procedure lblBellardClick(Sender: TObject); + procedure lblGeversClick(Sender: TObject); + procedure lblStoffbergClick(Sender: TObject); +- procedure lblGmaqClick(Sender: TObject); + procedure lblURLZeranoClick(Sender: TObject); + procedure lblWeatherfordClick(Sender: TObject); + procedure lblURLWinffOrgClick(Sender: TObject); +@@ -128,27 +127,22 @@ + + procedure TfrmAbout.lblBellardClick(Sender: TObject); + begin +- ++ frmMain.LaunchBrowser('https://bellard.org/'); + end; + + procedure TfrmAbout.lblGeversClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('https://launchpad.net/~paul-climbing/+archive/ppa/'); ++ frmMain.LaunchBrowser('https://tracker.debian.org/pkg/winff'); + end; + + procedure TfrmAbout.lblStoffbergClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('http://istoff.blogspot.com'); +-end; +- +-procedure TfrmAbout.lblGmaqClick(Sender: TObject); +-begin +- frmMain.LaunchBrowser('http://www.bandshed.net/'); ++ frmMain.LaunchBrowser('https://istoff.blogspot.com'); + end; + + procedure TfrmAbout.lblURLZeranoClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('http://ffmpeg.zeranoe.com'); ++ frmMain.LaunchBrowser('https://www.gyan.dev/ffmpeg/builds'); + end; + + procedure TfrmAbout.btnOkClick(Sender: TObject); +@@ -158,7 +152,7 @@ + + procedure TfrmAbout.lblWeatherfordClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('http://www.biggmatt.com'); ++ frmMain.LaunchBrowser('https://github.com/WinFF/winff'); + end; + + procedure TfrmAbout.lblURLWinffOrgClick(Sender: TObject); +@@ -168,12 +162,12 @@ + + procedure TfrmAbout.lblURLffmpegClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('http://ffmpeg.org/'); ++ frmMain.LaunchBrowser('https://ffmpeg.org/'); + end; + + procedure TfrmAbout.lblwinbuildsClick(Sender: TObject); + begin +- frmMain.LaunchBrowser('http://ffmpeg.zeranoe.com/builds/'); ++ frmMain.LaunchBrowser('https://www.gyan.dev/ffmpeg/builds'); + end; + + procedure TfrmAbout.lblWindowsBuildsClick(Sender: TObject); diff --git a/multimedia/winff/patches/unit4-pas.patch b/multimedia/winff/patches/unit4-pas.patch new file mode 100644 index 0000000000..c375713c30 --- /dev/null +++ b/multimedia/winff/patches/unit4-pas.patch @@ -0,0 +1,13 @@ +--- unit4.pas 2023-10-03 19:20:47.000000000 +0530 ++++ unit4n.pas 2024-01-10 22:36:28.191304129 +0530 +@@ -1,8 +1,8 @@ + unit Unit4; + +-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + // + // This program is free software: you can redistribute it and/or modify diff --git a/multimedia/winff/patches/unit5-pas.patch b/multimedia/winff/patches/unit5-pas.patch new file mode 100644 index 0000000000..b9d25f828e --- /dev/null +++ b/multimedia/winff/patches/unit5-pas.patch @@ -0,0 +1,13 @@ +--- unit5.pas 2023-10-03 19:20:47.000000000 +0530 ++++ unit5n.pas 2024-01-10 22:37:47.134755906 +0530 +@@ -1,8 +1,8 @@ + unit Unit5; + +-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + // + // This program is free software: you can redistribute it and/or modify diff --git a/multimedia/winff/patches/unit6-pas.patch b/multimedia/winff/patches/unit6-pas.patch new file mode 100644 index 0000000000..dfe5700f9f --- /dev/null +++ b/multimedia/winff/patches/unit6-pas.patch @@ -0,0 +1,13 @@ +--- unit6.pas 2023-10-03 19:20:47.000000000 +0530 ++++ unit6n.pas 2024-01-10 22:38:34.727540276 +0530 +@@ -1,8 +1,8 @@ + unit unit6; + +-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford + // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru> +-// http://winff.org ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + // + // This program is free software: you can redistribute it and/or modify diff --git a/multimedia/winff/patches/winff-1.patch b/multimedia/winff/patches/winff-1.patch new file mode 100644 index 0000000000..e4a97761e6 --- /dev/null +++ b/multimedia/winff/patches/winff-1.patch @@ -0,0 +1,17 @@ +--- winff.1 2023-10-03 19:20:47.000000000 +0530 ++++ winffn.1 2024-01-11 20:22:53.045991752 +0530 +@@ -29,6 +29,7 @@ + .SH "SEE ALSO" + .PP + For more details, you should have a look at the pdf manual, available at /usr/share/doc/winff/winff\.pdf ++In Slackware Linux the Manual is available at /usr/doc/winff-20231003_31b79e3/winff\.pdf + .SH "AUTHOR" + .PP + This manual page was written by Paul Gevers +@@ -41,5 +42,5 @@ + .PP + On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\. + .SH "COPYRIGHT" +-Copyright \(co 2008 Paul Gevers ++Copyright \(co 2008-2024 Paul Gevers + .br diff --git a/multimedia/winff/patches/winff-en.patch b/multimedia/winff/patches/winff-en.patch new file mode 100644 index 0000000000..1eccc92691 --- /dev/null +++ b/multimedia/winff/patches/winff-en.patch @@ -0,0 +1,37 @@ +--- winff.en_GB.po 2023-10-03 19:20:47.000000000 +0530 ++++ winff.en_GBn.po 2024-01-10 22:50:33.016503273 +0530 +@@ -73,8 +73,8 @@ + + #: tfrmabout.lblschwarz.caption + msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION" +-msgid "Kyle Schwarz" +-msgstr "Kyle Schwarz" ++msgid "Gyan Doshi" ++msgstr "Gyan Doshi" + + #: tfrmabout.lblstoffberg.caption + msgid "Ian Stoffberg" +@@ -82,17 +82,17 @@ + + #: tfrmabout.lblurlffmpeg.caption + msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION" +-msgid "http://ffmpeg.org" +-msgstr "http://ffmpeg.org" ++msgid "https://ffmpeg.org" ++msgstr "https://ffmpeg.org" + + #: tfrmabout.lblurlwinfforg.caption + msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION" +-msgid "http://www.winff.org" +-msgstr "http://www.winff.org" ++msgid "https://github.com/WinFF/winff" ++msgstr "https://github.com/WinFF/winff" + + #: tfrmabout.lblurlzeranoe.caption +-msgid "http://ffmpeg.zeranoe.com" +-msgstr "http://ffmpeg.zeranoe.com" ++msgid "https://www.gyan.dev/ffmpeg/" ++msgstr "https://www.gyan.dev/ffmpeg/" + + #: tfrmabout.lblweatherford.caption + msgid "Matthew Weatherford" diff --git a/multimedia/winff/patches/winff-lpi.patch b/multimedia/winff/patches/winff-lpi.patch new file mode 100644 index 0000000000..5c606b7ec4 --- /dev/null +++ b/multimedia/winff/patches/winff-lpi.patch @@ -0,0 +1,20 @@ +--- winff.lpi 2024-04-17 01:41:03.000000000 +0530 ++++ winffn.lpi 2024-04-25 17:33:23.998161221 +0530 +@@ -20,7 +20,7 @@ + <MajorVersionNr Value="1"/> + <MinorVersionNr Value="6"/> + <RevisionNr Value="0"/> +- <StringTable CompanyName="WinFF.org" FileDescription="WinFF Video Converter" InternalName="winff" LegalCopyright="Copyright 2006-2023 Matthew Weatherford" OriginalFilename="winff.exe" ProductVersion=""/> ++ <StringTable CompanyName="WinFF.org" FileDescription="WinFF Video Converter" InternalName="winff" LegalCopyright="Copyright 2006-2024 Matthew Weatherford" OriginalFilename="winff.exe" ProductVersion=""/> + </VersionInfo> + <BuildModes Count="1"> + <Item1 Name="default" Default="True"/> +@@ -129,7 +129,7 @@ + </Debugging> + <Options> + <PassLinkerOptions Value="True"/> +- <LinkerOptions Value="--as-needed -zrelro -znow"/> ++ <LinkerOptions Value="--as-needed -zrelro -znow -zdefs -pie"/> + <Win32> + <GraphicApplication Value="True"/> + </Win32> diff --git a/multimedia/winff/patches/winff-lpr.patch b/multimedia/winff/patches/winff-lpr.patch new file mode 100644 index 0000000000..6344dba0ab --- /dev/null +++ b/multimedia/winff/patches/winff-lpr.patch @@ -0,0 +1,12 @@ +--- winff.lpr 2023-10-03 19:20:47.000000000 +0530 ++++ winffn.lpr 2024-01-10 22:48:22.389222629 +0530 +@@ -1,7 +1,7 @@ + program winff; + +-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford +-// http://winff.org ++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford ++// https://github.com/WinFF/winff + // Licensed under the GPL v3 or any later version + // + // This program is free software: you can redistribute it and/or modify diff --git a/multimedia/winff/patches/winff-po.patch b/multimedia/winff/patches/winff-po.patch new file mode 100644 index 0000000000..075eae8d18 --- /dev/null +++ b/multimedia/winff/patches/winff-po.patch @@ -0,0 +1,31 @@ +--- winff.po 2023-10-03 19:20:47.000000000 +0530 ++++ winffn.po 2024-01-10 22:53:57.565726188 +0530 +@@ -69,7 +69,7 @@ + + #: tfrmabout.lblschwarz.caption + msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION" +-msgid "Kyle Schwarz" ++msgid "Gyan Doshi" + msgstr "" + + #: tfrmabout.lblstoffberg.caption +@@ -78,16 +78,16 @@ + + #: tfrmabout.lblurlffmpeg.caption + msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION" +-msgid "http://ffmpeg.org" ++msgid "https://ffmpeg.org" + msgstr "" + + #: tfrmabout.lblurlwinfforg.caption + msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION" +-msgid "http://www.winff.org" ++msgid "https://github.com/WinFF/winff" + msgstr "" + + #: tfrmabout.lblurlzeranoe.caption +-msgid "http://ffmpeg.zeranoe.com" ++msgid "https://www.gyan.dev/ffmpeg/" + msgstr "" + + #: tfrmabout.lblweatherford.caption diff --git a/multimedia/winff/patches/winff-pot.patch b/multimedia/winff/patches/winff-pot.patch new file mode 100644 index 0000000000..da2e826656 --- /dev/null +++ b/multimedia/winff/patches/winff-pot.patch @@ -0,0 +1,31 @@ +--- winff.pot 2023-10-03 19:20:47.000000000 +0530 ++++ winffn.pot 2024-01-10 22:52:29.128529940 +0530 +@@ -69,7 +69,7 @@ + + #: tfrmabout.lblschwarz.caption + msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION" +-msgid "Kyle Schwarz" ++msgid "Gyan Doshi" + msgstr "" + + #: tfrmabout.lblstoffberg.caption +@@ -78,16 +78,16 @@ + + #: tfrmabout.lblurlffmpeg.caption + msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION" +-msgid "http://ffmpeg.org" ++msgid "https://ffmpeg.org" + msgstr "" + + #: tfrmabout.lblurlwinfforg.caption + msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION" +-msgid "http://www.winff.org" ++msgid "https://github.com/WinFF/winff" + msgstr "" + + #: tfrmabout.lblurlzeranoe.caption +-msgid "http://ffmpeg.zeranoe.com" ++msgid "https://www.gyan.dev/ffmpeg/" + msgstr "" + + #: tfrmabout.lblweatherford.caption diff --git a/multimedia/winff/slack-desc b/multimedia/winff/slack-desc new file mode 100644 index 0000000000..36b0c2a1d9 --- /dev/null +++ b/multimedia/winff/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------------------------------------------------------| +winff: winff (GUI for FFmpeg) +winff: +winff: Winff is GUI for FFmpeg. It will convert most Video and +winff: Audio formats and can also convert many files at one time. +winff: +winff: +winff: Homepage:https://github.com/WinFF/winff +winff: +winff: +winff: +winff: diff --git a/multimedia/winff/winff.SlackBuild b/multimedia/winff/winff.SlackBuild new file mode 100644 index 0000000000..52eb1ccfc3 --- /dev/null +++ b/multimedia/winff/winff.SlackBuild @@ -0,0 +1,150 @@ +#!/bin/bash + +# Slackware build script for winff + +# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> +# Copyright 2022-2024 Vijay Marcel +# 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. + +# 20230527 bkw: modified by SlackBuilds.org: +# - fix ARCH, use separate CPU variable for the compiler. +# - grammar cleanups for README. +# - stop creating /root/.lazarus/compilertest.pas outside of $TMP. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=winff +VERSION=${VERSION:-1.6.4} +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 [ ! -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} + +case "$ARCH" in + i?86) CPU="i386" + LIBDIRSUFFIX="" + ;; + x86_64) CPU="x86_64" + LIBDIRSUFFIX="64" + ;; + *) printf "$ARCH is not supported...\n" + exit 1 + ;; +esac + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$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 {} + + +echo "Patching Winff, See README and changelog for Details" + +cd $PRGNAM + +patch --verbose --unified < $CWD/patches/unit1-pas.patch +patch --verbose --unified < $CWD/patches/unit2-pas.patch +patch --verbose --unified < $CWD/patches/unit3-lfm.patch +patch --verbose --unified < $CWD/patches/unit3-pas.patch +patch --verbose --unified < $CWD/patches/unit4-pas.patch +patch --verbose --unified < $CWD/patches/unit5-pas.patch +patch --verbose --unified < $CWD/patches/unit6-pas.patch +patch --verbose --unified < $CWD/patches/winff-lpi.patch +patch --verbose --unified < $CWD/patches/winff-lpr.patch +patch --verbose --unified < $CWD/patches/winff-1.patch + +echo "Patching the languages file" + +find languages -type f -not \( -name 'winff.po' -or -name 'winff.pot' -or -name 'winff.en_GB.po' \) -delete + +cd languages + +patch --verbose --unified < $CWD/patches/winff-pot.patch +patch --verbose --unified < $CWD/patches/winff-en.patch + +cd .. + +# Adapted from https://slackbuilds.org/slackbuilds/15.0/system/doublecmd-qt5/doublecmd-qt5.SlackBuild +# This should technically prevent lazbuild to put object code files in /usr/share/lazarus when builing +# pascal applications using lazbuild + +echo "we are now copying /usr/share/lazarus to $(pwd) to avoid putting object code files in /usr/share/lazarus when compiling winff" + +cp -a /usr/share/lazarus ./ + +echo "Building WinFF with QT5 Widget insted of GTK" + +$(pwd)/lazarus/lazbuild --lazarusdir="$(pwd)/lazarus" --widgetset=qt5 --cpu=$CPU -B winff.lpr + +install -s -m 0755 -D $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM + +mkdir -pv $PKG/usr/share/$PRGNAM +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/languages $PKG/usr/share/$PRGNAM/ +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/presets.xml $PKG/usr/share/$PRGNAM/ +install -m 0644 $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/scripts/check_presets.sh $PKG/usr/share/$PRGNAM/ + +mkdir -pv $PKG/usr/man/man1 +gzip -c9 $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz + +install -m 0644 -D $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop + +install -m 0644 -D $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/winff-icons/48x48/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/{README-Presets.txt,changelog.txt} $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/$PRGNAM/docs/*.{pdf,txt} $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $TMP/$PRGNAM-$PRGNAM-$VERSION/README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -pv $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/winff/winff.desktop b/multimedia/winff/winff.desktop new file mode 100644 index 0000000000..e18ec7697a --- /dev/null +++ b/multimedia/winff/winff.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=winff +Comment=GUI for FFmpeg +Exec=/usr/bin/winff +Icon=/usr/share/pixmaps/winff.png +Terminal=false +Type=Application +Categories=AudioVideo;AudioVideoEditing +GenericName=Video Converter diff --git a/multimedia/winff/winff.info b/multimedia/winff/winff.info new file mode 100644 index 0000000000..52aaafeaf7 --- /dev/null +++ b/multimedia/winff/winff.info @@ -0,0 +1,10 @@ +PRGNAM="winff" +VERSION="1.6.4" +HOMEPAGE="https://github.com/WinFF/winff" +DOWNLOAD="https://github.com/WinFF/winff/archive/winff-1.6.4/winff-winff-1.6.4.tar.gz" +MD5SUM="23138be15b60bf3fcb1c11c634d44d16" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libqtpas lazarus" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/wxcam/README b/multimedia/wxcam/README index 60ab8a75ce..36fa0f0ef7 100644 --- a/multimedia/wxcam/README +++ b/multimedia/wxcam/README @@ -1,5 +1,5 @@ -wxCam is a webcam application for linux. It supports video recording (in an -avi uncompressed and Xvid format), snapshot taking, and some special commands -for philips webcams, so you can also use the program for astronomy purposes. -It supports both video4linux 1 and 2 drivers, so it should work on a very -large number of devices. +wxCam is a webcam application for linux. It supports video recording +(in an avi uncompressed and Xvid format), snapshot taking, and some +special commands for philips webcams, so you can also use the program +for astronomy purposes. It supports both video4linux 1 and 2 drivers, +so it should work on a very large number of devices. diff --git a/multimedia/wxcam/wxcam.SlackBuild b/multimedia/wxcam/wxcam.SlackBuild index 44a43c4e52..65ff702a15 100644 --- a/multimedia/wxcam/wxcam.SlackBuild +++ b/multimedia/wxcam/wxcam.SlackBuild @@ -6,6 +6,7 @@ # Updated for version 1.0.4 27/07/2009 # Updated for version 1.0.7 01/01/2011 # Updated for version 1.1 18/03/2012 +# Modified by B. Watson (BUILD=2) 07/02/2022 (force use of wxPython). # # Copyright 2009-2012 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. @@ -92,6 +93,7 @@ CXXFLAGS="$SLKCFLAGS -std=c++14" \ --sysconfdir=/etc \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ + --with-wx-config=/usr/lib$LIBDIRSUFFIX/wx/config/gtk2-unicode-release-2.8 \ --build=$ARCH-slackware-linux make wxcamdocdir=/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/wxcam/wxcam.info b/multimedia/wxcam/wxcam.info index 31a732de30..1cef08d644 100644 --- a/multimedia/wxcam/wxcam.info +++ b/multimedia/wxcam/wxcam.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="CImg mjpegtools wxPython xvidcore" MAINTAINER="Edward W. Koenig" -EMAIL="kingbeowulf@gmail.com" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild index 2fd5792c94..b250f0e5f8 100644 --- a/multimedia/x264/x264.SlackBuild +++ b/multimedia/x264/x264.SlackBuild @@ -34,7 +34,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -52,8 +52,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/x264/x264.info b/multimedia/x264/x264.info index a0eaf2afcc..1e7005ad53 100644 --- a/multimedia/x264/x264.info +++ b/multimedia/x264/x264.info @@ -1,7 +1,7 @@ PRGNAM="x264" VERSION="git_20210613_5db6aa6c" HOMEPAGE="http://www.videolan.org/developers/x264.html" -DOWNLOAD="http://www.liwjatan.at/files/src/x264/x264-git_20210613_5db6aa6c.tar.lz" +DOWNLOAD="https://sources.liwjatan.org/x264/x264-git_20210613_5db6aa6c.tar.lz" MD5SUM="a8999192fcef7f11b9c98f92c4812c62" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild index 31d0bf1284..3c92d8ccac 100644 --- a/multimedia/x265/x265.SlackBuild +++ b/multimedia/x265/x265.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for x265 -# Copyright 2014-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=x265 -VERSION=${VERSION:-3.5} +VERSION=${VERSION:-3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac 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 diff --git a/multimedia/x265/x265.info b/multimedia/x265/x265.info index ec2ca91c05..aaad7f6217 100644 --- a/multimedia/x265/x265.info +++ b/multimedia/x265/x265.info @@ -1,8 +1,8 @@ PRGNAM="x265" -VERSION="3.5" +VERSION="3.6" HOMEPAGE="https://www.videolan.org/developers/x265.html" -DOWNLOAD="https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz" -MD5SUM="deb5df5cb2ec17bdbae6ac6bbc3b1eef" +DOWNLOAD="https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz" +MD5SUM="99997ecc8ee4d3575ba7715c759ad3bb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/multimedia/xavs2/README b/multimedia/xavs2/README new file mode 100644 index 0000000000..a88171aa56 --- /dev/null +++ b/multimedia/xavs2/README @@ -0,0 +1,4 @@ +xavs2 is an open source encoder of +AVS2-P2/IEEE1857.4 video coding standard. + +This is an optional dependency of FFmpeg diff --git a/multimedia/xavs2/slack-desc b/multimedia/xavs2/slack-desc new file mode 100644 index 0000000000..c007bbf0d8 --- /dev/null +++ b/multimedia/xavs2/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------------------------------------------------------| +xavs2: xavs2 (AVS2 Encoder) +xavs2: +xavs2: xavs2 is an open source encoder of AVS2-P2/IEEE1857.4 +xavs2: video coding standard. +xavs2: +xavs2: +xavs2: Homepage:https://github.com/pkuvcl/xavs2 +xavs2: +xavs2: +xavs2: +xavs2: diff --git a/multimedia/xavs2/xavs2.SlackBuild b/multimedia/xavs2/xavs2.SlackBuild new file mode 100644 index 0000000000..d140ef2ae7 --- /dev/null +++ b/multimedia/xavs2/xavs2.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for xavs2 + +# Copyright 2022-2024, Vijay Marcel +# 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=xavs2 +VERSION=${VERSION:-1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +sys_arch=${sys_arch:-$(uname -m)} + +case "$sys_arch" in + x86_64) export ARCH=x86_64 ;; + *) echo "This program will not build on $sys_arch platform" && exit 1 ;; +esac + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +cd build/linux/ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --bindir=/usr/bin \ + --enable-shared \ + --bit-depth=8 \ + --chroma-format=all \ + --enable-strip \ + --disable-asm + +make +make install DESTDIR=$PKG + +cd ../.. + +# Don't ship .la files: +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 --remove-section=.comment --remove-section=.note 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/xavs2/xavs2.info b/multimedia/xavs2/xavs2.info new file mode 100644 index 0000000000..68dda4eedc --- /dev/null +++ b/multimedia/xavs2/xavs2.info @@ -0,0 +1,10 @@ +PRGNAM="xavs2" +VERSION="1.4" +HOMEPAGE="https://github.com/pkuvcl/xavs2" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/pkuvcl/xavs2/archive/1.4/xavs2-1.4.tar.gz" +MD5SUM_x86_64="b776941aad474fed23da1d1eb0c0b720" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/multimedia/xjadeo/README b/multimedia/xjadeo/README index e686fe19be..450311e4e5 100644 --- a/multimedia/xjadeo/README +++ b/multimedia/xjadeo/README @@ -1,12 +1,12 @@ -Xjadeo is a software video player that displays a video-clip in sync with an -external time source (MTC, LTC, JACK-transport). +Xjadeo is a software video player that displays a video-clip in sync +with an external time source (MTC, LTC, JACK-transport). -Xjadeo is useful in soundtrack composition, video monitoring or any task that -requires to synchronizing movie frames with audio events. +Xjadeo is useful in soundtrack composition, video monitoring or any +task that requires to synchronizing movie frames with audio events. -Xjadeo supports a multitude of video file formats, display libraries and sync -sources. It includes an optional GUI called qjadeo that provides setup -options, file history, video import/transcoding and control of Xjadeo's -run-time parameters. +Xjadeo supports a multitude of video file formats, display libraries +and sync sources. It includes an optional GUI called qjadeo that +provides setup options, file history, video import/transcoding and +control of Xjadeo's run-time parameters. Optional dependencies are portmidi, lash, jack, and imlib2. diff --git a/multimedia/xjadeo/xjadeo.SlackBuild b/multimedia/xjadeo/xjadeo.SlackBuild index 8c1edacfb3..886942009e 100644 --- a/multimedia/xjadeo/xjadeo.SlackBuild +++ b/multimedia/xjadeo/xjadeo.SlackBuild @@ -5,7 +5,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xjadeo -VERSION=${VERSION:-0.8.7} +VERSION=${VERSION:-0.8.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,6 +59,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# libporttime is included in libportmidi +sed -i 's/-lporttime//g' configure + CFLAGS="$SLKCFLAGS -fgnu89-inline" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/xjadeo/xjadeo.desktop b/multimedia/xjadeo/xjadeo.desktop index 2c3a7972df..d27ff0e8cf 100644 --- a/multimedia/xjadeo/xjadeo.desktop +++ b/multimedia/xjadeo/xjadeo.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=qjadeo +Exec=xjadeo Icon=/usr/share/xjadeo/qjadeo_102.xpm Name=jadeo GenericName=Video player for sync with jack diff --git a/multimedia/xjadeo/xjadeo.info b/multimedia/xjadeo/xjadeo.info index 2afa12801f..4c6dffd142 100644 --- a/multimedia/xjadeo/xjadeo.info +++ b/multimedia/xjadeo/xjadeo.info @@ -1,8 +1,8 @@ PRGNAM="xjadeo" -VERSION="0.8.7" +VERSION="0.8.13" HOMEPAGE="http://xjadeo.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/project/xjadeo/xjadeo/v0.8.7/xjadeo-0.8.7.tar.gz" -MD5SUM="9c929f80b44c9549fbda372b26a19462" +DOWNLOAD="http://downloads.sourceforge.net/xjadeo/xjadeo-0.8.13.tar.gz" +MD5SUM="37210f929853f3de35973501f7b4615b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="liblo" diff --git a/multimedia/xmltv/README b/multimedia/xmltv/README index e17c0d9bc1..dc25b7b3c4 100644 --- a/multimedia/xmltv/README +++ b/multimedia/xmltv/README @@ -1,14 +1,15 @@ -XMLTV is a set of utilities to manage your TV viewing. They work with -TV listings stored in the XMLTV format, which is based on XML. The idea -is to separate out the back-end (getting the listings) from the front-end -(displaying them for the user), and to implement useful operations like -picking out your favorite programs as filters that read and write XML -documents. +XMLTV is a set of utilities to manage your TV viewing. They work with +TV listings stored in the XMLTV format, which is based on XML. The +idea is to separate out the back-end (getting the listings) from the +front-end (displaying them for the user), and to implement useful +operations like picking out your favorite programs as filters that +read and write XML documents. -At present there are back-ends grabbing TV listings for Australia, Belgium -and Luxembourg, Brazil, Argentina, Britain and Ireland, Croatia, Denmark, -Estonia, Finland, France, Germany, Hungary and Romania, Iceland, Italy, -Japan, Netherlands, North America, Norway, Portugal, Reunion Island (France), -South Africa, Spain, Sweden, and Switzerland. +At present there are back-ends grabbing TV listings for Australia, +Belgium and Luxembourg, Brazil, Argentina, Britain and Ireland, +Croatia, Denmark, Estonia, Finland, France, Germany, Hungary and +Romania, Iceland, Italy, Japan, Netherlands, North America, Norway, +Portugal, Reunion Island (France), South Africa, Spain, Sweden, and +Switzerland. See README.SBo for optional requirements for grabbers. diff --git a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild index ef61c86e5b..bc7fae0883 100644 --- a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild +++ b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild @@ -4,7 +4,7 @@ # Written by Luis Henrique <email removed> -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. diff --git a/multimedia/xmms-crossfade/xmms-crossfade.info b/multimedia/xmms-crossfade/xmms-crossfade.info index 6da46ab155..132507b588 100644 --- a/multimedia/xmms-crossfade/xmms-crossfade.info +++ b/multimedia/xmms-crossfade/xmms-crossfade.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/multimedia/xmms-cue/xmms-cue.info b/multimedia/xmms-cue/xmms-cue.info index 01b4c3a272..cfd4851a8a 100644 --- a/multimedia/xmms-cue/xmms-cue.info +++ b/multimedia/xmms-cue/xmms-cue.info @@ -1,7 +1,7 @@ PRGNAM="xmms-cue" VERSION="0.2" HOMEPAGE="http://virtualcuexmms.sourceforge.net/" -DOWNLOAD="https://sourceforge.net/projects/virtualcuexmms/files/virtualcuexmms/VirtualCueXmms%200.2/VirtualCueXmms-0.2.tar.gz/download" +DOWNLOAD="https://downloads.sourceforge.net/project/virtualcuexmms/virtualcuexmms/VirtualCueXmms%200.2/VirtualCueXmms-0.2.tar.gz" MD5SUM="c9ebf2a7f07a430b05fa105a0483c000" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/multimedia/xvid4conf/README b/multimedia/xvid4conf/README index a0105ddd3e..589594718d 100644 --- a/multimedia/xvid4conf/README +++ b/multimedia/xvid4conf/README @@ -1,3 +1,4 @@ -This tool creates XviD configuration files. The generated configuration file -is meant to be read by transcodes xvid4 export module. This module (and so -the configuration file) is intended to be used with XviD 1.0 (dev-api-4). +This tool creates XviD configuration files. The generated +configuration file is meant to be read by transcodes xvid4 export +module. This module (and so the configuration file) is intended to be +used with XviD 1.0 (dev-api-4). diff --git a/multimedia/xvid4conf/xvid4conf.SlackBuild b/multimedia/xvid4conf/xvid4conf.SlackBuild index d7594f7146..dee772cdc1 100644 --- a/multimedia/xvid4conf/xvid4conf.SlackBuild +++ b/multimedia/xvid4conf/xvid4conf.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/multimedia/xvidcore/xvidcore.SlackBuild b/multimedia/xvidcore/xvidcore.SlackBuild index 10d7300c79..c056df029c 100644 --- a/multimedia/xvidcore/xvidcore.SlackBuild +++ b/multimedia/xvidcore/xvidcore.SlackBuild @@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac diff --git a/multimedia/yarock/README b/multimedia/yarock/README index f6b893d3f1..f58194dece 100644 --- a/multimedia/yarock/README +++ b/multimedia/yarock/README @@ -1,10 +1,9 @@ -Yarock is a modern looking music player, packed with features, -that doesn't depend on any specific desktop environment. -Yarock is designed to provide an easy and pretty music browser -based on cover art. +Yarock is a modern looking music player, packed with features, +that doesn't depend on any specific desktop environment. Yarock is +designed to provide an easy and pretty music browser based on cover +art. -NOTE: -You can build yarock with alternate audio engine (phonon is the default one). -If you want to disable phonon just use -DENABLE_PHONON=OFF as cmake option. -For vlc audio engine -DENABLE_VLC=ON. -For mpv audio engine -DENABLE_MPV=ON. +NOTE: You can build yarock with an alternate audio engine (phonon is +the default), by editing the SlackBuild. If you want to disable phonon +just use -DENABLE_PHONON=OFF as a cmake option. For vlc audio engine +-DENABLE_VLC=ON. For mpv audio engine -DENABLE_MPV=ON. diff --git a/multimedia/yarock/yarock.SlackBuild b/multimedia/yarock/yarock.SlackBuild index 1911a6e145..60dda27047 100644 --- a/multimedia/yarock/yarock.SlackBuild +++ b/multimedia/yarock/yarock.SlackBuild @@ -80,6 +80,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +SLKCFLAGS+=" -I/usr/include/phonon4qt5/" + # Alternate Audio engine # ---------------------- # You can build yarock with alternate audio engine (phonon is the default one) @@ -91,7 +93,7 @@ cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DENABLE_QT5=OFF \ + -DENABLE_QT5=ON \ -DENABLE_PHONON=ON \ -DENABLE_VLC=OFF \ -DENABLE_MPV=OFF \ diff --git a/multimedia/zvbi/README b/multimedia/zvbi/README index 18f1efda76..257796160e 100644 --- a/multimedia/zvbi/README +++ b/multimedia/zvbi/README @@ -1,12 +1,13 @@ -The Zapping VBI library, in short ZVBI, provides functions to capture and -decode VBI data. It is written in plain ANSI C with few dependencies on other -tools and libraries, licensed under GPL. +The Zapping VBI library, in short ZVBI, provides functions to +capture and decode VBI data. It is written in plain ANSI C with few +dependencies on other tools and libraries, licensed under GPL. -The vertical blanking interval (VBI) is an interval in a television signal -that temporarily suspends transmission of the signal for the electron gun to -move back up to the first line of the television screen to trace the next -screen field. +The vertical blanking interval (VBI) is an interval in a television +signal that temporarily suspends transmission of the signal for the +electron gun to move back up to the first line of the television +screen to trace the next screen field. -The vertical blanking interval can be used to carry data, since anything sent -during the VBI would naturally not be displayed; various test signals, closed -captioning, and other digital data can be sent during this time period. +The vertical blanking interval can be used to carry data, since +anything sent during the VBI would naturally not be displayed; various +test signals, closed captioning, and other digital data can be sent +during this time period. diff --git a/multimedia/zvbi/zvbi.SlackBuild b/multimedia/zvbi/zvbi.SlackBuild index b135e77085..15bdf1c3dc 100644 --- a/multimedia/zvbi/zvbi.SlackBuild +++ b/multimedia/zvbi/zvbi.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for zvbi # Copyright 2014 Christoph Willing, Bribane, Australia +# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,13 +27,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zvbi VERSION=${VERSION:-0.2.35} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -94,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +rm -f $PKG/usr/lib*/*.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 diff --git a/multimedia/zvbi/zvbi.info b/multimedia/zvbi/zvbi.info index 52e404e0ec..a7bf950d71 100644 --- a/multimedia/zvbi/zvbi.info +++ b/multimedia/zvbi/zvbi.info @@ -6,5 +6,5 @@ MD5SUM="95e53eb208c65ba6667fd4341455fa27" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Christoph Willing" -EMAIL="chris.willing@linux.com" +MAINTAINER="Bill Kirkpatrick" +EMAIL="bkirkp@gmail.com" |