aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/smaragd/slack-desc2
-rw-r--r--desktop/smaragd/smaragd.SlackBuild36
-rw-r--r--desktop/smaragd/smaragd.info6
3 files changed, 31 insertions, 13 deletions
diff --git a/desktop/smaragd/slack-desc b/desktop/smaragd/slack-desc
index 7aeebfaa2f06f..7233ed46b7c2b 100644
--- a/desktop/smaragd/slack-desc
+++ b/desktop/smaragd/slack-desc
@@ -10,7 +10,7 @@ smaragd: smaragd (Emerald for KDE)
smaragd:
smaragd: Smaragd is a window decoration engine for the KDE window manager
smaragd: KWin. It allows you to use Emerald theme files (from Compiz/Beryl)
-smaragd: with KDE4.
+smaragd: with KDE plasma5.
smaragd:
smaragd:
smaragd:
diff --git a/desktop/smaragd/smaragd.SlackBuild b/desktop/smaragd/smaragd.SlackBuild
index 0e4ae7cc75743..618150fdc8bc7 100644
--- a/desktop/smaragd/smaragd.SlackBuild
+++ b/desktop/smaragd/smaragd.SlackBuild
@@ -2,19 +2,37 @@
# Slackware build script for smaragd (Emerald for KDE)
-# Written by M.Dinslage contact: daedra1980@gmail.com
+# Copyright 2021 Matt Dinslage, Springfield MO
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=smaragd
-VERSION=${VERSION:-0.0.7}
+VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -52,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/125162-$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -61,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir build
+mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -70,8 +88,8 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1
- make install VERBOSE=1 DESTDIR=$PKG
+ make
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/desktop/smaragd/smaragd.info b/desktop/smaragd/smaragd.info
index aa280f5b3e80f..26ab38f44ffad 100644
--- a/desktop/smaragd/smaragd.info
+++ b/desktop/smaragd/smaragd.info
@@ -1,8 +1,8 @@
PRGNAM="smaragd"
-VERSION="0.0.7"
+VERSION="0.1.1"
HOMEPAGE="https://store.kde.org/p/1167274/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/smaragd/125162-smaragd-0.0.7.tar.gz"
-MD5SUM="2288a0a333b43d635eb476c256b1b01d"
+DOWNLOAD="https://dllb2.pling.com/api/files/download/j/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjE0OTI2MDY4MDQiLCJ1IjpudWxsLCJsdCI6ImRvd25sb2FkIiwicyI6ImM0Y2EyNWMwMGFlNDVjMDA1M2VhNzg4MWEyZjdkOTBmMTA4OTg3ZDdiOTNmNzAxNGI1MTllMDJlY2VlN2I0ZmM5MThjZThhNjI0ODEwZmFlYjNmYjJkMGNiMjQ1MzBjYzU4NmU5NGQ0MjkwMjIzNTAwN2MzMjc3ZWFlZGU1OTc2IiwidCI6MTYyNzU1MjMwNiwic3RmcCI6Ijk2MTBjMzk5YWRkZGFmOGJiNTU0ZDUzZWQ2ODVmYTUzIiwic3RpcCI6IjcxLjI4LjExMi4xODYifQ.-U8bOJ2qW3I4wJ1xo7LKYIc3f6R8v-8lH7BgpcGecu4/smaragd-0.1.1.tar.gz"
+MD5SUM="75905f0a29f45da3dd552ca8b66c122d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""