From 5499408f6d2e56b65f3fa60e77e65216a3da7fdc Mon Sep 17 00:00:00 2001
From: Hunter Sezen <ovariegata@yahoo.com>
Date: Wed, 7 Mar 2018 11:12:56 +0000
Subject: multimedia/devedeng: Updated for version 4.8.12.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
---
 multimedia/devedeng/README              | 2 +-
 multimedia/devedeng/devedeng.SlackBuild | 9 ++++++---
 multimedia/devedeng/devedeng.info       | 6 +++---
 multimedia/devedeng/doinst.sh           | 6 ++++++
 4 files changed, 16 insertions(+), 7 deletions(-)

(limited to 'multimedia')

diff --git a/multimedia/devedeng/README b/multimedia/devedeng/README
index 70f482f89a..48eb090319 100644
--- a/multimedia/devedeng/README
+++ b/multimedia/devedeng/README
@@ -7,7 +7,7 @@ to work with Python3 and Gtk3, and with a new internal architecture that
 allows to expand it and easily add new features.
 
 DevedeNG has optional dependencies for some of its features:
-vlc, mpv, brasero
+  vlc, mpv, brasero
 
 NOTE: To get around the k3b or brasero requirement for burning DVDs use
 growisofs. Here is an example, make sure to adjust the path to your DVD
diff --git a/multimedia/devedeng/devedeng.SlackBuild b/multimedia/devedeng/devedeng.SlackBuild
index 73b1020160..809d7e82dc 100644
--- a/multimedia/devedeng/devedeng.SlackBuild
+++ b/multimedia/devedeng/devedeng.SlackBuild
@@ -2,7 +2,7 @@
 
 # Slackware build script for devedeng
 
-# Copyright 2015-2017 Hunter Sezen California, USA <ovariegata@yahoo.com>
+# Copyright 2015-2018 Hunter Sezen California, USA <ovariegata@yahoo.com>
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=devedeng
-VERSION=${VERSION:-4.8.6}
+VERSION=${VERSION:-4.8.12}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
 PKG=$TMP/package-$PRGNAM
 OUTPUT=${OUTPUT:-/tmp}
 
-set -e
+set -eu
 
 rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
@@ -55,6 +55,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 {} \;
 
+sed -i "s|usr/share/doc/$PRGNAM|usr/doc/$PRGNAM-$VERSION|" \
+  ./src/devedeng/configuration_data.py
+
 python3 setup.py install --root=$PKG
 
 mv $PKG/usr/share/man $PKG/usr
diff --git a/multimedia/devedeng/devedeng.info b/multimedia/devedeng/devedeng.info
index 678d0d033b..61b95e4e3d 100644
--- a/multimedia/devedeng/devedeng.info
+++ b/multimedia/devedeng/devedeng.info
@@ -1,8 +1,8 @@
 PRGNAM="devedeng"
-VERSION="4.8.6"
+VERSION="4.8.12"
 HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
-DOWNLOAD="https://github.com/rastersoft/devedeng/archive/4.8.6/devedeng-4.8.6.tar.gz"
-MD5SUM="83d41bd1c7824a34b2095cca5102c75a"
+DOWNLOAD="https://github.com/rastersoft/devedeng/archive/4.8.12/devedeng-4.8.12.tar.gz"
+MD5SUM="3ef0d30ee850bef8f01d5bfa4aec334e"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="dvdauthor ffmpeg vcdimager pygobject3-python3"
diff --git a/multimedia/devedeng/doinst.sh b/multimedia/devedeng/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/multimedia/devedeng/doinst.sh
+++ b/multimedia/devedeng/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
-- 
cgit v1.2.3