diff options
Diffstat (limited to 'multimedia/pitivi')
-rw-r--r-- | multimedia/pitivi/README | 17 | ||||
-rw-r--r-- | multimedia/pitivi/pitivi.SlackBuild | 52 | ||||
-rw-r--r-- | multimedia/pitivi/pitivi.info | 8 |
3 files changed, 40 insertions, 37 deletions
diff --git a/multimedia/pitivi/README b/multimedia/pitivi/README index e945ae8554..e70f61f8e0 100644 --- a/multimedia/pitivi/README +++ b/multimedia/pitivi/README @@ -7,15 +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. -Future versions are not currently possible on 14.2 due to requiring -newer gst libraries than are included on 14.2. +python3-librosa is an optional dependency to enable beat detection +functionality -gst-libav is an optional dependency to add libav support to gstreamer - -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 - -NOTE: Please make sure python3-dateutil and python3-six are 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 5b5ea347d2..392737d593 100644 --- a/multimedia/pitivi/pitivi.SlackBuild +++ b/multimedia/pitivi/pitivi.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for PiTiVi # 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 @@ -23,10 +23,13 @@ # 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=pitivi -VERSION=${VERSION:-0.95} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2023.03} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -70,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 @@ -97,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/multimedia/pitivi/pitivi.info b/multimedia/pitivi/pitivi.info index 91cf0945cb..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 pygobject3-python3 gstreamer-editing-services gst-python3 python3-dateutil python3-six" +REQUIRES="appstream-glib gsound gst-editing-services gst-python libpeas python3-matplotlib" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" |