summaryrefslogtreecommitdiffstats
path: root/deps
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-11-11 21:31:29 +0100
committer Eric Hameleers <alien@slackware.com>2019-11-11 21:31:29 +0100
commit02b703f088bb2ea4e34869d515e26a62a8aa5c5d (patch)
tree4a48853d772fa3f3e7d0d969d441b867301d23b2 /deps
parenta609b632db8d797d0b227e12f16161d203ed174f (diff)
downloadktown-02b703f088bb2ea4e34869d515e26a62a8aa5c5d.tar.gz
ktown-02b703f088bb2ea4e34869d515e26a62a8aa5c5d.tar.xz
Deps: remove qt5-speech
...because this is already all contained in the big qt5 package...
Diffstat (limited to 'deps')
-rw-r--r--deps/qt5-speech/.deps3
-rw-r--r--deps/qt5-speech/.url1
-rwxr-xr-xdeps/qt5-speech/qt5-speech.SlackBuild131
-rw-r--r--deps/qt5-speech/slack-desc19
4 files changed, 0 insertions, 154 deletions
diff --git a/deps/qt5-speech/.deps b/deps/qt5-speech/.deps
deleted file mode 100644
index a2505db..0000000
--- a/deps/qt5-speech/.deps
+++ /dev/null
@@ -1,3 +0,0 @@
-flite
-qt5
-speech-dispatcher
diff --git a/deps/qt5-speech/.url b/deps/qt5-speech/.url
deleted file mode 100644
index 9080e41..0000000
--- a/deps/qt5-speech/.url
+++ /dev/null
@@ -1 +0,0 @@
-https://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qtspeech-everywhere-src-5.13.1.tar.xz
diff --git a/deps/qt5-speech/qt5-speech.SlackBuild b/deps/qt5-speech/qt5-speech.SlackBuild
deleted file mode 100755
index 5bbd32c..0000000
--- a/deps/qt5-speech/qt5-speech.SlackBuild
+++ /dev/null
@@ -1,131 +0,0 @@
-#!/bin/sh
-
-# Copyright 2019 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2019 Eric Hameleers, Eindhoven, NL
-# 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)
-
-PKGNAM=qt5-speech
-SRCVER=${SRCVER:-"5.13.1"}
-VERSION=$(echo $SRCVER | tr - _)
-BUILD=${BUILD:-1}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$(uname -m) ;;
- esac
- export ARCH
-fi
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686"
- SLKLDFLAGS=""
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686"
- SLKLDFLAGS=""
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- SLKLDFLAGS=""
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- SLKLDFLAGS=""
- SLKLDFLAGS="-L/usr/lib64"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- SLKLDFLAGS=""
- LIBDIRSUFFIX=""
-fi
-
-case "$ARCH" in
- arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
- *) TARGET=$ARCH-slackware-linux ;;
-esac
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-${PKGNAM}
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf qtspeech-everywhere-src-$SRCVER
-echo "Extracting qtspeech-everywhere-src-$SRCVER.tar.xz"
-tar xf $CWD/qtspeech-everywhere-src-$SRCVER.tar.xz || exit 1
-cd qtspeech-everywhere-src-$SRCVER || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS -fpermissive"
-export OPENSOURCE_CXXFLAGS="$SLKCFLAGS -fpermissive"
-export QTDIR="/usr/lib$LIBDIRSUFFIX/qt5"
-export LD_LIBRARY_PATH="${QTDIR}/qtbase/lib:${QTDIR}/qttools/lib:${LD_LIBRARY_PATH}"
-
-mkdir build
-cd build
- qmake-qt5 ..
- make ${NUMJOBS} || make || exit 1
- make install INSTALL_ROOT=$PKG || exit 1
-cd ..
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
-# Strip binaries the Slackware way:
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-# Fix the path in prl files:
-find "$PKG/usr/lib${LIBDIRSUFFIX}" -type f -name '*.prl' \
- -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
-
-# Add a documentation directory:
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a \
- LICENSE* \
- $PKG/usr/doc/$PKGNAM-$VERSION
-if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/qt5/doc/html ]; then
- ( cd $PKG/usr/doc/$PKGNAM-$VERSION
- ln -sf /usr/lib${LIBDIRSUFFIX}/qt5/doc/html .
- )
-fi
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/deps/qt5-speech/slack-desc b/deps/qt5-speech/slack-desc
deleted file mode 100644
index 16cc1d4..0000000
--- a/deps/qt5-speech/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------------------------------------------------------|
-qt5-speech: qt5-speech (Qt module text to speech and speech recognition)
-qt5-speech:
-qt5-speech: QtSpeech is a Qt module to make text to speech and speech
-qt5-speech: recognition easy.
-qt5-speech:
-qt5-speech:
-qt5-speech:
-qt5-speech:
-qt5-speech:
-qt5-speech: Homepage: https://www.qt.io/
-qt5-speech: