diff options
Diffstat (limited to 'multimedia/openshot/openshot.SlackBuild')
-rw-r--r-- | multimedia/openshot/openshot.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/multimedia/openshot/openshot.SlackBuild b/multimedia/openshot/openshot.SlackBuild index f6f6bbc4a3182..5db1182ff1cb9 100644 --- a/multimedia/openshot/openshot.SlackBuild +++ b/multimedia/openshot/openshot.SlackBuild @@ -44,12 +44,16 @@ # 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.6.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -100,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 \ |