aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-08 19:21:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:36:02 +0700
commitf9700c3fb5d4e48c4fcf63742250f93dcce74b3f (patch)
treea1fab3882376ab213a31d1410eb371cf2ce232a4
parent48bc9036c83f89677a72ccb912e6f010f64a4b60 (diff)
desktop/kover: Removed (no more kde4).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/kover/README1
-rw-r--r--desktop/kover/doinst.sh14
-rw-r--r--desktop/kover/kover.SlackBuild99
-rw-r--r--desktop/kover/kover.info10
-rw-r--r--desktop/kover/slack-desc19
5 files changed, 0 insertions, 143 deletions
diff --git a/desktop/kover/README b/desktop/kover/README
deleted file mode 100644
index f39a1b9aeed4..000000000000
--- a/desktop/kover/README
+++ /dev/null
@@ -1 +0,0 @@
-Kover is an easy to use WYSIWYG CD cover printer with CDDB support.
diff --git a/desktop/kover/doinst.sh b/desktop/kover/doinst.sh
deleted file mode 100644
index 0fb9c8b6867f..000000000000
--- a/desktop/kover/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/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/desktop/kover/kover.SlackBuild b/desktop/kover/kover.SlackBuild
deleted file mode 100644
index 934a10acaa06..000000000000
--- a/desktop/kover/kover.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/bash
-# Slackware build script for <kover>
-# Written by Michales Michaloudes korgie_erase_this@gmail.com
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=kover
-VERSION=${VERSION:-6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- 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
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-cmake . \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DSYSCONF_INSTALL_DIR=/etc \
- -DMAN_INSTALL_DIR=/usr/man \
- -DINCLUDE_INSTALL_DIR=/usr/include \
- -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} \
- -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-
-make
-make install DESTDIR=$PKG
-
-# Add categories to .desktop file otherwise will end up in "lost+found"
-printf "Categories=KDE;Qt;AudioVideo;DiscBurning;" >> \
- $PKG/usr/share/applications/kde4/kover.desktop
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ABOUT-NLS NEWS THANKS AUTHORS COPYING ChangeLog README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/kover/kover.info b/desktop/kover/kover.info
deleted file mode 100644
index 42842e7f07d1..000000000000
--- a/desktop/kover/kover.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kover"
-VERSION="6"
-HOMEPAGE="http://lisas.de/kover/"
-DOWNLOAD="https://lisas.de/kover/kover-6.tar.bz2"
-MD5SUM="9504afd8a779c54d7c77fb28d7b5c76e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michales Michaloudes"
-EMAIL="korgie@gmail.com"
diff --git a/desktop/kover/slack-desc b/desktop/kover/slack-desc
deleted file mode 100644
index 1b293b4dc0a5..000000000000
--- a/desktop/kover/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kover: kover (a WYSIWYG CD Cover printer)
-kover:
-kover: kover is an easy to use WYSIWYG CD cover printer with CDDB support.
-kover:
-kover:
-kover:
-kover:
-kover:
-kover:
-kover:
-kover: