aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/youtube-dl-gui/doinst.sh6
-rw-r--r--network/youtube-dl-gui/youtube-dl-gui.SlackBuild8
-rw-r--r--network/youtube-dl-gui/youtube-dl-gui.info2
3 files changed, 11 insertions, 5 deletions
diff --git a/network/youtube-dl-gui/doinst.sh b/network/youtube-dl-gui/doinst.sh
index 5fb28930db0b9..65c7e2eeb9aa5 100644
--- a/network/youtube-dl-gui/doinst.sh
+++ b/network/youtube-dl-gui/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/network/youtube-dl-gui/youtube-dl-gui.SlackBuild b/network/youtube-dl-gui/youtube-dl-gui.SlackBuild
index 71d695cada607..da5d45fc67d51 100644
--- a/network/youtube-dl-gui/youtube-dl-gui.SlackBuild
+++ b/network/youtube-dl-gui/youtube-dl-gui.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.
+# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add gtk-update-icon-cache to doinst.sh.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=youtube-dl-gui
VERSION=${VERSION:-0.3.8}
-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
diff --git a/network/youtube-dl-gui/youtube-dl-gui.info b/network/youtube-dl-gui/youtube-dl-gui.info
index f1077c0794df3..2e5c85d627cdc 100644
--- a/network/youtube-dl-gui/youtube-dl-gui.info
+++ b/network/youtube-dl-gui/youtube-dl-gui.info
@@ -1,7 +1,7 @@
PRGNAM="youtube-dl-gui"
VERSION="0.3.8"
HOMEPAGE="https://github.com/MrS0m30n3/youtube-dl-gui"
-DOWNLOAD="https://github.com/MrS0m30n3/youtube-dl-gui/archive/0.3.8.tar.gz"
+DOWNLOAD="https://github.com/MrS0m30n3/youtube-dl-gui/archive/0.3.8/youtube-dl-gui-0.3.8.tar.gz"
MD5SUM="ddd774b5a0b0abb8f21b5bba2a80139f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""