aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2022-03-01 20:03:01 -0700
committerAndrew Clemons <andrew.clemons@gmail.com>2022-03-05 00:18:22 +1300
commit62a1e88a8c1095957bd131e181828d634e26b622 (patch)
treeb064325311a05a453f53c9998b478dc4bd0f16aa
parent57314ce046d0de70051205367b258b9e7431b98f (diff)
multimedia/pitivi: Updated for version 2021.05.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--multimedia/pitivi/README8
-rw-r--r--multimedia/pitivi/pitivi.SlackBuild36
-rw-r--r--multimedia/pitivi/pitivi.info8
3 files changed, 21 insertions, 31 deletions
diff --git a/multimedia/pitivi/README b/multimedia/pitivi/README
index 66f23ed5fae1..b71344b8c2af 100644
--- a/multimedia/pitivi/README
+++ b/multimedia/pitivi/README
@@ -6,11 +6,3 @@ interface, a clean codebase and a fantastic community.
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
-
-NOTE: Please make sure python3-dateutil is installed before
- building python3-matplotlib!
diff --git a/multimedia/pitivi/pitivi.SlackBuild b/multimedia/pitivi/pitivi.SlackBuild
index f55918e3868a..b1a20580e38d 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-2022 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:-2021.05}
+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 c427efbee5e9..70b7b5826c51 100644
--- a/multimedia/pitivi/pitivi.info
+++ b/multimedia/pitivi/pitivi.info
@@ -1,10 +1,10 @@
PRGNAM="pitivi"
-VERSION="0.95"
+VERSION="2021.05"
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/2021/pitivi-2021.05.tar.xz"
+MD5SUM="fec14b7bd1822b414f371e72a4b93cc8"
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-plugins-bad gst-python libpeas python3-matplotlib"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"