aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorErik Falor <ewfalor@gmail.com>2024-01-05 08:13:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-05 09:16:55 +0700
commitf3a1c35c339f57528914a5351a35c194dbc05741 (patch)
treee12e56dcf88ae2de61dea3e3a0fb675c194b6364 /multimedia
parent2b9dfcd9b1bfc8e799bed780884bbc34d46f8850 (diff)
multimedia/vokoscreenNG: Updated for version 4.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch42
-rw-r--r--multimedia/vokoscreenNG/doinst.sh6
-rw-r--r--multimedia/vokoscreenNG/vokoscreenNG.SlackBuild12
-rw-r--r--multimedia/vokoscreenNG/vokoscreenNG.info8
4 files changed, 33 insertions, 35 deletions
diff --git a/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch b/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch
index 425b0bda0d49..009c382fb1d0 100644
--- a/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch
+++ b/multimedia/vokoscreenNG/0001-Add-better-integration-for-Linux.patch
@@ -13,11 +13,6 @@ Date: 2020-07-06 07:14:26 -0600
---
- src/applications/INFO | 1 +
- src/applications/vokoscreenNG.appdata.xml | 45 +++++++++++++++++++++++
- src/vokoscreenNG.pro | 24 ++++++++++++
- 3 files changed, 70 insertions(+)
- create mode 100644 src/applications/vokoscreenNG.appdata.xml
diff --git a/src/applications/INFO b/src/applications/INFO
index 4195de8..1c1bd87 100644
@@ -32,7 +27,7 @@ new file mode 100644
index 0000000..883f4ae
--- /dev/null
+++ b/src/applications/vokoscreenNG.appdata.xml
-@@ -0,0 +1,45 @@
+@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>vokoscreenNG.desktop</id>
@@ -46,31 +41,34 @@ index 0000000..883f4ae
+ </description>
+ <screenshots>
+ <screenshot type="default">
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-0.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-0.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-1.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-1.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-2.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-2.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-3.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-3.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-4.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-4.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-5.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-5.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-6.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-6.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-7.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-7.png</image>
+ </screenshot>
+ <screenshot>
-+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-8.png</image>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-8.png</image>
++ </screenshot>
++ <screenshot>
++ <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-9.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html</url>
@@ -80,12 +78,13 @@ index 0000000..883f4ae
+</component>
diff --git a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro
index d43ed30..7bf3d5a 100644
---- a/src/vokoscreenNG.pro
-+++ b/src/vokoscreenNG.pro
-@@ -178,3 +178,27 @@ include(dirDialog/dirDialog.pri)
- # File Dialog
- include(fileDialog/fileDialog.pri)
+--- vokoscreenNG-4.0.0-pristene/src/vokoscreenNG.pro 2024-01-01 15:49:40.000000000 -0700
++++ vokoscreenNG-4.0.0/src/vokoscreenNG.pro 2024-01-02 22:18:58.149334295 -0700
+@@ -207,3 +207,28 @@
+ # Container
+ include(container/container.pri)
++
+unix:!macx {
+ isEmpty(PREFIX) {
+ PREFIX = /usr/local
@@ -110,6 +109,3 @@ index d43ed30..7bf3d5a 100644
+
+ INSTALLS += target icon desktop appdata
+}
---
-2.35.1
-
diff --git a/multimedia/vokoscreenNG/doinst.sh b/multimedia/vokoscreenNG/doinst.sh
index 5fb28930db0b..65c7e2eeb9aa 100644
--- a/multimedia/vokoscreenNG/doinst.sh
+++ b/multimedia/vokoscreenNG/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/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
index d0e2a00695d8..c99a1fafd0a4 100644
--- a/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
+++ b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for VokoscreenNG
-# Erik Falor | Logan, UT, USA | ewfalor@gmail.com | August 2022
+# Erik Falor | Logan, UT, USA | ewfalor@gmail.com | January 2024
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vokoscreenNG
-VERSION=${VERSION:-3.3.0}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,16 +53,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -82,7 +78,7 @@ find -L . \
patch -Np1 -i $CWD/0001-Add-better-integration-for-Linux.patch
-qmake-qt5 PREFIX=/usr QMAKE_CXXFLAGS="$SLKCFLAGS" src/vokoscreenNG.pro
+qmake-qt6 PREFIX=/usr QMAKE_CXXFLAGS="$SLKCFLAGS" src/vokoscreenNG.pro
make -j $(nproc)
make INSTALL_ROOT=$PKG install
@@ -93,9 +89,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a -R \
COPYING info-licences-changelog-install/* \
$PKG/usr/doc/$PRGNAM-$VERSION
+rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/multimedia/vokoscreenNG/vokoscreenNG.info b/multimedia/vokoscreenNG/vokoscreenNG.info
index 67d91f772717..283d6a2ac2e3 100644
--- a/multimedia/vokoscreenNG/vokoscreenNG.info
+++ b/multimedia/vokoscreenNG/vokoscreenNG.info
@@ -1,10 +1,10 @@
PRGNAM="vokoscreenNG"
-VERSION="3.3.0"
+VERSION="4.0.0"
HOMEPAGE="https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html"
-DOWNLOAD="https://github.com/vkohaupt/vokoscreenNG/archive/3.3.0/vokoscreenNG-3.3.0.tar.gz"
-MD5SUM="f6fce57ed2d748b05706b175b822344f"
+DOWNLOAD="https://github.com/vkohaupt/vokoscreenNG/archive/4.0.0/vokoscreenNG-4.0.0.tar.gz"
+MD5SUM="18adf5419f9485ec8ea036a4e7c56545"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES="qt6 %README%"
MAINTAINER="Erik Falor"
EMAIL="ewfalor@gmail.com"