mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/vokoscreenNG: Updated for version 4.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2b9dfcd9b1
commit
f3a1c35c33
4 changed files with 33 additions and 35 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue